google-kodama: new device (MR 3489)
This commit is contained in:
parent
27156ad6e9
commit
5bc6b9d97c
3 changed files with 107 additions and 0 deletions
75
device/testing/device-google-kodama/APKBUILD
Normal file
75
device/testing/device-google-kodama/APKBUILD
Normal file
|
@ -0,0 +1,75 @@
|
|||
# Reference: <https://postmarketos.org/devicepkg>
|
||||
# Maintainer: Jenneron <jenneron@protonmail.com>
|
||||
pkgname=device-google-kodama
|
||||
pkgdesc="Lenovo 10e Chromebook Tablet"
|
||||
pkgver=1
|
||||
pkgrel=0
|
||||
url="https://postmarketos.org"
|
||||
license="MIT"
|
||||
arch="aarch64"
|
||||
options="!check !archcheck"
|
||||
depends="
|
||||
alsa-ucm-conf-google-kukui
|
||||
depthcharge-tools
|
||||
mesa-dri-gallium
|
||||
postmarketos-base
|
||||
postmarketos-update-depthcharge-kernel
|
||||
"
|
||||
makedepends="devicepkg-dev"
|
||||
source="
|
||||
deviceinfo
|
||||
modules-load.d/sound.conf
|
||||
"
|
||||
subpackages="
|
||||
$pkgname-kernel-sku16:kernel_sku16
|
||||
$pkgname-kernel-sku32:kernel_sku32
|
||||
$pkgname-kernel-sku272:kernel_sku272
|
||||
$pkgname-kernel-sku288:kernel_sku288
|
||||
$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"
|
||||
}
|
||||
|
||||
kernel_sku16() {
|
||||
pkgdesc="Google Kodama Sku 16"
|
||||
depends="linux-postmarketos-mtk-mt8183"
|
||||
devicepkg_subpackage_kernel $startdir $pkgname $subpkgname
|
||||
}
|
||||
|
||||
kernel_sku32() {
|
||||
pkgdesc="Google Kodama Sku 32"
|
||||
depends="linux-postmarketos-mtk-mt8183"
|
||||
devicepkg_subpackage_kernel $startdir $pkgname $subpkgname
|
||||
}
|
||||
|
||||
kernel_sku272() {
|
||||
pkgdesc="Google Kodama Sku 272"
|
||||
depends="linux-postmarketos-mtk-mt8183"
|
||||
devicepkg_subpackage_kernel $startdir $pkgname $subpkgname
|
||||
}
|
||||
|
||||
kernel_sku288() {
|
||||
pkgdesc="Google Kodama Sku 288"
|
||||
depends="linux-postmarketos-mtk-mt8183"
|
||||
devicepkg_subpackage_kernel $startdir $pkgname $subpkgname
|
||||
}
|
||||
|
||||
sha512sums="
|
||||
8cd59c8d3fb45fbd5e4520dfb01c037e273b264090550f479dab1622f594cf715563945f82ba08c97da455ca0e749aaeab27c45a5d366d08ab24a7077465b262 deviceinfo
|
||||
bdf45461873b9754bc91d7f72afd6cef1aa6e523ead0a7816c8976ed98ff2d39b66c53dba2f2d92e36162c092360d1524845f27160f6af2bb010cd3259d5b7ed sound.conf
|
||||
"
|
31
device/testing/device-google-kodama/deviceinfo
Normal file
31
device/testing/device-google-kodama/deviceinfo
Normal file
|
@ -0,0 +1,31 @@
|
|||
# Reference: <https://postmarketos.org/deviceinfo>
|
||||
# Please use double quotes only. You can source this file in shell
|
||||
# scripts.
|
||||
|
||||
deviceinfo_format_version="0"
|
||||
deviceinfo_name="Lenovo 10e Chromebook Tablet"
|
||||
deviceinfo_manufacturer="Lenovo"
|
||||
deviceinfo_codename="google-kodama"
|
||||
deviceinfo_year="2020"
|
||||
deviceinfo_dtb_sku16="mediatek/mt8183-kukui-kodama-sku16"
|
||||
deviceinfo_dtb_sku32="mediatek/mt8183-kukui-kodama-sku32"
|
||||
deviceinfo_dtb_sku272="mediatek/mt8183-kukui-kodama-sku272"
|
||||
deviceinfo_dtb_sku288="mediatek/mt8183-kukui-kodama-sku288"
|
||||
deviceinfo_modules_initfs="gpu-sched i2c-hid-of hid-multitouch 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_generate_depthcharge_image="true"
|
|
@ -0,0 +1 @@
|
|||
mt8183-mt6358-ts3a227-max98357
|
Loading…
Reference in a new issue