From 47e1660711bfb770ca1b6bb87603f5c4831803ef Mon Sep 17 00:00:00 2001 From: Anton Bambura Date: Sun, 18 Dec 2022 01:06:45 +0200 Subject: [PATCH] google-dumo: new device (MR 3748) [ci:skip-build]: already built successfully in CI --- device/testing/device-google-dumo/APKBUILD | 38 ++++++++++++++++++++ device/testing/device-google-dumo/deviceinfo | 28 +++++++++++++++ 2 files changed, 66 insertions(+) create mode 100644 device/testing/device-google-dumo/APKBUILD create mode 100644 device/testing/device-google-dumo/deviceinfo diff --git a/device/testing/device-google-dumo/APKBUILD b/device/testing/device-google-dumo/APKBUILD new file mode 100644 index 000000000..431027e95 --- /dev/null +++ b/device/testing/device-google-dumo/APKBUILD @@ -0,0 +1,38 @@ +# Reference: +# Maintainer: Jenneron +pkgname=device-google-dumo +pkgdesc="ASUS Chromebook Tablet CT100" +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=" +046dafb336f5c26233cc18169d46d997c4ca1c11ee596c777f928a7367df2dcf1dcff9f67d6dde9f8d137cfcec0b660c29077d38581f8a27482a024e56895519 deviceinfo +" diff --git a/device/testing/device-google-dumo/deviceinfo b/device/testing/device-google-dumo/deviceinfo new file mode 100644 index 000000000..14e43fb64 --- /dev/null +++ b/device/testing/device-google-dumo/deviceinfo @@ -0,0 +1,28 @@ +# Reference: +# Please use double quotes only. You can source this file in shell +# scripts. + +deviceinfo_format_version="0" +deviceinfo_name="ASUS Chromebook Tablet CT100" +deviceinfo_manufacturer="ASUS" +deviceinfo_codename="google-dumo" +deviceinfo_year="2019" +deviceinfo_dtb="rockchip/rk3399-gru-scarlet-dumo" +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="dumo" +deviceinfo_generate_depthcharge_image="true"