# Reference: <https://postmarketos.org/deviceinfo>
# Please use double quotes only. You can source this file in shell
# scripts.

deviceinfo_format_version="0"
deviceinfo_manufacturer="Lenovo"
deviceinfo_name="Tab P11 (NT36523W panel)"
deviceinfo_codename="lenovo-j606f-nt36523w"
deviceinfo_year="2020"
deviceinfo_dtb="qcom/sm6115p-lenovo-j606f-nt36523w"
deviceinfo_arch="aarch64"

# Device related
deviceinfo_chassis="tablet"
deviceinfo_external_storage="true"
deviceinfo_screen_width="1200"
deviceinfo_screen_height="2000"
deviceinfo_getty="ttyGS0;115200"

# Bootloader related
deviceinfo_flash_method="fastboot"
deviceinfo_generate_bootimg="true"
deviceinfo_header_version="2"
deviceinfo_bootimg_qcdt="false"
deviceinfo_append_dtb="false"
deviceinfo_rootfs_image_sector_size="4096"
deviceinfo_flash_pagesize="4096"
deviceinfo_flash_sparse="true"
# rootfs lives in userdata (~100 GiB); super must not carry a pmOS GPT, the initramfs
# probes partitions in /proc/diskstats order and would pick super (sda14) first
deviceinfo_flash_fastboot_partition_rootfs="userdata"
# boot-deploy writes boot.img to boot+<slot suffix from androidboot.slot_suffix> (boot_b) after every
# kernel/initramfs update, so `apk upgrade` + reboot is enough. A broken kernel or a power cut during the
# write leaves boot_b unbootable: recover with `fastboot flash boot_b <known good boot.img>`.
deviceinfo_flash_kernel_on_update="true"
# Values from the stock boot.img (TB-J606F_S120184_210520_ROW), see notes/boot.md
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_offset_dtb="0x01f00000"
deviceinfo_kernel_cmdline="console=tty0 fbcon=rotate:2 clk_ignore_unused pd_ignore_unused"
