lenovo-lxf-p5100: new device (MR 6128)
This commit is contained in:
parent
ffa0f1245b
commit
8a42f604a9
3 changed files with 85 additions and 0 deletions
43
device/testing/device-lenovo-lxf-p5100/APKBUILD
Normal file
43
device/testing/device-lenovo-lxf-p5100/APKBUILD
Normal file
|
|
@ -0,0 +1,43 @@
|
|||
# Reference: <https://postmarketos.org/devicepkg>
|
||||
# Maintainer: exkc <exxxxkc@getgoogleoff.me>
|
||||
pkgname=device-lenovo-lxf-p5100
|
||||
pkgdesc="Lenovo Yoga Tab 3 10 LTE/WiFi"
|
||||
pkgver=3
|
||||
pkgrel=0
|
||||
url="https://postmarketos.org"
|
||||
license="MIT"
|
||||
arch="armv7"
|
||||
options="!check !archcheck"
|
||||
depends="
|
||||
linux-postmarketos-qcom-msm8916
|
||||
mkbootimg
|
||||
postmarketos-base
|
||||
soc-qcom-msm8909
|
||||
soc-qcom-msm8916-rproc
|
||||
"
|
||||
subpackages="$pkgname-nonfree-firmware:nonfree_firmware"
|
||||
makedepends="devicepkg-dev"
|
||||
source="deviceinfo modules-initfs"
|
||||
_pmb_select="soc-qcom-msm8916-rproc"
|
||||
|
||||
build() {
|
||||
devicepkg_build $startdir $pkgname
|
||||
}
|
||||
|
||||
package() {
|
||||
devicepkg_package $startdir $pkgname
|
||||
}
|
||||
|
||||
nonfree_firmware() {
|
||||
pkgdesc="GPU/WiFi/BT/Modem/Video firmware"
|
||||
depends="
|
||||
firmware-qcom-adreno-a300
|
||||
msm-firmware-loader
|
||||
"
|
||||
mkdir "$subpkgdir"
|
||||
}
|
||||
|
||||
sha512sums="
|
||||
bfae7b73c8db6c4b46bec1a61aacd73b195b005ef95bf6bf681e243d8894bc888b6b3ac0528fee8b709150e048812d6376a1b7307b40825a855d6cf35b6f65b8 deviceinfo
|
||||
e1047facaa306915608104db561e1f59148d0002de7124a75ef276a0d7401062ec571d4ba1c0c03d645932ac3e9c9a08f8ae09e82f7d85dff6f271eb77fe8513 modules-initfs
|
||||
"
|
||||
39
device/testing/device-lenovo-lxf-p5100/deviceinfo
Normal file
39
device/testing/device-lenovo-lxf-p5100/deviceinfo
Normal file
|
|
@ -0,0 +1,39 @@
|
|||
# Reference: <https://postmarketos.org/deviceinfo>
|
||||
# Please use double quotes only. You can source this file in shell scripts.
|
||||
|
||||
deviceinfo_format_version="0"
|
||||
deviceinfo_name="Lenovo Yoga Tab 3 10 LTE/WiFi"
|
||||
deviceinfo_manufacturer="Lenovo"
|
||||
deviceinfo_codename="lenovo-lxf-p5100"
|
||||
deviceinfo_year="2016"
|
||||
deviceinfo_dtb="qcom-msm8909-lenovo-lxf-p5100"
|
||||
deviceinfo_append_dtb="true"
|
||||
deviceinfo_arch="armv7"
|
||||
|
||||
# Device related
|
||||
deviceinfo_chassis="tablet"
|
||||
deviceinfo_keyboard="false"
|
||||
deviceinfo_external_storage="true"
|
||||
deviceinfo_screen_width="800"
|
||||
deviceinfo_screen_height="1280"
|
||||
deviceinfo_getty="ttyMSM0;115200"
|
||||
|
||||
# Bootloader related
|
||||
deviceinfo_flash_method="fastboot"
|
||||
deviceinfo_kernel_cmdline="earlycon console=ttyMSM0,115200"
|
||||
deviceinfo_generate_bootimg="true"
|
||||
deviceinfo_generate_extlinux_config="true"
|
||||
deviceinfo_flash_offset_base="0x80000000"
|
||||
deviceinfo_flash_offset_kernel="0x00008000"
|
||||
deviceinfo_flash_offset_ramdisk="0x01000000"
|
||||
deviceinfo_flash_offset_second="0x00f00000"
|
||||
deviceinfo_flash_offset_tags="0x01e00000"
|
||||
deviceinfo_flash_pagesize="2048"
|
||||
deviceinfo_flash_sparse="true"
|
||||
|
||||
# lk2nd does not support GPT for subpartitions/SD cards yet
|
||||
deviceinfo_partition_type="msdos"
|
||||
|
||||
# Ask lk2nd to pass buffer to the kernel
|
||||
# (the kernel cant setup its own buffer due to lack of driver)
|
||||
deviceinfo_kernel_cmdline="lk2nd.pass-simplefb=xrgb8888,autorefresh"
|
||||
3
device/testing/device-lenovo-lxf-p5100/modules-initfs
Normal file
3
device/testing/device-lenovo-lxf-p5100/modules-initfs
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
pm8916-lbc
|
||||
pm8916-bms-vm
|
||||
hideep
|
||||
Loading…
Add table
Add a link
Reference in a new issue