Files
SDK_SG200x_V2/device/milkv-duo256m-glibc-arm64-sd/genimage.cfg
carbon 61be427409 use mke2fs instead of genext2fs for genimage
When genimage makes an SD card image, it uses genext2fs
by default to create the rootfs partition.
However, starting from commit 4618c08e2, the creation fails.
Use mke2fs instead.

Signed-off-by: carbon <carbon@milkv.io>
2024-08-08 20:11:04 +08:00

35 lines
432 B
INI

image boot.vfat {
vfat {
label = "boot"
files = {
"fip.bin",
"rawimages/boot.sd",
}
}
size = 128M
}
image rootfs.ext4 {
ext4 {
label = "rootfs"
use-mke2fs = true
}
size = 768M
}
image milkv-duo256m-glibc-arm64-sd.img {
hdimage {
}
partition boot {
partition-type = 0xC
bootable = "true"
image = "boot.vfat"
}
partition rootfs {
partition-type = 0x83
image = "rootfs.ext4"
}
}