oppo-a51f: drop device port (MR 3014)
Unfortunately, the oppo-a51f has been unmaintained for quite some time now. The original author (harutora) has disappeared and no one else seems to have this device. The device port has several open problems: 1. The device was never added properly to upstream lk2nd, because of a special (OPPO-specific) boot image format. Users need to compile and install some outdated version of lk2nd, which is no longer (fully) compatible with newer kernel versions. 2. The authorship of the Linux changes are unclear: They were created with a "no-reply" email address and without Signed-off-by line that clarifies the licensing of the changes and permits upstreaming the patches. Since oppo-a51f is the last remaining device port in linux-postmarketos -qcom-msm8916 with this problem, I decided to drop the patches from the kernel, at least until harutora returns or can clarify the authorship of the created patches.
This commit is contained in:
parent
be91c62136
commit
224ca9037c
3 changed files with 0 additions and 95 deletions
|
@ -1,34 +0,0 @@
|
|||
# Reference: <https://postmarketos.org/devicepkg>
|
||||
pkgname=device-oppo-a51f
|
||||
pkgdesc="OPPO Mirror 5s"
|
||||
pkgver=3
|
||||
pkgrel=1
|
||||
url="https://postmarketos.org"
|
||||
license="MIT"
|
||||
arch="aarch64"
|
||||
options="!check !archcheck"
|
||||
depends="postmarketos-base mkbootimg linux-postmarketos-qcom-msm8916 soc-qcom-msm8916"
|
||||
makedepends="devicepkg-dev"
|
||||
source="deviceinfo"
|
||||
subpackages="$pkgname-nonfree-firmware:nonfree_firmware"
|
||||
|
||||
build() {
|
||||
devicepkg_build $startdir $pkgname
|
||||
}
|
||||
|
||||
package() {
|
||||
devicepkg_package $startdir $pkgname
|
||||
}
|
||||
|
||||
nonfree_firmware() {
|
||||
pkgdesc="GPU/WiFi/BT/Video firmware"
|
||||
# msm-firmware-loader not needed because modem is not supported yet
|
||||
depends="firmware-qcom-adreno-a300
|
||||
firmware-qcom-msm8916-wcnss firmware-oppo-a51f-wcnss-nv
|
||||
firmware-qcom-msm8916-venus"
|
||||
mkdir "$subpkgdir"
|
||||
}
|
||||
|
||||
sha512sums="
|
||||
bcd3115119f4b3bee851315035b0f5f735e62c293d8e9ac22ca5c8012f349e5cb5b055b0d1b6ea0fefaed06a4db10b2b5b61e81a70e83194805a787ce59feee5 deviceinfo
|
||||
"
|
|
@ -1,34 +0,0 @@
|
|||
# Reference: <https://postmarketos.org/deviceinfo>
|
||||
# Please use double quotes only. You can source this file in shell scripts.
|
||||
|
||||
deviceinfo_format_version="0"
|
||||
deviceinfo_name="OPPO Mirror 5s"
|
||||
deviceinfo_manufacturer="OPPO"
|
||||
deviceinfo_codename="oppo-a51f"
|
||||
deviceinfo_year="2015"
|
||||
deviceinfo_dtb="qcom/msm8916-oppo-a51f"
|
||||
deviceinfo_append_dtb="true"
|
||||
deviceinfo_arch="aarch64"
|
||||
|
||||
# Device related
|
||||
deviceinfo_chassis="handset"
|
||||
deviceinfo_keyboard="false"
|
||||
deviceinfo_external_storage="true"
|
||||
deviceinfo_screen_width="720"
|
||||
deviceinfo_screen_height="1280"
|
||||
deviceinfo_getty="ttyMSM0;115200"
|
||||
|
||||
# MSM DRM cannot take over the framebuffer from the bootloader at the moment
|
||||
deviceinfo_no_framebuffer="true"
|
||||
|
||||
# Bootloader related
|
||||
deviceinfo_flash_method="fastboot"
|
||||
deviceinfo_kernel_cmdline="earlycon console=ttyMSM0,115200 PMOS_NO_OUTPUT_REDIRECT"
|
||||
deviceinfo_generate_bootimg="true"
|
||||
deviceinfo_flash_offset_base="0x80000000"
|
||||
deviceinfo_flash_offset_kernel="0x00080000"
|
||||
deviceinfo_flash_offset_ramdisk="0x02000000"
|
||||
deviceinfo_flash_offset_second="0x00f00000"
|
||||
deviceinfo_flash_offset_tags="0x01e00000"
|
||||
deviceinfo_flash_pagesize="2048"
|
||||
deviceinfo_flash_sparse="true"
|
|
@ -1,27 +0,0 @@
|
|||
pkgname=firmware-oppo-a51f
|
||||
pkgver=1
|
||||
pkgrel=1
|
||||
_commit="2064c468592fcd5ac080a7de20039b8c0e6aec83"
|
||||
pkgdesc="Firmware files for Oppo A51f"
|
||||
url="https://postmarketos.org"
|
||||
subpackages="$pkgname-wcnss-nv:wcnss_nv"
|
||||
arch="aarch64"
|
||||
license="proprietary"
|
||||
source="https://gitlab.com/natsu1978/firmware-oppo-a51f/-/archive/$_commit/firmware-oppo-a51f-$_commit.tar.gz"
|
||||
options="!check !strip !archcheck !tracedeps pmb:cross-native"
|
||||
builddir="$srcdir/firmware-oppo-a51f-$_commit"
|
||||
|
||||
_fwdir="/lib/firmware/postmarketos"
|
||||
|
||||
package() {
|
||||
# parent package is empty
|
||||
mkdir -p "$pkgdir"
|
||||
}
|
||||
|
||||
wcnss_nv() {
|
||||
pkgdesc="Oppo A51f WiFi/BT firmware configuration"
|
||||
install -Dm644 "$builddir"/WCNSS_qcom_wlan_nv.bin -t "$subpkgdir/$_fwdir"/wlan/prima
|
||||
|
||||
}
|
||||
|
||||
sha512sums="e0da84c04df9aa2bfaff24498cf6831f0bc6c15087627056395cd14fc258463df4c076f65393915aa4a73d65b34aa19f9b3283002206436d2153a71fba7fe052 firmware-oppo-a51f-2064c468592fcd5ac080a7de20039b8c0e6aec83.tar.gz"
|
Loading…
Reference in a new issue