This adds Xiaomi Pad 5, it uses a close to mainline kernel on 6.12.0 the firmware is packaged and supported, although hexagonrpcd is not working yet. this is a continuation from https://github.com/map220v/postmarket_xiaomi_nabu/tree/test updating its config and updating its components. i based the hexagonrpcd bringup from xiaomi-elish and google-sargo [ci:skip-build]: already built successfully in CI
43 lines
1.4 KiB
Plaintext
43 lines
1.4 KiB
Plaintext
# 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 Pad 5"
|
|
deviceinfo_manufacturer="Xiaomi"
|
|
deviceinfo_codename="xiaomi-nabu"
|
|
deviceinfo_year="2021"
|
|
deviceinfo_dtb="qcom/sm8150-xiaomi-nabu"
|
|
deviceinfo_append_dtb="true"
|
|
deviceinfo_arch="aarch64"
|
|
deviceinfo_flash_kernel_on_update="true"
|
|
|
|
# Device related
|
|
deviceinfo_chassis="tablet"
|
|
deviceinfo_keyboard="false"
|
|
deviceinfo_external_storage="false"
|
|
deviceinfo_screen_width="1600"
|
|
deviceinfo_screen_height="2560"
|
|
deviceinfo_gpu_accelerated="true"
|
|
|
|
# Bootloader related
|
|
deviceinfo_flash_method="fastboot"
|
|
deviceinfo_kernel_cmdline="pd_ignore_unused,clk_ignore_unused,console=ttyMSM0,115200"
|
|
deviceinfo_generate_bootimg="true"
|
|
deviceinfo_bootimg_qcdt="false"
|
|
deviceinfo_bootimg_mtk_mkimage="false"
|
|
deviceinfo_bootimg_dtb_second="false"
|
|
deviceinfo_flash_offset_base="0x00000000"
|
|
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"
|
|
|
|
# Required for devices using UFS as storage (instead of e.g. eMMC)
|
|
deviceinfo_rootfs_image_sector_size="4096"
|
|
|
|
# Support super partition flashing
|
|
deviceinfo_super_partitions="/dev/sda23 /dev/sda23"
|