7 BR2_GLOBAL_PATCH_DIR="board/qemu/patches"
8 BR2_DOWNLOAD_FORCE_CHECK_HASHES=y
11 BR2_TARGET_GENERIC_GETTY_PORT="ttyAMA0"
12 BR2_ROOTFS_POST_BUILD_SCRIPT="board/qemu/arm-vexpress-tz/post-build.sh"
14 # optee-test needs toolchain C++
15 BR2_TOOLCHAIN_BUILDROOT_CXX=y
18 BR2_TARGET_ROOTFS_CPIO=y
19 BR2_TARGET_ROOTFS_CPIO_GZIP=y
20 BR2_TARGET_ROOTFS_CPIO_UIMAGE=y
21 # BR2_TARGET_ROOTFS_TAR is not set
23 # Linux headers same as kernel
24 BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_6=y
28 BR2_LINUX_KERNEL_CUSTOM_VERSION=y
29 BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="6.6.32"
30 BR2_LINUX_KERNEL_DEFCONFIG="vexpress"
31 BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="board/qemu/arm-vexpress-tz/linux.fragment"
33 # TF-A for booting OP-TEE secure and uboot/linux non secure
34 BR2_TARGET_ARM_TRUSTED_FIRMWARE=y
35 BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_VERSION=y
36 BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_VERSION_VALUE="v2.7"
37 BR2_TARGET_ARM_TRUSTED_FIRMWARE_PLATFORM="qemu"
38 BR2_TARGET_ARM_TRUSTED_FIRMWARE_FIP=y
39 BR2_TARGET_ARM_TRUSTED_FIRMWARE_BL32_OPTEE=y
40 BR2_TARGET_ARM_TRUSTED_FIRMWARE_UBOOT_AS_BL33=y
41 BR2_TARGET_ARM_TRUSTED_FIRMWARE_ADDITIONAL_VARIABLES="BL32_RAM_LOCATION=tdram"
45 BR2_TARGET_OPTEE_OS_NEEDS_DTC=y
46 BR2_TARGET_OPTEE_OS_PLATFORM="vexpress-qemu_virt"
47 BR2_PACKAGE_OPTEE_EXAMPLES=y
48 BR2_PACKAGE_OPTEE_TEST=y
50 # Enable OpenSSL library for some optee-test tests
52 BR2_PACKAGE_LIBOPENSSL=y
55 BR2_ROOTFS_POST_IMAGE_SCRIPT="board/qemu/post-image.sh"
56 BR2_ROOTFS_POST_SCRIPT_ARGS="$(BR2_DEFCONFIG)"
58 # U-boot for booting the dear Linux kernel
60 BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y
61 BR2_TARGET_UBOOT_CUSTOM_VERSION=y
62 BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2022.04"
63 BR2_TARGET_UBOOT_BOARD_DEFCONFIG="qemu_arm"
64 BR2_TARGET_UBOOT_CONFIG_FRAGMENT_FILES="board/qemu/arm-vexpress-tz/u-boot.config"
66 # host-qemu for gitlab testing
67 BR2_PACKAGE_HOST_QEMU=y
68 BR2_PACKAGE_HOST_QEMU_SYSTEM_MODE=y