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

deviceinfo_format_version="0"
deviceinfo_name="Lenovo Yoga Tab 3 10 LTE/WiFi"
deviceinfo_manufacturer="Lenovo"
deviceinfo_codename="lenovo-lxf-p5100"
deviceinfo_year="2016"
deviceinfo_dtb="qcom-msm8909-lenovo-lxf-p5100"
deviceinfo_append_dtb="true"
deviceinfo_arch="armv7"

# Device related
deviceinfo_chassis="tablet"
deviceinfo_keyboard="false"
deviceinfo_external_storage="true"
deviceinfo_screen_width="800"
deviceinfo_screen_height="1280"
deviceinfo_getty="ttyMSM0;115200"

# Bootloader related
deviceinfo_flash_method="fastboot"
deviceinfo_kernel_cmdline="earlycon console=ttyMSM0,115200"
deviceinfo_generate_bootimg="true"
deviceinfo_generate_extlinux_config="true"
deviceinfo_flash_offset_base="0x80000000"
deviceinfo_flash_offset_kernel="0x00008000"
deviceinfo_flash_offset_ramdisk="0x01000000"
deviceinfo_flash_offset_second="0x00f00000"
deviceinfo_flash_offset_tags="0x01e00000"
deviceinfo_flash_pagesize="2048"
deviceinfo_flash_sparse="true"

# lk2nd does not support GPT for subpartitions/SD cards yet
deviceinfo_partition_type="msdos"

# Ask lk2nd to pass buffer to the kernel
# (the kernel cant setup its own buffer due to lack of driver) 
deviceinfo_kernel_cmdline="lk2nd.pass-simplefb=xrgb8888,autorefresh"
