google-veyron-jerry: new device (MR 2318)

This commit is contained in:
tim 2021-07-07 10:26:16 -05:00 committed by Alexey Minnekhanov
parent 43e04d8e87
commit 5f97760ce3
No known key found for this signature in database
GPG key ID: EBF5ECFFFEE34DED
3 changed files with 65 additions and 0 deletions

View file

@ -0,0 +1,32 @@
# Reference: <https://postmarketos.org/devicepkg>
# Maintainer: Timothy Valldeperas <tvall43@gmail.com>
pkgname=device-google-veyron-jerry
pkgdesc="Google Veyron Jerry Chromebook"
pkgver=0.1
pkgrel=0
url="https://postmarketos.org"
license="MIT"
arch="armv7"
options="!check !archcheck"
depends="postmarketos-base linux-postmarketos-rockchip mesa-dri-gallium"
makedepends="devicepkg-dev"
source="
deviceinfo
extlinux.conf
"
build() {
devicepkg_build $startdir $pkgname
}
package() {
devicepkg_package $startdir $pkgname
install -D -m644 "$srcdir"/extlinux.conf \
"$pkgdir"/boot/extlinux/extlinux.conf
}
sha512sums="
dca6475b09021242f51b725e246143a44fa652b924bd80f6dc2d76a40f318c0aae431b56b04958f9862ebc79cc2a6e700450441ac6f350bc5bce8105b3ab4798 deviceinfo
89637ef52f23cc3bdb48448e7f222bcacefa32b418d0fe56c9b2d1a639a9b2523803602a34e92659f8abbf4c41dbc449342d7279546346c7bf30c369e81e3a8d extlinux.conf
"

View file

@ -0,0 +1,22 @@
# 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 Jerry Chromebook"
deviceinfo_manufacturer="Google"
deviceinfo_codename="google-veyron-jerry"
deviceinfo_year="2015"
deviceinfo_dtb=""
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"
deviceinfo_arch="armv7"
# Device related
deviceinfo_chassis="laptop"
deviceinfo_keyboard="true"
deviceinfo_external_storage="true"
deviceinfo_screen_width="1366"
deviceinfo_screen_height="768"
# Bootloader related
deviceinfo_flash_method="none"

View file

@ -0,0 +1,11 @@
timeout 10
default POSTMARKETOS
menu title boot prev kernel
label POSTMARKETOS
kernel /vmlinuz-postmarketos-rockchip
fdt /dtbs-postmarketos-rockchip/rk3288-veyron-jerry.dtb
initrd /initramfs-postmarketos-rockchip
append console=ttyS2,115200n8 earlyprintk=ttyS2,115200n8 console=tty1 nosplash panic=10 loglevel=5