Files
meta-riscv/conf/machine/qemuriscv32.conf
Alistair Francis e253804993 qemuriscv64: Don't use the linux-riscv kernel
Default to the mainline 4.19 kernel for the 64-bit QEMU machine.

Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
2019-01-14 10:15:52 -08:00

17 lines
527 B
Plaintext

#@TYPE: Machine
#@NAME: generic riscv32 machine
#@DESCRIPTION: Machine configuration for running a generic riscv32
require conf/machine/include/qemuriscv.inc
DEFAULTTUNE = "riscv32"
# The mainline 4.19 kernel doesn't compile for 32-bit RISC-V
PREFERRED_PROVIDER_virtual/kernel ?= "linux-riscv"
PREFERRED_VERSION_linux-riscv ?= "4.19%"
# u-boot doesn't compile, error: "can't link hard-float modules with soft-float modules"
# EXTRA_IMAGEDEPENDS += "u-boot"
# UBOOT_MACHINE = "qemu-riscv32_defconfig"
# UBOOT_ELF = "u-boot"