[U-Boot] u-boot for SPEAr1310

Stefan Roese
2012-02-24T18:36:41Z

Hi Pavel,

On Friday 24 February 2012 19:16:46 Pavel Machek wrote:
> I have a problem here: "reset halt" does not reset the board; probably
> some kind of BDI problem. I tried playing with BDI config, but was not
> successful.
>
> I tried to load u-boot from u-boot using:
>
> u-boot> tftp 0x00700000 192.168.1.1:/spear1310eval/u-boot.bin
>
> Using mii0 device
> TFTP from server 192.168.1.1; our IP address is 192.168.20.47
> Filename '/spear1310eval/u-boot.bin'.
> Load address: 0x700000
> Loading: ##############
> done
> Bytes transferred = 193032 (2f208 hex)
> u-boot> go 0x00700000
> ## Starting application at 0x00700000 ...
>
>
> U-Boot 2010.03-lsp-3.0-rc7 (Sep 15 2011 - 13:52:19)
> SPEAr-emlix-CCLite-BSP-0.11

Not bad so far. :)

> ...it started something. According to gdb it looks like "new" u-boot
> executes briefly, but fails in C code while processing intialization,
> and it seems that "old" u-boot takes over. (Some kind of failure and
> board resets itself?).

A few thoughts:
- Is this the original (installed in flash) image or different one?
- If it is a new image, did you try booting the original
U-Boot version this way as well?
- Are the load and start addresses ok? Did you check this with the
original images (iminfo)?

Sorry, no more time mow. Into the weekend... ;)

Cheers,
Stefan