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
42 lines
1.6 KiB
Text
42 lines
1.6 KiB
Text
pkgname=device-huawei-angler
|
|
pkgver=1
|
|
pkgrel=2
|
|
pkgdesc="Huawei Nexus 6P"
|
|
url="https://github.com/postmarketOS"
|
|
arch="noarch"
|
|
license="MIT"
|
|
depends="linux-huawei-angler mkbootimg firmware-aosp-broadcom-wlan msm-fb-refresher"
|
|
makedepends=""
|
|
install=""
|
|
subpackages=""
|
|
source="
|
|
deviceinfo
|
|
90-android-touch-dev.rules
|
|
initfs-hook.sh
|
|
bcmdhd.cal
|
|
"
|
|
|
|
# Note: bcmdhd.cal is from https://github.com/LineageOS/android_device_huawei_angler/blob/752aaf664ab079f4ce9cbdeae6978f615d39b783/bcmdhd.cal
|
|
# TODO: this calibration file isn't valid for all variants of this device
|
|
# See https://github.com/LineageOS/android_device_huawei_angler/blob/cm-14.1/init.angler.rc#L450
|
|
options="!check"
|
|
|
|
build() {
|
|
return 0
|
|
}
|
|
|
|
package() {
|
|
install -D -m644 "$srcdir/deviceinfo" \
|
|
"$pkgdir/etc/deviceinfo"
|
|
install -D -m644 "$srcdir"/90-android-touch-dev.rules \
|
|
"$pkgdir"/etc/udev/rules.d/90-android-touch-dev.rules
|
|
install -D -m644 "$srcdir"/initfs-hook.sh \
|
|
"$pkgdir"/etc/postmarketos-mkinitfs/hooks/00-${pkgname}.sh
|
|
install -D -m644 "$srcdir"/bcmdhd.cal \
|
|
"$pkgdir"/etc/wifi/bcmdhd.cal
|
|
}
|
|
|
|
sha512sums="255a6f15a30f41e3db02be591cf41e62f7ac80c1b4dae6ecc174b4f81968a54ffeec8088ded5d44ce36d8a21b4013c79090bed6ed7e115b39ada20975649212b deviceinfo
|
|
e3472238341e5bdf7249a75e8f38019b145ea3e7a6137a49206945e6829fe8918c876a9caf2b0013357be9bff56d9f23c08900c80de4be93986246239e1b4fc7 90-android-touch-dev.rules
|
|
8590967fa10388a890fdfafdb1070b9ab22dc89e06a3a8834806c772191e3b67de7b914b0d68e5ddf581cee715cb90f3f24abcb8762c415ff328c6da23e55d52 initfs-hook.sh
|
|
61fe1f91d7b0b570b77fcca76503373cbac2515ca3dcc2f2543b910dfaeb1e935a11975f824f6a72001df4e63329356a6aff2d016e9b4f5d8f7b739fee065c4e bcmdhd.cal"
|