aboutsummaryrefslogtreecommitdiff
path: root/configs
diff options
context:
space:
mode:
authorGravatar Mark Corbin <mark.corbin@embecosm.com>2018-10-21 20:12:02 +0100
committerGravatar Thomas Petazzoni <thomas.petazzoni@bootlin.com>2019-01-06 14:30:11 +0100
commit22322383a758f7c9d168091d29fe612a2a47b697 (patch)
tree30bde9560c1ac8d4b09902134acb73e752afc2a0 /configs
parentae99fa6d641c5726f6e3b2dc977ff958fc863a41 (diff)
downloadbuildroot-22322383a758f7c9d168091d29fe612a2a47b697.tar.gz
buildroot-22322383a758f7c9d168091d29fe612a2a47b697.tar.bz2
configs/qemu_riscv32_virt: new defconfig
Add RISC-V 32-bit defconfig for QEMU virt machine. Tested with QEMU 2.12.1 Signed-off-by: Mark Corbin <mark.corbin@embecosm.com> Reviewed-by: Matt Weber <matthew.weber@rockwellcollins.com> [Thomas: regenerate .gitlab-ci.yml, update DEVELOPERS file] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Diffstat (limited to 'configs')
-rw-r--r--configs/qemu_riscv32_virt_defconfig25
1 files changed, 25 insertions, 0 deletions
diff --git a/configs/qemu_riscv32_virt_defconfig b/configs/qemu_riscv32_virt_defconfig
new file mode 100644
index 0000000000..fb37da6a89
--- /dev/null
+++ b/configs/qemu_riscv32_virt_defconfig
@@ -0,0 +1,25 @@
+# Architecture
+BR2_riscv=y
+BR2_RISCV_32=y
+
+# System
+BR2_SYSTEM_DHCP="eth0"
+BR2_TARGET_GENERIC_GETTY=y
+BR2_TARGET_GENERIC_GETTY_PORT="ttyS0"
+
+# Filesystem
+BR2_TARGET_ROOTFS_EXT2=y
+
+# Linux headers same as kernel, a 4.15 series
+BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_15=y
+
+# Kernel
+BR2_LINUX_KERNEL=y
+BR2_LINUX_KERNEL_CUSTOM_GIT=y
+BR2_LINUX_KERNEL_CUSTOM_REPO_URL="https://github.com/riscv/riscv-linux.git"
+BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="fe92d7905c6ea0ebeabeb725b8040754ede7c220"
+BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y
+BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/qemu/riscv32-virt/linux.config"
+
+# Bootloader
+BR2_TARGET_RISCV_PK=y