[U-Boot] u-boot for SPEAr1310

Stefan Roese sr at denx.de
Fri Feb 24 19:46:50 CET 2012


On Friday 24 February 2012 19:37:45 Marek Vasut wrote:
> > ...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?).
> 
> Well yea, loading uboot from uboot isn't supported.

Not officially, yes. But for U-Boot images that are loaded via SPL into 
already configured SDRAM it might work. At least it does for me on SPEAr600:

U-Boot 2011.12-00388-g0166e9b (Feb 24 2012 - 15:28:17)-SPEAr

CPU:   SPEAr600
I2C:   ready
DRAM:  128 MiB
WARNING: Caches not enabled
Flash: 512 KiB
NAND:  128 MiB
Net:   mii0
Hit SPACE in 3 seconds to stop autoboot.
x500> tftp 800040 x500/u-boot.bin
Waiting for PHY auto negotiation to complete... done
ENET Speed is 1000 Mbps - FULL duplex connection
Using mii0 device
TFTP from server 10.0.0.152; our IP address is 10.0.0.246
Filename 'x500/u-boot.bin'.
Load address: 0x800040
Loading: #########################
done
Bytes transferred = 364352 (58f40 hex)
x500> go 800040
## Starting application at 0x00800040 ...


U-Boot 2011.12-00388-g0166e9b (Feb 24 2012 - 19:43:40)-SPEAr

CPU:   SPEAr600
I2C:   ready
DRAM:  128 MiB
WARNING: Caches not enabled
Flash: 512 KiB
NAND:  128 MiB
Net:   mii0
Hit SPACE in 3 seconds to stop autoboot.
x500> 


Important it the load and start address of course.

Now I'm really off for the weekend!
Stefan


More information about the U-Boot mailing list