2020-03-28 10:18:01 +00:00
|
|
|
# Reference: <https://postmarketos.org/deviceinfo>
|
|
|
|
# Please use double quotes only. You can source this file in shell scripts.
|
|
|
|
|
|
|
|
deviceinfo_format_version="0"
|
|
|
|
deviceinfo_name="OnePlus 5T"
|
|
|
|
deviceinfo_manufacturer="OnePlus"
|
|
|
|
deviceinfo_codename="oneplus-dumpling"
|
|
|
|
deviceinfo_year="2017"
|
|
|
|
deviceinfo_arch="aarch64"
|
|
|
|
|
|
|
|
# Device related
|
2021-10-02 13:32:29 +00:00
|
|
|
deviceinfo_gpu_accelerated="true"
|
2020-05-17 13:33:49 +00:00
|
|
|
deviceinfo_chassis="handset"
|
2020-03-28 10:18:01 +00:00
|
|
|
deviceinfo_keyboard="false"
|
|
|
|
deviceinfo_external_storage="false"
|
|
|
|
deviceinfo_screen_width="1080"
|
|
|
|
deviceinfo_screen_height="2160"
|
|
|
|
|
|
|
|
# Bootloader related
|
|
|
|
deviceinfo_flash_method="fastboot"
|
|
|
|
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"
|
|
|
|
|
2022-08-02 20:22:29 +00:00
|
|
|
# Required for devices using UFS as storage (instead of e.g. eMMC)
|
|
|
|
deviceinfo_rootfs_image_sector_size="4096"
|
2021-10-02 13:32:29 +00:00
|
|
|
|
2022-08-02 20:12:59 +00:00
|
|
|
# Common mainline kernel options
|
2021-10-02 13:32:29 +00:00
|
|
|
deviceinfo_flash_kernel_on_update="true"
|
2022-08-02 20:12:59 +00:00
|
|
|
deviceinfo_dtb="qcom/msm8998-oneplus-dumpling"
|
|
|
|
deviceinfo_append_dtb="true"
|
2021-10-02 13:32:29 +00:00
|
|
|
|
2022-08-02 20:12:59 +00:00
|
|
|
# Close to mainline kernel options
|
|
|
|
# We need 'clk_ignore_unused' for now or we don't get graphics
|
|
|
|
deviceinfo_kernel_cmdline_mainline="clk_ignore_unused quiet loglevel=5"
|
2021-10-02 13:32:29 +00:00
|
|
|
deviceinfo_modules_initfs_mainline="panel-samsung-s6e3fc1 msm i2c-qup rmi_i2c qcom_fg qcom_spmi_haptics"
|
2022-08-02 20:12:59 +00:00
|
|
|
deviceinfo_mesa_driver_mainline="msm"
|
|
|
|
|
|
|
|
# Alpine kernel options
|
|
|
|
deviceinfo_kernel_cmdline_alpine="PMOS_NO_OUTPUT_REDIRECT"
|
2022-10-09 13:39:25 +00:00
|
|
|
# TODO: minimize (remove item -> check if module stays in initramfs)
|
2022-08-02 20:12:59 +00:00
|
|
|
deviceinfo_modules_initfs_alpine="fixed qcom_glink_rpm smd-rpm qcom_smd-regulator qcom-apcs-ipc-mailbox clk-qcom gcc-msm8998 phy-qcom-qmp phy-qcom-qusb2 configfs libcomposite udc-core dwc3 dwc3-qcom af_packet nvmem_qfprom spmi qcom-spmi-pmic qcom-pon governor_simpleondemand clk-smd-rpm ufs_qcom evdev i2c-qup bam_dma rmi_i2c"
|