google-juniper: new device (MR 3332)

This commit is contained in:
Elliot Huang 2022-08-03 17:47:31 +08:00 committed by Alexey Min
parent 50c5d50d75
commit 9b819e65bb
No known key found for this signature in database
GPG key ID: 0B19D2A65870B448
2 changed files with 68 additions and 0 deletions

View file

@ -0,0 +1,40 @@
# Reference: <https://postmarketos.org/devicepkg>
# Maintainer: BinaryCraft <keep.it.sns@gmail.com>
# Co-Maintainer: Jenneron <jenneron@protonmail.com>
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
"

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 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"