pmaports/device/testing/device-sony-castor/deviceinfo
Luca Weiss 6eeab7840c
msm8974 devices: allow vram carveout (MR 2015)
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.
2021-03-28 03:52:43 +03:00

25 lines
939 B
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="Sony Xperia Z2 Tablet"
deviceinfo_manufacturer="Sony"
deviceinfo_codename="sony-castor"
deviceinfo_year="2014"
deviceinfo_chassis="tablet"
deviceinfo_keyboard="false"
deviceinfo_dtb="qcom-msm8974-sony-xperia-castor"
deviceinfo_append_dtb="true"
deviceinfo_modules_initfs="pm8941_pwrkey rmi_i2c"
deviceinfo_external_storage="true"
deviceinfo_flash_method="fastboot"
deviceinfo_arch="armv7"
# Fastboot related
deviceinfo_generate_bootimg="true"
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_kernel_cmdline="clk_ignore_unused console=ttyMSM0,115200,n8 msm.vram=192m msm.allow_vram_carveout=1"