EliasKotlyar / Xiaomi-Dafang-Hacks

4.16k stars 1k forks source link

Xiaofang - Flash to NAND rootfs from uboot #1828

Open meduar opened 1 year ago

meduar commented 1 year ago

I have damaged the rootfs partition and it can't boot from root. I am able to boot from serial:

Booting kernel from Legacy Image at 80600000 ... Image Name: Linux-3.10.14 Image Type: MIPS Linux Kernel Image (lzma compressed) Data Size: 1805541 Bytes = 1.7 MiB Load Address: 80010000 Entry Point: 803e30f0 Verifying Checksum ... Bad Data CRC ERROR: can't get kernel image! isvp_t20#

How could I flash the original Xiaofang to the camera

I know is something like this but not sure of the steps I should follow:

Thanks