From 5f97760ce3e6dd6987cd37f6a30055127d3d11cd Mon Sep 17 00:00:00 2001 From: tim Date: Wed, 7 Jul 2021 10:26:16 -0500 Subject: [PATCH] google-veyron-jerry: new device (MR 2318) --- .../device-google-veyron-jerry/APKBUILD | 32 +++++++++++++++++++ .../device-google-veyron-jerry/deviceinfo | 22 +++++++++++++ .../device-google-veyron-jerry/extlinux.conf | 11 +++++++ 3 files changed, 65 insertions(+) create mode 100644 device/testing/device-google-veyron-jerry/APKBUILD create mode 100644 device/testing/device-google-veyron-jerry/deviceinfo create mode 100644 device/testing/device-google-veyron-jerry/extlinux.conf diff --git a/device/testing/device-google-veyron-jerry/APKBUILD b/device/testing/device-google-veyron-jerry/APKBUILD new file mode 100644 index 000000000..e462cd0af --- /dev/null +++ b/device/testing/device-google-veyron-jerry/APKBUILD @@ -0,0 +1,32 @@ +# Reference: +# Maintainer: Timothy Valldeperas +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 +" diff --git a/device/testing/device-google-veyron-jerry/deviceinfo b/device/testing/device-google-veyron-jerry/deviceinfo new file mode 100644 index 000000000..dedff30e1 --- /dev/null +++ b/device/testing/device-google-veyron-jerry/deviceinfo @@ -0,0 +1,22 @@ +# Reference: +# 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" diff --git a/device/testing/device-google-veyron-jerry/extlinux.conf b/device/testing/device-google-veyron-jerry/extlinux.conf new file mode 100644 index 000000000..dccef4ba5 --- /dev/null +++ b/device/testing/device-google-veyron-jerry/extlinux.conf @@ -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 + +