firmware-xiaomi-kenzo: fix slow boot caused by venus firmware (MR 4699)

Package venus firmware to fix:
"subsys-pil-tz 1de0000.qcom,venus: venus: Failed to locate venus-v1.mdt"
causing 30 seconds delay on boot.
This commit is contained in:
mulingLHY 2024-01-11 02:31:21 +00:00 committed by Alexey Min
parent 942664fd0b
commit 9147366ec8
No known key found for this signature in database
GPG key ID: 0B19D2A65870B448

View file

@ -1,7 +1,7 @@
pkgname=firmware-xiaomi-kenzo pkgname=firmware-xiaomi-kenzo
pkgver=1 pkgver=1
pkgrel=2 pkgrel=3
_commit="a95bb1dcd92fb301d8e4401679f6c19d93f5875c" _commit="1f5bc36bab97586358feab5952be859195760688"
pkgdesc="Firmware files for Xiaomi Redmi Note 3" pkgdesc="Firmware files for Xiaomi Redmi Note 3"
url="https://postmarketos.org" url="https://postmarketos.org"
arch="aarch64" arch="aarch64"
@ -13,6 +13,7 @@ builddir="$srcdir/vendor_xiaomi_kenzo-$_commit"
_files="wcnss.b00 wcnss.b01 wcnss.b02 wcnss.b04 wcnss.b06 _files="wcnss.b00 wcnss.b01 wcnss.b02 wcnss.b04 wcnss.b06
wcnss.b09 wcnss.b10 wcnss.b11 wcnss.b12 wcnss.mdt" wcnss.b09 wcnss.b10 wcnss.b11 wcnss.b12 wcnss.mdt"
_files_venus="venus-v1.b00 venus-v1.b01 venus-v1.b02 venus-v1.b03 venus-v1.b04 venus-v1.mbn venus-v1.mdt"
_files_prima="WCNSS_wlan_dictionary.dat WCNSS_qcom_cfg.ini WCNSS_qcom_wlan_nv.bin WCNSS_cfg.dat" _files_prima="WCNSS_wlan_dictionary.dat WCNSS_qcom_cfg.ini WCNSS_qcom_wlan_nv.bin WCNSS_cfg.dat"
package() { package() {
@ -21,6 +22,10 @@ package() {
install -D -m644 "$_i" \ install -D -m644 "$_i" \
"$pkgdir"/lib/firmware/postmarketos/"$_i" "$pkgdir"/lib/firmware/postmarketos/"$_i"
done done
for _i in $_files_venus; do
install -D -m644 "$_i" \
"$pkgdir"/lib/firmware/postmarketos/"$_i"
done
# /lib/firmware/postmarketos/wlan/prima # /lib/firmware/postmarketos/wlan/prima
for _i in $_files_prima; do for _i in $_files_prima; do
@ -29,4 +34,6 @@ package() {
done done
} }
sha512sums="804a69851e13d7ebcc90782b6bf246150327ad4282d67195bb7018bbeae93670e4896a336dadf3bd992110517afd2116df165a132545a0f62072bb6261a7588d firmware-xiaomi-kenzo-a95bb1dcd92fb301d8e4401679f6c19d93f5875c.tar.gz" sha512sums="
47b0a8d34ea7db56ffe8c1f81f947568e743c143d3e51937d3cfa711994cae3774cbfaef6ad6ed68b48b8ebc437d817a0b476b469dad1e5061333482119b84c6 firmware-xiaomi-kenzo-1f5bc36bab97586358feab5952be859195760688.tar.gz
"