google-veyron: new device (MR 4252)

[ci:skip-build] already built successfully in CI
This commit is contained in:
Anton Bambura 2023-07-15 02:08:03 +03:00 committed by Clayton Craft
parent 591ae745ae
commit d9116005f1
No known key found for this signature in database
GPG key ID: 4A4CED6D7EDF950A
2 changed files with 86 additions and 0 deletions

View file

@ -0,0 +1,57 @@
# Reference: <https://postmarketos.org/devicepkg>
# Maintainer: Jenneron <jenneron@protonmail.com>
pkgname=device-google-veyron
pkgdesc="Google Veyron Chromebooks"
pkgver=5
pkgrel=0
url="https://postmarketos.org"
license="MIT"
arch="armv7"
options="!check !archcheck"
depends="
alsa-ucm-conf>=1.2.7.1-r0
depthcharge-tools
linux-google-veyron
postmarketos-base
postmarketos-update-depthcharge-kernel
"
subpackages="$pkgname-nonfree-firmware:nonfree_firmware"
makedepends="devicepkg-dev"
source="deviceinfo"
# provides and replaces to switch old installations to this package
provides="
device-google-veyron-fievel=$pkgver-r$pkgrel
device-google-veyron-jaq=$pkgver-r$pkgrel
device-google-veyron-jerry=$pkgver-r$pkgrel
device-google-veyron-mickey=$pkgver-r$pkgrel
device-google-veyron-mighty=$pkgver-r$pkgrel
device-google-veyron-minnie=$pkgver-r$pkgrel
device-google-veyron-speedy=$pkgver-r$pkgrel
device-google-veyron-tiger=$pkgver-r$pkgrel
"
replaces="
device-google-veyron-fievel
device-google-veyron-jaq
device-google-veyron-jerry
device-google-veyron-mickey
device-google-veyron-mighty
device-google-veyron-minnie
device-google-veyron-speedy
device-google-veyron-tiger
"
package() {
devicepkg_package $startdir $pkgname
}
nonfree_firmware() {
pkgdesc="WiFi/BT firmware"
depends="linux-firmware-mrvl firmware-google-veyron-brcm"
mkdir "$subpkgdir"
}
sha512sums="
1685a281302bffb5e057bdf570e1af026a9b03b9803fa41970b2b102e70cff80898d361917dc79f7faf02314e17c719de2aa7e5b340794432730ba458387f844 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 Chromebook"
deviceinfo_manufacturer="Google"
deviceinfo_codename="google-veyron"
deviceinfo_year="2015"
deviceinfo_arch="armv7"
deviceinfo_dtb="rk3288-veyron*"
deviceinfo_modules_initfs="analogix-dp cros-ec cros-ec-keyb cros-ec-spi drm-dp-aux-bus drm-kms-helper dw-mipi-dsi dw-wdt elants-i2c gpio-charger gpu-sched panel-edp phy-rockchip-dp pwm-bl pwm-rockchip rockchipdrm sbs-battery videobuf2-dma-sg"
# 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_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="veyron"
deviceinfo_generate_depthcharge_image="true"
deviceinfo_generate_extlinux_config="true"