On Sun, May 24, 2009 at 11:10:24PM +0200, Wolfgang Denk wrote:
> I get this:
> 
>       => nand read 200000 0 1000000
> 
>       NAND read: device 0 offset 0x0, size 0x1000000
>       NAND read from offset 0 failed -74
>        16777216 bytes read: ERROR
> 
> Hm, this is indeed a very helpful message. What does it tell you? I
> can't parse that. May we please have more readable error messages from
> the NAND code? Please?!
> 
> Is this -74 decimal as EBADMSG or -0x74 = NAND_CMD_STATUS_ERROR1 ?

It's the former.  Not sure why that particular error is used rather than
EIO (we inherited that from Linux), but it seems to represent an
uncorrectable ECC error.

Yes, an explicit user message of "Uncorrectable ECC error" would be nice.
:-)

-Scott
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to