[U-Boot] Please pull u-boot-sunxi master
Bernhard Nortmann
bernhard.nortmann at web.de
Fri Jun 12 00:27:56 CEST 2015
(The post to the ML was here:
http://lists.denx.de/pipermail/u-boot/2015-June/216284.html)
I've been asking around a bit on the issue on IRC in #linux-sunxi and
#u-boot (and originally contacted Hans on this). The user "Kasreyn" brought
the subject up on #linux-sunxi, reporting that his Banana Pi (sun7i/A20) had
trouble detecting the GPT partitioning of a 3TB SATA disk. Enabling
CONFIG_SYS_64BIT_LBA solved that, but Kasreyn later confirmed that he
experienced the same linking failure and had to use a softfloat toolchain to
compile U-Boot (linaro bare metal -
gcc-arm-none-eabi-4_9-2014q4-20141203-linux.tar.bz2).
As reported above, the U-Boot build fails when using an armhf toolchain:
http://pastebin.com/cwmyc2pE. The error messages involved indicate that
changing lbaint_t to 64-bit introduces division functions (_divdi3 and
_udivdi3) that the linker tries to satisfy from libgcc.a - which fails due
to the incompatible ABI. For 32-bit _divsi3 and _udivsi3 seem to get
satisfied by the corresponding assembler files in arch/arm/lib.
Unfortunately, in this case it's not a trival task to find and replace all
the integer divisions that are affected by the change in lbaint_t size.
Regards, B. Nortmann
More information about the U-Boot
mailing list