oneplus-dumpling: add support for alpine-edge kernel (MR 3336)
Adds Alpine's linux-edge as a kernel for the OnePlus 5T. [ci:skip-build]
This commit is contained in:
parent
7e43e9aba7
commit
8f1e9d1940
2 changed files with 22 additions and 11 deletions
|
@ -2,8 +2,8 @@
|
||||||
# Reference: <https://postmarketos.org/devicepkg>
|
# Reference: <https://postmarketos.org/devicepkg>
|
||||||
pkgname=device-oneplus-dumpling
|
pkgname=device-oneplus-dumpling
|
||||||
pkgdesc="OnePlus 5T"
|
pkgdesc="OnePlus 5T"
|
||||||
pkgver=2
|
pkgver=3
|
||||||
pkgrel=1
|
pkgrel=0
|
||||||
url="https://postmarketos.org"
|
url="https://postmarketos.org"
|
||||||
license="MIT"
|
license="MIT"
|
||||||
arch="aarch64"
|
arch="aarch64"
|
||||||
|
@ -19,6 +19,7 @@ source="
|
||||||
phoc.ini
|
phoc.ini
|
||||||
"
|
"
|
||||||
subpackages="
|
subpackages="
|
||||||
|
$pkgname-kernel-alpine:kernel_alpine
|
||||||
$pkgname-kernel-mainline:kernel_mainline
|
$pkgname-kernel-mainline:kernel_mainline
|
||||||
$pkgname-nonfree-firmware:nonfree_firmware
|
$pkgname-nonfree-firmware:nonfree_firmware
|
||||||
$pkgname-phosh
|
$pkgname-phosh
|
||||||
|
@ -32,8 +33,14 @@ package() {
|
||||||
devicepkg_package $startdir $pkgname
|
devicepkg_package $startdir $pkgname
|
||||||
}
|
}
|
||||||
|
|
||||||
|
kernel_alpine() {
|
||||||
|
pkgdesc="Pure mainline kernel, unpatched Alpine linux-edge"
|
||||||
|
depends="linux-edge linux-firmware-none"
|
||||||
|
devicepkg_subpackage_kernel $startdir $pkgname $subpkgname
|
||||||
|
}
|
||||||
|
|
||||||
kernel_mainline() {
|
kernel_mainline() {
|
||||||
pkgdesc="Close to mainline kernel"
|
pkgdesc="Close to mainline kernel, plenty of working features and fixes"
|
||||||
# NOTE: soc-qcom-sdm845 is also applicable to msm8998
|
# NOTE: soc-qcom-sdm845 is also applicable to msm8998
|
||||||
depends="linux-postmarketos-qcom-msm8998 soc-qcom-sdm845"
|
depends="linux-postmarketos-qcom-msm8998 soc-qcom-sdm845"
|
||||||
devicepkg_subpackage_kernel $startdir $pkgname $subpkgname
|
devicepkg_subpackage_kernel $startdir $pkgname $subpkgname
|
||||||
|
@ -52,6 +59,6 @@ phosh() {
|
||||||
}
|
}
|
||||||
|
|
||||||
sha512sums="
|
sha512sums="
|
||||||
db12a9f71dbd384bf5d190a16091b29a15fcb1ec2f9a333e5f464588cacd2feb8e532daed9d9780ee208c7bb15c3cd3f79668ec3e7bc63561043d7812c347f14 deviceinfo
|
affbfb887c9f590d93b0234b3997b6de6e10a067d8d4ecf382548eb39f15d4036f8bea20f94c5cf04f357ad5f26a67f09c189fb6695e38fe9da1942e0c3a95e4 deviceinfo
|
||||||
2288f08a44aae5136c0c0c846501c2bd4bcb10f05454b40c6e4490d398385b8a7129216047b5eb7982ca6d62d3aa71f3e18bfb8661d0cd32c8a600685ca0da48 phoc.ini
|
2288f08a44aae5136c0c0c846501c2bd4bcb10f05454b40c6e4490d398385b8a7129216047b5eb7982ca6d62d3aa71f3e18bfb8661d0cd32c8a600685ca0da48 phoc.ini
|
||||||
"
|
"
|
||||||
|
|
|
@ -32,13 +32,17 @@ deviceinfo_flash_sparse="true"
|
||||||
# Required for devices using UFS as storage (instead of e.g. eMMC)
|
# Required for devices using UFS as storage (instead of e.g. eMMC)
|
||||||
deviceinfo_rootfs_image_sector_size="4096"
|
deviceinfo_rootfs_image_sector_size="4096"
|
||||||
|
|
||||||
# Mainline kernel options
|
# Common mainline kernel options
|
||||||
deviceinfo_dtb_mainline="qcom/msm8998-oneplus-dumpling"
|
deviceinfo_flash_kernel_on_update="true"
|
||||||
deviceinfo_append_dtb_mainline="true"
|
deviceinfo_dtb="qcom/msm8998-oneplus-dumpling"
|
||||||
|
deviceinfo_append_dtb="true"
|
||||||
|
|
||||||
|
# Close to mainline kernel options
|
||||||
# We need 'clk_ignore_unused' for now or we don't get graphics
|
# We need 'clk_ignore_unused' for now or we don't get graphics
|
||||||
deviceinfo_kernel_cmdline_mainline="clk_ignore_unused quiet loglevel=5"
|
deviceinfo_kernel_cmdline_mainline="clk_ignore_unused quiet loglevel=5"
|
||||||
deviceinfo_flash_kernel_on_update="true"
|
|
||||||
|
|
||||||
# Initramfs
|
|
||||||
deviceinfo_modules_initfs_mainline="panel-samsung-s6e3fc1 msm i2c-qup rmi_i2c qcom_fg qcom_spmi_haptics"
|
deviceinfo_modules_initfs_mainline="panel-samsung-s6e3fc1 msm i2c-qup rmi_i2c qcom_fg qcom_spmi_haptics"
|
||||||
deviceinfo_mesa_driver="msm"
|
deviceinfo_mesa_driver_mainline="msm"
|
||||||
|
|
||||||
|
# Alpine kernel options
|
||||||
|
deviceinfo_kernel_cmdline_alpine="PMOS_NO_OUTPUT_REDIRECT"
|
||||||
|
deviceinfo_modules_initfs_alpine="fixed qcom_glink_rpm smd-rpm qcom_smd-regulator qcom-apcs-ipc-mailbox clk-qcom gcc-msm8998 phy-qcom-qmp phy-qcom-qusb2 configfs libcomposite udc-core dwc3 dwc3-qcom af_packet nvmem_qfprom spmi qcom-spmi-pmic qcom-pon governor_simpleondemand clk-smd-rpm ufs_qcom evdev i2c-qup bam_dma rmi_i2c"
|
||||||
|
|
Loading…
Reference in a new issue