595939e31f
As the rootfs size is set to 60M, let's put it right on the 4M offset in the SD card, so that the generated sdcard.img can be exactly 64M. This will allow sdcard.img to be accepted as an image by Qemu, which requires power of two sizes for the disk images. Signed-off-by: Bin Meng <bmeng@tinylab.org> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
25 lines
466 B
INI
25 lines
466 B
INI
image sdcard.img {
|
|
hdimage {
|
|
partition-table-type = "gpt"
|
|
}
|
|
|
|
partition u-boot-spl {
|
|
image = "u-boot-spl.bin"
|
|
offset = 17K
|
|
partition-type-uuid = 5b193300-fc78-40cd-8002-e86c45580b47
|
|
}
|
|
|
|
partition u-boot {
|
|
image = "u-boot.itb"
|
|
offset = 1041K
|
|
partition-type-uuid = 2e54b353-1271-4842-806f-e436d6af6985
|
|
}
|
|
|
|
partition rootfs {
|
|
image = "rootfs.ext4"
|
|
offset = 4076K
|
|
partition-type-uuid = 0fc63daf-8483-4772-8e79-3d69d8477de4
|
|
bootable = true
|
|
}
|
|
}
|