[U-Boot] Q: erase.raw for NAND ?

Ran Shalit ranshalit at gmail.com
Wed Jul 27 07:47:12 CEST 2016


Hello,

I am trying to detect bad blocks in nand by erasing blocks and
checking if all bytes are 0xffff...
I want to include the OOB area in such testing (so that I treat them
as regular bytes in nand, which can be read,write, and erased)

In u-boot there is support for nand read.raw & write.raw, but I could
not find erase.raw (or somthing similar).

Is there some simple way to erase pages which includes the OOB area ?

Best Regards,
Ran


More information about the U-Boot mailing list