device-xiaomi-elish: enable display and gpu (MR 3138)
Signed-off-by: Jianhua Lu <lujianhua000@gmail.com> [ci:skip-build] Already built successfuly on CI in MR
This commit is contained in:
parent
a2d8eb9aa1
commit
3629ac421a
2 changed files with 18 additions and 4 deletions
|
@ -1,7 +1,7 @@
|
|||
# Reference: <https://postmarketos.org/devicepkg>
|
||||
pkgname=device-xiaomi-elish
|
||||
pkgdesc="Xiaomi Pad 5 Pro"
|
||||
pkgver=0.1
|
||||
pkgdesc="Xiaomi Mi Pad 5 Pro"
|
||||
pkgver=0.2
|
||||
pkgrel=0
|
||||
url="https://postmarketos.org"
|
||||
license="MIT"
|
||||
|
@ -16,6 +16,10 @@ depends="
|
|||
makedepends="devicepkg-dev"
|
||||
source="deviceinfo"
|
||||
|
||||
subpackages="
|
||||
$pkgname-nonfree-firmware:nonfree_firmware
|
||||
"
|
||||
|
||||
build() {
|
||||
devicepkg_build $startdir $pkgname
|
||||
}
|
||||
|
@ -24,6 +28,14 @@ package() {
|
|||
devicepkg_package $startdir $pkgname
|
||||
}
|
||||
|
||||
nonfree_firmware() {
|
||||
pkgdesc="Firmware for GPU, WiFi, etc."
|
||||
depends="
|
||||
firmware-xiaomi-elish-adreno
|
||||
"
|
||||
mkdir "$subpkgdir"
|
||||
}
|
||||
|
||||
sha512sums="
|
||||
dd5c0d3fe6f7ef4eb13d3b5bb1bc6f3cf308753392e2d4e3eed192f532309f671dd639f3bec63444c9ffb509ec7b9c6969baf2c9d5b97e8e8a4d534b4381b0e7 deviceinfo
|
||||
94d4e40d06a8d2e7f652e5db45057f67925f505e4c12091ee931820f5578f7c80ece22aa654cc33b3b7e849f902295a4bd2b002b465fa8350895298a764849fa deviceinfo
|
||||
"
|
||||
|
|
|
@ -10,6 +10,7 @@ deviceinfo_year="2021"
|
|||
deviceinfo_arch="aarch64"
|
||||
|
||||
# Device related
|
||||
deviceinfo_gpu_accelerated="true"
|
||||
deviceinfo_chassis="tablet"
|
||||
deviceinfo_keyboard="false"
|
||||
deviceinfo_external_storage="false"
|
||||
|
@ -18,11 +19,12 @@ deviceinfo_screen_height="2560"
|
|||
|
||||
# Kernel options
|
||||
deviceinfo_dtb="qcom/sm8250-xiaomi-elish"
|
||||
deviceinfo_modules_initfs="msm panel-novatek-nt36523 ktz8866"
|
||||
deviceinfo_append_dtb="true"
|
||||
|
||||
# Bootloader related
|
||||
deviceinfo_flash_method="fastboot"
|
||||
deviceinfo_kernel_cmdline="clk_ignore_unused pd_ignore_unused PMOS_NO_OUTPUT_REDIRECT"
|
||||
deviceinfo_kernel_cmdline="PMOS_NO_OUTPUT_REDIRECT"
|
||||
deviceinfo_generate_bootimg="true"
|
||||
deviceinfo_bootimg_qcdt="false"
|
||||
deviceinfo_bootimg_mtk_mkimage="false"
|
||||
|
|
Loading…
Reference in a new issue