asus-zenfone3: new device (MR 5711)
asus-zenfone3: move linux-postmarketos-qcom-msm8953 package to each subpackages asus-zenfone3: remove suffix from deviceinfo_name asus-zenfone3: remove uneeded firmware files & add lk2nd-msm8593 [ci:skip-build]: already built successfully in CI
This commit is contained in:
parent
e4e6a375db
commit
1ea401f564
5 changed files with 157 additions and 0 deletions
52
device/testing/device-asus-zenfone3/APKBUILD
Normal file
52
device/testing/device-asus-zenfone3/APKBUILD
Normal file
|
|
@ -0,0 +1,52 @@
|
|||
# Maintainer: Antony Kurniawan S. <postmarketos@smankusors.com>
|
||||
pkgname=device-asus-zenfone3
|
||||
pkgdesc="Asus Zenfone 3"
|
||||
pkgver=1
|
||||
pkgrel=0
|
||||
url="https://postmarketos.org"
|
||||
license="MIT"
|
||||
arch="aarch64"
|
||||
options="!check !archcheck"
|
||||
depends="
|
||||
firmware-asus-zenfone3
|
||||
lk2nd-msm8953
|
||||
mkbootimg
|
||||
msm-firmware-loader
|
||||
postmarketos-base
|
||||
soc-qcom-msm8953
|
||||
soc-qcom-msm8953-modem
|
||||
"
|
||||
makedepends="devicepkg-dev"
|
||||
subpackages="
|
||||
$pkgname-kernel-ze520kl:kernel_ze520kl
|
||||
$pkgname-kernel-ze552kl:kernel_ze552kl
|
||||
"
|
||||
source="
|
||||
deviceinfo
|
||||
modules-initfs
|
||||
"
|
||||
|
||||
build() {
|
||||
devicepkg_build $startdir $pkgname
|
||||
}
|
||||
|
||||
package() {
|
||||
devicepkg_package $startdir $pkgname
|
||||
}
|
||||
|
||||
kernel_ze520kl() {
|
||||
depends="linux-postmarketos-qcom-msm8953"
|
||||
pkgdesc="Asus Zenfone 3 (ZE520KL)"
|
||||
devicepkg_subpackage_kernel $startdir $pkgname $subpkgname
|
||||
}
|
||||
|
||||
kernel_ze552kl() {
|
||||
depends="linux-postmarketos-qcom-msm8953"
|
||||
pkgdesc="Asus Zenfone 3 (ZE552KL)"
|
||||
devicepkg_subpackage_kernel $startdir $pkgname $subpkgname
|
||||
}
|
||||
|
||||
sha512sums="
|
||||
7070801470fe2e7ba2ea5cee79ec52d65ad7ff6bdc995283061aeb4967102082602bacb342d38bfa6589bb2e0140cbd71063803039b1e4eb861867c05232f588 deviceinfo
|
||||
a4c56173941e88434073d9980a687a82956fbcaaaf15068fd2b4fd9351011a934c82f67e62ce87440876d673784938cfdaedc70ae03e1943c95baef6205567b1 modules-initfs
|
||||
"
|
||||
34
device/testing/device-asus-zenfone3/deviceinfo
Normal file
34
device/testing/device-asus-zenfone3/deviceinfo
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
# Reference: <https://postmarketos.org/deviceinfo>
|
||||
# Please use double quotes only. You can source this file in shell
|
||||
# scripts.
|
||||
|
||||
deviceinfo_format_version="0"
|
||||
deviceinfo_name="Asus Zenfone 3"
|
||||
deviceinfo_manufacturer="Asus"
|
||||
deviceinfo_codename="asus-zenfone3"
|
||||
deviceinfo_year="2016"
|
||||
deviceinfo_dtb_ze520kl="qcom/msm8953-asus-ze520kl"
|
||||
deviceinfo_dtb_ze552kl="qcom/msm8953-asus-ze552kl"
|
||||
deviceinfo_append_dtb="true"
|
||||
deviceinfo_arch="aarch64"
|
||||
|
||||
# Device related
|
||||
deviceinfo_gpu_accelerated="true"
|
||||
deviceinfo_chassis="handset"
|
||||
deviceinfo_keyboard="false"
|
||||
deviceinfo_external_storage="true"
|
||||
deviceinfo_getty="ttyMSM0;115200"
|
||||
|
||||
# Bootloader related
|
||||
deviceinfo_flash_method="fastboot"
|
||||
deviceinfo_generate_extlinux_config="true"
|
||||
deviceinfo_generate_bootimg="true"
|
||||
deviceinfo_bootimg_qcdt="false"
|
||||
deviceinfo_bootimg_dtb_second="false"
|
||||
deviceinfo_flash_pagesize="2048"
|
||||
deviceinfo_header_version="0"
|
||||
deviceinfo_flash_offset_base="0x80000000"
|
||||
deviceinfo_flash_offset_kernel="0x00008000"
|
||||
deviceinfo_flash_offset_ramdisk="0x01000000"
|
||||
deviceinfo_flash_offset_second="0x00f00000"
|
||||
deviceinfo_flash_offset_tags="0x00000100"
|
||||
7
device/testing/device-asus-zenfone3/modules-initfs
Normal file
7
device/testing/device-asus-zenfone3/modules-initfs
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
msm
|
||||
panel_asus_ze520kl_ili7807b_boe
|
||||
panel_asus_ze520kl_r63350_tm
|
||||
panel_asus_ze552kl_ili7807b_ctc
|
||||
panel_asus_ze552kl_nt35596_txd
|
||||
panel_asus_ze552kl_otm1901a_lce
|
||||
panel_asus_ze552kl_r63350_tm
|
||||
27
device/testing/firmware-asus-zenfone3/APKBUILD
Normal file
27
device/testing/firmware-asus-zenfone3/APKBUILD
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
# Maintainer: Antony Kurniawan S. <postmarketos@smankusors.com>
|
||||
pkgname=firmware-asus-zenfone3
|
||||
pkgver=1
|
||||
pkgrel=0
|
||||
pkgdesc="Firmware for Asus Zenfone 3 ZE520KL/ZE552KL"
|
||||
url="https://gitlab.com/Smankusors/firmware-asus-zenfone3"
|
||||
arch="aarch64"
|
||||
license="proprietary"
|
||||
options="!check !strip !archcheck !tracedeps pmb:cross-native"
|
||||
_commit="f1439210719b2a1597f6390f34ae93cb1470ddf4"
|
||||
builddir="$srcdir/$pkgname-$_commit/"
|
||||
source="
|
||||
$url/-/archive/$_commit/$pkgname-$_commit.tar.gz
|
||||
firmware.files
|
||||
"
|
||||
_fwdir="/lib/firmware/postmarketos"
|
||||
|
||||
package() {
|
||||
while IFS="" read -r fw; do
|
||||
install -Dm644 "$fw" "$pkgdir/$_fwdir/$fw"
|
||||
done < "$srcdir"/firmware.files
|
||||
}
|
||||
|
||||
sha512sums="
|
||||
a9980ae2ab0868d7e8e2d054e72525c030fe75d66aec6eebd2e17619d5d24455de2a158ea7ed0eb0db2f7a2f4bc07701672de217f8c7274599cd92c00cb2d04e firmware-asus-zenfone3-f1439210719b2a1597f6390f34ae93cb1470ddf4.tar.gz
|
||||
2b5ba92ec40e84294e0c1feae167274d49990545cf28a1a916440a4604d03f5a213187d753fe02f98918f7283707e353e309a7169c44d4f69464a87afb67d2b8 firmware.files
|
||||
"
|
||||
37
device/testing/firmware-asus-zenfone3/firmware.files
Normal file
37
device/testing/firmware-asus-zenfone3/firmware.files
Normal file
|
|
@ -0,0 +1,37 @@
|
|||
qcom/a530_pfp.fw
|
||||
qcom/a530_pm4.fw
|
||||
wlan/prima/WCNSS_qcom_wlan_nv.bin
|
||||
a506_zap.b02
|
||||
a506_zap.mdt
|
||||
adsp.b00
|
||||
adsp.b01
|
||||
adsp.b02
|
||||
adsp.b03
|
||||
adsp.b04
|
||||
adsp.b05
|
||||
adsp.b06
|
||||
adsp.b07
|
||||
adsp.b08
|
||||
adsp.b09
|
||||
adsp.b10
|
||||
adsp.b11
|
||||
adsp.b12
|
||||
adsp.b13
|
||||
adsp.b14
|
||||
adsp.mdt
|
||||
venus.b00
|
||||
venus.b01
|
||||
venus.b02
|
||||
venus.b03
|
||||
venus.b04
|
||||
venus.mdt
|
||||
wcnss.b00
|
||||
wcnss.b01
|
||||
wcnss.b02
|
||||
wcnss.b04
|
||||
wcnss.b06
|
||||
wcnss.b09
|
||||
wcnss.b10
|
||||
wcnss.b11
|
||||
wcnss.b12
|
||||
wcnss.mdt
|
||||
Loading…
Add table
Add a link
Reference in a new issue