aboutsummaryrefslogtreecommitdiff
path: root/resources/genimage-raspberrypi0.cfg
diff options
context:
space:
mode:
authortslil clingman <tslil@posteo.de>2021-01-20 22:49:49 -0500
committertslil <tslil@posteo.de>2026-08-28 19:37:41 +0100
commit2ac4a6e1d3b6440de22d95f48454d6282c78726d (patch)
tree2496adbdf994c0bf574fbcc62486d244d9673d8b /resources/genimage-raspberrypi0.cfg
parent1b0338a0546b760e8a7ffa61b38c410a166aae7c (diff)
parent36cecb722fb66d35cdbf69ebcf2aa6f49bfc082b (diff)
Merge branch 'pi'
Diffstat (limited to 'resources/genimage-raspberrypi0.cfg')
-rw-r--r--resources/genimage-raspberrypi0.cfg31
1 files changed, 31 insertions, 0 deletions
diff --git a/resources/genimage-raspberrypi0.cfg b/resources/genimage-raspberrypi0.cfg
new file mode 100644
index 0000000..f45deb2
--- /dev/null
+++ b/resources/genimage-raspberrypi0.cfg
@@ -0,0 +1,31 @@
+image boot.vfat {
+ vfat {
+ file "overlays/hd44780-lcd.dtbo" { image = "rpi-firmware/overlays/hd44780-lcd.dtbo" }
+ files = {
+ "bcm2708-rpi-zero.dtb",
+ "rpi-firmware/bootcode.bin",
+ "rpi-firmware/cmdline.txt",
+ "rpi-firmware/config.txt",
+ "rpi-firmware/fixup.dat",
+ "rpi-firmware/start.elf",
+ "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"
+ }
+}