* [U-Boot] A problem about using the nand command
@ 2012-04-26 2:07 li guohu
2012-04-26 19:26 ` Scott Wood
0 siblings, 1 reply; 2+ messages in thread
From: li guohu @ 2012-04-26 2:07 UTC (permalink / raw)
To: u-boot
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. 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.
By the way, I find that the offsets of the addresses of the one "0xFD" from the start of the page are the same. The size of one flash page is 2K bytes.
Are the driver of the nand flash in the u-boot wrong? Or are there some other problems?
^ permalink raw reply [flat|nested] 2+ messages in thread
* [U-Boot] A problem about using the nand command
2012-04-26 2:07 [U-Boot] A problem about using the nand command li guohu
@ 2012-04-26 19:26 ` Scott Wood
0 siblings, 0 replies; 2+ messages in thread
From: Scott Wood @ 2012-04-26 19:26 UTC (permalink / raw)
To: u-boot
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-04-26 19:26 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-04-26 2:07 [U-Boot] A problem about using the nand command li guohu
2012-04-26 19:26 ` Scott Wood
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox