diff --git a/device/testing/device-google-raven/APKBUILD b/device/testing/device-google-raven/APKBUILD new file mode 100644 index 000000000..a2e04331b --- /dev/null +++ b/device/testing/device-google-raven/APKBUILD @@ -0,0 +1,33 @@ +maintainer="Ingo Reitz <9l@9lo.re>" +pkgname=device-google-raven +pkgdesc="Google Pixel 6 Pro" +pkgver=1 +pkgrel=0 +url="https://postmarketos.org" +license="MIT" +arch="aarch64" +options="!check !archcheck" +depends=" + android-tools + linux-postmarketos-gs101 + postmarketos-base + soc-google-gs101 +" +makedepends="devicepkg-dev" +source=" + deviceinfo + modules-initfs +" + +build() { + devicepkg_build $startdir $pkgname +} + +package() { + devicepkg_package $startdir $pkgname +} + +sha512sums=" +d5ea6a7c7b68616ec1f14b4abb6d0fa68ee5a28ab2329afe185909c7957f14743f35813c480af468315296574f49780faa11d305d36e3ec340872dc23851ea94 deviceinfo +a5171dc7a4221a5a63c02820bac1e372c557cee72db9f777099f67eb272595fad6019f876cb47dd1bf455eeb3a45a74f215f2e8c44a6e1bf7cf3d7d9f49d98ad modules-initfs +" diff --git a/device/testing/device-google-raven/deviceinfo b/device/testing/device-google-raven/deviceinfo new file mode 100644 index 000000000..5bdfc8040 --- /dev/null +++ b/device/testing/device-google-raven/deviceinfo @@ -0,0 +1,26 @@ +# Reference: +# Please use double quotes only. You can source this file in shell +# scripts. + +deviceinfo_format_version="0" +deviceinfo_name="Google Pixel 6 Pro" +deviceinfo_manufacturer="Google" +deviceinfo_codename="google-raven" +deviceinfo_year="2021" +deviceinfo_dtb="exynos/google/gs101-raven" +deviceinfo_arch="aarch64" + +# Device related +deviceinfo_chassis="handset" +deviceinfo_external_storage="false" +deviceinfo_drm="true" + +# Bootloader related +deviceinfo_flash_method="fastboot" +deviceinfo_flash_fastboot_partition_vbmeta="vbmeta" +deviceinfo_kernel_cmdline="ignore_loglevel earlycon console=ttySAC0,3000000n8 clk_ignore_unused printk.devkmsg=on log_buf_len=1024K at24.write_timeout=100 init_fatal_sh adbd usbcore.autosuspend=-1" +deviceinfo_generate_bootimg="true" +deviceinfo_flash_pagesize="4096" +deviceinfo_header_version="4" + +deviceinfo_rootfs_image_sector_size="4096" diff --git a/device/testing/device-google-raven/modules-initfs b/device/testing/device-google-raven/modules-initfs new file mode 100644 index 000000000..643ee9586 --- /dev/null +++ b/device/testing/device-google-raven/modules-initfs @@ -0,0 +1,12 @@ +# This file shall contain a list of modules to be included in the initramfs, +# so that they are available in early boot stages. In general, it should +# include modules to support unlocking FDE (touchscreen, panel, etc), +# USB networking, and telnet in the debug-shell. +# The format is one module name per line. Lines starting with the character +# '#', and empty lines are ignored. If there are multiple kernel variants +# with different initramfs module requirements, one modules-initfs.$variant +# file should be created for each of them. + +ufs-exynos +dm-mod +simplefb