mirror of
https://github.com/thead-yocto-mirror/meta-riscv
synced 2026-09-07 09:14:51 +02:00
machine: initial freedom-u540 configuration
This is the machine configuration file for HiFive Unleashed development board. Signed-off-by: Mirza Krak <mirza.krak@endian.se>
This commit is contained in:
29
conf/machine/freedom-u540.conf
Normal file
29
conf/machine/freedom-u540.conf
Normal file
@@ -0,0 +1,29 @@
|
||||
#@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"
|
||||
MACHINE_ARCH = "riscv64"
|
||||
|
||||
KERNEL_IMAGETYPE = "vmlinux"
|
||||
|
||||
PREFERRED_PROVIDER_virtual/kernel = "linux-riscv"
|
||||
PREFERRED_VERSION_linux-riscv = "4.15%"
|
||||
|
||||
GDBVERSION = "riscv"
|
||||
QEMUVERSION = "riscv"
|
||||
|
||||
EXTRA_IMAGEDEPENDS += "riscv-pk"
|
||||
|
||||
SERIAL_CONSOLE = "115200 ttyS0"
|
||||
|
||||
MACHINE_EXTRA_RRECOMMENDS += " kernel-modules"
|
||||
|
||||
RISCV_BBL_PAYLOAD ?= "${KERNEL_IMAGETYPE}${KERNEL_INITRAMFS}-${MACHINE}.bin"
|
||||
|
||||
INITRAMFS_IMAGE_BUNDLE = "1"
|
||||
INITRAMFS_IMAGE = "riscv-initramfs-image"
|
||||
KERNEL_INITRAMFS = '-initramfs'
|
||||
Reference in New Issue
Block a user