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>
35 lines
432 B
INI
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"
|
|
}
|
|
}
|