pmaports/device/testing/device-volla-mimameid/deviceinfo
Jami Kettunen 9e4a82a503
volla-mimameid: add support for close to mainline kernel (MR 3652)
[ci:skip-build] already built successfully in CI
2022-12-12 16:18:13 -08:00

46 lines
1.6 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="Volla Phone 22"
deviceinfo_manufacturer="Volla"
deviceinfo_codename="volla-mimameid"
deviceinfo_year="2022"
deviceinfo_arch="aarch64"
# Device related
deviceinfo_chassis="handset"
deviceinfo_keyboard="false"
deviceinfo_external_storage="true"
deviceinfo_screen_width="1080"
deviceinfo_screen_height="2340"
# Bootloader related
deviceinfo_flash_method="fastboot"
deviceinfo_generate_bootimg="true"
deviceinfo_bootimg_qcdt="false"
deviceinfo_bootimg_mtk_mkimage="false"
deviceinfo_bootimg_dtb_second="false"
deviceinfo_flash_pagesize="2048"
deviceinfo_flash_sparse="true"
deviceinfo_flash_fastboot_partition_system="super"
deviceinfo_header_version="2"
deviceinfo_append_dtb="false"
deviceinfo_flash_offset_dtb="0x0bc08000"
deviceinfo_flash_offset_base="0x40078000"
deviceinfo_flash_offset_kernel="0x00008000"
deviceinfo_flash_offset_ramdisk="0x07c08000"
deviceinfo_flash_offset_second="0x00e10000"
deviceinfo_flash_offset_tags="0x0bc08000"
# Downstream kernel related
deviceinfo_dtb_downstream="mediatek/mt6768"
deviceinfo_kernel_cmdline_downstream="bootopt=64S3,32N2,64N2"
# Mainline kernel related
deviceinfo_dtb_mainline="mediatek/mt6769z-volla-mimameid"
deviceinfo_kernel_cmdline_mainline="bootopt=64S3,32N2,64N2 PMOS_NO_OUTPUT_REDIRECT"
deviceinfo_flash_fastboot_partition_dtbo_mainline="dtbo"
# NOTE: Flashing kernel on upgrades unsupported due to "dd: error writing
# '/dev/disk/by-partlabel/boot_a': Operation not permitted"
# (the current slot's boot partition appears to be write-protected :/)