Accepting request 503086 from hardware
1 OBS-URL: https://build.opensuse.org/request/show/503086 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bcm43xx-firmware?expand=0&rev=7
This commit is contained in:
@@ -1,3 +1,10 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Jun 12 12:24:22 UTC 2017 - afaerber@suse.de
|
||||||
|
|
||||||
|
- Add Supplements for Raspberry Pi 3 (bsc#1041823)
|
||||||
|
- Resolve NUL char warning on modprobe for Tumbleweed by properly
|
||||||
|
iterating over zero-separated DT compatible strings
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Apr 10 14:06:29 UTC 2017 - afaerber@suse.de
|
Mon Apr 10 14:06:29 UTC 2017 - afaerber@suse.de
|
||||||
|
|
||||||
|
@@ -49,11 +49,14 @@ BuildRequires: suse-module-tools
|
|||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
Requires: kernel-firmware
|
Requires: kernel-firmware
|
||||||
|
# Raspberry Pi 3 Model B
|
||||||
|
Supplements: modalias(sdio:c*v02D0dA9A6*)
|
||||||
|
|
||||||
%description
|
%description
|
||||||
This package provides the firmware files needed for the
|
This package provides the firmware files needed for the
|
||||||
Broadcom (now Cypress) BCM43430 Wifi+Bluetooth chipset
|
Broadcom (now Cypress) BCM43430 Wifi+Bluetooth chipset
|
||||||
as well as NVRAM config files for BCM43362 and BCM43430.
|
as well as NVRAM config files for BCM43362, BCM43430 and
|
||||||
|
further related chipsets.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -c -T
|
%setup -q -c -T
|
||||||
|
@@ -1,27 +1,29 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
if [[ -e /sys/firmware/devicetree/base/compatible ]]; then
|
if [[ -e /sys/firmware/devicetree/base/compatible ]]; then
|
||||||
case "$(cat /sys/firmware/devicetree/base/compatible 2>/dev/null)" in
|
while IFS= read -r -d '' compatible; do
|
||||||
*lemaker,bananapro*)
|
case "$compatible" in
|
||||||
ln -sf brcmfmac43362-sdio-bananapi-m1+.txt /lib/firmware/brcm/brcmfmac43362-sdio.txt
|
lemaker,bananapro)
|
||||||
;;
|
ln -sf brcmfmac43362-sdio-bananapi-m1+.txt /lib/firmware/brcm/brcmfmac43362-sdio.txt
|
||||||
*sinovoip,bpi-m2*)
|
;;
|
||||||
ln -sf brcmfmac43362-sdio-bananapi-m2.txt /lib/firmware/brcm/brcmfmac43362-sdio.txt
|
sinovoip,bpi-m2)
|
||||||
;;
|
ln -sf brcmfmac43362-sdio-bananapi-m2.txt /lib/firmware/brcm/brcmfmac43362-sdio.txt
|
||||||
*cubietech,cubietruck*)
|
;;
|
||||||
ln -sf brcmfmac43362-sdio-cubietruck.txt /lib/firmware/brcm/brcmfmac43362-sdio.txt
|
cubietech,cubietruck)
|
||||||
;;
|
ln -sf brcmfmac43362-sdio-cubietruck.txt /lib/firmware/brcm/brcmfmac43362-sdio.txt
|
||||||
*solidrun,cubox-i*)
|
;;
|
||||||
ln -sf brcmfmac4329-sdio-cubox-i.txt /lib/firmware/brcm/brcmfmac4329-sdio.txt
|
solidrun,cubox-i)
|
||||||
ln -sf brcmfmac4330-sdio-cubox-i.txt /lib/firmware/brcm/brcmfmac4330-sdio.txt
|
ln -sf brcmfmac4329-sdio-cubox-i.txt /lib/firmware/brcm/brcmfmac4329-sdio.txt
|
||||||
;;
|
ln -sf brcmfmac4330-sdio-cubox-i.txt /lib/firmware/brcm/brcmfmac4330-sdio.txt
|
||||||
*raspberrypi,3-model-b*)
|
;;
|
||||||
ln -sf brcmfmac43430-sdio-raspberrypi3b.txt /lib/firmware/brcm/brcmfmac43430-sdio.txt
|
raspberrypi,3-model-b)
|
||||||
;;
|
ln -sf brcmfmac43430-sdio-raspberrypi3b.txt /lib/firmware/brcm/brcmfmac43430-sdio.txt
|
||||||
*tronsmart,vega-s95-telos*)
|
;;
|
||||||
ln -sf brcmfmac4339-sdio-vega-s95-telos.txt /lib/firmware/brcm/brcmfmac4339-sdio.txt
|
tronsmart,vega-s95-telos)
|
||||||
;;
|
ln -sf brcmfmac4339-sdio-vega-s95-telos.txt /lib/firmware/brcm/brcmfmac4339-sdio.txt
|
||||||
esac
|
;;
|
||||||
|
esac
|
||||||
|
done < /sys/firmware/devicetree/base/compatible
|
||||||
fi
|
fi
|
||||||
|
|
||||||
/usr/sbin/modprobe --ignore-install brcmfmac "$@" || exit $?
|
/usr/sbin/modprobe --ignore-install brcmfmac "$@" || exit $?
|
||||||
|
Reference in New Issue
Block a user