Res: Flashing NAND from NAND

Werner Almesberger werner at openmoko.org
Tue Oct 20 18:46:10 CEST 2009


Rask Ingemann Lambertsen wrote:
>    Flashing the u-boot partition is also tricky because it contains a
> pointer to the u-boot_env partition in the OOB data. You can't simply write
> a U-Boot image to the u-boot partition using nandwrite and expect it to
> work.

Yup, good point.

>    What is the difference between nandwrite and flashcp?

Good question :) Looking at the code, flashcp takes care of the
erasing for you, but it doesn't seem to know about bad blocks.

- Werner



More information about the support mailing list