0ed89b5621
* Package Broadcom Wi-Fi firmware from AOSP This uses a mirror of AOSP's platform/hardware/broadcom/wlan repo at version android-8.0.0_r12 (6c8ef5b600cec5d36a54a0276fe8c97b9ab8d6bb). This is needed as Nexus 6P uses a BCM4358, and the blob available in Alpine's linux-firmware package is old and vulnerable to Broadpwn. See #513. * device: angler: enable Wi-Fi and graphics output Changes: - Set resolution on bootup This is copied from the Nexus 5's init script. - Add Wi-Fi calibration file and change firmware path This is also based on the Nexus 5's implementation. - Enable CONFIG_VT and NFS in the kernel - Explicitly use identity touchscreen calibration - Rename the touchscreen udev rules - Enable msm-fb-refresher
26 lines
1,019 B
Text
26 lines
1,019 B
Text
pkgname=firmware-aosp-broadcom-wlan
|
|
pkgver=1
|
|
pkgrel=0
|
|
pkgdesc="Broadcom Wi-Fi firmware from AOSP: https://android.googlesource.com/platform/hardware/broadcom/wlan/+/android-8.0.0_r12"
|
|
url="https://github.com/zhuowei/android_hardware_broadcom_wlan"
|
|
arch="noarch"
|
|
license="proprietary"
|
|
depends=""
|
|
makedepends=""
|
|
install=""
|
|
subpackages=""
|
|
# tag: android-8.0.0_r12
|
|
_hash=6c8ef5b600cec5d36a54a0276fe8c97b9ab8d6bb
|
|
source=$pkgname-$_hash.tar.gz::$url"/archive/${_hash}.tar.gz"
|
|
options="!check !strip !archcheck"
|
|
|
|
package() {
|
|
for fw in $(find "${srcdir}/android_hardware_broadcom_wlan-${_hash}/bcmdhd/firmware" -type f -name "*.bin")
|
|
do
|
|
dir=$(basename $(dirname $fw))
|
|
mkdir -p "$pkgdir/lib/firmware/postmarketos/bcmdhd/$dir"
|
|
install -m644 $fw "$pkgdir/lib/firmware/postmarketos/bcmdhd/$dir"
|
|
done
|
|
}
|
|
|
|
sha512sums="ffd125833076a257b6ad4bf9d3f1cb262331e0ce5b1a15b12b6a5b375fa82ea37c17876dada4cab8fe74c4c66dfc499bd9a00526c1a9c31664add3d4e45d5cf0 firmware-aosp-broadcom-wlan-6c8ef5b600cec5d36a54a0276fe8c97b9ab8d6bb.tar.gz"
|