google-dru: new device (MR 3748)

This commit is contained in:
Anton Bambura 2022-12-18 01:06:31 +02:00 committed by Oliver Smith
parent 7b35230958
commit bbf6fa2e71
No known key found for this signature in database
GPG key ID: 5AE7F5513E0885CB
2 changed files with 66 additions and 0 deletions

View file

@ -0,0 +1,38 @@
# Reference: <https://postmarketos.org/devicepkg>
# Maintainer: Jenneron <jenneron@protonmail.com>
pkgname=device-google-dru
pkgdesc="Acer Chromebook Tab 10"
pkgver=1
pkgrel=0
url="https://postmarketos.org"
license="MIT"
arch="aarch64"
options="!check !archcheck"
depends="
alsa-ucm-conf-google-gru
depthcharge-tools
linux-postmarketos-rockchip
postmarketos-base
postmarketos-update-depthcharge-kernel
"
makedepends="devicepkg-dev"
subpackages="$pkgname-nonfree-firmware:nonfree_firmware"
source="deviceinfo"
build() {
devicepkg_build $startdir $pkgname
}
package() {
devicepkg_package $startdir $pkgname
}
nonfree_firmware() {
pkgdesc="WiFi/BT and DP firmware"
depends="linux-firmware-ath10k linux-firmware-rockchip"
mkdir "$subpkgdir"
}
sha512sums="
e07c02df50314681fd939dd9ab531c5f9fc4258bf970dcb4b2695bb1275ceef9fb34ef3d047cbe848ff4735a470d9bbdc4570412d80b9d9aac553250283df145 deviceinfo
"

View 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="Acer Chromebook Tab 10"
deviceinfo_manufacturer="Acer"
deviceinfo_codename="google-dru"
deviceinfo_year="2018"
deviceinfo_dtb="rockchip/rk3399-gru-scarlet-kd rockchip/rk3399-gru-scarlet-inx"
deviceinfo_modules_initfs="gpu-sched elants-i2c sbs-battery"
deviceinfo_arch="aarch64"
# Device related
deviceinfo_chassis="tablet"
deviceinfo_external_storage="true"
deviceinfo_screen_width="1536"
deviceinfo_screen_height="2048"
deviceinfo_gpu_accelerated="true"
# Bootloader related
deviceinfo_flash_method="none"
deviceinfo_kernel_cmdline="console=null"
deviceinfo_cgpt_kpart="/boot/vmlinuz.kpart"
deviceinfo_cgpt_kpart_start="8192"
deviceinfo_cgpt_kpart_size="65536"
deviceinfo_depthcharge_board="dru"
deviceinfo_generate_depthcharge_image="true"