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>
41 lines
1.1 KiB
Plaintext
41 lines
1.1 KiB
Plaintext
# Architecture
|
|
BR2_xtensa=y
|
|
BR2_XTENSA_CUSTOM=y
|
|
BR2_XTENSA_OVERLAY_FILE="https://github.com/jcmvbkbc/xtensa-toolchain-build/raw/95291b7c39e6f790d0b2f062c945a630290f2c81/overlays/xtensa_dc233c.tar.gz"
|
|
|
|
# Toolchain
|
|
BR2_PACKAGE_HOST_ELF2FLT=y
|
|
# BR2_USE_MMU is not set
|
|
|
|
# System
|
|
BR2_SYSTEM_DHCP="eth0"
|
|
BR2_TARGET_GENERIC_GETTY_PORT="ttyS0"
|
|
|
|
# Filesystem
|
|
# BR2_TARGET_ROOTFS_TAR is not set
|
|
BR2_TARGET_ROOTFS_INITRAMFS=y
|
|
|
|
# Image
|
|
BR2_ROOTFS_POST_IMAGE_SCRIPT="board/qemu/post-image.sh"
|
|
BR2_ROOTFS_POST_SCRIPT_ARGS="$(BR2_DEFCONFIG)"
|
|
|
|
# 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_USE_CUSTOM_CONFIG=y
|
|
BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/qemu/xtensa-lx60/linux-nommu.config"
|
|
BR2_LINUX_KERNEL_IMAGE_TARGET_CUSTOM=y
|
|
BR2_LINUX_KERNEL_IMAGE_NAME="Image.elf"
|
|
BR2_LINUX_KERNEL_IMAGE_TARGET_NAME="Image"
|
|
|
|
# Kernel needs mkimage
|
|
BR2_PACKAGE_HOST_UBOOT_TOOLS=y
|
|
|
|
# host-qemu for gitlab testing
|
|
BR2_PACKAGE_HOST_QEMU=y
|
|
BR2_PACKAGE_HOST_QEMU_SYSTEM_MODE=y
|