[U-Boot] SPL broken for pandaboard with v2011.09?

John Rigby john.rigby at linaro.org
Thu Oct 13 00:23:28 CEST 2011


On Wed, Oct 12, 2011 at 4:08 PM, Steve Sakoman <sakoman at gmail.com> wrote:
> On Wed, Oct 12, 2011 at 3:00 PM, John Rigby <john.rigby at linaro.org> wrote:
>
>>> Has anyone else been able to successfully use SPL on pandaboard with v2011.09?
>>>
>> You may want to see if the spl is oversize.  Sometime ago the size was
>> pushed up to 38K but the base was not moved to  accommodate the extra
>> size so there has been the possibility of problems since then.  I work
>> around it in my own tree by moving CONFIG_SPL_TEXT_BASE down but that
>> breaks HS devices.  The patches that start with this email
>> http://lists.denx.de/pipermail/u-boot/2011-September/102518.html set
>> the size back to 32K.
>
> I saw those patches and have those changes incorporated too.
>
> The spl I built is less than 32K.
>
> It seems that the issue is in RAM setup -- the RAM test fails after
> one word (hence it reporting 4 byte RAM size).

My tree has the precalculated ddr timing patch:

U-Boot/SPL: omap4: Make ddr pre-calculated timings as default.

All ddr configurations(geometry/timings) are done automatically
by detecting the device connected at run time. Though this
is a useful feature, making this as a default setting increases
the code size by about 2K bytes. This is quite big, especially
in the case of SPL which runs from a smaller SRAM. So do not
use this feature as the default setting, instead use the
precalculated tables.

Signed-off-by: sricharan <r.sricharan at ti.com>

But you probably picked that up with the spl size fix from the same author.

>
> Is your tree based on v2011.09?  Is it public?

My tree has a bunch of extra patches on top and is based on rc2.  I
know it works:

http://git.linaro.org/gitweb?p=boot/u-boot-linaro-stable.git;a=summary

My -next tree has had no testing because I only just put it together.
It is nearly identical to the above but rebased to v2011.09 final:

http://git.linaro.org/gitweb?p=boot/u-boot-linaro-next.git;a=summary

Let me know how it goes.

--john


More information about the U-Boot mailing list