bootstd breakages

Simon Glass sjg at chromium.org
Wed Feb 22 22:07:03 CET 2023


Hi Ilias,

On Tue, 21 Feb 2023 at 23:35, Ilias Apalodimas
<ilias.apalodimas at linaro.org> wrote:
>
> Hi Simon,
>
> Using the attached config U-Boot fails to compile.
>
> aarch64-linux-gnu-ld.bfd: boot/bootmeth_efi_mgr.o: in function `efi_mgr_check':
> /home/apalos/work/u-boot-tpm/boot/bootmeth_efi_mgr.c:39: undefined
> reference to `bootflow_iter_check_system'
> make: *** [Makefile:1752: u-boot] Error 1
> make: *** Deleting file 'u-boot'

I repeated this on qemu_arm64. The problem is that you are enabling
BOOTSTD_FULL without BOOTSTD. I'll send a patch to fix the Kconfig
dependency.

Regards,
Simon

>
> Regards
> /Ilias
>
> CONFIG_ARM=y
> CONFIG_POSITION_INDEPENDENT=y
> CONFIG_ARCH_QEMU=y
> CONFIG_SYS_MALLOC_LEN=0x1000000
> CONFIG_NR_DRAM_BANKS=1
> CONFIG_HAS_CUSTOM_SYS_INIT_SP_ADDR=y
> CONFIG_CUSTOM_SYS_INIT_SP_ADDR=0x40200000
> CONFIG_ENV_SIZE=0x40000
> CONFIG_ENV_SECT_SIZE=0x40000
> CONFIG_DEFAULT_DEVICE_TREE="qemu-arm64"
> CONFIG_DEBUG_UART_BASE=0x9000000
> CONFIG_DEBUG_UART_CLOCK=0
> CONFIG_ARMV8_CRYPTO=y
> CONFIG_SYS_LOAD_ADDR=0x40200000
> CONFIG_ENV_ADDR=0x4000000
> CONFIG_DEBUG_UART=y
> CONFIG_AHCI=y
> CONFIG_ENV_VARS_UBOOT_CONFIG=y
> CONFIG_FIT=y
> CONFIG_FIT_SIGNATURE=y
> CONFIG_FIT_VERBOSE=y
> CONFIG_FIT_BEST_MATCH=y
> # CONFIG_BOOTSTD is not set
> CONFIG_BOOTSTD_FULL=y
> CONFIG_LEGACY_IMAGE_FORMAT=y
> CONFIG_SUPPORT_RAW_INITRD=y
> CONFIG_USE_BOOTCOMMAND=y
> CONFIG_BOOTCOMMAND="bootflow scan -lb"
> CONFIG_USE_PREBOOT=y
> # CONFIG_DISPLAY_CPUINFO is not set
> # CONFIG_DISPLAY_BOARDINFO is not set
> CONFIG_PCI_INIT_R=y
> CONFIG_HUSH_PARSER=y
> CONFIG_SYS_CBSIZE=512
> CONFIG_SYS_PBSIZE=532
> CONFIG_CMD_BOOTZ=y
> CONFIG_CMD_BOOTEFI_SELFTEST=y
> CONFIG_CMD_NVEDIT_EFI=y
> CONFIG_CMD_DFU=y
> CONFIG_CMD_MTD=y
> CONFIG_CMD_PART=y
> CONFIG_CMD_PCI=y
> CONFIG_CMD_USB=y
> CONFIG_CMD_DHCP=y
> CONFIG_CMD_MII=y
> CONFIG_CMD_PING=y
> CONFIG_CMD_PXE=y
> CONFIG_CMD_EFIDEBUG=y
> CONFIG_CMD_TPM=y
> CONFIG_CMD_EXT2=y
> CONFIG_CMD_EXT4=y
> CONFIG_CMD_FAT=y
> CONFIG_CMD_FS_GENERIC=y
> CONFIG_CMD_MTDPARTS=y
> CONFIG_ISO_PARTITION=y
> CONFIG_EFI_PARTITION=y
> CONFIG_ENV_IS_IN_FLASH=y
> CONFIG_SCSI_AHCI=y
> CONFIG_AHCI_PCI=y
> CONFIG_DFU_TFTP=y
> CONFIG_DFU_MTD=y
> CONFIG_DFU_RAM=y
> # CONFIG_MMC is not set
> CONFIG_MTD=y
> CONFIG_DM_MTD=y
> CONFIG_MTD_NOR_FLASH=y
> CONFIG_FLASH_SHOW_PROGRESS=0
> CONFIG_MTD_NOR_FLASH=y
> CONFIG_FLASH_SHOW_PROGRESS=0
> CONFIG_CFI_FLASH=y
> CONFIG_CFI_FLASH_USE_WEAK_ACCESSORS=y
> CONFIG_SYS_FLASH_USE_BUFFER_WRITE=y
> CONFIG_FLASH_CFI_MTD=y
> CONFIG_SYS_FLASH_CFI=y
> CONFIG_SYS_MAX_FLASH_SECT=256
> CONFIG_SYS_MAX_FLASH_BANKS=2
> CONFIG_SYS_MAX_FLASH_BANKS_DETECT=y
> CONFIG_E1000=y
> CONFIG_NVME_PCI=y
> CONFIG_PCI=y
> CONFIG_PCIE_ECAM_GENERIC=y
> CONFIG_SCSI=y
> CONFIG_DM_SCSI=y
> CONFIG_DEBUG_UART_PL011=y
> CONFIG_DEBUG_UART_SHIFT=2
> CONFIG_SYSRESET=y
> CONFIG_SYSRESET_CMD_POWEROFF=y
> CONFIG_SYSRESET_PSCI=y
> CONFIG_TPM2_MMIO=y
> CONFIG_USB=y
> CONFIG_USB_EHCI_HCD=y
> CONFIG_USB_EHCI_PCI=y
> CONFIG_USB_STORAGE=y
> CONFIG_TPM=y


More information about the U-Boot mailing list