aboutsummaryrefslogtreecommitdiff
path: root/board/raspberrypi
diff options
context:
space:
mode:
authorGravatar Ubaldo Porcheddu <ubaldo@eja.it>2016-04-23 20:12:50 +0000
committerGravatar Peter Korsgaard <peter@korsgaard.com>2016-04-25 14:07:58 +0200
commitb159b15d078580381e089e43c15626eef5bafb95 (patch)
tree3ea08bfaeeced2f57d62f998a4d6419b4a623eea /board/raspberrypi
parent7fac78c51e0cc010a8dd8bc49824a5b1bcd52129 (diff)
downloadbuildroot-b159b15d078580381e089e43c15626eef5bafb95.tar.gz
buildroot-b159b15d078580381e089e43c15626eef5bafb95.tar.bz2
configs: add Raspberry Pi 3 defconfig
So far identical to the rpi2 one except for the dts file as the SW runs in 32bit mode. [Peter: extend commit message] Signed-off-by: Ubaldo Porcheddu <ubaldo@eja.it> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
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