This migrates all device package to the new system, which is documented here: https://docs.postmarketos.org/pmaports/main/kernel-cmdline.html. It also replaces old initramfs params (PMOS_NOSPLASH and PMOS_FORCE_PARTITION_RESIZE) from the cmdlines with their modern equivalents, so we can finally get rid of those. Signed-off-by: default avatarClayton Craft <craftyguy@postmarketos.org> [ci:skip-build]: already built successfully in CI Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7830>
34 lines
1.2 KiB
Plaintext
34 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="Xiaomi Redmi 12"
|
|
deviceinfo_manufacturer="Xiaomi"
|
|
deviceinfo_codename="xiaomi-fire"
|
|
deviceinfo_year="2023"
|
|
deviceinfo_dtb="mediatek/mt6768"
|
|
deviceinfo_arch="aarch64"
|
|
|
|
# Device related
|
|
deviceinfo_chassis="handset"
|
|
deviceinfo_external_storage="true"
|
|
|
|
# Bootloader related
|
|
deviceinfo_flash_method="fastboot"
|
|
deviceinfo_generate_bootimg="true"
|
|
deviceinfo_bootimg_qcdt="false"
|
|
deviceinfo_flash_pagesize="2048"
|
|
deviceinfo_flash_sparse="true"
|
|
deviceinfo_flash_fastboot_partition_rootfs="super"
|
|
deviceinfo_header_version="2"
|
|
deviceinfo_append_dtb="false"
|
|
deviceinfo_flash_offset_dtb="0x0bc08000"
|
|
deviceinfo_flash_offset_base="0x40078000"
|
|
deviceinfo_flash_offset_kernel="0x00008000"
|
|
deviceinfo_flash_offset_ramdisk="0x07c08000"
|
|
deviceinfo_flash_offset_second="0xbff88000"
|
|
deviceinfo_flash_offset_tags="0x0bc08000"
|
|
|
|
# NOTE: Flashing kernel on upgrades unsupported due to "dd: error writing
|
|
# '/dev/disk/by-partlabel/boot_a': Operation not permitted"
|
|
# (the current slot's boot partition appears to be write-protected :/)
|