Hello,
I'm having a problem with u-boot and writing/reading the kernel image to onboard Flash. Our target hardware has the DM365 and an 8Gb NAND flash. I'm having an issue where I cannot read from the flash chip from u-boot. I am able to erase blocks and read back the erased blocks without error. It also tells me that I can write to those blocks, but when I try to read data that I have written I get the error: NAND read from offset 400000 failed -74
I've attached one of these exchanges. I am able to flash in the UBL and u-boot (from code composer), so I don't think the flash is completely corrupted. It seems as though it is a problem with u-boot, but the same image works on one of our previous boards with a smaller memory chip. I was hoping someone could help me out.
Thanks in advance,
-Matt
NAND erase: device 0 offset 0x400000, size 0x240000
Erasing at 0x600000 -- 100% complete.
OK
u-boot # nand read 0x80200000 0x400000 0x240000
NAND read: device 0 offset 0x400000, size 0x240000
2359296 bytes read: OK
u-boot # nand read 0x80700000 0x400000 0x240000
NAND read: device 0 offset 0x400000, size 0x240000
2359296 bytes read: OK
u-boot # nand write 0x80700000 0x400000 240000
NAND write: device 0 offset 0x400000, size 0x240000
2359296 bytes written: OK
u-boot # nand read 0x8020000 0x400000
NAND read: device 0 offset 0x400000, size 0x7fc00000
NAND read from offset 400000 failed -74
0 bytes read: ERROR