google-kenzo: new device (MR 3489)

This commit is contained in:
Anton Bambura 2022-10-04 02:43:16 +03:00 committed by Newbyte
parent 1291a002e0
commit 27156ad6e9
No known key found for this signature in database
GPG key ID: 5873C171C9429CFA
3 changed files with 75 additions and 0 deletions

View file

@ -0,0 +1,46 @@
# Reference: <https://postmarketos.org/devicepkg>
# Maintainer: Jenneron <jenneron@protonmail.com>
pkgname=device-google-kenzo
pkgdesc="Acer Chromebook 311 (CB311-11H / CB311-11HT)"
pkgver=1
pkgrel=0
url="https://postmarketos.org"
license="MIT"
arch="aarch64"
options="!check !archcheck"
depends="
alsa-ucm-conf-google-kukui
depthcharge-tools
linux-postmarketos-mtk-mt8183
mesa-dri-gallium
postmarketos-base
postmarketos-update-depthcharge-kernel
"
makedepends="devicepkg-dev"
source="
deviceinfo
modules-load.d/sound.conf
"
subpackages="$pkgname-nonfree-firmware:nonfree_firmware"
build() {
devicepkg_build $startdir $pkgname
}
package() {
devicepkg_package $startdir $pkgname
install -Dm644 "$srcdir"/sound.conf \
"$pkgdir"/etc/modules-load.d/sound.conf
}
nonfree_firmware() {
pkgdesc="WiFi/BT firmware"
depends="linux-firmware-ath10k linux-firmware-mediatek"
mkdir "$subpkgdir"
}
sha512sums="
4cb67b7d6603a100e1888e161668f82251b78c2a695ba433d7b9a6ce33f27b552764649786b46d5c3b458b1af86096e7b89a09ea79be417d6753f595fcac6633 deviceinfo
bdf45461873b9754bc91d7f72afd6cef1aa6e523ead0a7816c8976ed98ff2d39b66c53dba2f2d92e36162c092360d1524845f27160f6af2bb010cd3259d5b7ed sound.conf
"

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 311 (CB311-11H / CB311-11HT)"
deviceinfo_manufacturer="Acer"
deviceinfo_codename="google-kenzo"
deviceinfo_year="2020"
deviceinfo_dtb="mediatek/mt8183-kukui-jacuzzi-kenzo"
deviceinfo_modules_initfs="gpu-sched elan-i2c-core cros-ec-keyb sbs-battery"
deviceinfo_arch="aarch64"
# Device related
deviceinfo_chassis="laptop"
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"

View file

@ -0,0 +1 @@
mt8183-mt6358-ts3a227-max98357