Skip to content
Snippets Groups Projects
Verified Commit 080cbb28 authored by Raihan Ahamed's avatar Raihan Ahamed Committed by Robert Eckelmann
Browse files

device-lenovo-kuntao: add gpu firmware, panel and modem (MR 5756)

parent 6f706424
No related branches found
No related tags found
1 merge request!5756device-lenovo-kuntao: add gpu firmware and panel
# Reference: <https://postmarketos.org/devicepkg>
pkgname=device-lenovo-kuntao
pkgdesc="Lenovo P2"
pkgver=2
pkgrel=1
pkgver=3
pkgrel=0
url="https://postmarketos.org"
license="MIT"
arch="aarch64"
options="!check !archcheck"
depends="
firmware-lenovo-kuntao
firmware-qcom-adreno-a530
linux-postmarketos-qcom-msm8953
lk2nd-msm8953
mkbootimg
msm-firmware-loader
postmarketos-base
soc-qcom-msm8953-modem
"
makedepends="devicepkg-dev"
source="deviceinfo"
subpackages="
$pkgname-nonfree-firmware:nonfree_firmware
"
source="deviceinfo modules-initfs"
build() {
devicepkg_build $startdir $pkgname
......@@ -27,12 +28,7 @@ package() {
devicepkg_package $startdir $pkgname
}
nonfree_firmware() {
pkgdesc="GPU/Wi-Fi/Bluetooth/Audio/Video/Modem firmware"
depends="msm-firmware-loader"
mkdir "$subpkgdir"
}
sha512sums="
0eb7a1a0b10e79d4d8b64b22cda74ccd6f8ef1d5f30ac75dd08e3eb6858ac730f4cba4561adb74d23dc5cf118df6708ea4508c1fc4d347a7dd0ae510fb8b7f60 deviceinfo
2ce6911ef54351f46819b3323e361ce60297b30f94e81a77e2d20b1bc294e51e3a0fa859ad8e257fa3fdef404a47dd3b64c247222cb7ca73f03cb4dcd083d1f8 modules-initfs
"
msm
panel_lenovo_kuntao_549
pkgname=firmware-lenovo-kuntao
pkgver=1
pkgrel=0
pkgdesc="Firmware files for Lenovo P2"
url="https://gitlab.com/raihan2000/$pkgname"
arch="aarch64"
license="proprietary"
options="!strip !check !archcheck !spdx !tracedeps pmb:cross-native"
_commit="009a366625c413aee2cc827ae94ed8ca75a3cebb"
source="$pkgname-$_commit.tar.gz::$url/-/archive/$_commit/$pkgname-$_commit.tar.gz"
builddir="$srcdir/$pkgname-$_commit"
_fwdir="/lib/firmware/qcom/msm8953/lenovo/kuntao"
package() {
# GPU Firmware files
install -Dm644 a506_zap.b02 -t "$pkgdir/$_fwdir"
install -Dm644 a506_zap.mdt -t "$pkgdir/$_fwdir"
}
sha512sums="
ebf5a43df59ec99ae63483cff1d0cfd25fa754e30910d8f9130bf43cc5c44278b5a23652585c44902fca943b022b858e3c6d55822aea45930a999dcce16285ee firmware-lenovo-kuntao-009a366625c413aee2cc827ae94ed8ca75a3cebb.tar.gz
"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment