acc1330d4a
Now that RISC-V 32-bit (RV32) support has been merged into mainline glibc, we can use the Linux 5.4 kernel. Signed-off-by: Alistair Francis <alistair.francis@wdc.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
33 lines
673 B
Plaintext
33 lines
673 B
Plaintext
# Architecture
|
|
BR2_riscv=y
|
|
BR2_RISCV_32=y
|
|
|
|
# System
|
|
BR2_SYSTEM_DHCP="eth0"
|
|
BR2_TARGET_GENERIC_GETTY=y
|
|
|
|
# Filesystem
|
|
BR2_TARGET_ROOTFS_EXT2=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.61"
|
|
BR2_LINUX_KERNEL_DEFCONFIG="rv32"
|
|
BR2_LINUX_KERNEL_IMAGE=y
|
|
|
|
# Bootloader
|
|
BR2_TARGET_OPENSBI=y
|
|
BR2_TARGET_OPENSBI_PLAT="generic"
|
|
|
|
# host-qemu for gitlab testing
|
|
BR2_PACKAGE_HOST_QEMU=y
|
|
BR2_PACKAGE_HOST_QEMU_SYSTEM_MODE=y
|