Re: [U-Boot-Users] Replacing AT91 u-boot

Why are you doing this? If you have U-Boot running, you can just use the existing old version to download and install the new image. This is a trivial procedure.
Wolfgang, thank you for answering. I have done as you suggested, but now the board don't boot (I am going to install the old u-boot) I don't understand why the default configuration for at91rm9200dk is don't work on my board, after 3 days I'm still unable to use 1.1.3 :-( BTW the u-boot.gz I am sending here is created with gzip-ping u-boot.bin
These are the commands I've done:
Uboot> loadb 20000000 ...SEND BOOT.BIN... ## Ready for binary (kermit) download to 0x20000000 at 115200 bps... ## Total Size = 0x00002908 = 10504 Bytes ## Start Addr = 0x20000000 Uboot> cp.b 20000000 10000000 5fff Copy to Flash... done
Uboot> protect on 10000000 10005fff Protected 3 sectors
Uboot> loadb 20000000 ...SEND U-BOOT.GZ... ## Ready for binary (kermit) download to 0x20000000 at 115200 bps... ## Total Size = 0x0000b9a9 = 47529 Bytes ## Start Addr = 0x20000000
Uboot> protect off 10010000 1001ffff Un-Protected 1 sectors
Uboot> erase 10010000 1001ffff Erase Flash from 0x10010000 to 0x1001ffff Erasing sector 8 ... ok. Erased 1 sectors
Uboot> cp.b 20000000 10010000 ffff Copy to Flash... done
Uboot> protect on 10010000 1001ffff Protected 1 sectors Uboot>
...here resetting...
boot 1.0 (Aug 8 2003 - 12:29:00) Uncompressing image...
...frozen...
TIA

In message INOL40$6FF461974C374A63A2E5C94AB9FA51CC@libero.it you wrote:
I don't understand why the default configuration for at 91rm9200dk is don't work on my board, after 3 days I'm still unable to us e 1.1.3 :-( BTW the u-boot.gz I am sending here is created with gzip-ping u-boot.bin
You are not suppoesed to compress the u-boot.bin file; "u-boot.bin" is a raw bbianry which can be directly run on the board. You must not modiify it.
Uboot> loadb 2000000 0 ...SEND BOOT.BIN...
Why are you doing this? You should just store the u-boot.bin file in flash. Forget about boot.bin - it is not needed.
Uboot> loadb 20000000 ...SEND U-BOOT.GZ...
Wrong. Use the unmodified u-boot.bin file.
Uboot> protect off 10010000 1001ffff Un-Protected 1 sectors
Uboot> erase 10010000 1001ffff Eras e Flash from 0x10010000 to 0x1001ffff Erasing sector 8 ... ok. Erased 1 sectors
Uboot> cp.b 20000000 10010000 ffff Copy to Flash... done
Wrong again. On ARM systems like the at91rm9200dk the reset vector is at address 0x000, so U-Boot must be stored at this address.
Copy the u-boot.bin image to the addresses starting at 0x0000.
Best regards,
Wolfgang Denk
participants (2)
-
kentropy
-
Wolfgang Denk