This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

NAND read error

Other Parts Discussed in Thread: DM3730

I am using DM3730.

I am writing NAND from Android prompt with nandwrite (mtd)utility and then reading them on u-boot prompt.

all the Images except u-boot.bin gives the error, no matter at which location I write in NAND.

I write u-boot.bin with this command

./nandwrite -b 1 -n /dev/mtd/mtd6 -p /update/u-boot.bin -s 0x40000

whenever I execute the following command at u-boot to read the nand:

nand read.i 0x81600000 1B340000 80000

it gives me this errors:

NAND read: device 0 offset 0x1b340000, size 0x80000
Error: Bad compare! failed
Error: Bad compare! failed
......
......

Error: Bad compare! failed
Error: Bad compare! failed
NAND read from offset 1b340000 failed -74
524288 bytes read: ERROR

Even if i try to read my normal u-boot which is working properly with command:

nand read.i 0x81600000 80000 80000

NAND read: device 0 offset 0x80000, size 0x80000
Error: Bad compare! failed
....

Error: Bad compare! failed
NAND read from offset 80000 failed -74
 524288 bytes read: ERROR

Please Help....

Regards,

Pratik