firmware-samsung-v1awifi: Move downstream firmware into own package
And use config hosted on gitlab Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7231>
This commit is contained in:
@@ -0,0 +1,40 @@
|
||||
# Archived: Downstream port, replaced by mainline port.
|
||||
pkgname=firmware-samsung-v1awifi-downstream
|
||||
pkgdesc="Firmware for Samsung Galaxy Tab Pro 12.2"
|
||||
pkgver=3
|
||||
pkgrel=0
|
||||
url="https://github.com/exynos5420/android_vendor_samsung_v1a-common"
|
||||
arch="armv7"
|
||||
license="proprietary"
|
||||
_commit="2bf0fc3da1fe95e188fcf78f6d80cff56375778a"
|
||||
source="$pkgname-$pkgver.tar.gz::https://github.com/exynos5420/android_vendor_samsung_v1a-common/archive/$_commit.tar.gz"
|
||||
options="!check !strip !archcheck !spdx !tracedeps pmb:cross-native"
|
||||
# All the files are picked from proprietary/etc/wifi, so put this path instead of the root directory
|
||||
builddir="$srcdir/android_vendor_samsung_v1a-common-$_commit/proprietary/etc/wifi"
|
||||
|
||||
package() {
|
||||
install -Dm644 "$builddir"/bcmdhd_apsta.bin_4354_a1 \
|
||||
"$pkgdir"/lib/firmware/postmarketos/bcmdhd_apsta.bin_4354_a1
|
||||
|
||||
install -Dm644 "$builddir"/bcmdhd_ibss.bin_4354_a1 \
|
||||
"$pkgdir"/lib/firmware/postmarketos/bcmdhd_ibss.bin_4354_a1
|
||||
|
||||
install -Dm644 "$builddir"/bcmdhd_mfg.bin_4354_a1 \
|
||||
"$pkgdir"/lib/firmware/postmarketos/bcmdhd_mfg.bin_4354_a1
|
||||
|
||||
install -Dm644 "$builddir"/bcmdhd_sta.bin_4354_a1 \
|
||||
"$pkgdir"/lib/firmware/postmarketos/bcmdhd_sta.bin_4354_a1
|
||||
|
||||
install -Dm644 "$builddir"/cred.conf \
|
||||
"$pkgdir"/lib/firmware/postmarketos/cred.conf
|
||||
|
||||
install -Dm644 "$builddir"/nvram_mfg.txt_4354_a1 \
|
||||
"$pkgdir"/lib/firmware/postmarketos/nvram_mfg.txt_4354_a1
|
||||
|
||||
install -Dm644 "$builddir"/nvram_net.txt_4354_a1 \
|
||||
"$pkgdir"/lib/firmware/postmarketos/nvram_net.txt_4354_a1
|
||||
}
|
||||
|
||||
sha512sums="
|
||||
f95569da626e30755866e131d485b8c1882164883289cd2ed3ed1cad172b8d7da03b2a760bc2e4c138e419215b37c7fcbe6921c8c3d0bf97fcad6afb913410d2 firmware-samsung-v1awifi-downstream-3.tar.gz
|
||||
"
|
||||
@@ -3,13 +3,13 @@
|
||||
pkgname=device-samsung-v1awifi
|
||||
pkgdesc="Samsung Galaxy Note Pro 12.2 WiFi"
|
||||
pkgver=6
|
||||
pkgrel=0
|
||||
pkgrel=1
|
||||
url="https://postmarketos.org"
|
||||
license="MIT"
|
||||
arch="armv7"
|
||||
options="!check !archcheck"
|
||||
depends="
|
||||
firmware-samsung-v1awifi-mainline
|
||||
firmware-samsung-v1awifi
|
||||
linux-firmware-brcm
|
||||
linux-firmware-s5p-mfc
|
||||
linux-postmarketos-exynos5
|
||||
|
||||
@@ -1,79 +1,46 @@
|
||||
# Maintainer: Hendrik Noack <hendrik.noack@protonmail.com>
|
||||
pkgname=firmware-samsung-v1awifi
|
||||
pkgdesc="Firmware for Samsung Galaxy Tab Pro 12.2"
|
||||
pkgver=2
|
||||
pkgrel=1
|
||||
pkgver=3
|
||||
pkgrel=0
|
||||
url="https://github.com/exynos5420/android_vendor_samsung_v1a-common"
|
||||
arch="armv7"
|
||||
license="proprietary"
|
||||
options="!check !strip !archcheck !spdx !tracedeps pmb:cross-native"
|
||||
subpackages="
|
||||
$pkgname-downstream:downstream
|
||||
$pkgname-mainline:mainline
|
||||
"
|
||||
|
||||
#Source
|
||||
_commit_v1a="2bf0fc3da1fe95e188fcf78f6d80cff56375778a"
|
||||
_commit_universal="8f5241f7637477d3ecae65c67b9315d343257fad"
|
||||
_cfg_commit="5a1eb40e80f9de6c6bad9d0cd1438339c41af3ad"
|
||||
_cfg_url="https://gitlab.com/Eisenbahnfan/exynos5-firmware/-/raw/$_cfg_commit"
|
||||
_universal_commit="8f5241f7637477d3ecae65c67b9315d343257fad"
|
||||
_universal_url="https://github.com/exynos5420/android_vendor_samsung_universal5420-common/raw/$_universal_commit"
|
||||
_v1a_commit="2bf0fc3da1fe95e188fcf78f6d80cff56375778a"
|
||||
_v1a_url="https://github.com/exynos5420/android_vendor_samsung_v1a-common/raw/$_v1a_commit"
|
||||
source="
|
||||
$pkgname-v1a-$pkgver.tar.gz::https://github.com/exynos5420/android_vendor_samsung_v1a-common/archive/$_commit_v1a.tar.gz
|
||||
$pkgname-universal-$pkgver.tar.gz::https://github.com/exynos5420/android_vendor_samsung_universal5420-common/archive/$_commit_universal.tar.gz
|
||||
maxtouch.cfg
|
||||
30-touchscreen-firmware.files
|
||||
BCM4354.samsung,v1a-wifi.hcd::$_universal_url/proprietary/vendor/firmware/bcm4350_V0301.0609.hcd
|
||||
brcmfmac4354-sdio.samsung,v1a-wifi.txt::$_v1a_url/proprietary/etc/wifi/nvram_net.txt_4354_a0
|
||||
maxtouch_v1.cfg::$_cfg_url/mXT1664S_v.cfg
|
||||
"
|
||||
# All the files are picked from proprietary/etc/wifi, so put this path instead of the root directory
|
||||
builddir="$srcdir/android_vendor_samsung_v1a-common-$_commit_v1a/proprietary/etc/wifi"
|
||||
|
||||
package() {
|
||||
mkdir -p "$pkgdir"
|
||||
}
|
||||
|
||||
downstream() {
|
||||
pkgdesc="Firmware for Samsung Samsung Galaxy Tab Pro 12.2 when using downstream kernel"
|
||||
|
||||
install -Dm644 "$builddir"/bcmdhd_apsta.bin_4354_a1 \
|
||||
"$subpkgdir"/lib/firmware/postmarketos/bcmdhd_apsta.bin_4354_a1
|
||||
|
||||
install -Dm644 "$builddir"/bcmdhd_ibss.bin_4354_a1 \
|
||||
"$subpkgdir"/lib/firmware/postmarketos/bcmdhd_ibss.bin_4354_a1
|
||||
|
||||
install -Dm644 "$builddir"/bcmdhd_mfg.bin_4354_a1 \
|
||||
"$subpkgdir"/lib/firmware/postmarketos/bcmdhd_mfg.bin_4354_a1
|
||||
|
||||
install -Dm644 "$builddir"/bcmdhd_sta.bin_4354_a1 \
|
||||
"$subpkgdir"/lib/firmware/postmarketos/bcmdhd_sta.bin_4354_a1
|
||||
|
||||
install -Dm644 "$builddir"/cred.conf \
|
||||
"$subpkgdir"/lib/firmware/postmarketos/cred.conf
|
||||
|
||||
install -Dm644 "$builddir"/nvram_mfg.txt_4354_a1 \
|
||||
"$subpkgdir"/lib/firmware/postmarketos/nvram_mfg.txt_4354_a1
|
||||
|
||||
install -Dm644 "$builddir"/nvram_net.txt_4354_a1 \
|
||||
"$subpkgdir"/lib/firmware/postmarketos/nvram_net.txt_4354_a1
|
||||
}
|
||||
|
||||
mainline() {
|
||||
pkgdesc="Firmware for Samsung Samsung Galaxy Tab Pro 12.2 when using mainline kernel"
|
||||
cd "$srcdir"
|
||||
|
||||
# Bluetooth
|
||||
install -Dm644 "$srcdir/android_vendor_samsung_universal5420-common-$_commit_universal"/proprietary/vendor/firmware/bcm4350_V0301.0609.hcd \
|
||||
"$subpkgdir"/lib/firmware/postmarketos/brcm/BCM4354.samsung,v1a-wifi.hcd
|
||||
install -Dm644 BCM4354.samsung,v1a-wifi.hcd \
|
||||
-t "$pkgdir/lib/firmware/postmarketos/brcm/"
|
||||
|
||||
# Wifi
|
||||
install -Dm644 "$builddir"/nvram_net.txt_4354_a0 \
|
||||
"$subpkgdir"/lib/firmware/postmarketos/brcm/brcmfmac4354-sdio.samsung,v1a-wifi.txt
|
||||
install -Dm644 brcmfmac4354-sdio.samsung,v1a-wifi.txt \
|
||||
-t "$pkgdir/lib/firmware/postmarketos/brcm/"
|
||||
|
||||
# Touchscreen
|
||||
install -Dm644 "$srcdir"/maxtouch.cfg \
|
||||
"$subpkgdir"/lib/firmware/postmarketos/maxtouch.cfg
|
||||
install -Dm644 "$srcdir"/30-touchscreen-firmware.files \
|
||||
"$subpkgdir"/usr/share/mkinitfs/files/30-touchscreen-firmware.files
|
||||
install -Dm644 maxtouch_v1.cfg \
|
||||
-t "$pkgdir/lib/firmware/postmarketos/maxtouch.cfg"
|
||||
install -Dm644 30-touchscreen-firmware.files \
|
||||
-t "$pkgdir/usr/share/mkinitfs/files/"
|
||||
}
|
||||
|
||||
sha512sums="
|
||||
f95569da626e30755866e131d485b8c1882164883289cd2ed3ed1cad172b8d7da03b2a760bc2e4c138e419215b37c7fcbe6921c8c3d0bf97fcad6afb913410d2 firmware-samsung-v1awifi-v1a-2.tar.gz
|
||||
42360515f27f0e74d55ba60ea9713d5584da4c5b831deb9f5ee9443eb08156f0fcb7af3d2cb13ae6549c76f7e85ba3d0064ab395ed079b7ad9576ddb31c65c08 firmware-samsung-v1awifi-universal-2.tar.gz
|
||||
769fff7ed8ceb8c140a13f8d7d422a17b663060fefe5e90d503c654cd6301a8ceb36c8560bd6684ff1070aa9debe4dd366cd9f5802b16de0d96eed1cadd04f1a maxtouch.cfg
|
||||
d92d73d06d88371d8842cca02b9a396414d6f9e879c74afd8fd540c76a97edbd8655d903815a2aed508785b3fe96fa5798fbd1ceb918098b8b788555ba4267cf 30-touchscreen-firmware.files
|
||||
2a5c682c520d7a35343abc0caccc1809fa022184a5684fd5fd579da6126273dbbb1441ec4f178f6295eb6360cccddbab070bc969924f1341839cd4c296222d8c BCM4354.samsung,v1a-wifi.hcd
|
||||
71d5220e56b2277b86fc7257f687dec91f2bf5e87e00cad9465bea40b6965f240599a3c39fb4d16b116e7d530ff93bc1015e8e7a574fc4b04f686097a71a86b7 brcmfmac4354-sdio.samsung,v1a-wifi.txt
|
||||
769fff7ed8ceb8c140a13f8d7d422a17b663060fefe5e90d503c654cd6301a8ceb36c8560bd6684ff1070aa9debe4dd366cd9f5802b16de0d96eed1cadd04f1a maxtouch_v1.cfg
|
||||
"
|
||||
|
||||
@@ -1,54 +0,0 @@
|
||||
OBP_RAW V1
|
||||
A2 00 21 AA 20 34 20
|
||||
391D1C
|
||||
F96153
|
||||
0044 0000 0049 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
|
||||
0026 0000 0040 30 33 31 35 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
|
||||
0047 0000 00A8 00 01 01 05 64 64 28 05 03 0A 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 19 10 03 20 00 1D 00 1D 00 01 01 01 01 01 78 0C 23 2A 1E 3F 18 0C 00 00 00 5B 00 00 00 00 00 00 00 00 00 5B 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 08 0F 2A 0F 00 14 00 00 00 00 00 03 00 00 00 00 00 00 00 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
|
||||
0007 0000 0004 19 FF 03 C3
|
||||
0008 0000 000A 28 00 05 0A 00 00 05 0A 80 64
|
||||
0009 0000 002F 83 00 00 20 33 01 6E 28 02 01 0A 0A 03 42 0A 1E 1E 05 FF 0F FF 0F FE FE FD 02 00 00 40 00 3C 0C 34 34 00 07 43 C8 40 3C 00 00 00 00 00 FF 00
|
||||
0009 0001 002F 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
|
||||
000F 0000 000B 03 1A 33 06 01 02 5A 1E 02 0A 00
|
||||
0012 0000 0002 00 00
|
||||
0013 0000 0006 00 00 00 00 00 00
|
||||
0019 0000 0015 00 00 00 00 00 00 00 00 00 00 00 00 00 00 C8 00 00 00 00 00 00
|
||||
0028 0000 0005 00 00 00 00 00
|
||||
0028 0001 0005 00 00 00 00 00
|
||||
002A 0000 000D 03 14 80 64 FE 01 00 00 00 00 00 04 00
|
||||
002A 0001 000D 00 00 00 00 00 00 00 00 00 00 00 00 00
|
||||
002B 0000 000C 00 00 00 00 00 00 00 00 00 00 00 00
|
||||
002E 0000 000B 00 00 0A 0A 00 00 01 00 00 00 0E
|
||||
002F 0000 001C 49 3C 7D FF 0A 23 32 DC 01 0E 00 00 0C 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
|
||||
002F 0001 001C 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
|
||||
0037 0000 0007 01 40 40 05 01 01 00
|
||||
0037 0001 0007 00 00 00 00 00 00 00
|
||||
0038 0000 0033 83 00 01 26 18 18 18 18 19 19 19 19 19 19 19 19 19 19 1A 1A 1A 1A 1B 1B 1B 1C 1C 1C 1C 1C 1C 1C 1C 1C 1C 1C 02 80 00 00 00 00 00 00 00 00 00 00 00 00 00
|
||||
0039 0000 0003 E3 0C 00
|
||||
0039 0001 0003 00 00 00
|
||||
003D 0000 0005 03 00 00 00 00
|
||||
003D 0001 0005 00 00 00 00 00
|
||||
003D 0002 0005 03 00 00 00 00
|
||||
003D 0003 0005 00 00 00 00 00
|
||||
003E 0000 004A 7D 00 40 00 0A 0F 10 66 01 01 00 01 00 01 02 01 02 02 02 78 0F 19 2A 14 3F 08 08 04 64 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
|
||||
003F 0000 0019 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
|
||||
003F 0001 0019 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
|
||||
0041 0000 0011 03 06 00 00 00 00 00 00 00 00 04 00 00 FF FF 00 FF
|
||||
0042 0000 0003 00 00 00
|
||||
0046 0000 000A 03 06 00 3E 00 00 05 38 00 15
|
||||
0046 0001 000A 03 0C 00 3E 00 00 07 51 00 00
|
||||
0046 0002 000A 03 03 00 46 00 01 00 56 00 00
|
||||
0046 0003 000A 03 03 00 3E 00 00 07 5B 00 00
|
||||
0046 0004 000A 03 06 00 46 00 02 00 60 00 00
|
||||
0046 0005 000A 00 28 00 3E 00 00 17 71 00 00
|
||||
0046 0006 000A 00 28 00 3E 00 00 17 73 00 00
|
||||
0046 0007 000A 00 28 00 41 00 00 01 79 00 0A
|
||||
0046 0008 000A 00 00 00 00 00 00 00 00 00 00
|
||||
0046 0009 000A 00 00 00 00 00 00 00 00 00 00
|
||||
0046 000A 000A 00 00 00 00 00 00 00 00 00 00
|
||||
0046 000B 000A 00 00 00 00 00 00 00 00 00 00
|
||||
0049 0000 0006 00 00 00 00 00 00
|
||||
0049 0001 0006 00 00 00 00 00 00
|
||||
004D 0000 0004 00 05 3C 3B
|
||||
004F 0000 0003 01 05 11
|
||||
0052 0000 0003 0B 0C 01
|
||||
Reference in New Issue
Block a user