firmware-oneplus-lemonade: add more firmware (MR 4729)

This commit is contained in:
Nia Espera 2023-12-03 03:18:09 +01:00 committed by Pablo Correa Gómez
parent 25557afcb5
commit 34eedabcf4
No known key found for this signature in database
GPG key ID: 7A342565FF635F79
5 changed files with 36 additions and 8 deletions

View file

@ -0,0 +1,5 @@
/lib/firmware/qcom/sm8350/OnePlus/lemonade/adsp.mbn
/lib/firmware/qcom/sm8350/OnePlus/lemonade/cdsp.mbn
/lib/firmware/qcom/sm8350/OnePlus/lemonade/ipa_fws.mbn
/lib/firmware/qcom/sm8350/OnePlus/lemonade/modem.mbn
/lib/firmware/qcom/sm8350/OnePlus/lemonade/slpi.mbn

View file

@ -0,0 +1,2 @@
/lib/firmware/qca/hpbtfw10.tlv
/lib/firmware/qca/hpnv10.bin

View file

@ -0,0 +1,3 @@
/lib/firmware/qcom/a660_gmu.bin
/lib/firmware/qcom/a660_sqe.fw
/lib/firmware/qcom/sm8350/OnePlus/lemonade/a660_zap.mbn

View file

@ -0,0 +1 @@
/lib/firmware/qcom/sm8350/OnePlus/lemonade/FW_S3908_SAMSUNG.img

View file

@ -1,21 +1,38 @@
pkgname=firmware-oneplus-lemonade pkgname=firmware-oneplus-lemonade
pkgver=1 pkgver=2
pkgrel=0 pkgrel=0
_commit="558e673e1b7e3adcccc1c94b296c4ee1d38927b9" _commit="338eca8f58f48a4ef60721c4eb65d0d950a6b394"
pkgdesc="Firmware files for oneplus lemonade" pkgdesc="Firmware files for OnePlus lemonade and lemonadep"
url="https://gitlab.com/Robbbbbb/firmware-oneplus-lemonade" url="https://gitlab.com/sm8350-mainline/firmware-oneplus-lemonade"
arch="aarch64" arch="aarch64"
depends="linux-firmware-qcom linux-firmware-qca"
license="proprietary" license="proprietary"
source="$pkgname-$_commit.tar.gz::$url/-/archive/$_commit/firmware-oneplus-lemonade.tar.gz" source="$pkgname-$_commit.tar.gz::$url/-/archive/$_commit/firmware-oneplus-lemonade.tar.gz 10-remoteproc-firmware.files 20-bluetooth-firmware.files 30-gpu-firmware.files 40-touchscreen-firmware.files"
options="!check !strip !archcheck !spdx !tracedeps pmb:cross-native" options="!check !strip !archcheck !spdx !tracedeps pmb:cross-native"
builddir="$srcdir/firmware-oneplus-lemonade-$_commit" builddir="$srcdir/firmware-oneplus-lemonade-$_commit"
#subpackages="$pkgname-initramfs:firmware_initramfs"
package() { package() {
_files="adsp.mbn cdsp.mbn ipa_fws.mbn modem.mbn slpi.mbn" _files="a660_zap.mbn a660_gmu.bin adsp.mbn cdsp.mbn hpbtfw10.tlv hpnv10.bin ipa_fws.mbn mcfg_hw.mbn modem.mbn slpi.mbn FW_S3908_SAMSUNG.img"
for _i in $_files; do for _i in $_files; do
install -Dm644 "$_i" "$pkgdir/lib/firmware/postmarketos/$_i" install -Dm644 "$_i" "$pkgdir/lib/firmware/qcom/sm8350/OnePlus/lemonade/$_i"
done done
_files_qca="hpbtfw10.tlv hpnv10.bin"
for _i in $_files_qca; do
install -Dm644 "$_i" "$pkgdir/lib/firmware/qca/$_i"
done
install -Dm644 "$srcdir/10-remoteproc-firmware.files" "$pkgdir/usr/share/mkinitfs/files/10-remoteproc-firmware.files"
install -Dm644 "$srcdir/20-bluetooth-firmware.files" "$pkgdir/usr/share/mkinitfs/files/20-bluetooth-firmware.files"
install -Dm644 "$srcdir/30-gpu-firmware.files" "$pkgdir/usr/share/mkinitfs/files/30-gpu-firmware.files"
install -Dm644 "$srcdir/40-touchscreen-firmware.files" "$pkgdir/usr/share/mkinitfs/files/40-touchscreen-firmware.files"
} }
sha512sums=" sha512sums="
783ff1cd824cc1d72329b2daf3b773c790263c88f2726837ffff0c340998f023f9e3b8f26829fef3a930dff79e7f8ddb53ebe6f23bd4864040c22d0ded98a760 firmware-oneplus-lemonade-558e673e1b7e3adcccc1c94b296c4ee1d38927b9.tar.gz eb579c78d2cacc5263d60333eed0f5307b42f35b1d3f06f1f4de034bfe61492e91898905322e799e8e7646d72e796560f3ffabb48f3cd15d118777bb17195e5c firmware-oneplus-lemonade-338eca8f58f48a4ef60721c4eb65d0d950a6b394.tar.gz
945fe55fa474ac9c1c2bb457aa144f876e69a0c0b92ab8994b1ad7c55d4a4cee163c950b156403c6528ab7f2001608afbfb94a688307feb1494555c84114e920 10-remoteproc-firmware.files
5ecca04bab9c49597c92c29f1e395cede1add41fb5b414d149caaa0258332d90cac4e85375cd50175a8e1c3b109808f501ff28425dbbada9f333f6338c3f5379 20-bluetooth-firmware.files
f23b9a7d3aa784f765960170b75fb35c5a4b5e291acac37dae9663272645b76ca27a89d4d8576e09da63c46d3f8e482aeda1d0e118d3159584b4e877bb42a52e 30-gpu-firmware.files
48091de1cab6337ec93f1c1e3b960356777c9638dc1cf0786c236589e99e5cac1d61ccd3160239df76a67dfe376417c4925639058961fd3f9e5e00f4007528f8 40-touchscreen-firmware.files
" "