google-cerise: new device (MR 4091)

This commit is contained in:
Anton Bambura 2023-05-17 02:33:42 +03:00 committed by Oliver Smith
parent eee2eaf970
commit fdd5c560e9
No known key found for this signature in database
GPG key ID: 5AE7F5513E0885CB
2 changed files with 68 additions and 0 deletions

View file

@ -0,0 +1,39 @@
# Reference: <https://postmarketos.org/devicepkg>
# Maintainer: Jenneron <jenneron@protonmail.com>
pkgname=device-google-cerise
pkgdesc="ASUS Chromebook CZ1"
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-mediatek-mt8183
postmarketos-base
postmarketos-update-depthcharge-kernel
soc-mediatek-mt8183
"
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-qca linux-firmware-mediatek"
mkdir "$subpkgdir"
}
sha512sums="
2f40a8d3e9fc7b064fdc5dfb1774e9e8948ea991238ddbcd8c7bcf59e8bbc45c947856c41b47c1c7ac576e4ca1bad3f8e878d50807593e5da918c55213521310 deviceinfo
"

View file

@ -0,0 +1,29 @@
# Reference: <https://postmarketos.org/deviceinfo>
# Please use double quotes only. You can source this file in shell
# scripts.
deviceinfo_format_version="0"
deviceinfo_name="ASUS Chromebook CZ1"
deviceinfo_manufacturer="ASUS"
deviceinfo_codename="google-cerise"
deviceinfo_year="2021"
deviceinfo_dtb="mediatek/mt8183-kukui-jacuzzi-cerise mediatek/mt8183-kukui-jacuzzi-cerise-rev3"
deviceinfo_modules_initfs="gpu-sched i2c-hid-of cros-ec-keyb sbs-battery"
deviceinfo_arch="aarch64"
# Device related
deviceinfo_chassis="tablet"
deviceinfo_keyboard="true"
deviceinfo_external_storage="true"
deviceinfo_screen_width="1920"
deviceinfo_screen_height="1200"
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_depthcharge_board="cerise"
deviceinfo_generate_depthcharge_image="true"