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:
Jianhua Lu 2022-05-17 03:24:38 +08:00 committed by Newbyte
parent a2d8eb9aa1
commit 3629ac421a
No known key found for this signature in database
GPG key ID: 5873C171C9429CFA
2 changed files with 18 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 Pad 5 Pro" pkgdesc="Xiaomi Mi Pad 5 Pro"
pkgver=0.1 pkgver=0.2
pkgrel=0 pkgrel=0
url="https://postmarketos.org" url="https://postmarketos.org"
license="MIT" license="MIT"
@ -16,6 +16,10 @@ depends="
makedepends="devicepkg-dev" makedepends="devicepkg-dev"
source="deviceinfo" source="deviceinfo"
subpackages="
$pkgname-nonfree-firmware:nonfree_firmware
"
build() { build() {
devicepkg_build $startdir $pkgname devicepkg_build $startdir $pkgname
} }
@ -24,6 +28,14 @@ package() {
devicepkg_package $startdir $pkgname devicepkg_package $startdir $pkgname
} }
nonfree_firmware() {
pkgdesc="Firmware for GPU, WiFi, etc."
depends="
firmware-xiaomi-elish-adreno
"
mkdir "$subpkgdir"
}
sha512sums=" sha512sums="
dd5c0d3fe6f7ef4eb13d3b5bb1bc6f3cf308753392e2d4e3eed192f532309f671dd639f3bec63444c9ffb509ec7b9c6969baf2c9d5b97e8e8a4d534b4381b0e7 deviceinfo 94d4e40d06a8d2e7f652e5db45057f67925f505e4c12091ee931820f5578f7c80ece22aa654cc33b3b7e849f902295a4bd2b002b465fa8350895298a764849fa deviceinfo
" "

View file

@ -10,6 +10,7 @@ deviceinfo_year="2021"
deviceinfo_arch="aarch64" deviceinfo_arch="aarch64"
# Device related # Device related
deviceinfo_gpu_accelerated="true"
deviceinfo_chassis="tablet" deviceinfo_chassis="tablet"
deviceinfo_keyboard="false" deviceinfo_keyboard="false"
deviceinfo_external_storage="false" deviceinfo_external_storage="false"
@ -18,11 +19,12 @@ deviceinfo_screen_height="2560"
# Kernel options # Kernel options
deviceinfo_dtb="qcom/sm8250-xiaomi-elish" deviceinfo_dtb="qcom/sm8250-xiaomi-elish"
deviceinfo_modules_initfs="msm panel-novatek-nt36523 ktz8866"
deviceinfo_append_dtb="true" deviceinfo_append_dtb="true"
# Bootloader related # Bootloader related
deviceinfo_flash_method="fastboot" 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_generate_bootimg="true"
deviceinfo_bootimg_qcdt="false" deviceinfo_bootimg_qcdt="false"
deviceinfo_bootimg_mtk_mkimage="false" deviceinfo_bootimg_mtk_mkimage="false"