google-kukui: new device (MR 4252)
This commit is contained in:
parent
cffc7f1d4c
commit
f35a52add9
2 changed files with 112 additions and 0 deletions
77
device/testing/device-google-kukui/APKBUILD
Normal file
77
device/testing/device-google-kukui/APKBUILD
Normal file
|
@ -0,0 +1,77 @@
|
|||
# Reference: <https://postmarketos.org/devicepkg>
|
||||
# Maintainer: Jenneron <jenneron@protonmail.com>
|
||||
pkgname=device-google-kukui
|
||||
pkgdesc="Google Kukui Chromebooks"
|
||||
pkgver=6
|
||||
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>=6.1.28-r0
|
||||
postmarketos-base
|
||||
postmarketos-update-depthcharge-kernel
|
||||
soc-mediatek-mt8183
|
||||
"
|
||||
makedepends="devicepkg-dev"
|
||||
source="deviceinfo"
|
||||
subpackages="$pkgname-nonfree-firmware:nonfree_firmware"
|
||||
|
||||
# provides and replaces to switch old installations to this package
|
||||
provides="
|
||||
device-google-burnet=$pkgver-r$pkgrel
|
||||
device-google-cerise=$pkgver-r$pkgrel
|
||||
device-google-cozmo=$pkgver-r$pkgrel
|
||||
device-google-damu=$pkgver-r$pkgrel
|
||||
device-google-fennel=$pkgver-r$pkgrel
|
||||
device-google-fennel14=$pkgver-r$pkgrel
|
||||
device-google-juniper=$pkgver-r$pkgrel
|
||||
device-google-kakadu=$pkgver-r$pkgrel
|
||||
device-google-kappa=$pkgver-r$pkgrel
|
||||
device-google-katsu=$pkgver-r$pkgrel
|
||||
device-google-kenzo=$pkgver-r$pkgrel
|
||||
device-google-kodama=$pkgver-r$pkgrel
|
||||
device-google-krane=$pkgver-r$pkgrel
|
||||
device-google-makomo=$pkgver-r$pkgrel
|
||||
device-google-stern=$pkgver-r$pkgrel
|
||||
device-google-willow=$pkgver-r$pkgrel
|
||||
"
|
||||
replaces="
|
||||
device-google-burnet
|
||||
device-google-cerise
|
||||
device-google-cozmo
|
||||
device-google-damu
|
||||
device-google-fennel
|
||||
device-google-fennel14
|
||||
device-google-juniper
|
||||
device-google-kakadu
|
||||
device-google-kappa
|
||||
device-google-katsu
|
||||
device-google-kenzo
|
||||
device-google-kodama
|
||||
device-google-krane
|
||||
device-google-makomo
|
||||
device-google-stern
|
||||
device-google-willow
|
||||
"
|
||||
|
||||
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="
|
||||
6f05b924cb8f51a5432581443b34415b3ac8b3621c7ce27bae7fbd94039c4ba45c21e49bd92ea532fcb771909fa2ef6291cc84e7c158a38071f86e0b65af1638 deviceinfo
|
||||
"
|
35
device/testing/device-google-kukui/deviceinfo
Normal file
35
device/testing/device-google-kukui/deviceinfo
Normal file
|
@ -0,0 +1,35 @@
|
|||
# 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 Kukui Chromebook"
|
||||
deviceinfo_manufacturer="Google"
|
||||
deviceinfo_codename="google-kukui"
|
||||
deviceinfo_year="2020"
|
||||
deviceinfo_dtb="mediatek/mt8183-kukui*"
|
||||
deviceinfo_modules_initfs="atmel-mxt-ts cros-ec-keyb elan-i2c elants-i2c gpu-sched hid-generic hid-multitouch i2c-hid-of i2c-hid-of-goodix i2-hid-of sbs-battery"
|
||||
deviceinfo_arch="aarch64"
|
||||
|
||||
# Device related
|
||||
# chassis does not make sense here, will probably be removed (pmb#2255)
|
||||
deviceinfo_chassis="convertible"
|
||||
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"
|
||||
deviceinfo_cgpt_kpart_size="65536"
|
||||
# We are supposed to use "kukui" board here, but lazor dts does
|
||||
# not include kukui compatible which results in loading a wrong
|
||||
# dtb. "mt8183" board may result in including dtbs that are for
|
||||
# mt8183 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 "mt8183"
|
||||
# board here.
|
||||
deviceinfo_depthcharge_board="mt8183"
|
||||
deviceinfo_generate_depthcharge_image="true"
|
Loading…
Reference in a new issue