c18d2da154
Remove mainline postfix in initramfs module list,
because sagit has only 1 kernel for now.
Blacklisting ipa module fixes poweroff.
See 68cdc1ea2b
commit for more info.
[ci:skip-build]: already built successfully in CI
42 lines
1.4 KiB
Text
42 lines
1.4 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 6"
|
|
deviceinfo_manufacturer="Xiaomi"
|
|
deviceinfo_codename="xiaomi-sagit"
|
|
deviceinfo_year="2017"
|
|
deviceinfo_arch="aarch64"
|
|
|
|
# Device related
|
|
deviceinfo_gpu_accelerated="true"
|
|
deviceinfo_chassis="handset"
|
|
deviceinfo_keyboard="false"
|
|
deviceinfo_external_storage="false"
|
|
deviceinfo_screen_width="1080"
|
|
deviceinfo_screen_height="1920"
|
|
|
|
# Bootloader related
|
|
deviceinfo_flash_method="fastboot"
|
|
deviceinfo_kernel_cmdline="clk_ignore_unused console=tty1 modprobe.blacklist=ipa"
|
|
deviceinfo_generate_bootimg="true"
|
|
deviceinfo_bootimg_qcdt="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"
|
|
# Kernel options
|
|
deviceinfo_dtb="qcom/msm8998-xiaomi-sagit"
|
|
deviceinfo_append_dtb="true"
|
|
deviceinfo_flash_kernel_on_update="true"
|
|
|
|
# Initramfs
|
|
deviceinfo_modules_initfs="panel-jdi-fhd-r63452 msm i2c-qup rmi_i2c qcom_spmi_fg qcom_spmi_haptics"
|
|
deviceinfo_mesa_driver="msm"
|
|
|
|
# Required for devices using UFS as storage (instead of e.g. eMMC)
|
|
deviceinfo_rootfs_image_sector_size="4096"
|