6eeab7840c
This is needed with the 5.11 kernel. Also adjust the vram & cma sizes for all msm8974 devices. The CMA size is 256MB as set in the kernel config. VRAM is default 16MB although it is set to 192MB with a kernel patch; but set it manually for all devices to make it possible to remove this patch in the future - until we have IOMMU working.
40 lines
1.7 KiB
Text
40 lines
1.7 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="Samsung Galaxy S5"
|
|
deviceinfo_manufacturer="Samsung"
|
|
deviceinfo_codename="samsung-klte"
|
|
deviceinfo_year="2014"
|
|
deviceinfo_dtb_mainline="qcom-msm8974-samsung-klte"
|
|
deviceinfo_append_dtb_mainline="true"
|
|
deviceinfo_modules_initfs_mainline="pm8941_pwrkey rmi_i2c"
|
|
deviceinfo_arch="armv7"
|
|
|
|
# Device related
|
|
deviceinfo_chassis="handset"
|
|
deviceinfo_keyboard="false"
|
|
deviceinfo_external_storage="true"
|
|
deviceinfo_screen_width="1080"
|
|
deviceinfo_screen_height="1920"
|
|
deviceinfo_getty_mainline="ttyMSM0;115200"
|
|
|
|
# Bootloader related
|
|
deviceinfo_flash_method="heimdall-bootimg"
|
|
deviceinfo_kernel_cmdline_downstream="console=ttyHSL0 androidboot.hardware=qcom user_debug=31 msm_rtb.filter=0x37 ehci-hcd.park=3 zcache.enabled=1 zcache.compressor=lz4 androidboot.bootdevice=msm_sdcc.1 audit=0 selinux=0 androidboot.selinux=disabled"
|
|
deviceinfo_kernel_cmdline_mainline="console=ttyMSM0,115200,n8 PMOS_NO_OUTPUT_REDIRECT msm.vram=192m msm.allow_vram_carveout=1"
|
|
deviceinfo_generate_bootimg="true"
|
|
deviceinfo_bootimg_qcdt_downstream="true"
|
|
deviceinfo_bootimg_qcdt_mainline="false"
|
|
deviceinfo_bootimg_append_seandroidenforce="true"
|
|
deviceinfo_flash_offset_base="0x00000000"
|
|
deviceinfo_flash_offset_kernel="0x00008000"
|
|
deviceinfo_flash_offset_ramdisk="0x02000000"
|
|
deviceinfo_flash_offset_second="0x00f00000"
|
|
deviceinfo_flash_offset_tags="0x01e00000"
|
|
deviceinfo_flash_pagesize="2048"
|
|
deviceinfo_flash_heimdall_partition_kernel="BOOT"
|
|
|
|
# USB related
|
|
deviceinfo_usb_idVendor="0x04e8" # Samsung Electronics Co., Ltd
|
|
deviceinfo_usb_idProduct="0x6860" # Galaxy (MTP)
|