diff --git a/conf/machine/freedom-u540.conf b/conf/machine/freedom-u540.conf index 0589fb5..295945d 100644 --- a/conf/machine/freedom-u540.conf +++ b/conf/machine/freedom-u540.conf @@ -27,3 +27,19 @@ RISCV_BBL_PAYLOAD ?= "${KERNEL_IMAGETYPE}${KERNEL_INITRAMFS}-${MACHINE}.bin" INITRAMFS_IMAGE_BUNDLE = "1" INITRAMFS_IMAGE = "riscv-initramfs-image" KERNEL_INITRAMFS = '-initramfs' + +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"