diff --git a/device/testing/device-google-juniper/APKBUILD b/device/testing/device-google-juniper/APKBUILD new file mode 100644 index 000000000..35e8629f9 --- /dev/null +++ b/device/testing/device-google-juniper/APKBUILD @@ -0,0 +1,40 @@ +# Reference: +# Maintainer: BinaryCraft +# Co-Maintainer: Jenneron +pkgname=device-google-juniper +pkgdesc="Acer Chromebook Spin 311" +pkgver=1 +pkgrel=0 +url="https://postmarketos.org" +license="MIT" +arch="aarch64" +options="!check !archcheck" +depends=" + depthcharge-tools + linux-postmarketos-mtk-mt8183 + mesa-dri-gallium + postmarketos-base + postmarketos-update-depthcharge-kernel +" + +makedepends="devicepkg-dev" +source="deviceinfo" +subpackages="$pkgname-nonfree-firmware:nonfree_firmware" + +build() { + devicepkg_build $startdir $pkgname +} + +package() { + devicepkg_package $startdir $pkgname +} + +nonfree_firmware() { + pkgdesc="WiFi/BT firmware" + depends="linux-firmware-ath10k linux-firmware-mediatek" + mkdir "$subpkgdir" +} + +sha512sums=" +f0cdce2360b8d93c4d3d421c524be036450ba35f3eb5dee14d6070ec00e29166c799ecf392c60fd01678a58fb3c773fe12a620a9ce91f4dd18c22335189e9f90 deviceinfo +" diff --git a/device/testing/device-google-juniper/deviceinfo b/device/testing/device-google-juniper/deviceinfo new file mode 100644 index 000000000..dd96805d9 --- /dev/null +++ b/device/testing/device-google-juniper/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="Acer Chromebook Spin 311" +deviceinfo_manufacturer="Acer" +deviceinfo_codename="google-juniper" +deviceinfo_year="2020" +deviceinfo_dtb="mediatek/mt8183-kukui-jacuzzi-juniper-sku16" +deviceinfo_modules_initfs="gpu-sched atmel-mxt-ts cros-ec-keyb sbs-battery" +deviceinfo_arch="aarch64" + +# Device related +deviceinfo_chassis="convertible" +deviceinfo_keyboard="true" +deviceinfo_external_storage="true" +deviceinfo_screen_width="1366" +deviceinfo_screen_height="768" +deviceinfo_gpu_accelerated="true" + +# Bootloader related +deviceinfo_kernel_cmdline="console=null" +deviceinfo_flash_method="none" +deviceinfo_cgpt_kpart="/boot/vmlinuz.kpart" +deviceinfo_cgpt_kpart_start="8192" +deviceinfo_cgpt_kpart_size="65536" +deviceinfo_generate_depthcharge_image="true"