devices/testing: add device-oneplus-lemonadep (MR 4729)
This commit is contained in:
parent
b76664e25b
commit
e3fd584570
2 changed files with 82 additions and 0 deletions
42
device/testing/device-oneplus-lemonadep/APKBUILD
Normal file
42
device/testing/device-oneplus-lemonadep/APKBUILD
Normal file
|
@ -0,0 +1,42 @@
|
|||
# Reference: <https://postmarketos.org/devicepkg>
|
||||
pkgname=device-oneplus-lemonadep
|
||||
pkgdesc="OnePlus 9 Pro"
|
||||
pkgver=0.1
|
||||
pkgrel=0
|
||||
url="https://postmarketos.org"
|
||||
license="MIT"
|
||||
arch="aarch64"
|
||||
options="!check !archcheck"
|
||||
depends="
|
||||
linux-postmarketos-qcom-sm8350
|
||||
mkbootimg
|
||||
postmarketos-base
|
||||
soc-qcom-sm8350
|
||||
bootmac
|
||||
"
|
||||
makedepends="
|
||||
devicepkg-dev
|
||||
"
|
||||
source="
|
||||
deviceinfo
|
||||
"
|
||||
|
||||
subpackages="$pkgname-nonfree-firmware:nonfree_firmware"
|
||||
|
||||
build() {
|
||||
devicepkg_build $startdir $pkgname
|
||||
}
|
||||
|
||||
package() {
|
||||
devicepkg_package $startdir $pkgname
|
||||
}
|
||||
|
||||
nonfree_firmware() {
|
||||
pkgdesc="Modem, WiFi, and GPU Firmware"
|
||||
depends="firmware-oneplus-lemonade"
|
||||
mkdir "$subpkgdir"
|
||||
}
|
||||
|
||||
sha512sums="
|
||||
3ea708f0aea7005bef14dd1c7c808c9f8c95851559a165e946cb8fdff6955c054f77bf4c3fc8b67415d937db2524290e8a93418db12d5bf2d6d683dec2d1a59e deviceinfo
|
||||
"
|
40
device/testing/device-oneplus-lemonadep/deviceinfo
Normal file
40
device/testing/device-oneplus-lemonadep/deviceinfo
Normal file
|
@ -0,0 +1,40 @@
|
|||
# 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 9 Pro"
|
||||
deviceinfo_manufacturer="OnePlus"
|
||||
deviceinfo_codename="oneplus-lemonadep"
|
||||
deviceinfo_year="2021"
|
||||
deviceinfo_dtb="qcom/sm8350-oneplus-lemonadep"
|
||||
deviceinfo_arch="aarch64"
|
||||
|
||||
# Device related
|
||||
deviceinfo_chassis="handset"
|
||||
deviceinfo_keyboard="false"
|
||||
deviceinfo_external_storage="false"
|
||||
deviceinfo_screen_width="1080"
|
||||
deviceinfo_screen_height="2412"
|
||||
|
||||
# Bootloader related
|
||||
deviceinfo_flash_method="fastboot"
|
||||
deviceinfo_kernel_cmdline="rd.rootfs=super:4096 fw_devlink=permissive clk_ignore_unused pd_ignore_unused loglevel=7 console=tty0 PMOS_NOSPLASH PMOS_NO_OUTPUT_REDIRECT"
|
||||
deviceinfo_generate_bootimg="true"
|
||||
deviceinfo_bootimg_qcdt="false"
|
||||
deviceinfo_bootimg_mtk_mkimage="false"
|
||||
deviceinfo_bootimg_dtb_second="false"
|
||||
deviceinfo_flash_pagesize="4096"
|
||||
deviceinfo_flash_sparse="true"
|
||||
deviceinfo_flash_fastboot_partition_vbmeta="vbmeta"
|
||||
deviceinfo_flash_fastboot_partition_system="super"
|
||||
deviceinfo_header_version="1"
|
||||
deviceinfo_flash_offset_base="0x00000000"
|
||||
deviceinfo_flash_offset_dtb="0x01f00000"
|
||||
deviceinfo_flash_offset_kernel="0x00008000"
|
||||
deviceinfo_flash_offset_ramdisk="0x01000000"
|
||||
deviceinfo_flash_offset_second="0x00000000"
|
||||
deviceinfo_flash_offset_tags="0x00000100"
|
||||
deviceinfo_rootfs_image_sector_size="4096"
|
||||
deviceinfo_append_dtb="true"
|
||||
|
Loading…
Reference in a new issue