aboutsummaryrefslogtreecommitdiff
path: root/board/raspberrypi
diff options
context:
space:
mode:
Diffstat (limited to 'board/raspberrypi')
-rw-r--r--board/raspberrypi/genimage-raspberrypi3.cfg30
-rw-r--r--board/raspberrypi/readme.txt10
2 files changed, 38 insertions, 2 deletions
diff --git a/board/raspberrypi/genimage-raspberrypi3.cfg b/board/raspberrypi/genimage-raspberrypi3.cfg
new file mode 100644
index 0000000000..7ba89c5548
--- /dev/null
+++ b/board/raspberrypi/genimage-raspberrypi3.cfg
@@ -0,0 +1,30 @@
+image boot.vfat {
+ vfat {
+ files = {
+ "bcm2710-rpi-3-b.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"
+ }
+}
diff --git a/board/raspberrypi/readme.txt b/board/raspberrypi/readme.txt
index 896be2d8a4..a170f8f91c 100644
--- a/board/raspberrypi/readme.txt
+++ b/board/raspberrypi/readme.txt
@@ -6,7 +6,8 @@ Intro
These instructions apply to all models of the Raspberry Pi:
- the original models A and B,
- the "enhanced" models A+ and B+,
- - the model B2 (aka Raspberry Pi 2).
+ - the model B2 (aka Raspberry Pi 2)
+ - the model B3 (aka Raspberry Pi 3).
How to build it
===============
@@ -21,10 +22,14 @@ For models A, B, A+ or B+:
$ make raspberrypi_defconfig
-And for model 2 B:
+For model 2 B:
$ make raspberrypi2_defconfig
+For model 3 B:
+
+ $ make raspberrypi3_defconfig
+
Build the rootfs
----------------
@@ -46,6 +51,7 @@ After building, you should obtain this tree:
+-- bcm2708-rpi-b.dtb [1]
+-- bcm2708-rpi-b-plus.dtb [1]
+-- bcm2709-rpi-2-b.dtb [1]
+ +-- bcm2710-rpi-3-b.dtb [1]
+-- boot.vfat
+-- kernel-marked/zImage [2]
+-- rootfs.ext4