* [U-Boot] [x86] Error building for qemu-x86 as EFI payload
@ 2016-08-21 8:29 Yan Phenix
2016-08-22 9:28 ` Bin Meng
0 siblings, 1 reply; 2+ messages in thread
From: Yan Phenix @ 2016-08-21 8:29 UTC (permalink / raw)
To: u-boot
Hi,
I want to build u-boot for qemu-x86 as an 32-bit EFI payload.
What I have done is below:
step 1:
make qemu-x86_defconfig
step 2:
make menuconfig
Library routines --->
[*] Support running U-Boot from EFI
(X) Support running as an EFI payload
(X) Produce a stub for running with 32-bit EFI
step 3:
make
But finally, it fails:
lib/efi/efi_stub.o: In function `efi_main':
/opt/u-boot-2016.07/obj/../lib/efi/efi_stub.c:357: undefined reference to `_binary_u_boot_dtb_bin_start'
/opt/u-boot-2016.07/obj/../lib/efi/efi_stub.c:357: undefined reference to `_binary_u_boot_dtb_bin_end'
/opt/u-boot-2016.07/Makefile:1117: recipe for target 'u-boot-payload' failed
make[1]: *** [u-boot-payload] Error 1
make[1]: Leaving directory '/opt/u-boot-2016.07/obj'
Makefile:150: recipe for target 'sub-make' failed
make: *** [sub-make] Error 2
Can anybody tell me what mistakes I made? Thanks.
Best Regards!
Phenix
^ permalink raw reply [flat|nested] 2+ messages in thread
* [U-Boot] [x86] Error building for qemu-x86 as EFI payload
2016-08-21 8:29 [U-Boot] [x86] Error building for qemu-x86 as EFI payload Yan Phenix
@ 2016-08-22 9:28 ` Bin Meng
0 siblings, 0 replies; 2+ messages in thread
From: Bin Meng @ 2016-08-22 9:28 UTC (permalink / raw)
To: u-boot
Hi Phenix,
On Sun, Aug 21, 2016 at 4:29 PM, Yan Phenix <phenix_yw@hotmail.com> wrote:
> Hi,
>
> I want to build u-boot for qemu-x86 as an 32-bit EFI payload.
>
> What I have done is below:
>
> step 1:
> make qemu-x86_defconfig
>
> step 2:
> make menuconfig
> Library routines --->
> [*] Support running U-Boot from EFI
> (X) Support running as an EFI payload
> (X) Produce a stub for running with 32-bit EFI
>
> step 3:
> make
>
> But finally, it fails:
>
> lib/efi/efi_stub.o: In function `efi_main':
> /opt/u-boot-2016.07/obj/../lib/efi/efi_stub.c:357: undefined reference to `_binary_u_boot_dtb_bin_start'
> /opt/u-boot-2016.07/obj/../lib/efi/efi_stub.c:357: undefined reference to `_binary_u_boot_dtb_bin_end'
> /opt/u-boot-2016.07/Makefile:1117: recipe for target 'u-boot-payload' failed
> make[1]: *** [u-boot-payload] Error 1
> make[1]: Leaving directory '/opt/u-boot-2016.07/obj'
> Makefile:150: recipe for target 'sub-make' failed
> make: *** [sub-make] Error 2
>
> Can anybody tell me what mistakes I made? Thanks.
>
It's a bug. Patch will be sent out soon.
Regards,
Bin
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-08-22 9:28 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-08-21 8:29 [U-Boot] [x86] Error building for qemu-x86 as EFI payload Yan Phenix
2016-08-22 9:28 ` Bin Meng
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.