Files
pmaports-rtwo/device/testing/device-motorola-rtwo/deviceinfo
T
snlavaiseandClaude Sonnet 5 a5ae1ad9b8 device-motorola-rtwo: new device (Motorola Moto Edge 40 Pro), WIP
Bring-up for the Motorola Moto Edge 40 Pro (codename "rtwo", SM8550 /
Snapdragon 8 Gen 2).

New linux-postmarketos-qcom-sm8550 aport:
 - Built from the postmarketOS soc/qcom-sm8550 tree (branch bringup,
   6.13-rc3, commit 22591bbc).
 - Kernel config is generated at build time from the in-tree upstream
   defconfig plus the repo's pmos.config and devices.config fragments.
 - Ships a WIP sm8550-motorola-rtwo.dts: SoC + PMICs + the sm8550-mtp
   regulator tree, UART7 debug console, USB in high-speed peripheral mode,
   UFS and SD card. Display panel, touchscreen, modem, WiFi/BT, GPU zap
   shader and reserved-memory carveouts still need to be described from
   Motorola's downstream sources.

device-motorola-rtwo:
 - deviceinfo completed from bootimg analysis of the stock boot.img:
   Android boot header v4, 4096-byte pages, no qcdt, fastboot flashing.
   Added screen geometry, UFS sector size and a serial getty; framebuffer
   disabled until the panel works.
 - Depends on the new kernel, soc-qcom and mkbootimg.

Both packages still need 'pmbootstrap checksum' for the kernel tarball and
a real boot test; see the TODO comments in the APKBUILDs and the .dts.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QF5HebjUsRaxbW4cBX6HJP
2026-09-08 13:35:56 -03:00

43 lines
1.3 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="Motorola Moto Edge 40 Pro"
deviceinfo_manufacturer="Motorola"
deviceinfo_codename="motorola-rtwo"
deviceinfo_year="2023"
deviceinfo_dtb="qcom/sm8550-motorola-rtwo"
deviceinfo_append_dtb="true"
deviceinfo_arch="aarch64"
# Device related
deviceinfo_chassis="handset"
deviceinfo_keyboard="false"
deviceinfo_external_storage="true"
deviceinfo_screen_width="1220"
deviceinfo_screen_height="2712"
deviceinfo_getty="ttyMSM0;115200"
# The panel is not described in the device tree yet, so there is no display
# output. Flip this to "false" once mdss_dsi0 + a panel node work.
deviceinfo_no_framebuffer="true"
# Bootloader related
deviceinfo_flash_method="fastboot"
deviceinfo_kernel_cmdline="console=ttyMSM0,115200n8 earlycon"
deviceinfo_generate_bootimg="true"
deviceinfo_bootimg_qcdt="false"
deviceinfo_header_version="4"
deviceinfo_flash_pagesize="4096"
deviceinfo_flash_sparse="true"
# UFS storage
deviceinfo_rootfs_image_sector_size="4096"
# A/B + dynamic (super) partitions. Fill in the 'super' block device once
# known (from the initramfs debug shell:
# ls -l /dev/disk/by-partlabel/super
# ), then uncomment:
# deviceinfo_super_partitions="/dev/sda1 /dev/sda1"