mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-08-21 01:18:52 +09:00
![Simon Glass](/assets/img/avatar_default.png)
Enable this so that EFI applications (notably grub) can be run under U-Boot on x86 platforms. At present the 'hello world' EFI application is not supported for the qemu-x86_efi_payload64 board. That board builds a payload consisting of a 64-bit header and a 32-bit U-Boot, which is incompatible with the way the EFI loader builds its EFI application. The following error is obtained: x86_64-linux-ld.bfd: i386 architecture of input file `lib/efi_loader/helloworld.o' is incompatible with i386:x86-64 output This could be corrected with additional Makefile rules. For now, this feature is disabled for that board. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> [agraf: drop hello kconfig bits] Signed-off-by: Alexander Graf <agraf@suse.de>
38 lines
767 B
Plaintext
38 lines
767 B
Plaintext
CONFIG_X86=y
|
|
CONFIG_VENDOR_EFI=y
|
|
CONFIG_DEFAULT_DEVICE_TREE="efi"
|
|
CONFIG_TARGET_EFI=y
|
|
CONFIG_FIT=y
|
|
CONFIG_CONSOLE_MUX=y
|
|
CONFIG_SYS_CONSOLE_INFO_QUIET=y
|
|
CONFIG_HUSH_PARSER=y
|
|
# CONFIG_CMD_BOOTM is not set
|
|
# CONFIG_CMD_IMLS is not set
|
|
CONFIG_CMD_SF=y
|
|
CONFIG_CMD_SPI=y
|
|
CONFIG_CMD_USB=y
|
|
CONFIG_CMD_GPIO=y
|
|
# CONFIG_CMD_NET is not set
|
|
CONFIG_CMD_DHCP=y
|
|
CONFIG_CMD_PING=y
|
|
CONFIG_CMD_TIME=y
|
|
CONFIG_CMD_EXT2=y
|
|
CONFIG_CMD_EXT4=y
|
|
CONFIG_CMD_EXT4_WRITE=y
|
|
CONFIG_CMD_FAT=y
|
|
CONFIG_CMD_FS_GENERIC=y
|
|
CONFIG_OF_CONTROL=y
|
|
CONFIG_OF_EMBED=y
|
|
CONFIG_DM_PCI=y
|
|
CONFIG_DEBUG_UART=y
|
|
CONFIG_DEBUG_EFI_CONSOLE=y
|
|
CONFIG_DEBUG_UART_BASE=0
|
|
CONFIG_DEBUG_UART_CLOCK=0
|
|
CONFIG_ICH_SPI=y
|
|
CONFIG_TIMER=y
|
|
CONFIG_USB=y
|
|
CONFIG_USB_STORAGE=y
|
|
CONFIG_USB_KEYBOARD=y
|
|
CONFIG_EFI=y
|
|
# CONFIG_EFI_LOADER is not set
|