Browse Source

machine: Build an EXT4 rootFS image

Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Alistair Francis 5 years ago
parent
commit
552526019d
2 changed files with 3 additions and 1 deletions
  1. 1 1
      conf/machine/freedom-u540.conf
  2. 2 0
      conf/machine/qemuriscv64.conf

+ 1 - 1
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"

+ 2 - 0
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"