image boot.vfat { vfat { files = { "bcm2710-rpi-3-b.dtb", "bcm2710-rpi-3-b-plus.dtb", "bcm2710-rpi-cm3.dtb", "cmdline.txt", "config.txt", "boot.scr", "uboot-env.img", "Image" } file overlays/README { image = "rpi-firmware/overlays/README" } file bootcode.bin { image = "rpi-firmware/bootcode.bin" } file fixup.dat { image = "rpi-firmware/fixup.dat" } file start.elf { image = "rpi-firmware/start.elf" } } size = 32M } image rootfs-A.ext4 { ext4 { label = "rootfs-A" use-mke2fs = true } size = 256M } image rootfs-B.ext4 { ext4 { label = "rootfs-B" use-mke2fs = true } size = 256M } image data.ext4 { ext4 { label = "data" use-mke2fs = true } size = 128M } image sdcard.img { hdimage { partition-table-type = "mbr" } partition boot { partition-type = 0xC bootable = "true" image = "boot.vfat" } partition rootfs-A { partition-type = 0x83 image = "rootfs-A.ext4" } partition rootfs-B { partition-type = 0x83 image = "rootfs-B.ext4" } partition data { partition-type = 0x83 image = "data.ext4" } }