summaryrefslogtreecommitdiff
path: root/board/raspberrypi
diff options
context:
space:
mode:
authorYann E. MORIN <yann.morin.1998@free.fr>2016-05-08 15:50:02 +0200
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2016-05-08 15:54:30 +0200
commitee50eb8ad3c6405c3685ad7c47ce1a819949834b (patch)
treed9614333725a0e60b740fdfd7e51ddabd26d3f9d /board/raspberrypi
parentfedfc08b2b4ab9ed4dc9b385a0928e8fa967ae8f (diff)
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" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'board/raspberrypi')
-rw-r--r--board/raspberrypi/genimage-raspberrypi0.cfg30
1 files changed, 30 insertions, 0 deletions
diff --git a/board/raspberrypi/genimage-raspberrypi0.cfg b/board/raspberrypi/genimage-raspberrypi0.cfg
new file mode 100644
index 000000000..a38840c82
--- /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"
+ }
+}