xiaomi-elish: Add support for dynamic partition and wifi & venus (MR 3277)

[ci:skip-build] already built successfully in CI
This commit is contained in:
Jianhua Lu 2022-07-04 19:49:21 +08:00 committed by Dylan Van Assche
parent 0c80af7aa3
commit f27ec087f8
No known key found for this signature in database
GPG key ID: 8642571587897EA1
2 changed files with 9 additions and 4 deletions

View file

@ -1,7 +1,7 @@
# Reference: <https://postmarketos.org/devicepkg> # Reference: <https://postmarketos.org/devicepkg>
pkgname=device-xiaomi-elish pkgname=device-xiaomi-elish
pkgdesc="Xiaomi Mi Pad 5 Pro" pkgdesc="Xiaomi Mi Pad 5 Pro"
pkgver=0.2 pkgver=0.3
pkgrel=0 pkgrel=0
url="https://postmarketos.org" url="https://postmarketos.org"
license="MIT" license="MIT"
@ -9,6 +9,7 @@ arch="aarch64"
options="!check !archcheck" options="!check !archcheck"
depends=" depends="
linux-postmarketos-qcom-sm8250 linux-postmarketos-qcom-sm8250
make-dynpart-mappings
mesa-dri-gallium mesa-dri-gallium
mkbootimg mkbootimg
postmarketos-base postmarketos-base
@ -32,10 +33,12 @@ nonfree_firmware() {
pkgdesc="Firmware for GPU, WiFi, etc." pkgdesc="Firmware for GPU, WiFi, etc."
depends=" depends="
firmware-xiaomi-elish-adreno firmware-xiaomi-elish-adreno
firmware-xiaomi-elish-venus
linux-firmware-ath11k
" "
mkdir "$subpkgdir" mkdir "$subpkgdir"
} }
sha512sums=" sha512sums="
94d4e40d06a8d2e7f652e5db45057f67925f505e4c12091ee931820f5578f7c80ece22aa654cc33b3b7e849f902295a4bd2b002b465fa8350895298a764849fa deviceinfo 6d8d5611237cf282d8099a128a8fae2d6dcb149126a6774747e3008a5da92c67600bce7353fd9216c91f916cf06b89649fad151509171cf20fce4e195aa49d7c deviceinfo
" "

View file

@ -3,7 +3,7 @@
# scripts. # scripts.
deviceinfo_format_version="0" deviceinfo_format_version="0"
deviceinfo_name="Xiaomi Pad 5 Pro" deviceinfo_name="Xiaomi Mi Pad 5 Pro"
deviceinfo_manufacturer="Xiaomi" deviceinfo_manufacturer="Xiaomi"
deviceinfo_codename="xiaomi-elish" deviceinfo_codename="xiaomi-elish"
deviceinfo_year="2021" deviceinfo_year="2021"
@ -36,7 +36,9 @@ deviceinfo_flash_offset_second="0x00f00000"
deviceinfo_flash_offset_tags="0x00000100" deviceinfo_flash_offset_tags="0x00000100"
deviceinfo_flash_pagesize="4096" deviceinfo_flash_pagesize="4096"
deviceinfo_flash_sparse="true" deviceinfo_flash_sparse="true"
deviceinfo_flash_pagesize="4096"
# Required for devices using UFS as storage (instead of e.g. eMMC) # Required for devices using UFS as storage (instead of e.g. eMMC)
deviceinfo_rootfs_image_sector_size="4096" deviceinfo_rootfs_image_sector_size="4096"
# Support super partition flashing
deviceinfo_super_partitions="/dev/sda29 /dev/sda29"