All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot]  x86: 64-bit U-boot image compilation errors
@ 2018-01-17 23:03 Krehic, Damir
  0 siblings, 0 replies; only message in thread
From: Krehic, Damir @ 2018-01-17 23:03 UTC (permalink / raw)
  To: u-boot

Hello,

I am having issues getting a 64bit image compiled. Every avenue I've tried, ends with a compilation error. I need a x86 U-boot 64 bit image to load as the EFI shell is 64-bit. Any help would be greatly appreciated.

Path 1:
scripts/kconfig/conf  --silentoldconfig Kconfig
  CHK     include/config.h
  CFG     u-boot.cfg
In file included from ./include/common.h:21:0:
include/config.h:5:22: fatal error: configs/.h: No such file or directory
#include <configs/.h>

Path 2:
arch/x86/cpu/x86_64/built-in.o: In function `checkcpu':
/home/damir.krehic/uboot/u-boot/arch/x86/cpu/x86_64/cpu.c:73: multiple definition of `checkcpu'
arch/x86/cpu/efi/built-in.o:/home/damir.krehic/uboot/u-boot/arch/x86/cpu/efi/efi.c:19: first defined here
arch/x86/cpu/x86_64/built-in.o: In function `arch_setup_gd':
/home/damir.krehic/uboot/u-boot/arch/x86/cpu/x86_64/cpu.c:18: multiple definition of `misc_init_r'
arch/x86/cpu/efi/built-in.o:/home/damir.krehic/uboot/u-boot/arch/x86/cpu/efi/efi.c:14: first defined here
arch/x86/cpu/x86_64/built-in.o: In function `arch_setup_gd':
/home/damir.krehic/uboot/u-boot/arch/x86/cpu/x86_64/cpu.c:18: multiple definition of `print_cpuinfo'
arch/x86/cpu/efi/built-in.o:/home/damir.krehic/uboot/u-boot/arch/x86/cpu/efi/efi.c:14: first defined here
make[1]: *** [arch/x86/cpu/built-in.o] Error 1
make: *** [arch/x86/cpu] Error 2

settings for the configs/efi-x86_defconfig:
CONFIG_X86=y
CONFIG_VENDOR_EFI=y
CONFIG_DEFAULT_DEVICE_TREE="efi"
CONFIG_TARGET_EFI=y
CONFIG_DEBUG_UART=y
CONFIG_FIT=y
CONFIG_USE_BOOTARGS=y
CONFIG_BOOTARGS="root=/dev/sdb3 init=/sbin/init rootwait ro"
CONFIG_SYS_CONSOLE_INFO_QUIET=y
CONFIG_HUSH_PARSER=y
# CONFIG_CMD_BOOTM is not set
CONFIG_CMD_GPIO=y
CONFIG_CMD_PART=y
CONFIG_CMD_SF=y
# CONFIG_CMD_SF_TEST is not set
CONFIG_CMD_SPI=y
CONFIG_CMD_USB=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_MAC_PARTITION=y
CONFIG_ISO_PARTITION=y
CONFIG_EFI_PARTITION=y
CONFIG_OF_EMBED=y
# CONFIG_DM_ETH is not set
CONFIG_DEBUG_EFI_CONSOLE=y
CONFIG_DEBUG_UART_BASE=0
CONFIG_DEBUG_UART_CLOCK=0
CONFIG_ICH_SPI=y
CONFIG_EFI=y
# CONFIG_EFI_LOADER is not set

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2018-01-17 23:03 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-01-17 23:03 [U-Boot] x86: 64-bit U-boot image compilation errors Krehic, Damir

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.