[U-Boot] U-Boot 2018.07 Still Broken for Allwinner H3 SoCs
Peter Robinson
pbrobinson at gmail.com
Tue Sep 4 12:22:24 UTC 2018
> > On Tue, Jul 10, 2018 at 4:04 AM, Chen-Yu Tsai <wens at csie.org> wrote:
> > > This is on a Libre Computer ALL-H3-CC H3 variant. Still running a
> > > bisect, but v2018.07-rc1 is a working version. From the EHCI error
> > > messages, I'm thinking it might be related to the USB changes lately.
> > > Not sure if any other SoCs (ex. A64) are broken or not at the moment.
> >
> > I'm still seeing this issue in 2018.09 RC1, what's the status of a fix for this?
>
> This is a bug in binutils: https://sourceware.org/bugzilla/show_bug.cgi?id=23571
> It has been fixed upstream.
For reference the Fedora binutils maintainer (and also one of the
upstream developers made the following note about the fix:
https://bugzilla.redhat.com/show_bug.cgi?id=1624751#c3
---
It should also be noted that this problem can be avoided in the U-Boot linker
script if the align expression is put on the left of the colon. Like this:
.__secure_start
#ifndef CONFIG_ARMV7_SECURE_BASE
ALIGN(CONSTANT(COMMONPAGESIZE))
#endif
: {
KEEP(*(.__secure_start))
}
This has the advantage that the solution will work with older versions of the
binutils package.
---
So you may wish to fix it like that so it's not dependent on versions
of binutils.
Peter
More information about the U-Boot
mailing list