6021f3678b
Most rpi defconfigs use dtb overlays, but not rpi0 / rpi2 - Making it harder to use overlays on those boards as the genimage files have to be tweaked. To fix this, create the rpi-firmware/overlays directory in the post-build script if needed and unconditionally include it in the genimage files so rpi0/rpi2 works consistently with the other variants. Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
33 lines
472 B
INI
33 lines
472 B
INI
image boot.vfat {
|
|
vfat {
|
|
files = {
|
|
"bcm2709-rpi-2-b.dtb",
|
|
"rpi-firmware/bootcode.bin",
|
|
"rpi-firmware/cmdline.txt",
|
|
"rpi-firmware/config.txt",
|
|
"rpi-firmware/fixup.dat",
|
|
"rpi-firmware/start.elf",
|
|
"rpi-firmware/overlays",
|
|
"zImage"
|
|
}
|
|
}
|
|
|
|
size = 32M
|
|
}
|
|
|
|
image sdcard.img {
|
|
hdimage {
|
|
}
|
|
|
|
partition boot {
|
|
partition-type = 0xC
|
|
bootable = "true"
|
|
image = "boot.vfat"
|
|
}
|
|
|
|
partition rootfs {
|
|
partition-type = 0x83
|
|
image = "rootfs.ext4"
|
|
}
|
|
}
|