1*4882a593Smuzhiyun# Architecture 2*4882a593SmuzhiyunBR2_arm=y 3*4882a593SmuzhiyunBR2_cortex_a15=y 4*4882a593SmuzhiyunBR2_ARM_FPU_VFPV3D16=y 5*4882a593Smuzhiyun 6*4882a593Smuzhiyun# System 7*4882a593SmuzhiyunBR2_TARGET_GENERIC_GETTY_PORT="ttyAMA0" 8*4882a593SmuzhiyunBR2_ROOTFS_POST_BUILD_SCRIPT="board/qemu/arm-vexpress-tz/post-build.sh" 9*4882a593Smuzhiyun 10*4882a593Smuzhiyun# optee-test needs toolchain C++ 11*4882a593SmuzhiyunBR2_TOOLCHAIN_BUILDROOT_CXX=y 12*4882a593Smuzhiyun 13*4882a593Smuzhiyun# Filesystem 14*4882a593SmuzhiyunBR2_TARGET_ROOTFS_CPIO=y 15*4882a593SmuzhiyunBR2_TARGET_ROOTFS_CPIO_GZIP=y 16*4882a593SmuzhiyunBR2_TARGET_ROOTFS_CPIO_UIMAGE=y 17*4882a593Smuzhiyun# BR2_TARGET_ROOTFS_TAR is not set 18*4882a593Smuzhiyun 19*4882a593Smuzhiyun# Linux headers same as kernel 20*4882a593SmuzhiyunBR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_15=y 21*4882a593Smuzhiyun 22*4882a593Smuzhiyun# Kernel 23*4882a593SmuzhiyunBR2_LINUX_KERNEL=y 24*4882a593SmuzhiyunBR2_LINUX_KERNEL_CUSTOM_VERSION=y 25*4882a593SmuzhiyunBR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.15" 26*4882a593SmuzhiyunBR2_LINUX_KERNEL_DEFCONFIG="vexpress" 27*4882a593SmuzhiyunBR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="board/qemu/arm-vexpress-tz/linux.fragment" 28*4882a593Smuzhiyun 29*4882a593Smuzhiyun# TF-A for booting OP-TEE secure and uboot/linux non secure 30*4882a593SmuzhiyunBR2_TARGET_ARM_TRUSTED_FIRMWARE=y 31*4882a593SmuzhiyunBR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_VERSION=y 32*4882a593SmuzhiyunBR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_VERSION_VALUE="v2.4" 33*4882a593SmuzhiyunBR2_TARGET_ARM_TRUSTED_FIRMWARE_PLATFORM="qemu" 34*4882a593SmuzhiyunBR2_TARGET_ARM_TRUSTED_FIRMWARE_FIP=y 35*4882a593SmuzhiyunBR2_TARGET_ARM_TRUSTED_FIRMWARE_BL32_OPTEE=y 36*4882a593SmuzhiyunBR2_TARGET_ARM_TRUSTED_FIRMWARE_UBOOT_AS_BL33=y 37*4882a593SmuzhiyunBR2_TARGET_ARM_TRUSTED_FIRMWARE_ADDITIONAL_VARIABLES="BL32_RAM_LOCATION=tdram" 38*4882a593Smuzhiyun 39*4882a593Smuzhiyun# OP-TEE components 40*4882a593SmuzhiyunBR2_TARGET_OPTEE_OS=y 41*4882a593SmuzhiyunBR2_TARGET_OPTEE_OS_PLATFORM="vexpress-qemu_virt" 42*4882a593SmuzhiyunBR2_PACKAGE_OPTEE_BENCHMARK=y 43*4882a593SmuzhiyunBR2_PACKAGE_OPTEE_EXAMPLES=y 44*4882a593SmuzhiyunBR2_PACKAGE_OPTEE_TEST=y 45*4882a593Smuzhiyun 46*4882a593Smuzhiyun# Enable OpenSSL library for some optee-test tests 47*4882a593SmuzhiyunBR2_PACKAGE_OPENSSL=y 48*4882a593SmuzhiyunBR2_PACKAGE_LIBOPENSSL=y 49*4882a593Smuzhiyun 50*4882a593Smuzhiyun# Image 51*4882a593SmuzhiyunBR2_ROOTFS_POST_IMAGE_SCRIPT="board/qemu/post-image.sh" 52*4882a593SmuzhiyunBR2_ROOTFS_POST_SCRIPT_ARGS="$(BR2_DEFCONFIG)" 53*4882a593Smuzhiyun 54*4882a593Smuzhiyun# U-boot for booting the dear Linux kernel 55*4882a593SmuzhiyunBR2_TARGET_UBOOT=y 56*4882a593SmuzhiyunBR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y 57*4882a593SmuzhiyunBR2_TARGET_UBOOT_CUSTOM_VERSION=y 58*4882a593SmuzhiyunBR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2021.01" 59*4882a593SmuzhiyunBR2_TARGET_UBOOT_BOARD_DEFCONFIG="qemu_arm" 60*4882a593SmuzhiyunBR2_TARGET_UBOOT_CONFIG_FRAGMENT_FILES="board/qemu/arm-vexpress-tz/u-boot.config" 61*4882a593Smuzhiyun 62*4882a593Smuzhiyun# host-qemu for gitlab testing 63*4882a593SmuzhiyunBR2_PACKAGE_HOST_QEMU=y 64*4882a593SmuzhiyunBR2_PACKAGE_HOST_QEMU_SYSTEM_MODE=y 65