As a first-stage U-Boot port is now available for this device, adapt the device package to use it. NOTE: Currently, EFI boot is unsupported, because of this device having to send a specific SMC command on kernel launch, if this is not done, then the device will crash after ~30s with weird errors, and access to peripherals shared with the Secure World (for example UFS) will be unavailable. This is only a temporary workaround for the time being. Signed-off-by: Igor Belwon <igor.belwon@mentallysanemainliners.org> Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7097>
29 lines
980 B
Plaintext
29 lines
980 B
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="Nothing CMF Phone 1"
|
|
deviceinfo_manufacturer="Nothing"
|
|
deviceinfo_codename="nothing-tetris"
|
|
deviceinfo_year="2024"
|
|
deviceinfo_dtb="mt6878-nothing-tetris"
|
|
deviceinfo_arch="aarch64"
|
|
|
|
# Device related
|
|
deviceinfo_chassis="handset"
|
|
deviceinfo_drm="true"
|
|
deviceinfo_external_storage="true"
|
|
deviceinfo_rootfs_image_sector_size="4096"
|
|
|
|
# Bootloader related
|
|
# NOTE: We do not use EFI, because of this board's quirk of needing
|
|
# a SMC call on every jump to the kernel, else, the device will
|
|
# not succesfully boot and will bite a watchdog in Secure World.
|
|
# As such, bootm is used (with a patch to u-boot).
|
|
deviceinfo_flash_method="fastboot-bootpart"
|
|
deviceinfo_flash_fastboot_partition_kernel="super"
|
|
# Required for devices using UFS as storage (instead of e.g. eMMC)
|
|
deviceinfo_rootfs_image_sector_size="4096"
|
|
|