diff options
author | Yann E. MORIN <yann.morin.1998@free.fr> | 2016-05-08 15:50:02 +0200 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2016-05-08 15:54:30 +0200 |
commit | ee50eb8ad3c6405c3685ad7c47ce1a819949834b (patch) | |
tree | d9614333725a0e60b740fdfd7e51ddabd26d3f9d /board/raspberrypi | |
parent | fedfc08b2b4ab9ed4dc9b385a0928e8fa967ae8f (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.cfg | 30 |
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" + } +} |