[U-Boot] Building efi_boottime.o fails for OpenRD (kirkwood) targets

Alexander Graf agraf at suse.de
Thu Jul 7 09:53:24 CEST 2016



On 06.07.16 23:16, Karsten Merker wrote:
> Hello,
> 
> current u-boot master shows problems when building efi_boottime.o
> for the openrd_base, openrd_client and openrd_ultimate targets
> (all based on Marvell "Kirkwood" SoCs).  This was discovered
> during builds of the (experimental) Debian u-boot 2016.07-rc3
> package, but exactly the same problem occurs with plain upstream. 
> Running "make openrd_base_defconfig; make" results in the
> following error:
> 
>   CC      lib/efi_loader/efi_image_loader.o
>   CC      lib/efi_loader/efi_boottime.o
> {standard input}: Assembler messages:
> {standard input}:1672: Error: invalid immediate for address calculation
> (value = 0x0000000A)
> make[2]: *** [lib/efi_loader/efi_boottime.o] Error 1
> scripts/Makefile.build:280: recipe for target 'lib/efi_loader/efi_boottime.o' failed
> make[1]: *** [lib/efi_loader] Error 2
> scripts/Makefile.build:425: recipe for target 'lib/efi_loader' failed
> make: *** [lib] Error 2
> Makefile:1210: recipe for target 'lib' failed
> 
> The same happens when building the openrd_client and
> openrd_ultimate targets.

Thanks for the report. Tom pointed me to it yesterday as well and I
submitted a fix:

  https://patchwork.ozlabs.org/patch/644968/

Please just apply it and things should work for you.


Alex


More information about the U-Boot mailing list