summaryrefslogtreecommitdiffstats
path: root/board
diff options
context:
space:
mode:
authorYves Deweerdt <yves.deweerdt.linux@gmail.com>2017-06-21 22:39:44 +0200
committerArnout Vandecappelle (Essensium/Mind) <arnout@mind.be>2018-03-31 12:31:32 +0200
commit650818fb3a6fb7b9bd9fcefabbc187c1bbe95e0a (patch)
treebbcf81eaf812cb9fe1e99b241dcebfc8dfd9d694 /board
parent5966e2dc54dfb19c5fde3a09d72f3abc6125c202 (diff)
downloadbuildroot-650818fb3a6fb7b9bd9fcefabbc187c1bbe95e0a.tar.gz
buildroot-650818fb3a6fb7b9bd9fcefabbc187c1bbe95e0a.zip
configs/raspberrypi0w_defconfig: new defconfig for Raspberry Pi Zero W
Up to now, Raspberry Pi Zero W (rpi0w) could be built with the normal raspberrypi0_defconfig. However, then you don't have support for the Bluetooth out-of-the-box, which makes using a W a bit pointless. Therefore, create a separate defconfig for the W. It is a copy of raspberrypi0_defconfig with the following changes: - Add DT overlays (from rpi-firmware) to support Bluetooth. - Pass --add-pi3-miniuart-bt-overlay to post-image.sh. Since there is now a separate raspberrypi0w_defconfig, the W support can be removed from raspberrypi0_defconfig. Signed-off-by: Yves Deweerdt <yves.deweerdt.linux@gmail.com> [Arnout: - Bump to same kernel version as raspberrypi0. - Remove redundant comment. - Remove redundant default BR2_PACKAGE_RPI_FIRMWARE_INSTALL_DTB_OVERLAYS=y. - Improve commit log. - Refresh .gitlab-ci.yml. ] Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Diffstat (limited to 'board')
-rw-r--r--board/raspberrypi/genimage-raspberrypi0.cfg1
-rw-r--r--board/raspberrypi/genimage-raspberrypi0w.cfg31
l---------board/raspberrypi0w1
3 files changed, 32 insertions, 1 deletions
diff --git a/board/raspberrypi/genimage-raspberrypi0.cfg b/board/raspberrypi/genimage-raspberrypi0.cfg
index 212c30607e..a9d4c4501f 100644
--- a/board/raspberrypi/genimage-raspberrypi0.cfg
+++ b/board/raspberrypi/genimage-raspberrypi0.cfg
@@ -2,7 +2,6 @@ image boot.vfat {
vfat {
files = {
"bcm2708-rpi-b-plus.dtb",
- "bcm2708-rpi-0-w.dtb",
"rpi-firmware/bootcode.bin",
"rpi-firmware/cmdline.txt",
"rpi-firmware/config.txt",
diff --git a/board/raspberrypi/genimage-raspberrypi0w.cfg b/board/raspberrypi/genimage-raspberrypi0w.cfg
new file mode 100644
index 0000000000..3aafd9b6fc
--- /dev/null
+++ b/board/raspberrypi/genimage-raspberrypi0w.cfg
@@ -0,0 +1,31 @@
+image boot.vfat {
+ vfat {
+ files = {
+ "bcm2708-rpi-0-w.dtb",
+ "rpi-firmware/bootcode.bin",
+ "rpi-firmware/cmdline.txt",
+ "rpi-firmware/config.txt",
+ "rpi-firmware/fixup.dat",
+ "rpi-firmware/start.elf",
+ "rpi-firmware/overlays",
+ "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/raspberrypi0w b/board/raspberrypi0w
new file mode 120000
index 0000000000..fcdafc81ed
--- /dev/null
+++ b/board/raspberrypi0w
@@ -0,0 +1 @@
+raspberrypi \ No newline at end of file
OpenPOWER on IntegriCloud