arrow-db820c: new device (MR 4160)
This commit is contained in:
parent
bb5b986bf3
commit
70fa81059d
3 changed files with 81 additions and 0 deletions
4
device/testing/device-arrow-db820c/30-gpu-firmware.files
Normal file
4
device/testing/device-arrow-db820c/30-gpu-firmware.files
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
/lib/firmware/qcom/a530_pfp.fw
|
||||||
|
/lib/firmware/qcom/a530_pm4.fw
|
||||||
|
/lib/firmware/qcom/a530_zap.mdt
|
||||||
|
/lib/firmware/qcom/a530v3_gpmu.fw2
|
42
device/testing/device-arrow-db820c/APKBUILD
Normal file
42
device/testing/device-arrow-db820c/APKBUILD
Normal file
|
@ -0,0 +1,42 @@
|
||||||
|
# Reference: <https://postmarketos.org/devicepkg>
|
||||||
|
pkgname=device-arrow-db820c
|
||||||
|
pkgdesc="Arrow DragonBoard 820c"
|
||||||
|
pkgver=1
|
||||||
|
pkgrel=0
|
||||||
|
url="https://postmarketos.org"
|
||||||
|
license="MIT"
|
||||||
|
arch="aarch64"
|
||||||
|
options="!check !archcheck"
|
||||||
|
depends="
|
||||||
|
linux-postmarketos-qcom-msm8996
|
||||||
|
mkbootimg
|
||||||
|
postmarketos-base
|
||||||
|
soc-qcom-msm8996
|
||||||
|
"
|
||||||
|
makedepends="devicepkg-dev"
|
||||||
|
source="
|
||||||
|
30-gpu-firmware.files
|
||||||
|
deviceinfo
|
||||||
|
"
|
||||||
|
subpackages="$pkgname-nonfree-firmware:nonfree_firmware"
|
||||||
|
|
||||||
|
build() {
|
||||||
|
devicepkg_build $startdir $pkgname
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
devicepkg_package $startdir $pkgname
|
||||||
|
}
|
||||||
|
|
||||||
|
nonfree_firmware() {
|
||||||
|
pkgdesc="GPU/Video firmware"
|
||||||
|
depends="linux-firmware-qcom"
|
||||||
|
|
||||||
|
install -Dm644 "$srcdir/30-gpu-firmware.files" -t \
|
||||||
|
"$subpkgdir/usr/share/mkinitfs/files"
|
||||||
|
}
|
||||||
|
|
||||||
|
sha512sums="
|
||||||
|
c0fc060795d8855810a0d6be46adcb02278854804b8d88fda72d8e172b5e9d44ba7ea5d0fece4fdb95e9566938228f6da8e562143242f700545236e71408fc34 30-gpu-firmware.files
|
||||||
|
c7e633701723675695bafb2ebbd167b3c78bf30236c70232305115eaea02f825c61d5aa5044d0deb3175685b6395e853df0560a8ee0e209f6dcf264298095f77 deviceinfo
|
||||||
|
"
|
35
device/testing/device-arrow-db820c/deviceinfo
Normal file
35
device/testing/device-arrow-db820c/deviceinfo
Normal file
|
@ -0,0 +1,35 @@
|
||||||
|
# Reference: <https://postmarketos.org/deviceinfo>
|
||||||
|
# Please use double quotes only. You can source this file in shell scripts.
|
||||||
|
|
||||||
|
deviceinfo_format_version="0"
|
||||||
|
deviceinfo_name="Arrow DragonBoard 820c"
|
||||||
|
deviceinfo_manufacturer="Arrow"
|
||||||
|
deviceinfo_codename="arrow-db820c"
|
||||||
|
deviceinfo_year="2018"
|
||||||
|
deviceinfo_dtb="qcom/apq8096-db820c"
|
||||||
|
deviceinfo_append_dtb="true"
|
||||||
|
deviceinfo_modules_initfs="display-connector msm"
|
||||||
|
deviceinfo_arch="aarch64"
|
||||||
|
|
||||||
|
# Device related
|
||||||
|
deviceinfo_gpu_accelerated="true"
|
||||||
|
deviceinfo_chassis="embedded"
|
||||||
|
deviceinfo_keyboard="true"
|
||||||
|
deviceinfo_external_storage="true"
|
||||||
|
deviceinfo_screen_width="1920"
|
||||||
|
deviceinfo_screen_height="1080"
|
||||||
|
deviceinfo_getty="ttyMSM0;115200"
|
||||||
|
|
||||||
|
# Bootloader related
|
||||||
|
deviceinfo_flash_method="fastboot"
|
||||||
|
deviceinfo_kernel_cmdline="console=ttyMSM0,115200n8 PMOS_NO_OUTPUT_REDIRECT"
|
||||||
|
deviceinfo_generate_bootimg="true"
|
||||||
|
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"
|
||||||
|
deviceinfo_flash_pagesize="4096"
|
||||||
|
deviceinfo_flash_sparse="true"
|
||||||
|
deviceinfo_flash_fastboot_partition_system="rootfs"
|
||||||
|
deviceinfo_rootfs_image_sector_size="4096"
|
Loading…
Reference in a new issue