From 552526019de9cf5d3061553e5c432ae8c75b430f Mon Sep 17 00:00:00 2001 From: Alistair Francis Date: Thu, 16 Aug 2018 14:00:32 -0700 Subject: [PATCH] machine: Build an EXT4 rootFS image Signed-off-by: Alistair Francis --- conf/machine/freedom-u540.conf | 2 +- conf/machine/qemuriscv64.conf | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/conf/machine/freedom-u540.conf b/conf/machine/freedom-u540.conf index 4a53731..2c531d3 100644 --- a/conf/machine/freedom-u540.conf +++ b/conf/machine/freedom-u540.conf @@ -31,7 +31,7 @@ MACHINE_EXTRA_RRECOMMENDS += " kernel-modules" RISCV_BBL_PAYLOAD ?= "${KERNEL_IMAGETYPE}-${MACHINE}.bin" -IMAGE_FSTYPES_append = " wic.gz" +IMAGE_FSTYPES_append = " wic.gz ext4" # Do not update fstab file when using wic images WIC_CREATE_EXTRA_ARGS ?= "--no-fstab-update" diff --git a/conf/machine/qemuriscv64.conf b/conf/machine/qemuriscv64.conf index 779dc5e..e901b8f 100644 --- a/conf/machine/qemuriscv64.conf +++ b/conf/machine/qemuriscv64.conf @@ -16,6 +16,8 @@ GDBVERSION = "riscv" SERIAL_CONSOLES = "115200;ttyS0 115200;hvc0" +IMAGE_FSTYPES_append = " ext4" + MACHINE_EXTRA_RRECOMMENDS += " kernel-modules" EXTRA_IMAGEDEPENDS += "riscv-pk"