device/testing/device-asus-grouper: add kernel variants (MR 1532)

- E1565 is original "grouper" and it's for modern devices similar to
tilapia
- PM269 is earlier produced Nexuses with different PMIC (not very often
seen)

Closes: https://gitlab.com/postmarketOS/pmaports/-/issues/647
This commit is contained in:
David Heidelberg 2020-09-02 16:55:07 +02:00 committed by Bart Ribbers
parent 8819a3eb0f
commit b4eb58582a
No known key found for this signature in database
GPG key ID: 699D16185DAFAE61
2 changed files with 21 additions and 6 deletions

View file

@ -1,16 +1,18 @@
# Maintainer: David Heidelberg <david@ixit.cz>
pkgname=device-asus-grouper
pkgdesc="Google Nexus 7 2012 (grouper)"
pkgver=2
pkgrel=8
pkgver=3
pkgrel=0
url="https://postmarketos.org"
license="MIT"
arch="armv7"
options="!check !archcheck"
depends="postmarketos-base linux-asus-grouper mkbootimg mesa-dri-gallium"
depends="postmarketos-base mkbootimg mesa-dri-gallium"
makedepends="devicepkg-dev"
subpackages="$pkgname-phosh
$pkgname-nonfree-firmware:nonfree_firmware"
$pkgname-kernel-e1565:kernel_e1565
$pkgname-kernel-pm269:kernel_pm269
$pkgname-nonfree-firmware:nonfree_firmware"
source="deviceinfo
rootston.ini"
@ -28,6 +30,18 @@ phosh() {
"$subpkgdir"/etc/phosh/rootston.ini
}
kernel_e1565() {
pkgdesc="Mainline kernel for HW rev. E1565 (newer devices)"
depends="linux-asus-grouper"
devicepkg_subpackage_kernel $startdir $pkgname $subpkgname
}
kernel_pm269() {
pkgdesc="Mainline kernel for HW rev. PM269 (older devices)"
depends="linux-asus-grouper"
devicepkg_subpackage_kernel $startdir $pkgname $subpkgname
}
nonfree_firmware() {
pkgdesc="Google Nexus 7 (2012) WiFi & BT firmware"
depends="firmware-asus-grouper firmware-aosp-broadcom-wlan-mainline"
@ -35,5 +49,5 @@ nonfree_firmware() {
mkdir "$subpkgdir"
}
sha512sums="8df34852eb0d9e1a33dc14cfc8f6f37819b8e70ed9be4b21fb6b1a3d15b7eb28460f16022f316fc39a0d3624d0a7d357dd8635283c697a05f41ca43fac8d1965 deviceinfo
sha512sums="44b7f4fda803b64802fb562b08d6ec8eb249959c4ca7b29aaa6b2248b42bfda876aa721987bc3385993e7f3fb70fe48e8dd4fdaa23a343bfb499cf0a20635a31 deviceinfo
6ec993e278d2a73c72fb96f001716ded63543d99183847d22d172cd81ac410791c79370ecf391d0c24822c975d91b84dc1db296e1b28dbf66d5c227bff8d4011 rootston.ini"

View file

@ -6,7 +6,8 @@ deviceinfo_name="Google Nexus 7 2012 Wifi"
deviceinfo_manufacturer="Asus"
deviceinfo_codename="asus-grouper"
deviceinfo_year="2012"
deviceinfo_dtb="tegra30-asus-nexus7-grouper-E1565"
deviceinfo_dtb_e1565="tegra30-asus-nexus7-grouper-E1565"
deviceinfo_dtb_pm269="tegra30-asus-nexus7-grouper-PM269"
deviceinfo_append_dtb="true"
deviceinfo_modules_initfs=""
deviceinfo_arch="armv7"