device-xiaomi-gemini: fix deviceinfo (MR 2517)

This fixes some parameters needed for Xiaomi Mi 5 to boot on newer kernels, and adds some extra flags for GPU acceleration and USB labels.

Signed-off-by: Raffaele Tranquillini <raffaele.tranquillini@gmail.com>

[ci:skip-build]
This commit is contained in:
Raffaele Tranquillini 2021-09-14 09:43:04 +02:00 committed by Bart Ribbers
parent ca26a71e5a
commit 5b8cf79134
No known key found for this signature in database
GPG key ID: 0BF4C1B5988C50D8
2 changed files with 8 additions and 3 deletions

View file

@ -4,7 +4,7 @@
pkgname=device-xiaomi-gemini pkgname=device-xiaomi-gemini
pkgdesc="Xiaomi Mi 5" pkgdesc="Xiaomi Mi 5"
pkgver=1 pkgver=1
pkgrel=0 pkgrel=1
url="https://postmarketos.org" url="https://postmarketos.org"
license="MIT" license="MIT"
arch="aarch64" arch="aarch64"
@ -55,7 +55,7 @@ phosh() {
sha512sums=" sha512sums="
dc47aa32e6a77f55ed174721e99f591488e71e3e17cb8b592c2d973cb5788c6add44efe04b8bc984d677008a38af69ed238a91ed9cad1e830d0fc4ecfe3b24d0 deviceinfo ad299d1e1fbdc638347f9acb74a5cbddd87158d7468df093790f02600d65f5d053fec62524a685a37ad69cbf075ecefc3e926a027bd7708b374354163386faa8 deviceinfo
e9ee9c1404b41ba15eafff3f728ff6e0e78dc17e9a88483fca92db1aa3efe0e4d5bf26142e533c4ff12b1bf8ce04ccabb7ca0f93aaea586d5b30910282aad237 pointercal e9ee9c1404b41ba15eafff3f728ff6e0e78dc17e9a88483fca92db1aa3efe0e4d5bf26142e533c4ff12b1bf8ce04ccabb7ca0f93aaea586d5b30910282aad237 pointercal
035f97e328ff9f976b082e66b97f76036cdee9825f3022471c7c5d371291cc4b5bd5c18196cd49f4cd9ad6390abe691b506de3b221e3c122433d5620e3b3c4c9 rootston.ini 035f97e328ff9f976b082e66b97f76036cdee9825f3022471c7c5d371291cc4b5bd5c18196cd49f4cd9ad6390abe691b506de3b221e3c122433d5620e3b3c4c9 rootston.ini
" "

View file

@ -8,7 +8,7 @@ deviceinfo_codename="xiaomi-gemini"
deviceinfo_year="2016" deviceinfo_year="2016"
deviceinfo_dtb="qcom/msm8996-xiaomi-gemini" deviceinfo_dtb="qcom/msm8996-xiaomi-gemini"
deviceinfo_append_dtb="true" deviceinfo_append_dtb="true"
deviceinfo_modules_initfs="qcom_fg" deviceinfo_modules_initfs="qcom_fg drm msm panel_jdi_fhd_r63452"
deviceinfo_arch="aarch64" deviceinfo_arch="aarch64"
# Device related # Device related
@ -18,6 +18,7 @@ deviceinfo_external_storage="false"
deviceinfo_screen_width="1080" deviceinfo_screen_width="1080"
deviceinfo_screen_height="1920" deviceinfo_screen_height="1920"
deviceinfo_rootfs_image_sector_size="4096" deviceinfo_rootfs_image_sector_size="4096"
deviceinfo_gpu_accelerated="true"
# Bootloader related # Bootloader related
deviceinfo_flash_method="fastboot" deviceinfo_flash_method="fastboot"
@ -32,3 +33,7 @@ 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"
# USB keys
deviceinfo_usb_idVendor="0x2717" # Xiaomi
deviceinfo_usb_idProduct="0xFF68" # MI 5