mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-08-02 07:27:49 +00:00
Merge pull request #1922 from MilhouseVH/le90_update_rpi_wifi_bt
brcmfmac_sdio-firmware-rpi: Consolidate firmware files
This commit is contained in:
commit
ab7496da62
@ -17,8 +17,8 @@
|
|||||||
################################################################################
|
################################################################################
|
||||||
|
|
||||||
PKG_NAME="brcmfmac_sdio-firmware-rpi"
|
PKG_NAME="brcmfmac_sdio-firmware-rpi"
|
||||||
PKG_VERSION="0.1"
|
PKG_VERSION="0.2"
|
||||||
PKG_SHA256="266cc4e6ab1cfb6be15b038fb8d2a276a712de2c2286b75e4ecbdf3b44fd5166"
|
PKG_SHA256="c5c8fe1801362cd0817d98c82f8e9eb06c2f64b96a5233770f1cc054cfcaa9a9"
|
||||||
PKG_ARCH="any"
|
PKG_ARCH="any"
|
||||||
PKG_LICENSE="GPL"
|
PKG_LICENSE="GPL"
|
||||||
PKG_SITE="https://github.com/LibreELEC/LibreELEC.tv"
|
PKG_SITE="https://github.com/LibreELEC/LibreELEC.tv"
|
||||||
|
@ -1,11 +1,18 @@
|
|||||||
#!/bin/bash
|
#!/bin/sh
|
||||||
|
|
||||||
|
HCIATTACH=/usr/bin/hciattach
|
||||||
|
SERIAL=$(awk '/^Serial/{ print $3 }' /proc/cpuinfo)
|
||||||
|
B1=${SERIAL:10:2}
|
||||||
|
B2=${SERIAL:12:2}
|
||||||
|
B3=${SERIAL:14:2}
|
||||||
|
BDADDR=$(printf b8:27:eb:%02x:%02x:%02x $((0x$B1 ^ 0xaa)) $((0x$B2 ^ 0xaa)) $((0x$B3 ^ 0xaa)))
|
||||||
|
|
||||||
if [ "$(cat /proc/device-tree/aliases/uart0)" = "$(cat /proc/device-tree/aliases/serial1)" ] ; then
|
if [ "$(cat /proc/device-tree/aliases/uart0)" = "$(cat /proc/device-tree/aliases/serial1)" ] ; then
|
||||||
if [ "$(wc -c /proc/device-tree/soc/gpio@7e200000/uart0_pins/brcm\,pins | cut -f 1 -d ' ')" = "16" ] ; then
|
if [ "$(wc -c /proc/device-tree/soc/gpio@7e200000/uart0_pins/brcm\,pins | cut -f 1 -d ' ')" = "16" ] ; then
|
||||||
/usr/bin/hciattach /dev/serial1 bcm43xx 3000000 flow -
|
$HCIATTACH /dev/serial1 bcm43xx 3000000 flow - $BDADDR
|
||||||
else
|
else
|
||||||
/usr/bin/hciattach /dev/serial1 bcm43xx 921600 noflow -
|
$HCIATTACH /dev/serial1 bcm43xx 921600 noflow - $BDADDR
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
/usr/bin/hciattach /dev/serial1 bcm43xx 460800 noflow -
|
$HCIATTACH /dev/serial1 bcm43xx 460800 noflow - $BDADDR
|
||||||
fi
|
fi
|
||||||
|
@ -68,4 +68,7 @@ makeinstall_target() {
|
|||||||
done
|
done
|
||||||
done < ${fwlist}
|
done < ${fwlist}
|
||||||
done
|
done
|
||||||
|
|
||||||
|
# The following file is installed by brcmfmac_sdio-firmware-rpi
|
||||||
|
rm -fr $FW_TARGET_DIR/brcm/brcmfmac43430-sdio.bin
|
||||||
}
|
}
|
||||||
|
@ -17,8 +17,8 @@
|
|||||||
################################################################################
|
################################################################################
|
||||||
|
|
||||||
PKG_NAME="wlan-firmware"
|
PKG_NAME="wlan-firmware"
|
||||||
PKG_VERSION="25d0c93"
|
PKG_VERSION="34a47d9"
|
||||||
PKG_SHA256="ceb6e5db32c4d56587d8b74961a8ac7cf8269eaa0d21748a35cf2f878140078f"
|
PKG_SHA256="91dc9af5689cd7275723d6b825e5c3d800b7b8149e031a24e48556e030f63af8"
|
||||||
PKG_ARCH="any"
|
PKG_ARCH="any"
|
||||||
PKG_LICENSE="Free-to-use"
|
PKG_LICENSE="Free-to-use"
|
||||||
PKG_SITE="https://github.com/LibreELEC/wlan-firmware"
|
PKG_SITE="https://github.com/LibreELEC/wlan-firmware"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user