[U-Boot] Fwd: arch/x86/cpu/x86_64/built-in.o: In function `checkcpu': (.text.checkcpu+0x0): multiple definition of `checkcpu' arch/x86/cpu/efi/built-in.o:(.text.checkcpu+0x0): first defined here

Simon Glass sjg at chromium.org
Wed May 31 03:50:13 UTC 2017


Hi Jeroen,

On 23 May 2017 at 01:58, Jeroen Roovers <jer at airfi.aero> wrote:
> On 16 May 2017 at 09:26, Bin Meng <bmeng.cn at gmail.com> wrote:
>>> So I needed to adapt it for a 64-bit target by enabling CONFIG_X86_RUN_64BIT
>>
>> CONFIG_X86_RUN_64BIT is supposed to be turned on a 64-bit U-Boot
>> build, not for EFI application.
>
> Right, so I cannot use u-boot on a 64-bit only UEFI system?

You can - you need to build U-Boot as 32-bit and use the 64-bit stub.
This should be described in the README.x86 but please post if you have
questions.

Once U-Boot 64-bit support is fully complete you'll be able to run
U-Boot in 64-bit if you like. Even when running 32-bit U-Boot does
support natively starting a 64-bit kernel.

Regards,
Simon

>
> Kind regards,
>      jer


More information about the U-Boot mailing list