[Armadeus-commitlog] armadeus branch, master, updated. armadeus-6.0-391-gb019394
Brought to you by:
sszy
|
From: Julien B a. A. <ar...@sf...> - 2018-03-07 16:01:40
|
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "armadeus".
The branch, master has been updated
via b01939434cc04a2a4c7184aeee2817d633aec544 (commit)
from f2382f18282e32cc91eb6c675cbf1cde8c76f7b2 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit b01939434cc04a2a4c7184aeee2817d633aec544
Author: Julien BOIBESSOT <jul...@ar...>
Date: Wed Mar 7 16:59:44 2018 +0100
[BUILDROOT] 2017.02 Add rpi-bt-firmware package (mainline backport) and activate it by default on NANO configs
-----------------------------------------------------------------------
Summary of changes:
buildroot/configs/opos6ulnano-preempt-rt_defconfig | 1 +
buildroot/configs/opos6ulnano_defconfig | 1 +
.../042-mainline-add-rpi-bt-firmware-package.patch | 62 ++++++++++++++++++++++
patches/buildroot/2017.02/cleanup_buildroot.sh | 11 ++--
4 files changed, 71 insertions(+), 4 deletions(-)
create mode 100644 patches/buildroot/2017.02/042-mainline-add-rpi-bt-firmware-package.patch
diff --git a/buildroot/configs/opos6ulnano-preempt-rt_defconfig b/buildroot/configs/opos6ulnano-preempt-rt_defconfig
index d2802b2..009b553 100644
--- a/buildroot/configs/opos6ulnano-preempt-rt_defconfig
+++ b/buildroot/configs/opos6ulnano-preempt-rt_defconfig
@@ -58,6 +58,7 @@ BR2_PACKAGE_FBV=y
# BR2_PACKAGE_FBV_GIF is not set
BR2_PACKAGE_LINUX_FIRMWARE=y
BR2_PACKAGE_LINUX_FIRMWARE_BRCM_BCM43XXX=y
+BR2_PACKAGE_RPI_BT_FIRMWARE=y
BR2_PACKAGE_APF_CONFIG=y
BR2_PACKAGE_DBUS_PYTHON=y
BR2_PACKAGE_EVTEST=y
diff --git a/buildroot/configs/opos6ulnano_defconfig b/buildroot/configs/opos6ulnano_defconfig
index 1d63486..2cf9ebe 100644
--- a/buildroot/configs/opos6ulnano_defconfig
+++ b/buildroot/configs/opos6ulnano_defconfig
@@ -58,6 +58,7 @@ BR2_PACKAGE_FBV=y
# BR2_PACKAGE_FBV_GIF is not set
BR2_PACKAGE_LINUX_FIRMWARE=y
BR2_PACKAGE_LINUX_FIRMWARE_BRCM_BCM43XXX=y
+BR2_PACKAGE_RPI_BT_FIRMWARE=y
BR2_PACKAGE_APF_CONFIG=y
BR2_PACKAGE_DBUS_PYTHON=y
BR2_PACKAGE_EVTEST=y
diff --git a/patches/buildroot/2017.02/042-mainline-add-rpi-bt-firmware-package.patch b/patches/buildroot/2017.02/042-mainline-add-rpi-bt-firmware-package.patch
new file mode 100644
index 0000000..a65da42
--- /dev/null
+++ b/patches/buildroot/2017.02/042-mainline-add-rpi-bt-firmware-package.patch
@@ -0,0 +1,62 @@
+Backport from BR mainline...
+
+Signed-off-by: Julien Boibessot <jul...@ar...>
+
+Index: buildroot/package/rpi-bt-firmware/Config.in
+===================================================================
+--- /dev/null
++++ buildroot/package/rpi-bt-firmware/Config.in
+@@ -0,0 +1,8 @@
++config BR2_PACKAGE_RPI_BT_FIRMWARE
++ bool "rpi-bt-firmware"
++ depends on BR2_arm || BR2_aarch64
++ help
++ Raspberry Pi 3 and Zero W Broadcom BCM43438 Bluetooth module
++ firmware. Also works for Armadeus OPOS6UL(NANO) modules.
++
++ https://aur.archlinux.org/packages/pi-bluetooth
+Index: buildroot/package/rpi-bt-firmware/rpi-bt-firmware.hash
+===================================================================
+--- /dev/null
++++ buildroot/package/rpi-bt-firmware/rpi-bt-firmware.hash
+@@ -0,0 +1,2 @@
++# Locally computed
++sha256 5d9c9364277414ffd67b4a266cdf88e92f28eb937e5a413750e87b7a94161bef rpi-bt-firmware-a439f892bf549ddfefa9ba7ad1999cc515f233bf.tar.gz
+Index: buildroot/package/rpi-bt-firmware/rpi-bt-firmware.mk
+===================================================================
+--- /dev/null
++++ buildroot/package/rpi-bt-firmware/rpi-bt-firmware.mk
+@@ -0,0 +1,21 @@
++################################################################################
++#
++# rpi-bt-firmware
++#
++################################################################################
++
++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_LICENSE = PROPRIETARY
++RPI_BT_FIRMWARE_LICENSE_FILES = LICENCE.broadcom_bcm43xx
++
++# 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
++endef
++
++$(eval $(generic-package))
+Index: buildroot/package/Config.in
+===================================================================
+--- buildroot.orig/package/Config.in
++++ buildroot/package/Config.in
+@@ -356,6 +356,7 @@ menu "Firmware"
+ source "package/am33x-cm3/Config.in"
+ source "package/b43-firmware/Config.in"
+ source "package/linux-firmware/Config.in"
++ source "package/rpi-bt-firmware/Config.in"
+ source "package/rpi-firmware/Config.in"
+ source "package/sunxi-boards/Config.in"
+ source "package/ts4900-fpga/Config.in"
diff --git a/patches/buildroot/2017.02/cleanup_buildroot.sh b/patches/buildroot/2017.02/cleanup_buildroot.sh
index 432e672..7c7363c 100755
--- a/patches/buildroot/2017.02/cleanup_buildroot.sh
+++ b/patches/buildroot/2017.02/cleanup_buildroot.sh
@@ -67,17 +67,17 @@ rm -rf buildroot/package/kodi/Config.in
rm -rf buildroot/package/kodi/kodi.mk
rm -rf buildroot/package/leptonmodule/Config.in
rm -rf buildroot/package/leptonmodule/leptonmodule.mk
-rm -rf buildroot/package/libmbim/libmbim.mk
rm -rf buildroot/package/libmbim/libmbim.hash
+rm -rf buildroot/package/libmbim/libmbim.mk
rm -rf buildroot/package/libpng/0002-Don-t-append-prefix-to-symbol-names-in-version-script.patch
rm -rf buildroot/package/libpng/libpng.hash
rm -rf buildroot/package/libpng/libpng.mk
-rm -rf buildroot/package/libqmi/libqmi.mk
rm -rf buildroot/package/libqmi/libqmi.hash
+rm -rf buildroot/package/libqmi/libqmi.mk
rm -rf buildroot/package/linux-headers/2.6.29.6/0001-net-Support-inclusion-of-linux-socket.h-before-sys-s.patch
rm -rf buildroot/package/linux-headers/2.6.29.6/368-redhat-types_h-define-__aligned_u64-and-expose-to-userspace.patch
rm -rf buildroot/package/linux-headers/2.6.35.3/368-redhat-types_h-define-__aligned_u64-and-expose-to-userspace.patch
-rm -rf buildroot/package/linux-tools/linux-tool-iio.mk.in
+rm -rf buildroot/package/linux-tools/linux-tool-iio.mk
rm -rf buildroot/package/lmic-pi/Config.in
rm -rf buildroot/package/lmic-pi/lmic-pi.mk
rm -rf buildroot/package/lora-forwarder/0001-fix-cross-compiling.patch
@@ -93,8 +93,8 @@ rm -rf buildroot/package/matiec/matiec.mk
rm -rf buildroot/package/mke2img/Config.in.host
rm -rf buildroot/package/mke2img/mke2img
rm -rf buildroot/package/mke2img/mke2img.mk
-rm -rf buildroot/package/modem-manager/modem-manager.mk
rm -rf buildroot/package/modem-manager/modem-manager.hash
+rm -rf buildroot/package/modem-manager/modem-manager.mk
rm -rf buildroot/package/ncurses/ncurses-5.7-allows_build_with_old_ncurses_host_installation.patch
rm -rf buildroot/package/openssh/openssh.mk
rm -rf buildroot/package/pci_debug/Config.in
@@ -109,6 +109,9 @@ rm -rf buildroot/package/pywebradio/Config.in
rm -rf buildroot/package/pywebradio/pywebradio.mk
rm -rf buildroot/package/quake-pak/Config.in
rm -rf buildroot/package/quake-pak/quake-pak.mk
+rm -rf buildroot/package/rpi-bt-firmware/Config.in
+rm -rf buildroot/package/rpi-bt-firmware/rpi-bt-firmware.hash
+rm -rf buildroot/package/rpi-bt-firmware/rpi-bt-firmware.mk
rm -rf buildroot/package/rxtx/Config.in
rm -rf buildroot/package/rxtx/rxtx-2.1-7r2-001-remove-warning.patch
rm -rf buildroot/package/rxtx/rxtx-2.1-7r2-fix-java-1.6.patch
hooks/post-receive
--
armadeus
|