[U-Boot] A problem about using the nand command

Scott Wood scottwood at freescale.com
Thu Apr 26 21:26:22 CEST 2012


On 04/25/2012 09:07 PM, li guohu wrote:
> 
> Hello, everyone!
> I find a strange problem when I use the u-boot command. I list the command I used in the u-boot command line as follows.
>  
> nand erase
> nand read 0x2000000 0x0 0x800
> md 0x2000000
>  
> I should see 2K bytes of "0xFF" because I have erase the whole nand flash device.

What version of U-Boot are you using?

With modern U-Boot you need "nand erase.chip".  Please try with current
U-Boot.

> Actually, I find a "0xFD" in one address. 
> Then I try display some other contend of the nand flash. I can also find one "0xFD" in every 2K address space. It is so strange.

What board/driver?

What do you see if you list the bad blocks?

-Scott



More information about the U-Boot mailing list