This migrates all device package to the new system, which is documented here: https://docs.postmarketos.org/pmaports/main/kernel-cmdline.html. It also replaces old initramfs params (PMOS_NOSPLASH and PMOS_FORCE_PARTITION_RESIZE) from the cmdlines with their modern equivalents, so we can finally get rid of those. Signed-off-by: default avatarClayton Craft <craftyguy@postmarketos.org> [ci:skip-build]: already built successfully in CI Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7830>
42 lines
1.2 KiB
Text
42 lines
1.2 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="OnePlus 5T"
|
|
deviceinfo_manufacturer="OnePlus"
|
|
deviceinfo_codename="oneplus-dumpling"
|
|
deviceinfo_year="2017"
|
|
deviceinfo_arch="aarch64"
|
|
|
|
# Device related
|
|
deviceinfo_drm="true"
|
|
deviceinfo_chassis="handset"
|
|
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_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"
|
|
|
|
# Common mainline kernel options
|
|
deviceinfo_flash_kernel_on_update="true"
|
|
deviceinfo_dtb="qcom/msm8998-oneplus-dumpling"
|
|
deviceinfo_append_dtb="true"
|
|
|
|
# Close to mainline kernel options
|
|
# We need 'clk_ignore_unused' for now or we don't get graphics
|
|
|
|
# Alpine kernel options
|
|
|