From ee50eb8ad3c6405c3685ad7c47ce1a819949834b Mon Sep 17 00:00:00 2001 From: "Yann E. MORIN" Date: Sun, 8 May 2016 15:50:02 +0200 Subject: boards/raspberrypi0: new board Add support for the rpi-0, which is basically a rpi (model A+) in a smaller form-factor. This one does not have an ethernet port, so we just remove it from the configuration (or we could use the existing rasbperrypi_defconfig and suffer from a longer boot time because of the waiting for eth0). Signed-off-by: "Yann E. MORIN" Signed-off-by: Thomas Petazzoni --- board/raspberrypi/genimage-raspberrypi0.cfg | 30 +++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 board/raspberrypi/genimage-raspberrypi0.cfg (limited to 'board/raspberrypi') diff --git a/board/raspberrypi/genimage-raspberrypi0.cfg b/board/raspberrypi/genimage-raspberrypi0.cfg new file mode 100644 index 0000000000..a38840c829 --- /dev/null +++ b/board/raspberrypi/genimage-raspberrypi0.cfg @@ -0,0 +1,30 @@ +image boot.vfat { + vfat { + files = { + "bcm2708-rpi-b-plus.dtb", + "rpi-firmware/bootcode.bin", + "rpi-firmware/cmdline.txt", + "rpi-firmware/config.txt", + "rpi-firmware/fixup.dat", + "rpi-firmware/start.elf", + "kernel-marked/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.2.1