oneplus-hotdogb: add device pkg (MR 4451)
[ci:skip-build]: already built successfully in CI
This commit is contained in:
parent
c0fc15d156
commit
4dc4b0adf6
2 changed files with 67 additions and 0 deletions
29
device/testing/device-oneplus-hotdogb/APKBUILD
Normal file
29
device/testing/device-oneplus-hotdogb/APKBUILD
Normal file
|
@ -0,0 +1,29 @@
|
|||
# Reference: <https://postmarketos.org/devicepkg>
|
||||
|
||||
pkgname=device-oneplus-hotdogb
|
||||
pkgdesc="OnePlus 7T"
|
||||
pkgver=0.1
|
||||
pkgrel=0
|
||||
url="https://postmarketos.org"
|
||||
license="MIT"
|
||||
arch="aarch64"
|
||||
options="!check !archcheck"
|
||||
depends="
|
||||
linux-postmarketos-qcom-sm8150
|
||||
mkbootimg
|
||||
postmarketos-base
|
||||
"
|
||||
makedepends="devicepkg-dev"
|
||||
source="deviceinfo"
|
||||
|
||||
build() {
|
||||
devicepkg_build $startdir $pkgname
|
||||
}
|
||||
|
||||
package() {
|
||||
devicepkg_package $startdir $pkgname
|
||||
}
|
||||
|
||||
sha512sums="
|
||||
047e6e9a072bcbbef2ac8be7813784d1e1776495734df3e0c3b116cb599908cb970dd3f98089298032eeb7870013cd4521d7be71e65b67f02e8d436238581d2b deviceinfo
|
||||
"
|
38
device/testing/device-oneplus-hotdogb/deviceinfo
Normal file
38
device/testing/device-oneplus-hotdogb/deviceinfo
Normal file
|
@ -0,0 +1,38 @@
|
|||
# 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 7T"
|
||||
deviceinfo_manufacturer="OnePlus"
|
||||
deviceinfo_codename="oneplus-hotdogb"
|
||||
deviceinfo_year="2019"
|
||||
deviceinfo_arch="aarch64"
|
||||
|
||||
# Device related
|
||||
deviceinfo_chassis="handset"
|
||||
deviceinfo_keyboard="false"
|
||||
deviceinfo_external_storage="false"
|
||||
deviceinfo_screen_width="1080"
|
||||
deviceinfo_screen_height="2400"
|
||||
|
||||
# Bootloader related
|
||||
deviceinfo_flash_method="fastboot"
|
||||
deviceinfo_kernel_cmdline="clk_ignore_unused"
|
||||
deviceinfo_generate_bootimg="true"
|
||||
deviceinfo_bootimg_qcdt="false"
|
||||
deviceinfo_bootimg_mtk_mkimage="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"
|
||||
|
||||
# Kernel options
|
||||
deviceinfo_dtb="qcom/sm8150-oneplus-hotdogb"
|
||||
deviceinfo_append_dtb="true"
|
||||
|
||||
# Required for devices using UFS as storage (instead of e.g. eMMC)
|
||||
deviceinfo_rootfs_image_sector_size="4096"
|
Loading…
Reference in a new issue