5b8cf79134
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]
39 lines
No EOL
1.3 KiB
Text
39 lines
No EOL
1.3 KiB
Text
# Reference: <https://postmarketos.org/deviceinfo>
|
|
# Please use double quotes only. You can source this file in shell scripts.
|
|
|
|
deviceinfo_format_version="0"
|
|
deviceinfo_name="Xiaomi Mi 5"
|
|
deviceinfo_manufacturer="Xiaomi"
|
|
deviceinfo_codename="xiaomi-gemini"
|
|
deviceinfo_year="2016"
|
|
deviceinfo_dtb="qcom/msm8996-xiaomi-gemini"
|
|
deviceinfo_append_dtb="true"
|
|
deviceinfo_modules_initfs="qcom_fg drm msm panel_jdi_fhd_r63452"
|
|
deviceinfo_arch="aarch64"
|
|
|
|
# Device related
|
|
deviceinfo_chassis="handset"
|
|
deviceinfo_keyboard="false"
|
|
deviceinfo_external_storage="false"
|
|
deviceinfo_screen_width="1080"
|
|
deviceinfo_screen_height="1920"
|
|
deviceinfo_rootfs_image_sector_size="4096"
|
|
deviceinfo_gpu_accelerated="true"
|
|
|
|
# Bootloader related
|
|
deviceinfo_flash_method="fastboot"
|
|
deviceinfo_kernel_cmdline="PMOS_NO_OUTPUT_REDIRECT"
|
|
deviceinfo_generate_bootimg="true"
|
|
deviceinfo_bootimg_qcdt="false"
|
|
deviceinfo_bootimg_dtb_second="false"
|
|
deviceinfo_flash_offset_base="0x80000000"
|
|
deviceinfo_flash_offset_kernel="0x00008000"
|
|
deviceinfo_flash_offset_ramdisk="0x01000000"
|
|
deviceinfo_flash_offset_second="0x00f00000"
|
|
deviceinfo_flash_offset_tags="0x00000100"
|
|
deviceinfo_flash_pagesize="4096"
|
|
deviceinfo_flash_sparse="true"
|
|
|
|
# USB keys
|
|
deviceinfo_usb_idVendor="0x2717" # Xiaomi
|
|
deviceinfo_usb_idProduct="0xFF68" # MI 5 |