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

deviceinfo_format_version="0"
deviceinfo_name="Amlogic AArch64 TV box"
deviceinfo_manufacturer="Amlogic"
deviceinfo_codename="amlogic-aarch64-tvbox"
deviceinfo_year="2015"
deviceinfo_dtb="amlogic/meson-gxm-ugoos-am3"
deviceinfo_arch="aarch64"
deviceinfo_partition_type="msdos"

# Device related
deviceinfo_chassis="desktop"
deviceinfo_keyboard="false"
deviceinfo_external_storage="true"
deviceinfo_gpu_accelerated="true"
deviceinfo_disable_dhcpd="true"

# Bootloader related
deviceinfo_flash_method="none"
deviceinfo_boot_filesystem="fat32"
deviceinfo_kernel_cmdline="console=ttyAML0,115200n8"

# For devices where we chainload a mainline u-boot from the vendor one, we 
# can just use extlinux.
deviceinfo_generate_extlinux_config="true"

# For other devices where a FIT image is supported, generate one
deviceinfo_generate_uboot_fit_images="true"
deviceinfo_uboot_boardname="amlogic-tvbox"

# For the rest, generate a uImage.
deviceinfo_generate_legacy_uboot_initfs="true"
deviceinfo_legacy_uboot_load_address="0x1080000"
