Hallo!
I have a coustemized dm6446 board. I wanted to flash a new version of u-boot. I compiled the source code of u-boot with all settings for the dm6446 (NOR). Then I copied the u-boot.bin via kermit on my board.
I erased the memory form 0x02000000 to 0x0209FFFF and copied the new version of u-boot.bin inside. After restart I got the message that the CRC is incorrect and that u-boot uses the default environment.
U-Boot 2010.09-rc1-00003-g150f723 (Sep 15 2010 - 19:19:49)
Cores: ARM 297 MHz, DSP 594 MHz
DDR: 162 MHz
I2C: ready
DRAM: 256 MiB
Flash: 16 MiB
*** Warning - bad CRC, using default environment
I can change the environment via setenv. But when I try to save it via saveenv, u-boot says that the beginning address isn't at a sector boundary.
Saving Environment to Flash...
Error: start address not on sector boundary
After that, I wanted to restore the old version of u-boot. But now it is impossible the erase memory in the flash. I can unprotect it. I can "erase all". But nothing happend. All entries are still there. Nothing was erased.
I read about the possibility to use the jtag to restore the flash. But the board has no jumper to switch the boot mode.
I hope anyone can help me. Thanks.