Skip to content
Snippets Groups Projects
Commit fa8a9cab authored by Kevin Widjaja's avatar Kevin Widjaja
Browse files

sony-togari: new device

parent 5233a4fc
No related branches found
No related tags found
No related merge requests found
# Reference: <https://postmarketos.org/devicepkg>
pkgname=device-sony-togari
pkgver=1
pkgrel=0
pkgdesc="Sony Xperia Z Ultra"
url="https://postmarketos.org"
arch="armv7"
license="MIT"
depends="
postmarketos-base
mkbootimg
linux-postmarketos-qcom-msm8974
"
makedepends="devicepkg-dev"
subpackages="$pkgname-nonfree-firmware:nonfree_firmware"
source="
deviceinfo
modules-initfs
"
options="!check !archcheck"
build() {
devicepkg_build $startdir $pkgname
}
package() {
devicepkg_package $startdir $pkgname
}
nonfree_firmware() {
pkgdesc="Wifi firmware"
depends="firmware-sony-rhine"
mkdir "$subpkgdir"
}
sha512sums="
d5683d5dd38bd24df06d78fae92e0b3e1d88c9da72880d9873b12c00dffe680fafc1b9bf2107a4d7413678086f3cdff1595de2a6dc697ac88e17b465d3bb06d9 deviceinfo
760cc0e57426a534412c113addf8406c43463b3153a8517cc5d97eb9eec57d1e3a4af7f36dfcb1b5ed1d2b0be7d57af7903b5209096a902949f05df79b96dd66 modules-initfs
"
# 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 Z Ultra"
deviceinfo_manufacturer="Sony"
deviceinfo_codename="sony-togari"
deviceinfo_year="2013"
deviceinfo_chassis="handset"
deviceinfo_keyboard="false"
deviceinfo_dtb="qcom-msm8974-sony-xperia-rhine-togari"
deviceinfo_append_dtb="true"
deviceinfo_external_storage="true"
deviceinfo_flash_method="fastboot"
deviceinfo_arch="armv7"
deviceinfo_kernel_cmdline="console=ttyMSM0,115200,n8 msm.vram=192m msm.allow_vram_carveout=1"
deviceinfo_generate_bootimg="true"
# Splash screen
deviceinfo_screen_width="1080"
deviceinfo_screen_height="1920"
# Fastboot related
deviceinfo_flash_offset_kernel="0x00008000"
deviceinfo_flash_offset_ramdisk="0x02000000"
deviceinfo_flash_offset_second="0x00f00000"
deviceinfo_flash_offset_tags="0x01e00000"
deviceinfo_flash_pagesize="2048"
pm8941_pwrkey
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment