Add rpi3 b+ support
v3 cover Add rpi3 b+ support
All,
This is a patch set to add rpi3 b+ support. It includes:
- bump all the rpi configs to the latest 4.14.26 kernel
- update the rpi-firmware to latest version
- add the rpi3 b+ dtb files.
- add the new wifi and bt firmware for the rpi3 b+
I can confirm the basics of wired & wireless networks and serial all work on the rpi3 and rpi3 b+. The bluetooth device comes up on the rpi3 b+ but i have not tried anything more that scanning.
Note there is no definitive place to download the all the necessary wifi and bt firmware files. The closest reliable source i have found is the LibreELEC github repo where they have copied the wifi and bt firmware from raspbian into one place. I have updated to using this repo. The only issue is it lacks the license files. I have sent a pull request to add the missing license, once it has been accepted I will update the wifi and bt firmware packages.
Thanks
Martin
Martin Bark (7):
package/rpi-firmware: bump version configs/raspberrypi*: bump kernel version board/raspberrypi: add support for rpi3 b+ package/rpi-firmware: improve installation of dtb files package/rpi-bt-firmware: change to LibreELEC github repo package/rpi-wifi-firmware: change to LibreELEC github repo
DEVELOPERS: add myself for rpi packages
DEVELOPERS | 5 +++++ board/raspberrypi/genimage-raspberrypi3.cfg | 1 + board/raspberrypi/readme.txt | 3 ++- configs/raspberrypi0_defconfig | 6 +++--- configs/raspberrypi2_defconfig | 6 +++--- configs/raspberrypi3_64_defconfig | 6 +++--- configs/raspberrypi3_defconfig | 8 ++++---- configs/raspberrypi3_qt5we_defconfig | 8 ++++---- configs/raspberrypi_defconfig | 6 +++--- package/rpi-bt-firmware/Config.in | 5 +++-- package/rpi-bt-firmware/rpi-bt-firmware.hash | 2 +- package/rpi-bt-firmware/rpi-bt-firmware.mk | 13 +++++++------ package/rpi-firmware/rpi-firmware.hash | 2 +- package/rpi-firmware/rpi-firmware.mk | 9 ++++----- package/rpi-wifi-firmware/Config.in | 5 +++-- package/rpi-wifi-firmware/rpi-wifi-firmware.hash | 2 +- package/rpi-wifi-firmware/rpi-wifi-firmware.mk | 17 +++++++---------- 17 files changed, 55 insertions(+), 49 deletions(-)
--
2.16.2
PATCH v3 1/7 package/rpi-firmware: bump version
----
Changes v1 -> v2:
- none
Changes v2 -> v3:
- none
--- package/rpi-firmware/rpi-firmware.hash | 2 +- package/rpi-firmware/rpi-firmware.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
package/rpi-firmware/rpi-firmware.hash +1 -1
@@ -1,2 +1,2 @@ # Locally computed -sha256 0451e1a843bf02df81126a1625d9a15dfdf19dcb2f9e95b0613a63e59fd31ca8 rpi-firmware-2067241bc7cdf238fdeab7f5a3c22faa57dd5617.tar.gz +sha256 8fe5ebe14cc900f67242cab0c1c9f8e29bd10369ccbdfc7d004c294a96bad975 rpi-firmware-086a8488de0f485e8879ac14ff505ff1d922eeed.tar.gz
package/rpi-firmware/rpi-firmware.mk +1 -1
@@ -4,7 +4,7 @@ # ################################################################################ -RPI_FIRMWARE_VERSION = 2067241bc7cdf238fdeab7f5a3c22faa57dd5617 +RPI_FIRMWARE_VERSION = 086a8488de0f485e8879ac14ff505ff1d922eeed RPI_FIRMWARE_SITE = $(call github,raspberrypi,firmware,$(RPI_FIRMWARE_VERSION)) RPI_FIRMWARE_LICENSE = BSD-3-Clause RPI_FIRMWARE_LICENSE_FILES = boot/LICENCE.broadcom
Signature · 1 line
2.16.2
PATCH v3 2/7 configs/raspberrypi*: bump kernel version
In reply to Martin BarkNow based on 4.14.26 (from 4.9.79)
----
Changes v1 -> v2:
- Updated to use 4.14.26 kernel
Changes v2 -> v3:
- none
--- configs/raspberrypi0_defconfig | 6 +++--- configs/raspberrypi2_defconfig | 6 +++--- configs/raspberrypi3_64_defconfig | 6 +++--- configs/raspberrypi3_defconfig | 6 +++--- configs/raspberrypi3_qt5we_defconfig | 6 +++--- configs/raspberrypi_defconfig | 6 +++--- 6 files changed, 18 insertions(+), 18 deletions(-)
configs/raspberrypi0_defconfig +3 -3
@@ -2,15 +2,15 @@ BR2_arm=y BR2_arm1176jzf_s=y BR2_ARM_EABIHF=y -# Linux headers same as kernel, a 4.9 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_9=y +# Linux headers same as kernel, a 4.14 series +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_14=y BR2_TOOLCHAIN_BUILDROOT_CXX=y BR2_LINUX_KERNEL=y BR2_LINUX_KERNEL_CUSTOM_GIT=y BR2_LINUX_KERNEL_CUSTOM_REPO_URL="https://github.com/raspberrypi/linux.git" -BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="33ee56d5927ceff630fbc87e3f5caa409b6ae114" +BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="ad350a581a442f790b54abb81364295e937fe26b" BR2_LINUX_KERNEL_DEFCONFIG="bcmrpi" # Build the DTBs for A/B from the kernel sources: the zero is the same
configs/raspberrypi2_defconfig +3 -3
@@ -7,13 +7,13 @@ BR2_TOOLCHAIN_BUILDROOT_CXX=y BR2_SYSTEM_DHCP="eth0" -# Linux headers same as kernel, a 4.9 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_9=y +# Linux headers same as kernel, a 4.14 series +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_14=y BR2_LINUX_KERNEL=y BR2_LINUX_KERNEL_CUSTOM_GIT=y BR2_LINUX_KERNEL_CUSTOM_REPO_URL="https://github.com/raspberrypi/linux.git" -BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="33ee56d5927ceff630fbc87e3f5caa409b6ae114" +BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="ad350a581a442f790b54abb81364295e937fe26b" BR2_LINUX_KERNEL_DEFCONFIG="bcm2709" # Build the DTB from the kernel sources
configs/raspberrypi3_64_defconfig +3 -3
@@ -6,13 +6,13 @@ BR2_TOOLCHAIN_BUILDROOT_CXX=y BR2_SYSTEM_DHCP="eth0" -# Linux headers same as kernel, a 4.9 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_9=y +# Linux headers same as kernel, a 4.14 series +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_14=y BR2_LINUX_KERNEL=y BR2_LINUX_KERNEL_CUSTOM_GIT=y BR2_LINUX_KERNEL_CUSTOM_REPO_URL="https://github.com/raspberrypi/linux.git" -BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="33ee56d5927ceff630fbc87e3f5caa409b6ae114" +BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="ad350a581a442f790b54abb81364295e937fe26b" BR2_LINUX_KERNEL_DEFCONFIG="bcmrpi3" # Build the DTB from the kernel sources
configs/raspberrypi3_defconfig +3 -3
@@ -6,13 +6,13 @@ BR2_TOOLCHAIN_BUILDROOT_CXX=y BR2_SYSTEM_DHCP="eth0" -# Linux headers same as kernel, a 4.9 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_9=y +# Linux headers same as kernel, a 4.14 series +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_14=y BR2_LINUX_KERNEL=y BR2_LINUX_KERNEL_CUSTOM_GIT=y BR2_LINUX_KERNEL_CUSTOM_REPO_URL="https://github.com/raspberrypi/linux.git" -BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="33ee56d5927ceff630fbc87e3f5caa409b6ae114" +BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="ad350a581a442f790b54abb81364295e937fe26b" BR2_LINUX_KERNEL_DEFCONFIG="bcm2709" # Build the DTB from the kernel sources
configs/raspberrypi3_qt5we_defconfig +3 -3
@@ -7,13 +7,13 @@ BR2_TOOLCHAIN_BUILDROOT_CXX=y BR2_SYSTEM_DHCP="eth0" -# Linux headers same as kernel, a 4.9 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_9=y +# Linux headers same as kernel, a 4.14 series +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_14=y BR2_LINUX_KERNEL=y BR2_LINUX_KERNEL_CUSTOM_GIT=y BR2_LINUX_KERNEL_CUSTOM_REPO_URL="https://github.com/raspberrypi/linux.git" -BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="33ee56d5927ceff630fbc87e3f5caa409b6ae114" +BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="ad350a581a442f790b54abb81364295e937fe26b" BR2_LINUX_KERNEL_DEFCONFIG="bcm2709" # Build the DTB from the kernel sources
configs/raspberrypi_defconfig +3 -3
@@ -4,15 +4,15 @@ BR2_ARM_EABIHF=y BR2_SYSTEM_DHCP="eth0" -# Linux headers same as kernel, a 4.9 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_9=y +# Linux headers same as kernel, a 4.14 series +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_14=y BR2_TOOLCHAIN_BUILDROOT_CXX=y BR2_LINUX_KERNEL=y BR2_LINUX_KERNEL_CUSTOM_GIT=y BR2_LINUX_KERNEL_CUSTOM_REPO_URL="https://github.com/raspberrypi/linux.git" -BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="33ee56d5927ceff630fbc87e3f5caa409b6ae114" +BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="ad350a581a442f790b54abb81364295e937fe26b" BR2_LINUX_KERNEL_DEFCONFIG="bcmrpi" # Build the DTBs for A/B, A+/B+ and compute module from the kernel sources
Signature · 1 line
2.16.2
PATCH v3 3/7 board/raspberrypi: add support for rpi3 b+
In reply to Martin Bark----
Changes v1 -> v2:
- none
Changes v2 -> v3:
- none
--- board/raspberrypi/genimage-raspberrypi3.cfg | 1 + board/raspberrypi/readme.txt | 3 ++- configs/raspberrypi3_defconfig | 2 +- configs/raspberrypi3_qt5we_defconfig | 2 +- 4 files changed, 5 insertions(+), 3 deletions(-)
board/raspberrypi/genimage-raspberrypi3.cfg +1 -0
@@ -2,6 +2,7 @@ image boot.vfat { vfat { files = { "bcm2710-rpi-3-b.dtb", + "bcm2710-rpi-3-b-plus.dtb", "bcm2710-rpi-cm3.dtb", "rpi-firmware/bootcode.bin", "rpi-firmware/cmdline.txt",
board/raspberrypi/readme.txt +2 -1
@@ -30,7 +30,7 @@ For model 2 B: $ make raspberrypi2_defconfig -For model 3 B: +For model 3 B and B+: $ make raspberrypi3_defconfig
@@ -56,6 +56,7 @@ After building, you should obtain this tree: +-- bcm2708-rpi-b-plus.dtb [1] +-- bcm2709-rpi-2-b.dtb [1] +-- bcm2710-rpi-3-b.dtb [1] + +-- bcm2710-rpi-3-b-plus.dtb [1] +-- boot.vfat +-- rootfs.ext4 +-- rpi-firmware/
configs/raspberrypi3_defconfig +1 -1
@@ -17,7 +17,7 @@ BR2_LINUX_KERNEL_DEFCONFIG="bcm2709" # Build the DTB from the kernel sources BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="bcm2710-rpi-3-b bcm2710-rpi-cm3" +BR2_LINUX_KERNEL_INTREE_DTS_NAME="bcm2710-rpi-3-b bcm2710-rpi-3-b-plus bcm2710-rpi-cm3" BR2_PACKAGE_RPI_FIRMWARE=y
configs/raspberrypi3_qt5we_defconfig +1 -1
@@ -18,7 +18,7 @@ BR2_LINUX_KERNEL_DEFCONFIG="bcm2709" # Build the DTB from the kernel sources BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="bcm2710-rpi-3-b bcm2710-rpi-cm3" +BR2_LINUX_KERNEL_INTREE_DTS_NAME="bcm2710-rpi-3-b bcm2710-rpi-3-b-plus bcm2710-rpi-cm3" # Build Qt5 WebEngine BR2_PACKAGE_LIBERATION=y
Signature · 1 line
2.16.2
PATCH v3 4/7 package/rpi-firmware: improve installation of dtb files
In reply to Martin BarkDon't list specific dtb files, instead install all dtb files in the same way as dtbo files are currently done.
----
Changes v1 -> v2:
- none
Changes v2 -> v3:
- none
--- package/rpi-firmware/rpi-firmware.mk | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-)
package/rpi-firmware/rpi-firmware.mk +3 -4
@@ -12,10 +12,9 @@ RPI_FIRMWARE_INSTALL_IMAGES = YES ifeq ($(BR2_PACKAGE_RPI_FIRMWARE_INSTALL_DTBS),y) define RPI_FIRMWARE_INSTALL_DTB - $(INSTALL) -D -m 0644 $(@D)/boot/bcm2708-rpi-b.dtb $(BINARIES_DIR)/rpi-firmware/bcm2708-rpi-b.dtb - $(INSTALL) -D -m 0644 $(@D)/boot/bcm2708-rpi-b-plus.dtb $(BINARIES_DIR)/rpi-firmware/bcm2708-rpi-b-plus.dtb - $(INSTALL) -D -m 0644 $(@D)/boot/bcm2709-rpi-2-b.dtb $(BINARIES_DIR)/rpi-firmware/bcm2709-rpi-2-b.dtb - $(INSTALL) -D -m 0644 $(@D)/boot/bcm2710-rpi-3-b.dtb $(BINARIES_DIR)/rpi-firmware/bcm2710-rpi-3-b.dtb + for dtb in $(@D)/boot/*.dtb; do \ + $(INSTALL) -D -m 0644 $${dtb} $(BINARIES_DIR)/rpi-firmware/$${dtb##*/} || exit 1; \ + done endef endif
Signature · 1 line
2.16.2
PATCH v3 5/7 package/rpi-bt-firmware: change to LibreELEC github repo
In reply to Martin BarkInclude BCM4345C0.hcd for the rpi3 b+
---
Changed v2 -> v3
- new in v3
--- package/rpi-bt-firmware/Config.in | 5 +++-- package/rpi-bt-firmware/rpi-bt-firmware.hash | 2 +- package/rpi-bt-firmware/rpi-bt-firmware.mk | 13 +++++++------ 3 files changed, 11 insertions(+), 9 deletions(-)
package/rpi-bt-firmware/Config.in +3 -2
@@ -3,6 +3,7 @@ config BR2_PACKAGE_RPI_BT_FIRMWARE depends on BR2_arm || BR2_aarch64 help Raspberry Pi 3 and Zero W Broadcom BCM43438 Bluetooth module - firmware. + firmware. Raspberry Pi 3 Model B+ Broadcom BCM4345C0 + Bluetooth module firmware. - https://aur.archlinux.org/packages/pi-bluetooth + https://github.com/LibreELEC/brcmfmac_sdio-firmware-rpi
package/rpi-bt-firmware/rpi-bt-firmware.hash +1 -1
@@ -1,2 +1,2 @@ # Locally computed -sha256 5d9c9364277414ffd67b4a266cdf88e92f28eb937e5a413750e87b7a94161bef rpi-bt-firmware-a439f892bf549ddfefa9ba7ad1999cc515f233bf.tar.gz +sha256 2a6e8f492878ca1de5347f17ab239006db61215c48276fa6ea6e578f3cc5b58d rpi-bt-firmware-f0dc870f707118fa000f6ee47ec05e7eaa57b917.tar.gz
package/rpi-bt-firmware/rpi-bt-firmware.mk +7 -6
@@ -4,18 +4,19 @@ # ################################################################################ -RPI_BT_FIRMWARE_VERSION = a439f892bf549ddfefa9ba7ad1999cc515f233bf -RPI_BT_FIRMWARE_SITE = https://aur.archlinux.org/pi-bluetooth.git -RPI_BT_FIRMWARE_SITE_METHOD = git +RPI_BT_FIRMWARE_VERSION = f0dc870f707118fa000f6ee47ec05e7eaa57b917 +RPI_BT_FIRMWARE_SITE = $(call github,LibreELEC,brcmfmac_sdio-firmware-rpi,$(RPI_BT_FIRMWARE_VERSION)) RPI_BT_FIRMWARE_LICENSE = PROPRIETARY -RPI_BT_FIRMWARE_LICENSE_FILES = LICENCE.broadcom_bcm43xx + +RPI_BT_FIRMWARE_FILES = brcm/BCM43430A1.hcd BCM4345C0.hcd # The BlueZ hciattach utility looks for firmware in /etc/firmware. Add a # compatibility symlink. define RPI_BT_FIRMWARE_INSTALL_TARGET_CMDS ln -sf ../lib/firmware $(TARGET_DIR)/etc/firmware - $(INSTALL) -D -m 0644 $(@D)/BCM43430A1.hcd \ - $(TARGET_DIR)/lib/firmware/BCM43430A1.hcd + for file in $(RPI_BT_FIRMWARE_FILES); do \ + $(INSTALL) -D -m 0644 $(@D)/firmware/$${file} $(TARGET_DIR)/lib/firmware/$${file##*/}; \ + done endef $(eval $(generic-package))
Signature · 1 line
2.16.2
PATCH v3 6/7 package/rpi-wifi-firmware: change to LibreELEC github repo
In reply to Martin BarkInclude brcmfmac43455-sdio.txt for the rpi3 b+
---
Changes v2 -> v3
- New in v3 (suggested by Jens Maus)
--- package/rpi-wifi-firmware/Config.in | 5 +++-- package/rpi-wifi-firmware/rpi-wifi-firmware.hash | 2 +- package/rpi-wifi-firmware/rpi-wifi-firmware.mk | 17 +++++++---------- 3 files changed, 11 insertions(+), 13 deletions(-)
package/rpi-wifi-firmware/Config.in +3 -2
@@ -5,6 +5,7 @@ config BR2_PACKAGE_RPI_WIFI_FIRMWARE select BR2_PACKAGE_LINUX_FIRMWARE_BRCM_BCM43XXX # runtime help Raspberry Pi 3 and Zero W Broadcom BCM43430 wifi module - NVRAM data. + NVRAM data. Raspberry Pi 3 Model B+ Broadcom BCM43455 + wifi module NVRAM data. - https://github.com/RPi-Distro/firmware-nonfree/ + https://github.com/LibreELEC/brcmfmac_sdio-firmware-rpi
package/rpi-wifi-firmware/rpi-wifi-firmware.hash +1 -1
@@ -1,2 +1,2 @@ # Locally calculated -sha256 872fde4f9942d9aba805880d6eaddfe050305626fd58ad955bfe77c04f6b75a5 brcmfmac43430-sdio.txt +sha256 2a6e8f492878ca1de5347f17ab239006db61215c48276fa6ea6e578f3cc5b58d rpi-wifi-firmware-f0dc870f707118fa000f6ee47ec05e7eaa57b917.tar.gz
package/rpi-wifi-firmware/rpi-wifi-firmware.mk +7 -10
@@ -4,20 +4,17 @@ # ################################################################################ -RPI_WIFI_FIRMWARE_VERSION = 54bab3d6a6d43239c71d26464e6e10e5067ffea7 -# brcmfmac43430-sdio.bin comes from linux-firmware -RPI_WIFI_FIRMWARE_SOURCE = brcmfmac43430-sdio.txt -# git repo contains a lot of unrelated files -RPI_WIFI_FIRMWARE_SITE = https://raw.githubusercontent.com/RPi-Distro/firmware-nonfree/$(RPI_WIFI_FIRMWARE_VERSION)/brcm80211/brcm +RPI_WIFI_FIRMWARE_VERSION = f0dc870f707118fa000f6ee47ec05e7eaa57b917 +RPI_WIFI_FIRMWARE_SITE = $(call github,LibreELEC,brcmfmac_sdio-firmware-rpi,$(RPI_WIFI_FIRMWARE_VERSION)) RPI_WIFI_FIRMWARE_LICENSE = PROPRIETARY -define RPI_WIFI_FIRMWARE_EXTRACT_CMDS - cp $(DL_DIR)/$($(PKG)_SOURCE) $(@D)/ -endef +# brcmfmac43430-sdio.bin and brcmfmac43455-sdio.bin come from linux-firmware +RPI_WIFI_FIRMWARE_FILES = brcmfmac43430-sdio.txt brcmfmac43455-sdio.txt define RPI_WIFI_FIRMWARE_INSTALL_TARGET_CMDS - $(INSTALL) -D -m 0644 $(@D)/$(RPI_WIFI_FIRMWARE_SOURCE) \ - $(TARGET_DIR)/lib/firmware/brcm/$(RPI_WIFI_FIRMWARE_SOURCE) + for file in $(RPI_WIFI_FIRMWARE_FILES); do \ + $(INSTALL) -D -m 0644 $(@D)/firmware/brcm/$${file} $(TARGET_DIR)/lib/firmware/brcm/$${file}; \ + done endef $(eval $(generic-package))
Signature · 1 line
2.16.2
PATCH v3 7/7 DEVELOPERS: add myself for rpi packages
In reply to Martin Bark---
Changed v2 -> v3
- new in v3
--- DEVELOPERS | 5 +++++ 1 file changed, 5 insertions(+)
DEVELOPERS +5 -0
@@ -1131,9 +1131,14 @@ F: package/harfbuzz/ F: package/libsecret/ N: Martin Bark <[email protected]> +F: board/raspberrypi/ +F: configs/raspberrypi3_defconfig F: package/ca-certificates/ F: package/connman/ F: package/nodejs/ +F: package/rpi-bt-firmware/ +F: package/rpi-firmware/ +F: package/rpi-wifi-firmware/ F: package/tzdata/ F: package/zic/
Signature · 1 line
2.16.2
v3 cover Add rpi3 b+ support
In reply to Martin BarkHello Martin,
Quoted 8 lines · Martin Bark
Martin Bark (7):
package/rpi-firmware: bump version configs/raspberrypi*: bump kernel version board/raspberrypi: add support for rpi3 b+ package/rpi-firmware: improve installation of dtb files package/rpi-bt-firmware: change to LibreELEC github repo package/rpi-wifi-firmware: change to LibreELEC github repo
DEVELOPERS: add myself for rpi packages
Since you're looking at RPi stuff, could you have a look at
http://patchwork.ozlabs.org/patch/779105/, which is sitting in patchwork since quite a while ?
Thanks a lot!
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin (formerly Free Electrons) Embedded Linux and Kernel engineering http://bootlin.com
v3 cover Add rpi3 b+ support
Thomas,
Quoted 13 lines · Thomas Petazzoni
Hello Martin,
Quoted 8 lines · Martin Bark
Martin Bark (7):
package/rpi-firmware: bump version configs/raspberrypi*: bump kernel version board/raspberrypi: add support for rpi3 b+ package/rpi-firmware: improve installation of dtb files package/rpi-bt-firmware: change to LibreELEC github repo package/rpi-wifi-firmware: change to LibreELEC github repo
DEVELOPERS: add myself for rpi packages
Quoted 3 lines
Since you're looking at RPi stuff, could you have a look at
http://patchwork.ozlabs.org/patch/779105/, which is sitting in patchwork since quite a while ?
Yes i can look at this.
The only reason for this seems to be the use of the pi3-miniuart-bt overlay. Personally i never use this overlay, I set enable_uart=1 in config.txt (the same as raspi-config does). Is there a reason buildroot favours the pi3-miniuart-bt overlay?
If we switched to using enable_uart=1 there would be no reason to include the overlays and no reason for this separate rpi0w defconifg.
Thanks
Martin
Quoted 8 lines
Thanks a lot!
Thomas
--
Thomas Petazzoni, CTO, Bootlin (formerly Free Electrons) Embedded Linux and Kernel engineering
http://bootlin.com
v3 cover Add rpi3 b+ support
Hello,
Quoted 4 lines · Martin Bark
The only reason for this seems to be the use of the pi3-miniuart-bt overlay. Personally i never use this overlay, I set enable_uart=1 in config.txt (the same as raspi-config does). Is there a reason buildroot favours the pi3-miniuart-bt overlay?
I am not familiar with those configuration details of the RPi platform, but I remember they have been discussed in the past. Perhaps you can check the commit log for some details about them.
Especially this commit log:
commit 1e03cc2290f98fc7434254d2abd9afd504de8360
Author: Peter Seiderer <[email protected]> Date: Mon May 2 22:25:44 2016 +0200
raspberrypi3: fix serial console (load pi3-miniuart-bt overlay)
- enable BR2_PACKAGE_RPI_FIRMWARE_INSTALL_DTB_OVERLAYS in raspberrypi3_defconfig
- add copy of rpi-firmware/overlays directory to boot partition in genimage-raspberrypi3.cfg
- enhance post-image.sh script to add 'dtoverlay=pi3-miniuart-bt' on request
- add BR2_ROOTFS_POST_SCRIPT_ARGS="--add-pi3-miniuart-bt-overlay" in raspberrypi3_defconfig
Best regards,
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin (formerly Free Electrons) Embedded Linux and Kernel engineering http://bootlin.com
v3 cover Add rpi3 b+ support
Hello Martin,
Quoted 21 lines · Thomas Petazzoni
Hello,
Quoted 4 lines · Martin Bark
The only reason for this seems to be the use of the pi3-miniuart-bt overlay. Personally i never use this overlay, I set enable_uart=1 in config.txt (the same as raspi-config does). Is there a reason buildroot favours the pi3-miniuart-bt overlay?
I am not familiar with those configuration details of the RPi platform, but I remember they have been discussed in the past. Perhaps you can check the commit log for some details about them.
Especially this commit log:
commit
1e03cc2290f98fc7434254d2abd9afd504de8360Author: Peter Seiderer <[email protected]> Date: Mon May 2 22:25:44 2016 +0200raspberrypi3: fix serial console (load pi3-miniuart-bt overlay)
Quoted 8 lines
- enable
BR2_PACKAGE_RPI_FIRMWARE_INSTALL_DTB_OVERLAYSinraspberrypi3_defconfig
- add copy of rpi-firmware/overlays directory to boot partition in genimage-raspberrypi3.cfg
- enhancepost-image.shscript to add 'dtoverlay=pi3-miniuart-bt' on request
- add BR2_ROOTFS_POST_SCRIPT_ARGS="--add-pi3-miniuart-bt-overlay" inraspberrypi3_defconfigSigned-off-by Peter Seiderer <[email protected]>Signed-off-by Thomas Petazzoni <[email protected]>
And the full discussion about the different solutions, see [1]...
I am still in prefer the overlay solutions ;-)
Regards,
Peter
[1] https://patchwork.ozlabs.org/patch/617683/
Quoted 3 lines
Best regards,
Thomas
v3 cover Add rpi3 b+ support
Hi,
Quoted 36 lines · Peter Seiderer
Hello Martin,
Quoted 21 lines · Thomas Petazzoni
Hello,
Quoted 4 lines · Martin Bark
The only reason for this seems to be the use of the pi3-miniuart-bt overlay. Personally i never use this overlay, I set enable_uart=1 in config.txt (the same as raspi-config does). Is there a reason buildroot favours the pi3-miniuart-bt overlay?
I am not familiar with those configuration details of the RPi platform, but I remember they have been discussed in the past. Perhaps you can check the commit log for some details about them.
Especially this commit log:
commit
1e03cc2290f98fc7434254d2abd9afd504de8360Author: Peter Seiderer <[email protected]> Date: Mon May 2 22:25:44 2016 +0200raspberrypi3: fix serial console (load pi3-miniuart-bt overlay)
Quoted 8 lines
- enable
BR2_PACKAGE_RPI_FIRMWARE_INSTALL_DTB_OVERLAYSinraspberrypi3_defconfig
- add copy of rpi-firmware/overlays directory to boot partition in genimage-raspberrypi3.cfg
- enhancepost-image.shscript to add 'dtoverlay=pi3-miniuart-bt' on request
- add BR2_ROOTFS_POST_SCRIPT_ARGS="--add-pi3-miniuart-bt-overlay" inraspberrypi3_defconfigSigned-off-by Peter Seiderer <[email protected]>Signed-off-by Thomas Petazzoni <[email protected]>And the full discussion about the different solutions, see [1]...
Quoted 7 lines
I am still in prefer the overlay solutions ;-)
Regards,
Peter
Ok i remember this conversation now.
As a matter of interest has anyone actually tried using bluetooth with the pi3-miniuart-bt overlay? I have not. According to [1] pi3-miniuart-bt overlay requires core_freq=250 to work (which makes sense) and buildroot does not set this. I'm not sure the current way pi3-miniuart-bt overlay is setup even works.
Thanks
Martin
[1] https://github.com/raspberrypi/linux/blob/rpi-4.14.y/arch/arm/boot/dts/overlays/README
Quoted 4 lines
Quoted 3 lines
Best regards,
Thomas
v3 cover Add rpi3 b+ support
FYI: In one of my buildroot-based projects I am actually using the pi3-miniart-bt + core_freq setting at the same time to free the standard UART for a GPIO HAT that requires the UART. See here:
Best Regards,
Jens
Quoted 67 lines
Am 19.03.2018 um 19:18 schrieb Martin Bark <[email protected]>:
Hi,
Quoted 36 lines · Peter Seiderer
Hello Martin,
Quoted 21 lines · Thomas Petazzoni
Hello,
Quoted 4 lines · Martin Bark
The only reason for this seems to be the use of the pi3-miniuart-bt overlay. Personally i never use this overlay, I set enable_uart=1 in config.txt (the same as raspi-config does). Is there a reason buildroot favours the pi3-miniuart-bt overlay?
I am not familiar with those configuration details of the RPi platform, but I remember they have been discussed in the past. Perhaps you can check the commit log for some details about them.
Especially this commit log:
commit
1e03cc2290f98fc7434254d2abd9afd504de8360Author: Peter Seiderer <[email protected]> Date: Mon May 2 22:25:44 2016 +0200raspberrypi3: fix serial console (load pi3-miniuart-bt overlay)
Quoted 8 lines
- enable
BR2_PACKAGE_RPI_FIRMWARE_INSTALL_DTB_OVERLAYSinraspberrypi3_defconfig
- add copy of rpi-firmware/overlays directory to boot partition in genimage-raspberrypi3.cfg
- enhancepost-image.shscript to add 'dtoverlay=pi3-miniuart-bt' on request
- add BR2_ROOTFS_POST_SCRIPT_ARGS="--add-pi3-miniuart-bt-overlay" inraspberrypi3_defconfigSigned-off-by Peter Seiderer <[email protected]>Signed-off-by Thomas Petazzoni <[email protected]>And the full discussion about the different solutions, see [1]...
Quoted 7 lines
I am still in prefer the overlay solutions ;-)
Regards,
PeterOk i remember this conversation now.
As a matter of interest has anyone actually tried using bluetooth with the pi3-miniuart-bt overlay? I have not. According to [1] pi3-miniuart-bt overlay requires core_freq=250 to work (which makes sense) and buildroot does not set this. I'm not sure the current way pi3-miniuart-bt overlay is setup even works.
Thanks
Martin
[1] https://github.com/raspberrypi/linux/blob/rpi-4.14.y/arch/arm/boot/dts/overlays/README
Quoted 4 lines
Quoted 3 lines
Best regards,
Thomas
Signature · 12 lines
Jens Maus, Dresden/Germany http://jens-maus.de/ *** Content is authentic only with digital signature *** -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 3745 bytes Desc: not available URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20180320/c14e3cba/attachment.p7s>
v3 cover Add rpi3 b+ support
Jens,
Quoted 3 lines · Jens Maus
FYI: In one of my buildroot-based projects I am actually using the pi3-miniart-bt +
core_freqsetting at the same time to free the standard UART for a GPIO HAT that requires the UART. See here:
Yes exactly, you need the core_freq=250 for pi3-miniart-bt to work but buildroot does not set this. Using pi3-miniart-bt to free up ttyAMA0 for other uses, as you do, is a good reason to use it.
Given enable_uart=1 sets core_freq=250 (see [1]) and using pi3-miniart-bt also needs core_freq=250, i can't see the point it using pi3-miniart-bt to just enable serial logins.
Thanks
Martin
[1] https://www.raspberrypi.org/documentation/configuration/uart.md
Quoted 79 lines
Best Regards,
Jens
Quoted 57 lines
Am 19.03.2018 um 19:18 schrieb Martin Bark <[email protected]>:
Hi,
Quoted 36 lines · Peter Seiderer
Hello Martin,
Quoted 21 lines · Thomas Petazzoni
Hello,
Quoted 4 lines · Martin Bark
The only reason for this seems to be the use of the pi3-miniuart-bt overlay. Personally i never use this overlay, I set enable_uart=1 in config.txt (the same as raspi-config does). Is there a reason buildroot favours the pi3-miniuart-bt overlay?
I am not familiar with those configuration details of the RPi platform, but I remember they have been discussed in the past. Perhaps you can check the commit log for some details about them.
Especially this commit log:
commit
1e03cc2290f98fc7434254d2abd9afd504de8360Author: Peter Seiderer <[email protected]> Date: Mon May 2 22:25:44 2016 +0200raspberrypi3: fix serial console (load pi3-miniuart-bt overlay)
Quoted 8 lines
- enable
BR2_PACKAGE_RPI_FIRMWARE_INSTALL_DTB_OVERLAYSinraspberrypi3_defconfig
- add copy of rpi-firmware/overlays directory to boot partition in genimage-raspberrypi3.cfg
- enhancepost-image.shscript to add 'dtoverlay=pi3-miniuart-bt' on request
- add BR2_ROOTFS_POST_SCRIPT_ARGS="--add-pi3-miniuart-bt-overlay" inraspberrypi3_defconfigSigned-off-by Peter Seiderer <[email protected]>Signed-off-by Thomas Petazzoni <[email protected]>And the full discussion about the different solutions, see [1]...
Quoted 7 lines
I am still in prefer the overlay solutions ;-)
Regards,
PeterOk i remember this conversation now.
As a matter of interest has anyone actually tried using bluetooth with the pi3-miniuart-bt overlay? I have not. According to [1] pi3-miniuart-bt overlay requires core_freq=250 to work (which makes sense) and buildroot does not set this. I'm not sure the current way pi3-miniuart-bt overlay is setup even works.
Quoted 10 lines
Thanks
Martin
[1] https://github.com/raspberrypi/linux/blob/rpi-4.14.y/arch/arm/boot/dts/overlays/README
Quoted 4 lines
Quoted 3 lines
Best regards,
Thomas
--
Jens Maus, Dresden/Germany
http://jens-maus.de/*** Content is authentic only with digital signature ***
v3 cover Add rpi3 b+ support
In reply to Martin BarkMartin, All,
On 2018-03-16 21:06 +0000, Martin Bark spake thusly:
Quoted 21 lines
Quoted 13 lines · Thomas Petazzoni
Hello Martin,
Quoted 8 lines · Martin Bark
Martin Bark (7):
package/rpi-firmware: bump version configs/raspberrypi*: bump kernel version board/raspberrypi: add support for rpi3 b+ package/rpi-firmware: improve installation of dtb files package/rpi-bt-firmware: change to LibreELEC github repo package/rpi-wifi-firmware: change to LibreELEC github repo
DEVELOPERS: add myself for rpi packagesQuoted 3 lines
Since you're looking at RPi stuff, could you have a look at
http://patchwork.ozlabs.org/patch/779105/, which is sitting in patchwork since quite a while ?Yes i can look at this.
Quoted 7 lines
The only reason for this seems to be the use of the pi3-miniuart-bt overlay. Personally i never use this overlay, I set enable_uart=1 in config.txt (the same as raspi-config does). Is there a reason buildroot favours the pi3-miniuart-bt overlay?
If we switched to using enable_uart=1 there would be no reason to include the overlays and no reason for this separate rpi0w defconifg.
I am all iun favour of simplifying and fixing things! Please send a patch! ;-)
Regards,
Yann E. MORIN.
Signature · 6 lines
.-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 223 225 172 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------'
v3 cover Add rpi3 b+ support
Quoted 29 lines · Yann E. MORIN
Martin, All,
On 2018-03-16 21:06 +0000, Martin Bark spake thusly:
Quoted 26 lines
Quoted 13 lines · Thomas Petazzoni
Hello Martin,
Quoted 8 lines · Martin Bark
Martin Bark (7):
package/rpi-firmware: bump version configs/raspberrypi*: bump kernel version board/raspberrypi: add support for rpi3 b+ package/rpi-firmware: improve installation of dtb files package/rpi-bt-firmware: change to LibreELEC github repo package/rpi-wifi-firmware: change to LibreELEC github repo
DEVELOPERS: add myself for rpi packagesQuoted 3 lines
Since you're looking at RPi stuff, could you have a look at
http://patchwork.ozlabs.org/patch/779105/, which is sitting in patchwork since quite a while ?Yes i can look at this.
The only reason for this seems to be the use of the pi3-miniuart-bt overlay. Personally i never use this overlay, I set enable_uart=1 in config.txt (the same as raspi-config does). Is there a reason buildroot favours the pi3-miniuart-bt overlay?
Quoted 5 lines
Quoted 2 lines
If we switched to using enable_uart=1 there would be no reason to include the overlays and no reason for this separate rpi0w defconifg.
I am all iun favour of simplifying and fixing things! Please send a patch! ;-)
Yes i will do
Thanks
Martin
Quoted 11 lines
Regards,
Yann E. MORIN.--
.-----------------.--------------------.------------------.--------------------.| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 223 225 172 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. |'------------------------------^-------^------------------^--------------------'