mirror of
https://git.busybox.net/buildroot.git
synced 2024-12-05 03:13:41 +08:00
54be84cb5f
Add a defconfig to build an AArch64 U-Boot based firmware implementing the subset of UEFI defined by EBBR[1], as well as a Linux OS disk image booting with UEFI, to run on the Arm A-Profile Base RevC AEM FVP. The generated firmware binaries can also be used to run another OS supporting the EBBR specification. [1]: https://github.com/ARM-software/ebbr Signed-off-by: Vincent Stehlé <vincent.stehle@arm.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
57 lines
1.8 KiB
Plaintext
57 lines
1.8 KiB
Plaintext
# Architecture
|
|
BR2_aarch64=y
|
|
|
|
# Image
|
|
BR2_GLOBAL_PATCH_DIR="board/arm/fvp-ebbr/patches"
|
|
BR2_DOWNLOAD_FORCE_CHECK_HASHES=y
|
|
BR2_ROOTFS_POST_IMAGE_SCRIPT="board/arm/fvp-ebbr/post-image.sh support/scripts/genimage.sh"
|
|
BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/arm/fvp-ebbr/genimage.cfg"
|
|
|
|
# Linux headers
|
|
BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_8=y
|
|
|
|
# Kernel
|
|
BR2_LINUX_KERNEL=y
|
|
BR2_LINUX_KERNEL_CUSTOM_VERSION=y
|
|
BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="6.8.11"
|
|
BR2_LINUX_KERNEL_USE_ARCH_DEFAULT_CONFIG=y
|
|
BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y
|
|
|
|
# Packages
|
|
BR2_PACKAGE_OPTEE_CLIENT=y
|
|
|
|
# Filesystem
|
|
BR2_TARGET_ROOTFS_EXT2=y
|
|
BR2_TARGET_ROOTFS_EXT2_4=y
|
|
BR2_TARGET_ROOTFS_EXT2_SIZE="200M"
|
|
# BR2_TARGET_ROOTFS_TAR is not set
|
|
|
|
# Firmware and bootloader
|
|
BR2_TARGET_ARM_TRUSTED_FIRMWARE=y
|
|
BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_VERSION=y
|
|
BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_VERSION_VALUE="v2.10"
|
|
BR2_TARGET_ARM_TRUSTED_FIRMWARE_PLATFORM="fvp"
|
|
BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_DTS_PATH="board/arm/fvp-ebbr/fvp-ebbr.dts"
|
|
BR2_TARGET_ARM_TRUSTED_FIRMWARE_FIP=y
|
|
BR2_TARGET_ARM_TRUSTED_FIRMWARE_BL32_OPTEE=y
|
|
BR2_TARGET_ARM_TRUSTED_FIRMWARE_UBOOT_AS_BL33=y
|
|
BR2_TARGET_ARM_TRUSTED_FIRMWARE_ADDITIONAL_VARIABLES="ARM_TSP_RAM_LOCATION=tdram FVP_DT_PREFIX=fvp-ebbr"
|
|
BR2_TARGET_ARM_TRUSTED_FIRMWARE_NEEDS_DTC=y
|
|
BR2_TARGET_GRUB2=y
|
|
BR2_TARGET_OPTEE_OS=y
|
|
BR2_TARGET_OPTEE_OS_NEEDS_DTC=y
|
|
BR2_TARGET_OPTEE_OS_PLATFORM="vexpress-fvp"
|
|
BR2_TARGET_OPTEE_OS_ADDITIONAL_VARIABLES="CFG_ARM_GICV3=y"
|
|
BR2_TARGET_UBOOT=y
|
|
BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y
|
|
BR2_TARGET_UBOOT_CUSTOM_VERSION=y
|
|
BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2024.07-rc3"
|
|
BR2_TARGET_UBOOT_BOARD_DEFCONFIG="vexpress_fvp"
|
|
BR2_TARGET_UBOOT_CONFIG_FRAGMENT_FILES="board/arm/fvp-ebbr/u-boot.fragment"
|
|
BR2_TARGET_UBOOT_NEEDS_OPENSSL=y
|
|
|
|
# Host tools
|
|
BR2_PACKAGE_HOST_DOSFSTOOLS=y
|
|
BR2_PACKAGE_HOST_GENIMAGE=y
|
|
BR2_PACKAGE_HOST_MTOOLS=y
|