2018-10-21 21:12:02 +02:00
|
|
|
# Architecture
|
|
|
|
BR2_riscv=y
|
|
|
|
BR2_RISCV_32=y
|
|
|
|
|
|
|
|
# System
|
|
|
|
BR2_SYSTEM_DHCP="eth0"
|
|
|
|
BR2_TARGET_GENERIC_GETTY=y
|
|
|
|
BR2_TARGET_GENERIC_GETTY_PORT="ttyS0"
|
2019-06-19 18:54:06 +02:00
|
|
|
BR2_GLOBAL_PATCH_DIR="board/qemu/riscv32-virt/patches/"
|
2018-10-21 21:12:02 +02:00
|
|
|
|
|
|
|
# Filesystem
|
|
|
|
BR2_TARGET_ROOTFS_EXT2=y
|
|
|
|
|
2020-02-17 21:50:28 +01:00
|
|
|
# Image
|
|
|
|
BR2_ROOTFS_POST_IMAGE_SCRIPT="board/qemu/post-image.sh"
|
|
|
|
BR2_ROOTFS_POST_SCRIPT_ARGS="$(BR2_DEFCONFIG)"
|
|
|
|
|
2019-06-19 18:54:06 +02:00
|
|
|
# Linux headers same as kernel, a 5.1 series
|
|
|
|
BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_1=y
|
2018-10-21 21:12:02 +02:00
|
|
|
|
|
|
|
# Kernel
|
|
|
|
BR2_LINUX_KERNEL=y
|
2019-03-29 15:39:59 +01:00
|
|
|
BR2_LINUX_KERNEL_CUSTOM_VERSION=y
|
2019-06-19 18:54:06 +02:00
|
|
|
BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.1.12"
|
|
|
|
BR2_LINUX_KERNEL_DEFCONFIG="rv32"
|
2019-03-21 00:05:21 +01:00
|
|
|
BR2_LINUX_KERNEL_IMAGE=y
|
2018-10-21 21:12:02 +02:00
|
|
|
|
|
|
|
# Bootloader
|
2019-03-21 00:05:21 +01:00
|
|
|
BR2_TARGET_OPENSBI=y
|
|
|
|
BR2_TARGET_OPENSBI_USE_PLAT=y
|
|
|
|
BR2_TARGET_OPENSBI_PLAT="qemu/virt"
|
2019-05-05 18:53:56 +02:00
|
|
|
|
|
|
|
# host-qemu for gitlab testing
|
|
|
|
BR2_PACKAGE_HOST_QEMU=y
|
|
|
|
BR2_PACKAGE_HOST_QEMU_SYSTEM_MODE=y
|