Adds a generic device target for the Rockchip RK3228 and RK3229 SoCs with mainline U-Boot and kernel. I tested this on my MXQ Pro 4K STB, which originally had Android 7.1 installed. I've been testing it on a 32 GB SD card, as I currently have [ilmich's LibreELEC port](https://github.com/rk-unofficial-cfw/LibreELEC.tv/tree/le12-rk322x-wip] installed to the eMMC, though it should boot from eMMC just fine. The bulk of the patches comes from the aforementioned LibreELEC port and Armbian. Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6982>
36 lines
1.2 KiB
Plaintext
36 lines
1.2 KiB
Plaintext
# Reference: <https://postmarketos.org/deviceinfo>
|
|
# Please use double quotes only. You can source this file in shell
|
|
# scripts.
|
|
|
|
deviceinfo_format_version="0"
|
|
deviceinfo_name="Rockchip rk3228/rk3229-based device"
|
|
deviceinfo_manufacturer="Rockchip"
|
|
deviceinfo_codename="rockchip-rk322x"
|
|
deviceinfo_year="2016"
|
|
deviceinfo_dtb="rk322*"
|
|
deviceinfo_arch="armv7"
|
|
deviceinfo_uboot_boardname="rockchip-rk322x"
|
|
|
|
# Device related
|
|
deviceinfo_chassis="embedded"
|
|
deviceinfo_keyboard="false"
|
|
deviceinfo_external_storage="true"
|
|
deviceinfo_drm="true"
|
|
deviceinfo_getty="ttyS2;115200"
|
|
deviceinfo_disable_dhcpd="true"
|
|
deviceinfo_swap_size_recommended="512"
|
|
|
|
# Installer related
|
|
deviceinfo_dev_internal_storage="/dev/mmcblk1"
|
|
deviceinfo_dev_internal_storage_repartition="true"
|
|
|
|
# Bootloader related
|
|
deviceinfo_flash_method="none"
|
|
deviceinfo_kernel_cmdline="quiet loglevel=2 earlycon=uart8250,mmio32,0x11030000 PMOS_FORCE_PARTITION_RESIZE"
|
|
deviceinfo_partition_type="gpt"
|
|
deviceinfo_boot_filesystem="fat32"
|
|
deviceinfo_generate_extlinux_config="true"
|
|
deviceinfo_boot_part_start="32768"
|
|
deviceinfo_sd_embed_firmware_step_size="512"
|
|
deviceinfo_sd_embed_firmware="u-boot/rockchip-rk322x/idbloader.img:64,u-boot/rockchip-rk322x/u-boot.itb:16384"
|