google-corsola: new device (MR 4806)
[ci:skip-build]: already built successfully in CI
This commit is contained in:
parent
6c2241d917
commit
9f2b1dad9f
3 changed files with 85 additions and 0 deletions
41
device/testing/device-google-corsola/APKBUILD
Normal file
41
device/testing/device-google-corsola/APKBUILD
Normal file
|
@ -0,0 +1,41 @@
|
||||||
|
# Reference: <https://postmarketos.org/devicepkg>
|
||||||
|
# Maintainer: Jenneron <jenneron@protonmail.com>
|
||||||
|
pkgname=device-google-corsola
|
||||||
|
pkgdesc="Google Corsola Chromebooks"
|
||||||
|
pkgver=1
|
||||||
|
pkgrel=0
|
||||||
|
url="https://postmarketos.org"
|
||||||
|
license="MIT"
|
||||||
|
arch="aarch64"
|
||||||
|
options="!check !archcheck"
|
||||||
|
depends="
|
||||||
|
alsa-ucm-conf
|
||||||
|
depthcharge-tools
|
||||||
|
linux-postmarketos-mediatek-mt81xx
|
||||||
|
postmarketos-base
|
||||||
|
postmarketos-cros-common
|
||||||
|
postmarketos-update-depthcharge-kernel
|
||||||
|
soc-mediatek-mt8183
|
||||||
|
"
|
||||||
|
makedepends="devicepkg-dev"
|
||||||
|
source="deviceinfo modules-initfs"
|
||||||
|
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-mediatek"
|
||||||
|
mkdir "$subpkgdir"
|
||||||
|
}
|
||||||
|
|
||||||
|
sha512sums="
|
||||||
|
9c086f8b411a3ba742640e899de1a9d2144e078a1e5ea36c118696ff075389bfb94ba05bb50f1fd26fa053222de084aa507cbfb8ebb4bd83049fc251c4560264 deviceinfo
|
||||||
|
56fdcaa7a610497ed1bddbbfc0850f895bcfd79173b2e7de4bcf196f69120e1b62680da2a0b74543f153cb3d2b84055e71e258e7df938913aff66dca47061d7a modules-initfs
|
||||||
|
"
|
34
device/testing/device-google-corsola/deviceinfo
Normal file
34
device/testing/device-google-corsola/deviceinfo
Normal file
|
@ -0,0 +1,34 @@
|
||||||
|
# Reference: <https://postmarketos.org/deviceinfo>
|
||||||
|
# Please use double quotes only. You can source this file in shell
|
||||||
|
# scripts.
|
||||||
|
|
||||||
|
deviceinfo_format_version="0"
|
||||||
|
deviceinfo_name="Google Corsola Chromebook"
|
||||||
|
deviceinfo_manufacturer="Google"
|
||||||
|
deviceinfo_codename="google-corsola"
|
||||||
|
deviceinfo_year="2023"
|
||||||
|
deviceinfo_dtb="mediatek/mt8186-corsola*"
|
||||||
|
deviceinfo_arch="aarch64"
|
||||||
|
|
||||||
|
# Device related
|
||||||
|
deviceinfo_chassis="laptop"
|
||||||
|
deviceinfo_keyboard="true"
|
||||||
|
deviceinfo_external_storage="true"
|
||||||
|
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"
|
||||||
|
# 128M kernel partition
|
||||||
|
deviceinfo_cgpt_kpart_size="262144"
|
||||||
|
# We are supposed to use "corsola" board here, but corsola dts does
|
||||||
|
# not include corsola compatible which results in loading a wrong
|
||||||
|
# dtb. "mt8186" board may result in including dtbs that are for
|
||||||
|
# mt8186 but not related to Chrome OS devices which would increase
|
||||||
|
# image size. This doesn't happen for us because we provide only
|
||||||
|
# dtbs from deviceinfo_dtb variable and nothing more, so use "mt8186"
|
||||||
|
# board here.
|
||||||
|
deviceinfo_depthcharge_board="mt8186"
|
||||||
|
deviceinfo_generate_depthcharge_image="true"
|
10
device/testing/device-google-corsola/modules-initfs
Normal file
10
device/testing/device-google-corsola/modules-initfs
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
anx7625
|
||||||
|
parade-ps8640
|
||||||
|
ite-it6505
|
||||||
|
panel-edp
|
||||||
|
hid-generic
|
||||||
|
hid-multitouch
|
||||||
|
i2c-hid-of
|
||||||
|
i2c-hid-of-goodix
|
||||||
|
elan-i2c
|
||||||
|
cros-ec-keyb
|
Loading…
Reference in a new issue