pmaports/device/testing/device-radxa-zero/deviceinfo
Ferass El Hafidi 05d9b25643
amlogic: switch partition_type to msdos (MR 5883)
After commit 8335d050bf24977afefee6612dd347abd555bc53 in pmbootstrap the
partition table now defaults to GPT instead of MBR.  This breaks booting
on Amlogic devices for the following reasons:

 * On set-top boxes: downstream U-Boot most likely does not have GPT
   support
 * On boards where we install mainline U-Boot as BL33 on eMMC/SD: the
   bootROM checks for an `@AML` image header at offset 512 (second LBA),
   which means we are basically stuck on MBR

Some Amlogic boards have U-Boot + the proprietary Amlogic firmware
stages in SPI flash (mainly the Libre Computer boards do), which means
they can use GPT, because the firmware is simply not stored on eMMC/SD.
For that reason I chose not to change the partition table on those.

Signed-off-by: Ferass El Hafidi <funderscore@postmarketos.org>
2024-12-08 12:22:30 +09:00

27 lines
928 B
Text

# Reference: <https://postmarketos.org/deviceinfo>
# Please use double quotes only. You can source this file in shell scripts.
deviceinfo_format_version="0"
deviceinfo_name="Radxa Zero"
deviceinfo_manufacturer="Radxa"
deviceinfo_codename="radxa-zero"
deviceinfo_dtb="amlogic/meson-g12a-radxa-zero"
deviceinfo_year="2021"
deviceinfo_arch="aarch64"
deviceinfo_partition_type="msdos"
# Device related
deviceinfo_gpu_accelerated="true"
deviceinfo_chassis="embedded"
deviceinfo_keyboard="true"
deviceinfo_external_storage="true"
deviceinfo_screen_width="1920"
deviceinfo_screen_height="1080"
# Bootloader related
deviceinfo_flash_method="none"
deviceinfo_kernel_cmdline="rw console=ttyAML0,115200 console=tty0 no_console_suspend"
deviceinfo_sd_embed_firmware_step_size="512"
deviceinfo_sd_embed_firmware="u-boot/radxa-zero/u-boot.bin.sd-stripped.bin:1"
deviceinfo_boot_part_start="4096"
deviceinfo_generate_extlinux_config="true"