google-veyron-mighty: new device (MR 3772)

This commit is contained in:
Anton Bambura 2022-12-29 18:55:32 +02:00 committed by Oliver Smith
parent bee023cc1c
commit 01b684f271
No known key found for this signature in database
GPG key ID: 5AE7F5513E0885CB
2 changed files with 67 additions and 0 deletions

View file

@ -0,0 +1,38 @@
# Reference: <https://postmarketos.org/devicepkg>
# Maintainer: Jenneron <jenneron@protonmail.com>
pkgname=device-google-veyron-mighty
pkgdesc="Google Veyron Mighty Chromebooks"
pkgver=1
pkgrel=0
url="https://postmarketos.org"
license="MIT"
arch="armv7"
options="!check !archcheck"
depends="
alsa-ucm-conf
depthcharge-tools
linux-google-veyron
postmarketos-base
postmarketos-update-depthcharge-kernel
"
makedepends="devicepkg-dev"
subpackages="$pkgname-nonfree-firmware:nonfree_firmware"
source="deviceinfo"
build() {
devicepkg_build $startdir $pkgname
}
package() {
devicepkg_package $startdir $pkgname
}
nonfree_firmware() {
pkgdesc="WiFi/BT firmware"
depends="linux-firmware-mrvl"
mkdir "$subpkgdir"
}
sha512sums="
5ca1b1cae646ed6582d37efd20c9c0be5b9c71f4fd42c2c4320b27678489ce466b4a3c51ee46ae4b3643979f4ea176b6745f9a1adc236448395463baf2537284 deviceinfo
"

View 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="Google Veyron Mighty Chromebook"
deviceinfo_manufacturer="Google"
deviceinfo_codename="google-veyron-mighty"
deviceinfo_year="2016"
deviceinfo_dtb="rk3288-veyron-mighty"
deviceinfo_modules_initfs="panel_simple pwm_bl rockchipdrm dw_mipi_dsi drm_kms_helper gpu_sched phy_rockchip_dp pwm_rockchip dw_wdt videobuf2_dma_sg analogix_dp drm-dp-aux-bus panel-edp gpio-charger cros-ec cros-ec-spi sbs-battery cros-ec-keyb"
deviceinfo_arch="armv7"
# Device related
deviceinfo_chassis="laptop"
deviceinfo_keyboard="true"
deviceinfo_external_storage="true"
deviceinfo_screen_width="1366"
deviceinfo_screen_height="768"
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="24576"
deviceinfo_cgpt_kpart_size="32768"
deviceinfo_depthcharge_board="mighty"
deviceinfo_generate_depthcharge_image="true"