I'm using a stock DM355 EVM with silicon revision 1.1. I've upgraded the original MontaVista system to the 3.10 DVSDK with:
sfh_dm35x -nanderase
sfh_dm35x -nandflash ubl_DM35x_nand.bin u-boot-dm355-evm.bin
I used the "legacy" version of sfh_dm35x. This successfully installed UBL version 1.50 and U-Boot 2009.3. I get this error at boot:
*** Warning - bad CRC or NAND, using default environment
Trying to save the environment fails:
DM355 EVM > saveenv
Saving Environment to NAND...
Erasing Nand...
Skipping bad block at 0x003c0000
Skipping bad block at 0x00400000
Erasing at 0x420000 -- 100% complete.
Writing to Nand... FAILED!
Writing a kernel to NAND appears to be successful, but booting it fails with:
Loading from NAND 1GiB 3,3V 8-bit, offset 0x400000
Skipping bad block 0x00400000
Image Name: Arago/2.6.31+2.6.32-rc1-r37+gitr
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 2116204 Bytes = 2 MB
Load Address: 80008000
Entry Point: 80008000
Skipping bad block 0x00400000
Skipping bad block 0x00440000
Skipping bad block 0x00480000
Skipping bad block 0x004c0000
Skipping bad block 0x00500000
Skipping bad block 0x00540000
Skipping bad block 0x00580000
Skipping bad block 0x005c0000
Skipping bad block 0x00600000
NAND read from offset 620000 failed -74
** Read error
I was not getting all of the "skipping bad block" errors with the original software. "nand bad" shows about 600 bad blocks; I don't know if that's normal, as I didn't do a "nand bad" before upgrading.
Have I done something wrong in the upgrade process?