google-elm: new device (MR 3505)
[ci:skip-build] Already built successfuly on CI in MR
This commit is contained in:
parent
602ecf8bdf
commit
6d77ccc0e2
2 changed files with 65 additions and 0 deletions
38
device/testing/device-google-elm/APKBUILD
Normal file
38
device/testing/device-google-elm/APKBUILD
Normal file
|
@ -0,0 +1,38 @@
|
||||||
|
# Reference: <https://postmarketos.org/devicepkg>
|
||||||
|
# Maintainer: Jenneron <jenneron@protonmail.com>
|
||||||
|
pkgname=device-google-elm
|
||||||
|
pkgdesc="Acer Chromebook R13"
|
||||||
|
pkgver=1
|
||||||
|
pkgrel=0
|
||||||
|
url="https://postmarketos.org"
|
||||||
|
license="MIT"
|
||||||
|
arch="aarch64"
|
||||||
|
options="!check !archcheck"
|
||||||
|
depends="
|
||||||
|
depthcharge-tools
|
||||||
|
linux-postmarketos-mediatek-mt8173
|
||||||
|
mesa-dri-gallium
|
||||||
|
postmarketos-base
|
||||||
|
postmarketos-update-depthcharge-kernel
|
||||||
|
"
|
||||||
|
makedepends="devicepkg-dev"
|
||||||
|
source="deviceinfo"
|
||||||
|
subpackages="$pkgname-nonfree-firmware:nonfree_firmware"
|
||||||
|
|
||||||
|
build() {
|
||||||
|
devicepkg_build $startdir $pkgname
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
devicepkg_package $startdir $pkgname
|
||||||
|
}
|
||||||
|
|
||||||
|
nonfree_firmware() {
|
||||||
|
pkgdesc="WiFi/BT and GPU firmware"
|
||||||
|
depends="linux-firmware-mrvl linux-firmware-mediatek firmware-powervr-gx6250"
|
||||||
|
mkdir "$subpkgdir"
|
||||||
|
}
|
||||||
|
|
||||||
|
sha512sums="
|
||||||
|
baca81e238cf5d272204f34b0189cb3504421b9fa86022de78c31d8631b929ebfa3e5fbe5262a69952df3d00a0e2da31af40857fdbcf1fe48e4681d25a76ca96 deviceinfo
|
||||||
|
"
|
27
device/testing/device-google-elm/deviceinfo
Normal file
27
device/testing/device-google-elm/deviceinfo
Normal file
|
@ -0,0 +1,27 @@
|
||||||
|
# Reference: <https://postmarketos.org/deviceinfo>
|
||||||
|
# Please use double quotes only. You can source this file in shell
|
||||||
|
# scripts.
|
||||||
|
|
||||||
|
deviceinfo_format_version="0"
|
||||||
|
deviceinfo_name="Acer Chromebook R13"
|
||||||
|
deviceinfo_manufacturer="Acer"
|
||||||
|
deviceinfo_codename="google-elm"
|
||||||
|
deviceinfo_year="2017"
|
||||||
|
deviceinfo_dtb="mediatek/mt8173-elm"
|
||||||
|
deviceinfo_modules_initfs="elants-i2c elan-i2c elan-i2c-core cros-ec-keyb"
|
||||||
|
deviceinfo_arch="aarch64"
|
||||||
|
|
||||||
|
# Device related
|
||||||
|
deviceinfo_chassis="convertible"
|
||||||
|
deviceinfo_keyboard="true"
|
||||||
|
deviceinfo_external_storage="true"
|
||||||
|
deviceinfo_screen_width="1920"
|
||||||
|
deviceinfo_screen_height="1080"
|
||||||
|
|
||||||
|
# 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"
|
Loading…
Reference in a new issue