[U-Boot] u-boot for SPEAr1310

Marek Vasut
2012-02-23T14:49:02Z

> Hi Pavel,
>
> (Added Amit to Cc).
>
> On Thursday 23 February 2012 15:17:19 Pavel Machek wrote:
> > Is there git tree with u-boot for SPEAr1310 somewhere? I only seen
> > patches from 2010...
>
> Here a link to the ST git repository:
>
> git://stlinux.com/spear/u-boot.git
>
> Most branches are not based on current mainline U-Boot version though. ST
> people might have a better overview here.
>
> Please note that there is currently ongoing effort to port much of this
> repository into mainline. From ST and from myself. Stay tuned. The list
> should see some updates quite soon...
>
> Please don't hesitate if you have any specific questions.
>
> > Is there easy way to flash resulting u-boot using
> > BDI?
>
> My experience is mostly SPEAr600 only right now. Not sure if there are
> bigger differences between those SoC's in the BootROM.

I believe the spear600 is totally different from 1300. But, simple:

reset halt ; load ... ; go ...

combo should work I believe. In case you're loading some U-Boot SPL, it's very
good idea to put an "asm volatile("x : b x");" line into the SPL to make the CPU
loop instead of try loading uboot. Since if the CPU is looping, you can break it
with BDI, if it isn't looping and jumps to some garbage, it usually ends in
undefined state and bootrom might further tamper with the CPU configuration.

M

> SPEAr600 uses
> XLoader as SPL. I ported U-Boot SPL for SPEAr600 though, completely
> obsoleting XLoader. Patches are not quite ready for the list though.
>
> Best regards,
> Stefan
>
> --
> DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
> HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
> Phone: (+49)-8142-66989-0 Fax: (+49)-8142-66989-80 Email: office at denx.de
> _______________________________________________
> U-Boot mailing list
> U-Boot at lists.denx.de
> http://lists.denx.de/mailman/listinfo/u-boot