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

deviceinfo_format_version="0"
deviceinfo_name="Google Trogdor Chromebook"
deviceinfo_manufacturer="Google"
deviceinfo_codename="google-trogdor"
deviceinfo_year="2021"
deviceinfo_dtb="qcom/sc7180-trogdor*"
deviceinfo_arch="aarch64"

# Device related
# TODO: remove pmbootstrap requirement for deviceinfo_chassis
deviceinfo_chassis="convertible"
deviceinfo_external_storage="true"
deviceinfo_drm="true"
deviceinfo_disable_dhcpd="true"

# Bootloader related
deviceinfo_cgpt_kpart="/boot/vmlinuz.kpart"
deviceinfo_cgpt_kpart_start="8192"
# 128M kernel partition
deviceinfo_cgpt_kpart_size="262144"
# We are supposed to use "trogdor" board here, but lazor dts does
# not include trogdor compatible which results in loading a wrong
# dtb. "qc7180" board may result in including dtbs that are for
# sc7180 but not related to Chrome OS devices which would increase
# image size. This doesn't happen for us because we provide only 
# dtbs from deviceinfo_dtb variable and nothing more, so use "qc7180"
# board here.
deviceinfo_depthcharge_board="qc7180"
deviceinfo_depthcharge_compression="lzma"
deviceinfo_generate_depthcharge_image="true"
