device-oneplus-billie2: new device
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7300>
This commit is contained in:
parent
2475ed461c
commit
3deafab416
3 changed files with 78 additions and 1 deletions
|
|
@ -1,6 +1,6 @@
|
|||
# Archived: Downstream port, only for testing. Use mainline port (oneplus-billie2)!
|
||||
# Reference: <https://postmarketos.org/vendorkernel>
|
||||
# Kernel config based on: arch/arm64/configs/vendor/bengal_defconfig
|
||||
# Reference: <https://postmarketos.org/vendorkernel>
|
||||
|
||||
pkgname=linux-oneplus-billie2-downstream
|
||||
pkgver=4.19.95
|
||||
|
|
|
|||
49
device/testing/device-oneplus-billie2/APKBUILD
Normal file
49
device/testing/device-oneplus-billie2/APKBUILD
Normal file
|
|
@ -0,0 +1,49 @@
|
|||
# Maintainer: Jonas Heinrich <onny@project-insanity.org>
|
||||
# Reference: <https://postmarketos.org/devicepkg>
|
||||
pkgname=device-oneplus-billie2
|
||||
pkgdesc="OnePlus Nord N100"
|
||||
pkgver=3
|
||||
pkgrel=0
|
||||
url="https://postmarketos.org"
|
||||
license="MIT"
|
||||
arch="aarch64"
|
||||
options="!check !archcheck"
|
||||
depends="postmarketos-base mkbootimg linux-firmware-none"
|
||||
makedepends="devicepkg-dev"
|
||||
subpackages="
|
||||
$pkgname-kernel-next:kernel_next
|
||||
$pkgname-kernel-stable:kernel_stable
|
||||
$pkgname-kernel-lts:kernel_lts
|
||||
"
|
||||
source="deviceinfo"
|
||||
|
||||
build() {
|
||||
devicepkg_build $startdir $pkgname
|
||||
}
|
||||
|
||||
package() {
|
||||
devicepkg_package $startdir $pkgname
|
||||
}
|
||||
|
||||
kernel_next() {
|
||||
pkgdesc="Unstable next kernel (linux-next)"
|
||||
depends="linux-next"
|
||||
devicepkg_subpackage_kernel $startdir $pkgname $subpkgname
|
||||
}
|
||||
|
||||
kernel_stable() {
|
||||
pkgdesc="Stable kernel from Alpine Linux (linux-stable)"
|
||||
depends="linux-stable"
|
||||
provides="$pkgname-kernel-edge=$pkgver-r$pkgrel"
|
||||
devicepkg_subpackage_kernel $startdir $pkgname $subpkgname
|
||||
}
|
||||
|
||||
kernel_lts() {
|
||||
pkgdesc="Long term support (LTS) kernel from Alpine Linux (linux-lts)"
|
||||
depends="linux-lts"
|
||||
devicepkg_subpackage_kernel $startdir $pkgname $subpkgname
|
||||
}
|
||||
|
||||
sha512sums="
|
||||
4c7ac05ac0cdc9eddc1ef33ef5f12b647159f6b924489db7bbdab19ea4dc0fcbac93dc853dab68c65ca578ef87da35774971fa133e5ec982dae76311a496cd63 deviceinfo
|
||||
"
|
||||
28
device/testing/device-oneplus-billie2/deviceinfo
Normal file
28
device/testing/device-oneplus-billie2/deviceinfo
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
# 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 Nord N100"
|
||||
deviceinfo_manufacturer="OnePlus"
|
||||
deviceinfo_codename="oneplus-billie2"
|
||||
deviceinfo_year="2020"
|
||||
deviceinfo_arch="aarch64"
|
||||
|
||||
# Device related
|
||||
deviceinfo_chassis="handset"
|
||||
deviceinfo_external_storage="true"
|
||||
|
||||
# Bootloader related
|
||||
deviceinfo_flash_method="fastboot"
|
||||
deviceinfo_kernel_cmdline="clk_ignore_unused pd_ignore_unused"
|
||||
deviceinfo_generate_bootimg="true"
|
||||
deviceinfo_flash_pagesize="4096"
|
||||
deviceinfo_header_version="2"
|
||||
deviceinfo_dtb="sm4250-oneplus-billie2"
|
||||
deviceinfo_append_dtb="false"
|
||||
deviceinfo_flash_offset_dtb="0x01f00000"
|
||||
deviceinfo_flash_offset_base="0x00000000"
|
||||
deviceinfo_flash_offset_kernel="0x00008000"
|
||||
deviceinfo_flash_offset_ramdisk="0x01000000"
|
||||
deviceinfo_flash_offset_second="0x00000000"
|
||||
deviceinfo_flash_offset_tags="0x00000100"
|
||||
Loading…
Add table
Add a link
Reference in a new issue