device/device-asus-tilapia: create standalone device for tilapia (!1025)
Previously (after switch to mainline) it was used device-asus-grouper. Signed-off-by: David Heidelberg <david@ixit.cz>
This commit is contained in:
parent
9d2b37dc34
commit
64ba17490b
5 changed files with 87 additions and 0 deletions
39
device/device-asus-tilapia/APKBUILD
Normal file
39
device/device-asus-tilapia/APKBUILD
Normal file
|
@ -0,0 +1,39 @@
|
||||||
|
# Maintainer: David Heidelberg <david@ixit.cz>
|
||||||
|
pkgname="device-asus-tilapia"
|
||||||
|
pkgdesc="Google Nexus 7 2012 (tilapia)"
|
||||||
|
pkgver=0
|
||||||
|
pkgrel=0
|
||||||
|
url="https://postmarketos.org"
|
||||||
|
license="MIT"
|
||||||
|
arch="armv7"
|
||||||
|
options="!check !archcheck"
|
||||||
|
depends="postmarketos-base linux-asus-grouper mkbootimg mesa-git-dri-gallium"
|
||||||
|
makedepends="devicepkg-dev"
|
||||||
|
subpackages="$pkgname-phosh
|
||||||
|
$pkgname-nonfree-firmware:nonfree_firmware"
|
||||||
|
source="deviceinfo
|
||||||
|
rootston.ini"
|
||||||
|
|
||||||
|
build() {
|
||||||
|
devicepkg_build $startdir $pkgname
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
devicepkg_package $startdir $pkgname
|
||||||
|
}
|
||||||
|
|
||||||
|
phosh() {
|
||||||
|
install_if="$pkgname postmarketos-ui-phosh"
|
||||||
|
install -Dm644 "$srcdir"/rootston.ini \
|
||||||
|
"$subpkgdir"/etc/phosh/rootston.ini
|
||||||
|
}
|
||||||
|
|
||||||
|
nonfree_firmware() {
|
||||||
|
pkgdesc="Google Nexus 7 (2012) WiFi & BT firmware"
|
||||||
|
depends="firmware-asus-grouper firmware-aosp-broadcom-wlan-mainline"
|
||||||
|
install="$pkgname-nonfree_firmware.post-install $pkgname-nonfree_firmware.pre-deinstall"
|
||||||
|
mkdir "$subpkgdir"
|
||||||
|
}
|
||||||
|
|
||||||
|
sha512sums="058ff1aa9b3647157facf67109fb31c415680c8ed21fe1d38b2b96c2a98a2764de9cc3384163ad2e222e5f1b07f4658c7fdbcdc6ae408d4b316d5d5732aa7a2a deviceinfo
|
||||||
|
6ec993e278d2a73c72fb96f001716ded63543d99183847d22d172cd81ac410791c79370ecf391d0c24822c975d91b84dc1db296e1b28dbf66d5c227bff8d4011 rootston.ini"
|
|
@ -0,0 +1,3 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
rc-update add bluetooth default
|
|
@ -0,0 +1,3 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
rc-update del bluetooth default
|
34
device/device-asus-tilapia/deviceinfo
Normal file
34
device/device-asus-tilapia/deviceinfo
Normal file
|
@ -0,0 +1,34 @@
|
||||||
|
# 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 Nexus 7 2012 GSM"
|
||||||
|
deviceinfo_manufacturer="Asus"
|
||||||
|
deviceinfo_codename="asus-tilapia"
|
||||||
|
deviceinfo_date=""
|
||||||
|
deviceinfo_dtb="tegra30-asus-nexus7-tilapia"
|
||||||
|
deviceinfo_append_dtb="true"
|
||||||
|
deviceinfo_modules_initfs=""
|
||||||
|
deviceinfo_arch="armv7"
|
||||||
|
|
||||||
|
# Device related
|
||||||
|
deviceinfo_keyboard="false"
|
||||||
|
deviceinfo_external_storage="false"
|
||||||
|
deviceinfo_screen_width="800"
|
||||||
|
deviceinfo_screen_height="1280"
|
||||||
|
deviceinfo_dev_touchscreen="/dev/input/event1"
|
||||||
|
deviceinfo_dev_touchscreen_calibration=""
|
||||||
|
deviceinfo_dev_keyboard=""
|
||||||
|
|
||||||
|
# Bootloader related
|
||||||
|
deviceinfo_flash_method="fastboot"
|
||||||
|
deviceinfo_kernel_cmdline=""
|
||||||
|
deviceinfo_generate_bootimg="true"
|
||||||
|
deviceinfo_bootimg_qcdt="false"
|
||||||
|
deviceinfo_flash_offset_base=""
|
||||||
|
deviceinfo_flash_offset_kernel="0x00008000"
|
||||||
|
deviceinfo_flash_offset_ramdisk="0x01000000"
|
||||||
|
deviceinfo_flash_offset_second="0x00f00000"
|
||||||
|
deviceinfo_flash_offset_tags="0x00000100"
|
||||||
|
deviceinfo_flash_pagesize="2048"
|
||||||
|
deviceinfo_flash_fastboot_max_size="650"
|
8
device/device-asus-tilapia/rootston.ini
Normal file
8
device/device-asus-tilapia/rootston.ini
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
#[core]
|
||||||
|
#xwayland=false
|
||||||
|
|
||||||
|
[cursor:seat0]
|
||||||
|
map-to-output:LVDS-1
|
||||||
|
|
||||||
|
[output:LVDS-1]
|
||||||
|
scale = 1
|
Loading…
Reference in a new issue