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>2021-01-20 22:49:49 -0500
commitae828c3acfd53af33140c7a610813c0e32e92338 (patch)
tree2496adbdf994c0bf574fbcc62486d244d9673d8b /resources/genimage-raspberrypi0.cfg
parentf23d39f1cfc1866d5b724e629a51328604b458c4 (diff)
parent4cd58d0de8d2f03dfaca511deaed82a8b3cc6a71 (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"
+ }
+}