sony-togari: new device (MR 5739)
This commit is contained in:
parent
a83466f5fc
commit
f58357bebe
3 changed files with 68 additions and 0 deletions
39
device/testing/device-sony-togari/APKBUILD
Normal file
39
device/testing/device-sony-togari/APKBUILD
Normal file
|
|
@ -0,0 +1,39 @@
|
|||
# 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
|
||||
"
|
||||
28
device/testing/device-sony-togari/deviceinfo
Normal file
28
device/testing/device-sony-togari/deviceinfo
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
# 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"
|
||||
1
device/testing/device-sony-togari/modules-initfs
Normal file
1
device/testing/device-sony-togari/modules-initfs
Normal file
|
|
@ -0,0 +1 @@
|
|||
pm8941_pwrkey
|
||||
Loading…
Add table
Add a link
Reference in a new issue