device-sony-redwood: new aport

Based on the linux-postmarketos-mediatek-mt6757 kernel.

Signed-off-by: bengris32 <bengris32@protonmail.ch>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7476>
This commit is contained in:
bengris32 2025-11-22 21:57:18 +00:00 committed by The Friendly Merge Bot
parent a1df9420b3
commit 562b120a92
No known key found for this signature in database
3 changed files with 74 additions and 0 deletions

View file

@ -0,0 +1,34 @@
# Reference: <https://postmarketos.org/devicepkg>
# Maintainer: Ben Grisdale <bengris32@protonmail.ch>
pkgname=device-sony-redwood
pkgdesc="Sony Xperia XA1 Ultra"
pkgver=1
pkgrel=0
url="https://postmarketos.org"
license="MIT"
arch="aarch64"
options="!check !archcheck"
depends="
linux-postmarketos-mediatek-mt6757
soc-mediatek-mt6757
mkbootimg
postmarketos-base
"
makedepends="devicepkg-dev"
source="
deviceinfo
modules-initfs
"
build() {
devicepkg_build $startdir $pkgname
}
package() {
devicepkg_package $startdir $pkgname
}
sha512sums="
2ef7ed5dbe9c77f03474094f578945036fe3bdc4133f9f43c2b67fe040f6d9e8515e1ff665463ddee5fdeb60867b92e85183d57a49010a42b8f3654381eb310f deviceinfo
297c3089263b24c84ee626302bd95480219bc63c07d57af8bac3bf4c61d83fade1c9ee410262197b88859aa087ffe660a905f93220388e675c84929906bb790d modules-initfs
"

View file

@ -0,0 +1,32 @@
# Reference: <https://postmarketos.org/deviceinfo>
# Please use double quotes only. You can source this file in shell
# scripts.
deviceinfo_format_version="0"
deviceinfo_name="Sony Xperia XA1 Ultra"
deviceinfo_manufacturer="Sony"
deviceinfo_codename="sony-redwood"
deviceinfo_year="2017"
deviceinfo_append_dtb="true"
deviceinfo_dtb="mediatek/mt6757-sony-xperia-xa1-ultra"
deviceinfo_arch="aarch64"
# Device related
deviceinfo_chassis="handset"
deviceinfo_drm="true"
deviceinfo_external_storage="true"
deviceinfo_screen_width="1080"
deviceinfo_screen_height="1920"
# Bootloader related
deviceinfo_flash_method="fastboot"
deviceinfo_kernel_cmdline="bootopt=64S3,32N2,64N2 maxcpus=8 clk_ignore_unused regulator_ignore_unused"
deviceinfo_generate_bootimg="true"
deviceinfo_flash_pagesize="4096"
deviceinfo_bootimg_qcdt="false"
deviceinfo_flash_offset_base="0x40078000"
deviceinfo_flash_offset_kernel="0x00008000"
deviceinfo_flash_offset_ramdisk="0x04f88000"
deviceinfo_flash_offset_second="0x00f00000"
deviceinfo_flash_offset_tags="0x03f88000"
deviceinfo_flash_sparse="true"

View file

@ -0,0 +1,8 @@
typec
extcon-usbc-tusb320
bq25890_charger
rt4801-regulator
pwm-mtk-disp
panel-td4322-innolux-fhd
rmi_core
rmi_i2c