[U-Boot] Building qemu-x86_64_defconfig fails: u-boot-spl-nodtb.bin of 4, 293, 642, 704 bytes

Heinrich Schuchardt xypron.glpk at gmx.de
Sun Sep 10 04:36:43 UTC 2017


export BUILD_ROM=y
make mrproper
make qemu-x86_64_defconfig
make

results in a file u-boot-spl-nodtb.bin of 4,293,642,704 bytes
for git HEAD.

The problematic statement is

objcopy -O binary -R .start16 -R .resetvec \
  spl/u-boot-spl spl/u-boot-spl-nodtb.bin

spl/u-boot-spl has 2,385,168 bytes.

My system is Debian Stretch x86_64.
GNU objcopy (GNU Binutils for Debian) 2.28

objdump -h spl/u-boot-spl
shows that the section .start16 and .resetvec exist.

I have created an upstream bug report
https://sourceware.org/bugzilla/show_bug.cgi?id=22120

Best regards

Heinrich


More information about the U-Boot mailing list