2022-05-16 19:27:33 +00:00
|
|
|
pkgname=firmware-xiaomi-elish
|
2022-06-12 14:55:13 +00:00
|
|
|
pkgver=20220612
|
2022-05-16 19:27:33 +00:00
|
|
|
pkgrel=0
|
|
|
|
pkgdesc="Firmware for Xiaomi Mi Pad 5 Pro"
|
|
|
|
subpackages="
|
|
|
|
$pkgname-adreno
|
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-06-12 14:55:13 +00:00
|
|
|
_commit="d14ee69eaeb8955b20c8311c746cc0d088009279"
|
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-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-06-12 14:55:13 +00:00
|
|
|
0eb1bb9e60a30c480b72fac3cef6b9f366e611a5b5b184aa9549866aa47aa61ffb31dc4b5fbf900ce084636a81023dcc8331dae833717124e7f0f1cd20845c14 xiaomi-elish-firmware-d14ee69eaeb8955b20c8311c746cc0d088009279.tar.gz
|
2022-05-16 19:27:33 +00:00
|
|
|
"
|