35 lines
1.1 KiB
Text
35 lines
1.1 KiB
Text
|
pkgname=firmware-xiaomi-elish
|
||
|
pkgver=20220516
|
||
|
pkgrel=0
|
||
|
pkgdesc="Firmware for Xiaomi Mi Pad 5 Pro"
|
||
|
subpackages="
|
||
|
$pkgname-adreno
|
||
|
"
|
||
|
url="https://github.com/lujianhua/xiaomi-elish-firmware"
|
||
|
arch="aarch64"
|
||
|
license="proprietary"
|
||
|
options="!check !strip !archcheck !tracedeps pmb:cross-native"
|
||
|
_commit="aac9810065fcd633a6a136e51e0a7f6fe5384eed"
|
||
|
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"
|
||
|
|
||
|
install -Dm644 "$builddir"/a6* -t \
|
||
|
"$subpkgdir/lib/firmware/qcom/"
|
||
|
|
||
|
install -Dm644 "$builddir"/sm8250/a650_zap.mbn -t \
|
||
|
"$subpkgdir/lib/firmware/qcom/sm8250/elish/"
|
||
|
}
|
||
|
|
||
|
sha512sums="
|
||
|
dfc96128b0eab7f9bc7e68dd1203c27b225b61ad8009c7a42545bd1371c2902ec3e71e2360ae27ff028e35740ef28f0c140664da6fdcf5778b4968dd68184c46 xiaomi-elish-firmware-aac9810065fcd633a6a136e51e0a7f6fe5384eed.tar.gz
|
||
|
"
|