google-fennel14: new device (MR 3489)
This commit is contained in:
parent
d123359627
commit
a21e0c569a
4 changed files with 97 additions and 0 deletions
66
device/testing/device-google-fennel14/APKBUILD
Normal file
66
device/testing/device-google-fennel14/APKBUILD
Normal file
|
@ -0,0 +1,66 @@
|
||||||
|
# Reference: <https://postmarketos.org/devicepkg>
|
||||||
|
# Maintainer: Jenneron <jenneron@protonmail.com>
|
||||||
|
pkgname=device-google-fennel14
|
||||||
|
pkgdesc="Lenovo IdeaPad 3 Chromebook (MT8183)"
|
||||||
|
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.sku0
|
||||||
|
modules-load.d/sound.conf.sku2
|
||||||
|
"
|
||||||
|
subpackages="
|
||||||
|
$pkgname-kernel-sku0:kernel_sku0
|
||||||
|
$pkgname-kernel-sku2:kernel_sku2
|
||||||
|
$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-mediatek"
|
||||||
|
mkdir "$subpkgdir"
|
||||||
|
}
|
||||||
|
|
||||||
|
kernel_sku0() {
|
||||||
|
pkgdesc="Google Fennel14 Sku 0"
|
||||||
|
depends="linux-postmarketos-mtk-mt8183"
|
||||||
|
devicepkg_subpackage_kernel $startdir $pkgname $subpkgname
|
||||||
|
|
||||||
|
install -Dm644 "$srcdir"/sound.conf.sku0 \
|
||||||
|
"$pkgdir"/etc/modules-load.d/sound.conf
|
||||||
|
}
|
||||||
|
|
||||||
|
kernel_sku2() {
|
||||||
|
pkgdesc="Google Fennel14 Sku 2"
|
||||||
|
depends="linux-postmarketos-mtk-mt8183"
|
||||||
|
devicepkg_subpackage_kernel $startdir $pkgname $subpkgname
|
||||||
|
|
||||||
|
install -Dm644 "$srcdir"/sound.conf.sku2 \
|
||||||
|
"$pkgdir"/etc/modules-load.d/sound.conf
|
||||||
|
}
|
||||||
|
|
||||||
|
sha512sums="
|
||||||
|
ca56d4b4c3331e232f4bb22ede08ce7ae675db3e3662a1f0bd3e105f4a5892339bf395e49029ccdfc0daa05f2324efdbef45b4f18c8350c5919b1b0de028db73 deviceinfo
|
||||||
|
37f11d243c4ecfd07bfb74e2d34e4c261db3a6aff755bf2dd08dad998de47e511c21082ca0d181e77e093e6f940fc570d8aef87fbc3a73ba55cb9f34b8c510f2 sound.conf.sku0
|
||||||
|
bdf45461873b9754bc91d7f72afd6cef1aa6e523ead0a7816c8976ed98ff2d39b66c53dba2f2d92e36162c092360d1524845f27160f6af2bb010cd3259d5b7ed sound.conf.sku2
|
||||||
|
"
|
29
device/testing/device-google-fennel14/deviceinfo
Normal file
29
device/testing/device-google-fennel14/deviceinfo
Normal 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="Lenovo IdeaPad 3 Chromebook (MT8183)"
|
||||||
|
deviceinfo_manufacturer="Lenovo"
|
||||||
|
deviceinfo_codename="google-fennel14"
|
||||||
|
deviceinfo_year="2020"
|
||||||
|
deviceinfo_dtb_sku0="mediatek/mt8183-kukui-jacuzzi-fennel14"
|
||||||
|
deviceinfo_dtb_sku2="mediatek/mt8183-kukui-jacuzzi-fennel14-sku2"
|
||||||
|
deviceinfo_modules_initfs="gpu-sched elan-i2c-core cros-ec-keyb sbs-battery"
|
||||||
|
deviceinfo_arch="aarch64"
|
||||||
|
|
||||||
|
# Device related
|
||||||
|
deviceinfo_chassis="convertible"
|
||||||
|
deviceinfo_keyboard="true"
|
||||||
|
deviceinfo_external_storage="true"
|
||||||
|
deviceinfo_screen_width="1920"
|
||||||
|
deviceinfo_screen_height="1080"
|
||||||
|
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-da7219-max98357
|
|
@ -0,0 +1 @@
|
||||||
|
mt8183-mt6358-ts3a227-max98357
|
Loading…
Reference in a new issue