Files
meta-riscv/conf/machine/freedom-u540.conf
Alistair Francis dcb61db68d qemu: Remove the RISC-V fork of QEMU
As QEMU 3.0 is now included in OE-Corewe no longer need to use
the RISC-V specific fork.

Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
2018-08-27 11:32:03 -07:00

49 lines
1.2 KiB
Plaintext

#@TYPE: Machine
#@NAME: freedom-u540
#@SOC: Freedom U540
#@DESCRIPTION: Machine configuration for the HiFive Unleashed development board
require conf/machine/include/tune-riscv.inc
MACHINE_FEATURES = "screen keyboard ext2 ext3 serial"
KERNEL_IMAGETYPE = "vmlinux"
PREFERRED_PROVIDER_virtual/kernel ?= "linux-riscv"
PREFERRED_VERSION_linux-riscv ?= "4.18%"
GDBVERSION = "riscv"
EXTRA_IMAGEDEPENDS += "riscv-pk"
SERIAL_CONSOLE = "115200 console"
MACHINE_EXTRA_RRECOMMENDS += " kernel-modules"
# The following options can be used to build images that use initramfs,
# since the SPI controller driver currently still has an issue, using this
# might speed up your boot process signifcantly
#
#RISCV_BBL_PAYLOAD ?= "${KERNEL_IMAGETYPE}${KERNEL_INITRAMFS}-${MACHINE}.bin"
#INITRAMFS_IMAGE_BUNDLE = "1"
#INITRAMFS_IMAGE = "riscv-initramfs-image"
#KERNEL_INITRAMFS = '-initramfs'
RISCV_BBL_PAYLOAD ?= "${KERNEL_IMAGETYPE}-${MACHINE}.bin"
IMAGE_FSTYPES_append = " wic.gz"
# Do not update fstab file when using wic images
WIC_CREATE_EXTRA_ARGS ?= "--no-fstab-update"
IMAGE_BOOT_FILES = ""
### wic default support
WKS_FILE_DEPENDS ?= " \
riscv-pk \
e2fsprogs-native \
bmap-tools-native \
"
WKS_FILE ?= "freedom-u540-bbl.wks"