2022-05-16 19:27:33 +00:00
|
|
|
pkgname=firmware-xiaomi-elish
|
2022-08-21 05:37:06 +00:00
|
|
|
pkgver=20220808
|
2022-05-16 19:27:33 +00:00
|
|
|
pkgrel=0
|
|
|
|
pkgdesc="Firmware for Xiaomi Mi Pad 5 Pro"
|
|
|
|
subpackages="
|
|
|
|
$pkgname-adreno
|
2022-08-21 05:37:06 +00:00
|
|
|
$pkgname-touchscreen
|
2022-06-12 14:55:13 +00:00
|
|
|
$pkgname-venus
|
2022-05-16 19:27:33 +00:00
|
|
|
"
|
|
|
|
url="https://github.com/lujianhua/xiaomi-elish-firmware"
|
|
|
|
arch="aarch64"
|
|
|
|
license="proprietary"
|
|
|
|
options="!check !strip !archcheck !tracedeps pmb:cross-native"
|
2022-08-21 05:37:06 +00:00
|
|
|
_commit="cc6099f43db44f70565a419fa4ce5dd8d6d9ec9d"
|
2022-05-16 19:27:33 +00:00
|
|
|
source="https://github.com/lujianhua/xiaomi-elish-firmware/archive/$_commit/xiaomi-elish-firmware-$_commit.tar.gz"
|
|
|
|
builddir="$srcdir/xiaomi-elish-firmware-$_commit"
|
|
|
|
|
|
|
|
package() {
|
|
|
|
# parent package is empty
|
|
|
|
mkdir -p "$pkgdir"
|
|
|
|
}
|
|
|
|
|
|
|
|
# Xiaomi elish boots with secure boot, it can only load signed firmwares.
|
|
|
|
adreno() {
|
|
|
|
pkgdesc="Xiaomi elish adreno firmware"
|
2022-06-12 14:55:13 +00:00
|
|
|
depends="firmware-qcom-adreno-a650"
|
2022-05-16 19:27:33 +00:00
|
|
|
|
|
|
|
install -Dm644 "$builddir"/sm8250/a650_zap.mbn -t \
|
|
|
|
"$subpkgdir/lib/firmware/qcom/sm8250/elish/"
|
|
|
|
}
|
|
|
|
|
2022-08-21 05:37:06 +00:00
|
|
|
touchscreen() {
|
|
|
|
pkgdesc="Xiaomi elish touchscreen firmware"
|
|
|
|
|
|
|
|
install -Dm644 "$builddir"/novatek/nt36523.bin -t \
|
|
|
|
"$subpkgdir/lib/firmware/novatek/"
|
|
|
|
}
|
|
|
|
|
2022-06-12 14:55:13 +00:00
|
|
|
venus() {
|
|
|
|
pkgdesc="Xiaomi elish venus firmware"
|
|
|
|
|
|
|
|
install -Dm644 "$builddir"/sm8250/venus.mbn -t \
|
|
|
|
"$subpkgdir/lib/firmware/qcom/sm8250/elish/"
|
|
|
|
}
|
|
|
|
|
2022-05-16 19:27:33 +00:00
|
|
|
sha512sums="
|
2022-08-21 05:37:06 +00:00
|
|
|
a89d7478fc6c8c6a52f3f09ce33b2e8a4964113b2fdaadfd48e31aba1852d3d716e99eb34ec85c155e7a1d0e20ec7bb7cbe553a94b6371721db078d53194738d xiaomi-elish-firmware-cc6099f43db44f70565a419fa4ce5dd8d6d9ec9d.tar.gz
|
2022-05-16 19:27:33 +00:00
|
|
|
"
|