From 47519b4428c6faecd6e51b2809095f53bd3a0b81 Mon Sep 17 00:00:00 2001 From: tslil clingman Date: Wed, 20 Jan 2021 15:08:29 -0500 Subject: Infrastructure more or less set up! It remains to tweak ct1986.c and add a .login file to autorun stuff! --- resources/genimage-raspberrypi0.cfg | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 resources/genimage-raspberrypi0.cfg (limited to 'resources/genimage-raspberrypi0.cfg') 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" + } +} -- cgit v1.3.1