google-kevin: new device (MR 3215)
[ci:skip-build]: already built successfully in CI
This commit is contained in:
parent
2d47ede894
commit
beeba0b911
5 changed files with 97 additions and 0 deletions
62
device/testing/device-google-kevin/APKBUILD
Normal file
62
device/testing/device-google-kevin/APKBUILD
Normal file
|
@ -0,0 +1,62 @@
|
|||
# Reference: <https://postmarketos.org/devicepkg>
|
||||
# Maintainer: Jenneron <jenneron@protonmail.com>
|
||||
pkgname=device-google-kevin
|
||||
pkgdesc="Samsung Chromebook Plus"
|
||||
pkgver=1
|
||||
pkgrel=0
|
||||
url="https://postmarketos.org"
|
||||
license="MIT"
|
||||
arch="aarch64"
|
||||
options="!check !archcheck"
|
||||
depends="
|
||||
alsa-ucm-conf-google-gru
|
||||
depthcharge-tools
|
||||
linux-postmarketos-rockchip
|
||||
mesa-dri-gallium
|
||||
postmarketos-base
|
||||
postmarketos-update-depthcharge-kernel
|
||||
"
|
||||
makedepends="devicepkg-dev"
|
||||
subpackages="
|
||||
$pkgname-nonfree-firmware:nonfree_firmware
|
||||
$pkgname-phosh
|
||||
"
|
||||
source="
|
||||
deviceinfo
|
||||
phoc.ini
|
||||
modprobe.d/accel.conf
|
||||
pointercal
|
||||
"
|
||||
|
||||
build() {
|
||||
devicepkg_build $startdir $pkgname
|
||||
}
|
||||
|
||||
package() {
|
||||
devicepkg_package $startdir $pkgname
|
||||
|
||||
install -Dm644 "$srcdir"/accel.conf \
|
||||
"$pkgdir"/etc/modprobe.d/accel.conf
|
||||
|
||||
install -Dm644 "$srcdir"/pointercal \
|
||||
"$pkgdir"/etc/pointercal
|
||||
}
|
||||
|
||||
nonfree_firmware() {
|
||||
pkgdesc="WiFi/BT and DP firmware"
|
||||
depends="linux-firmware-mrvl linux-firmware-rockchip"
|
||||
mkdir "$subpkgdir"
|
||||
}
|
||||
|
||||
phosh() {
|
||||
install_if="$pkgname=$pkgver-r$pkgrel postmarketos-ui-phosh"
|
||||
install -Dm644 "$srcdir"/phoc.ini \
|
||||
"$subpkgdir"/etc/phosh/phoc.ini
|
||||
}
|
||||
|
||||
sha512sums="
|
||||
89aa4e11906a99af3c0b6606c085cc8d4ac16d92d108aae0ca29f077215e61aed126f0e8c9a223807c5145efc51b9adfe9c242af8af6d23b54549aaac602a435 deviceinfo
|
||||
e8186b97016b49f810cce60c1c08d703ae0d91c25f776ed804f20f3f5e477693086c83a1ec5849a6cb5c9f0f2503b88d5fcac7c68ff0d6018812e43557839808 phoc.ini
|
||||
1ba29c50747458b68ed98706c008cfaeea9eff56d2977a23e060f3a9fcf306c9d62d162e2906472d24a6c25596af95e26722c6b55ca97a031b2d5c8db2661390 accel.conf
|
||||
926b662d7836046c7be53e75cf05989d6ab12296f1ad0fea61f7718adb360abbd4cf96666e9e154526a1fe179ce5b08391d85d01a4b17fca37b6615d2e6b3b0d pointercal
|
||||
"
|
28
device/testing/device-google-kevin/deviceinfo
Normal file
28
device/testing/device-google-kevin/deviceinfo
Normal 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="Samsung Chromebook Plus"
|
||||
deviceinfo_manufacturer="Samsung"
|
||||
deviceinfo_codename="google-kevin"
|
||||
deviceinfo_year="2017"
|
||||
deviceinfo_dtb="rockchip/rk3399-gru-kevin"
|
||||
deviceinfo_modules_initfs="gpu-sched atmel-mxt-ts cros-ec-keyb sbs-battery"
|
||||
deviceinfo_arch="aarch64"
|
||||
|
||||
# Device related
|
||||
deviceinfo_chassis="convertible"
|
||||
deviceinfo_keyboard="true"
|
||||
deviceinfo_external_storage="true"
|
||||
deviceinfo_screen_width="2400"
|
||||
deviceinfo_screen_height="1600"
|
||||
deviceinfo_gpu_accelerated="true"
|
||||
|
||||
# Bootloader related
|
||||
deviceinfo_flash_method="none"
|
||||
deviceinfo_kernel_cmdline="console=null"
|
||||
deviceinfo_cgpt_kpart="/boot/vmlinuz.kpart"
|
||||
deviceinfo_cgpt_kpart_start="8192"
|
||||
deviceinfo_cgpt_kpart_size="65536"
|
||||
deviceinfo_generate_depthcharge_image="true"
|
1
device/testing/device-google-kevin/modprobe.d/accel.conf
Normal file
1
device/testing/device-google-kevin/modprobe.d/accel.conf
Normal file
|
@ -0,0 +1 @@
|
|||
blacklist cros-ec-sensorhub
|
5
device/testing/device-google-kevin/phoc.ini
Normal file
5
device/testing/device-google-kevin/phoc.ini
Normal file
|
@ -0,0 +1,5 @@
|
|||
[cursor:seat0]
|
||||
map-to-output = eDP-1
|
||||
|
||||
[output:eDP-1]
|
||||
scale = 1.75
|
1
device/testing/device-google-kevin/pointercal
Normal file
1
device/testing/device-google-kevin/pointercal
Normal file
|
@ -0,0 +1 @@
|
|||
38624 -84 -281592 25 39219 -1306035 65536 2400 1600 0
|
Loading…
Reference in a new issue