oneplus-fajita: new device (OnePlus 6T) (MR 1221)

Device package for mainline OnePlus 6T

[ci:skip-build]
This commit is contained in:
Caleb Connolly 2020-05-17 23:47:25 +01:00 committed by Alexey Min
parent 7484c0154c
commit 546a70f039
No known key found for this signature in database
GPG key ID: EBF5ECFFFEE34DED
2 changed files with 61 additions and 0 deletions

View file

@ -0,0 +1,24 @@
# Reference: <https://postmarketos.org/devicepkg>
# Maintainer: Caleb Connolly <caleb@connolly.tech>
pkgname=device-oneplus-fajita
pkgdesc="OnePlus 6"
pkgver=0.1
pkgrel=0
url="https://postmarketos.org"
license="MIT"
arch="aarch64"
options="!check !archcheck"
depends="postmarketos-base linux-oneplus-sdm845 mkbootimg mesa-dri-gallium"
makedepends="devicepkg-dev"
source="deviceinfo"
build() {
devicepkg_build $startdir $pkgname
}
package() {
devicepkg_package $startdir $pkgname
}
sha512sums="aea2d44b24ae16a9426e01fb45ef4277de293677deffcc89344e63e36d3088e9e12d3a0c2d041027f4521ff040f37f717dbe923dbd67f5c0351ba17bed8b067d deviceinfo"

View file

@ -0,0 +1,37 @@
# Reference: <https://postmarketos.org/deviceinfo>
# Please use double quotes only. You can source this file in shell scripts.
deviceinfo_format_version="0"
deviceinfo_name="OnePlus 6T"
deviceinfo_manufacturer="OnePlus"
deviceinfo_codename="oneplus-fajita"
deviceinfo_year="2018"
deviceinfo_modules_initfs=""
deviceinfo_arch="aarch64"
# Device related
deviceinfo_keyboard="false"
deviceinfo_external_storage="false"
deviceinfo_screen_width="1080"
deviceinfo_screen_height="2340"
# Bootloader related
deviceinfo_flash_method="fastboot"
deviceinfo_kernel_cmdline="PMOS_NO_OUTPUT_REDIRECT"
deviceinfo_generate_bootimg="true"
deviceinfo_bootimg_qcdt="false"
deviceinfo_bootimg_dtb_second="false"
deviceinfo_flash_offset_base="0x00000000"
deviceinfo_flash_offset_kernel="0x00008000"
deviceinfo_flash_offset_ramdisk="0x01000000"
deviceinfo_flash_offset_second="0x00f00000"
deviceinfo_flash_offset_tags="0x00000100"
deviceinfo_flash_pagesize="4096"
deviceinfo_flash_sparse="true"
# Kernel options
deviceinfo_dtb="qcom/sdm845-oneplus-enchilada"
deviceinfo_append_dtb="true"
# Required for devices using UFS as storage (instead of e.g. eMMC)
deviceinfo_rootfs_image_sector_size="4096"