qcom-sm7125: new device

Generic sm7125 device. Needs to be booted via U-Boot, in the future
Tauchgang. Currently firmware handling is suboptimal and it may not load
on all phones. Improving this is left as a future improvement.

Signed-off-by: Stefan Hansson <newbyte@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/9438>
This commit is contained in:
Stefan Hansson
2026-08-29 17:06:44 +00:00
parent d9587b2fea
commit c0ba628615
3 changed files with 60 additions and 0 deletions
@@ -0,0 +1,37 @@
# Reference: <https://postmarketos.org/devicepkg>
# Co-Maintainer: Erikas Bitovtas <xerikasxx@gmail.com>
maintainer="Stefan Hansson <newbyte@postmarketos.org>"
pkgname=device-qcom-sm7125
pkgver=1
pkgrel=0
pkgdesc="Generic device package for Qualcomm SM7125 devices"
url="https://postmarketos.org"
arch="aarch64"
license="MIT"
depends="
firmware-samsung-a72q
hexagonrpcd
linux-postmarketos-qcom-sm7125
make-dynpart-mappings
postmarketos-base
soc-qcom-sm7125
soc-qcom-sm7125-ucm
swclock-offset
systemd-boot
"
makedepends="devicepkg-dev"
source="deviceinfo modules-initfs"
options="!archcheck !check"
build() {
devicepkg_build $startdir $pkgname
}
package() {
devicepkg_package $startdir $pkgname
}
sha512sums="
f88a8a8c66cb1284f3efad49db362ba205292dbe13196e29a8d3b1e4a47bc3c5fbc0672f044608c7dd7dd60b77e3ddd67dd5ac8366a3f1deadbec7ae56c6c901 deviceinfo
c056217e34e0411ae7a780fb5e0a3a7721afdd6c0bf2c926768dd07695690f47fb145ac076d8ca0db4647d82494ddd0668af730eeb57e9846ab5e53bee8f1123 modules-initfs
"
@@ -0,0 +1,20 @@
# Reference: <https://postmarketos.org/deviceinfo>
# Please use double quotes only. You can source this file in shell
# scripts.
deviceinfo_format_version="0"
deviceinfo_name="Qualcomm SM7125 Device"
deviceinfo_manufacturer="Qualcomm"
deviceinfo_codename="qcom-sm7125"
deviceinfo_year="2020"
deviceinfo_arch="aarch64"
# Device related
deviceinfo_drm="true"
deviceinfo_external_storage="true"
# Bootloader related
deviceinfo_flash_method="fastboot"
deviceinfo_boot_filesystem="fat32"
# Required for devices using UFS as storage (instead of e.g. eMMC)
deviceinfo_rootfs_image_sector_size="4096"
@@ -0,0 +1,3 @@
gpio_vibra
stmfts_fts5cu56a
panel_samsung_s6e3fc3