Files
pmaports-rtwo/device/testing/device-odroid-hc2/deviceinfo
T
knuxify 8756674afc device-odroid-hc2: Force MBR/msdos partition table type
GPT paritions seem to interfere with the firmware baked into the SD card image;
both U-Boot and various Linux tools report the GPT partition table as broken
and fall back to the backup table. Notably, this makes the card difficult to
mount in another device. "Fixing" the partition table makes it refuse to boot.

Force the msdos partition type in deviceinfo to fix this.

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6342
2025-03-23 11:15:00 +01:00

31 lines
1.0 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="Odroid HC2"
deviceinfo_manufacturer="Odroid"
deviceinfo_codename="odroid-hc2"
deviceinfo_year="2018"
deviceinfo_dtb="exynos5422-odroidhc1"
deviceinfo_append_dtb="false"
deviceinfo_arch="armv7"
deviceinfo_no_framebuffer="true"
deviceinfo_generate_legacy_uboot_initfs="true"
deviceinfo_getty="ttySAC2;115200"
deviceinfo_disable_dhcpd="true"
# Device related
deviceinfo_gpu_accelerated="true"
deviceinfo_chassis="embedded"
deviceinfo_keyboard="false"
deviceinfo_external_storage="true"
# Bootloader related
deviceinfo_flash_method="none"
deviceinfo_sd_embed_firmware="u-boot/odroid-hc2/bl1.bin:1,u-boot/odroid-hc2/bl2.bin:31,u-boot/odroid-xu3/u-boot.bin:63,u-boot/odroid-hc2/tzsw.bin:1503"
deviceinfo_sd_embed_firmware_step_size="512"
deviceinfo_boot_part_start="8192"
# Embedded firmware interferes with GPT partition table; force MBR instead
deviceinfo_partition_type="msdos"