asus-tf300tg: new device (ASUS Transformer Pad 3G) (MR 2495)
Signed-off-by: Svyatoslav Ryhel <clamor95@gmail.com>
This commit is contained in:
parent
1e85316a9d
commit
ca26a71e5a
4 changed files with 107 additions and 0 deletions
66
device/testing/device-asus-tf300tg/APKBUILD
Normal file
66
device/testing/device-asus-tf300tg/APKBUILD
Normal file
|
@ -0,0 +1,66 @@
|
|||
# Maintainer: Svyatoslav Ryhel <clamor95@gmail.com>
|
||||
|
||||
pkgname=device-asus-tf300tg
|
||||
pkgdesc="Asus Transformer Pad 3G TF300TG"
|
||||
pkgver=1
|
||||
pkgrel=0
|
||||
url="https://postmarketos.org"
|
||||
license="MIT"
|
||||
arch="armv7"
|
||||
options="!check !archcheck"
|
||||
depends="
|
||||
alsa-ucm-conf
|
||||
asus-transformer-blobtools
|
||||
libvdpau-tegra
|
||||
linux-postmarketos-grate
|
||||
mesa-dri-gallium
|
||||
mkbootimg
|
||||
postmarketos-base
|
||||
"
|
||||
makedepends="devicepkg-dev"
|
||||
source="
|
||||
deviceinfo
|
||||
pointercal
|
||||
rootston.ini
|
||||
"
|
||||
subpackages="
|
||||
$pkgname-nonfree-firmware:nonfree_firmware
|
||||
$pkgname-phosh
|
||||
$pkgname-x11
|
||||
"
|
||||
|
||||
build() {
|
||||
devicepkg_build $startdir $pkgname
|
||||
}
|
||||
|
||||
package() {
|
||||
devicepkg_package $startdir $pkgname
|
||||
|
||||
# osk-sdl touchscreen calibration
|
||||
install -Dm644 "$srcdir"/pointercal \
|
||||
"$pkgdir"/etc/pointercal
|
||||
}
|
||||
|
||||
phosh() {
|
||||
install_if="$pkgname=$pkgver-r$pkgrel postmarketos-ui-phosh"
|
||||
install -Dm644 "$srcdir"/rootston.ini \
|
||||
"$subpkgdir"/etc/phosh/rootston.ini
|
||||
}
|
||||
|
||||
nonfree_firmware() {
|
||||
pkgdesc="Asus Transformers WiFi & BT firmware"
|
||||
depends="firmware-asus-transformer"
|
||||
mkdir "$subpkgdir"
|
||||
}
|
||||
|
||||
x11() {
|
||||
install_if="$pkgname=$pkgver-r$pkgrel xorg-server"
|
||||
depends="xf86-video-opentegra"
|
||||
mkdir "$subpkgdir"
|
||||
}
|
||||
|
||||
sha512sums="
|
||||
fe051ecca0a74dbde0195daed9602152fe20149d286694c3b37e03806f0fcf7700ed343cc2431c9ff92a8a19a0c4d9a0f7ef6478736f78de839239cda1f37b1a deviceinfo
|
||||
d4270d13750b4c63a2f02a31ef42d00496ae71fc2c9cb8a7505da41d343911df353ff9150136f5cef143bf844024fee096f751ec0fa18589fae51dc30b1063c6 pointercal
|
||||
6ec993e278d2a73c72fb96f001716ded63543d99183847d22d172cd81ac410791c79370ecf391d0c24822c975d91b84dc1db296e1b28dbf66d5c227bff8d4011 rootston.ini
|
||||
"
|
32
device/testing/device-asus-tf300tg/deviceinfo
Normal file
32
device/testing/device-asus-tf300tg/deviceinfo
Normal file
|
@ -0,0 +1,32 @@
|
|||
# Reference: <https://postmarketos.org/deviceinfo>
|
||||
# Please use double quotes only. You can source this file in shell scripts.
|
||||
|
||||
deviceinfo_format_version="0"
|
||||
deviceinfo_name="Asus Transformer Pad 3G TF300TG"
|
||||
deviceinfo_manufacturer="Asus"
|
||||
deviceinfo_codename="asus-tf300tg"
|
||||
deviceinfo_year="2012"
|
||||
deviceinfo_dtb="tegra30-asus-tf300tg"
|
||||
deviceinfo_append_dtb="true"
|
||||
deviceinfo_modules_initfs="i2c-hotplug-gpio asus-ec asus-dockram atkbd asus-ec-keys asus-ec-kbc asus-ec-battery asus-ec-charger lvds-codec panel-simple elants-i2c"
|
||||
deviceinfo_arch="armv7"
|
||||
|
||||
# Device related
|
||||
deviceinfo_chassis="tablet"
|
||||
deviceinfo_keyboard="true"
|
||||
deviceinfo_external_storage="true"
|
||||
deviceinfo_screen_width="1280"
|
||||
deviceinfo_screen_height="800"
|
||||
|
||||
# Bootloader related
|
||||
deviceinfo_flash_method="fastboot"
|
||||
deviceinfo_generate_bootimg="true"
|
||||
deviceinfo_bootimg_qcdt="false"
|
||||
deviceinfo_bootimg_blobpack="sign"
|
||||
deviceinfo_flash_offset_base="0x10000000"
|
||||
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="760"
|
1
device/testing/device-asus-tf300tg/pointercal
Normal file
1
device/testing/device-asus-tf300tg/pointercal
Normal file
|
@ -0,0 +1 @@
|
|||
37231 309 79480 91 37879 -381696 65536 1280 800 0
|
8
device/testing/device-asus-tf300tg/rootston.ini
Normal file
8
device/testing/device-asus-tf300tg/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