f609afb7e8
Bump QEMU defconfigs to latest longterm kernel 5.4.88. Please note that QEMU boards not based on 5.4.y were ignored: - qemu_csky810_virt_defconfig - qemu_csky807_virt_defconfig - qemu_csky610_virt_defconfig - qemu_csky860_virt_defconfig Tests were carried out on all QEMU boards using Gitlab [1] (commit message was slightly different, but the patch is identical) Additional actions needed were: - board/qemu/sh4-r2d: Remove one of the two kernel patches [2] provided by Alan Modra fixing rodata alignment, carried here by Romain Naour [3] to fix an issue preventing kernel from booting with binutils 2.23. Patch is present in upstream Linux now. [1] https://gitlab.com/clumsyape/buildroot/-/pipelines/239483891 [2] https://www.sourceware.org/ml/binutils/2019-12/msg00112.html [3] https://git.busybox.net/buildroot/commit/?id=a2331c8a61bdd71c47492efc818fb0458a349219 Signed-off-by: Geoffrey Le Gourriérec <geoffrey.legourrierec@gmail.com> Reviewed-by: Joel Stanley <joel@jms.id.au> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
61 lines
1.8 KiB
Plaintext
61 lines
1.8 KiB
Plaintext
# Architecture
|
|
BR2_arm=y
|
|
BR2_cortex_a15=y
|
|
BR2_ARM_FPU_VFPV3D16=y
|
|
|
|
# System
|
|
BR2_TARGET_GENERIC_GETTY_PORT="ttyAMA0"
|
|
BR2_ROOTFS_POST_BUILD_SCRIPT="board/qemu/arm-vexpress-tz/post-build.sh"
|
|
|
|
# optee-test needs toolchain C++
|
|
BR2_TOOLCHAIN_BUILDROOT_CXX=y
|
|
|
|
# Filesystem
|
|
BR2_TARGET_ROOTFS_CPIO=y
|
|
BR2_TARGET_ROOTFS_CPIO_GZIP=y
|
|
# BR2_TARGET_ROOTFS_TAR is not set
|
|
|
|
# Linux headers same as kernel, a 5.4 series
|
|
BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_4=y
|
|
|
|
# Kernel
|
|
BR2_LINUX_KERNEL=y
|
|
BR2_LINUX_KERNEL_CUSTOM_VERSION=y
|
|
BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.4.88"
|
|
BR2_LINUX_KERNEL_DEFCONFIG="vexpress"
|
|
BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="board/qemu/arm-vexpress-tz/linux.fragment"
|
|
BR2_LINUX_KERNEL_DTS_SUPPORT=y
|
|
BR2_LINUX_KERNEL_INTREE_DTS_NAME="vexpress-v2p-ca15_a7"
|
|
|
|
# TF-A for booting OP-TEE secure and uboot/linux non secure
|
|
BR2_TARGET_ARM_TRUSTED_FIRMWARE=y
|
|
BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_VERSION=y
|
|
BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_VERSION_VALUE="v2.2"
|
|
BR2_TARGET_ARM_TRUSTED_FIRMWARE_PLATFORM="qemu"
|
|
BR2_TARGET_ARM_TRUSTED_FIRMWARE_BL32_OPTEE=y
|
|
BR2_TARGET_ARM_TRUSTED_FIRMWARE_UBOOT_AS_BL33=y
|
|
BR2_TARGET_ARM_TRUSTED_FIRMWARE_ADDITIONAL_VARIABLES="BL32_RAM_LOCATION=tdram"
|
|
|
|
# OP-TEE components
|
|
BR2_TARGET_OPTEE_OS=y
|
|
BR2_TARGET_OPTEE_OS_PLATFORM="vexpress-qemu_virt"
|
|
BR2_PACKAGE_OPTEE_BENCHMARK=y
|
|
BR2_PACKAGE_OPTEE_EXAMPLES=y
|
|
BR2_PACKAGE_OPTEE_TEST=y
|
|
|
|
# Image
|
|
BR2_ROOTFS_POST_IMAGE_SCRIPT="board/qemu/post-image.sh"
|
|
BR2_ROOTFS_POST_SCRIPT_ARGS="$(BR2_DEFCONFIG)"
|
|
|
|
# U-boot for booting the dear Linux kernel
|
|
BR2_TARGET_UBOOT=y
|
|
BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y
|
|
BR2_TARGET_UBOOT_CUSTOM_VERSION=y
|
|
BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2019.01"
|
|
BR2_TARGET_UBOOT_BOARD_DEFCONFIG="qemu_arm"
|
|
BR2_TARGET_UBOOT_CONFIG_FRAGMENT_FILES="board/qemu/arm-vexpress-tz/u-boot.config"
|
|
|
|
# host-qemu for gitlab testing
|
|
BR2_PACKAGE_HOST_QEMU=y
|
|
BR2_PACKAGE_HOST_QEMU_SYSTEM_MODE=y
|