Skip to content
Snippets Groups Projects
Unverified Commit f0c47558 authored by Hendra Manudinata's avatar Hendra Manudinata Committed by Henrik Grimler
Browse files

testing/firmware-samsung-a51: Move a51 specific blobs to its own directory (MR 5887)

As @grimler stated in MR !5887 (comment) [1], samsung-jackpotlte,
samsung-xcover4lte, and samsung-a30 share the same name for Wi-Fi
proprietary blobs, and packaged in their own specific firmware package.

The problem is these firmware packages put files in the same directory
as `firmware-samsung-a51`: /lib/firmware/postmarketos/mx140/. This opens
up the probability of conflicting blobs when multiple firmware packages
are installed on the system, resulting in wrong blobs used.

To ensure that this firmware is located in its own directory, move
`samsung-a51` blobs into its own subdirectory. This way, `a51` blobs
will stay intact whether multiple firmware packages are installed.

[1] !5887 (comment 459185)
parent 6a01b409
No related branches found
No related tags found
1 merge request!5887device-samsung-a51: New device
Pipeline #211710 passed
......@@ -23,12 +23,12 @@ for _file in $_files_wifi; do
done
package() {
a51_dir="$pkgdir/lib/firmware/postmarketos/samsung-a51"
local file
for file in $_files_wifi; do
install -Dm644 "$srcdir/$pkgname-$_commit-$file" \
"$pkgdir/lib/firmware/postmarketos/mx140/$file"
"$a51_dir/mx140/$file"
done
}
sha512sums="
......
......@@ -97,7 +97,7 @@ package() {
sha512sums="
0a3d794884411d0aca00672c6e7f8c1ba6e028d4e49cfea80cff552679651c5e3bf7e667f59c572fa406e6c704ad683762a7f656366084b0ea7cbc92cc422cdc linux-samsung-a51-c8dd4c096e0ba7b7cbdb6eb2ea6c7affd006198b.tar.gz
47d5e65a9a79f4b3d74975a42f1191247914c2aa8876e30fbc3725cd40a58c09fa2466eb2ba0fd3896c42032e090d952a6b7bdeb63d8e9cd57170182a5e40e55 config-samsung-a51.aarch64
bf942d4ed1422cc84225697440ef0a8ccbbff623c3c947aa2870736793d7561786239fdd51aed5a222af8c5f560b8cea46d5d34213512c1378e0c20f55fd4b56 config-samsung-a51.aarch64
ba1bf397e6ae63ff53aad715940d664fcbd0273ddbd9554c01171133f07627eadab2f174c408ebe4f25b92fcf66f1a3292b9928643e8599e7b1c28decbbed323 0001-SQUASH-HACK-DECON-framebuffer-fixes-for-Linux.patch
93d43ca0d218729e60bd3256585a13ed6057881654147c2b84cab0423a5f8969c9566367b89226ddd153e7efa8f29878d0b7fc7c438ff02893bac15de1d41418 0001-fbdev-exynos-dpu20-Remove-one-of-samsung-debug-log.patch
95b1d4d44eac376df3bc4bdb324035dae0c982c5938caaa4c3915aa78429898efd2b53b3e781cccb37b47dd2240bd0ce0b4ccf3c81a92e7c684790c68336d3a2 0001-drivers-soc-cal-if-Prevent-optimization-of-structs-o.patch
......
......@@ -1451,7 +1451,7 @@ CONFIG_TZDEV_KTHREADS_SMPBOOT=y
CONFIG_SCSC_CORE_CM=y
CONFIG_SCSC_CORE=y
CONFIG_SCSC_WLBT_CONFIG_PLATFORM="leman_s620_univ"
CONFIG_SCSC_CORE_FW_LOCATION="/lib/firmware/postmarketos/mx140"
CONFIG_SCSC_CORE_FW_LOCATION="/lib/firmware/postmarketos/samsung-a51/mx140"
CONFIG_SCSC_CORE_TOOL_LOCATION="/vendor/bin"
CONFIG_SCSC_MXLOGGER=y
# CONFIG_SCSC_SMAPPER is not set
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment