change in ARM uboot API
Tim Kientzle
tim at kientzle.com
Sun Nov 17 04:29:44 UTC 2013
On Nov 16, 2013, at 9:53 AM, Leif Lindholm <leif.lindholm at linaro.org> wrote:
> Hi,
>
> (not subscribed from this address, so please cc on any response)
>
> I came across a bit of an issue with the ARM uboot GRUB port today,
> which I believe will also affect the FreeBSD loader:
> http://git.denx.de/cgi-bin/gitweb.cgi?p=u-boot.git;a=commit;h=fe1378a961e508b31b1f29a2bb08ba1dac063155
>
> In short, the global data pointer has now moved from r8 to r9, and
> since no API bump was made as a result of this, software now needs to
> preserve both of these registers across calls into u-boot.
>
> If http://svnweb.freebsd.org/base/head/sys/boot/arm/uboot/start.S?view=markup
> is the correct version to inspect, the current loader is affected.
Thank you.
I’ll update that code to preserve both registers.
Cheers,
Tim Kientzle
More information about the freebsd-arm
mailing list