aboutsummaryrefslogtreecommitdiff
path: root/board/raspberrypi/genimage-raspberrypi.cfg
diff options
context:
space:
mode:
authorGravatar Gustavo Zacarias <gustavo@zacarias.com.ar>2015-12-31 10:28:08 -0300
committerGravatar Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2015-12-31 15:22:48 +0100
commit8dd797a05498692b89841c570b97b9d10467399a (patch)
tree6c41822fbea3f25d80be3641524c60a29a5bd391 /board/raspberrypi/genimage-raspberrypi.cfg
parent217171565fe7c1d8b3bdfe538da11ed190f46b28 (diff)
downloadbuildroot-8dd797a05498692b89841c570b97b9d10467399a.tar.gz
buildroot-8dd797a05498692b89841c570b97b9d10467399a.tar.bz2
configs/raspberrypi*: update them to use genimage
Update the raspberrypi and raspberrypi2 configs to use genimage directly to build the image. Update the documentation to reflect this, and drop the volatile rootfs option since it doesn't make much sense and it's not easily integrated with the genimage configurations. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'board/raspberrypi/genimage-raspberrypi.cfg')
-rw-r--r--board/raspberrypi/genimage-raspberrypi.cfg31
1 files changed, 31 insertions, 0 deletions
diff --git a/board/raspberrypi/genimage-raspberrypi.cfg b/board/raspberrypi/genimage-raspberrypi.cfg
new file mode 100644
index 0000000000..45be4d0123
--- /dev/null
+++ b/board/raspberrypi/genimage-raspberrypi.cfg
@@ -0,0 +1,31 @@
+image boot.vfat {
+ vfat {
+ files = {
+ "bcm2708-rpi-b.dtb",
+ "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"
+ }
+}