This should catch a couple of common errors: reversing the two arguments
to Link, and not making the second argument relative to the first.
Signed-off-by: Adam Sampson <ats@offog.org>
Signed-off-by: Josh Boyer <jwboyer@kernel.org>
The kernel has supported compressed firmware for quite some time. So
let's add a couple of targets to produce that. In practical terms this
means it we'll use ~5x times less space on disk.
Reportedly the amd ucode, needs to be uncompressed _within_ the
initrd in order to work. Using compressed ucode in late load just works.
Ideally this will be addressed by the initrd generators, but considering
the files are tiny in size let's skip the compression.
v2
- commit message, skip compression for files annotated as Raw
v3
- rebase
[Drop extra verbose statement in zstd case, Josh Boyer
<jwboyer@kernel.org>]
Cc: David Woodhouse <dwmw2@infradead.org>
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Signed-off-by: Josh Boyer <jwboyer@kernel.org>
As mentioned by shellcheck backticks are considered legacy. Plus we
should ensure the output is quoted, otherwise we'll get word splitting.
Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
Signed-off-by: Josh Boyer <jwboyer@kernel.org>
Add space between the arguments and pattern and combine patterns where
possible.
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Signed-off-by: Josh Boyer <jwboyer@kernel.org>
Properly quote, otherwise we'll get word splitting. In other words:
Files might end up installed to /some/foo/, where /some path/foo bar/ is
expected.
v2:
- rebase/split && also quote the $() output
Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
Signed-off-by: Josh Boyer <jwboyer@kernel.org>
Currently we have no symlinks in-tree. Add a simple check, ensuring they
don't get added in the future.
This allows us to remove the clunky symlink checking code in
copy-firmware.sh
v2:
- tweak helper to produce link and target (based off Adam's patch)
v3:
- honour quoted target/linkname
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Signed-off-by: Josh Boyer <jwboyer@kernel.org>
Commits from a few years ago added support for Link entries, over having
the symlinks in-tree.
At the same time, it didn't add a check whether one didn't add a File
entry that is actually a symlink. Do so now, to be on the safe side.
v2:
- drop copy-firmware.sh changes
Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
Signed-off-by: Josh Boyer <jwboyer@kernel.org>
Earlier commit added check for duplicate entries. Although the commit
was picked without one of its dependencies which removes the quotation
marks in the File entries.
Since the quotation marks are here to stay, escape them as needed in the
script.
Cc: Emil Velikov <emil.l.velikov@gmail.com>
Fixes: 05183b7b ("check_whence: error on duplicate file entries")
Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
Signed-off-by: Josh Boyer <jwboyer@kernel.org>
This patch updates the firmware version for WILC1000
FW version: 16.0
Signed-off-by: Ajay Singh <ajay.kathat@microchip.com>
Signed-off-by: Josh Boyer <jwboyer@kernel.org>
Update ice DDP wireless_edge package file to the latest version: 1.3.10.0
Highlight of changes since 1.3.7.0:
- Provide Separate IP Fragment Packet Type Groups for Receive Side Scaling (RSS)
- Add support to allow Receive Side Scaling (RSS) and Flow Director (FD) on Multicast packets
Signed-off-by: Shekhar Deb <shekhar.deb@intel.com>
Tested-by: Pucha Himasekhar Reddy <himasekharx.reddy.pucha@intel.com> (A Contingent worker at Intel)
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Signed-off-by: Josh Boyer <jwboyer@kernel.org>
DMCUB updates for Navi2x and DCN314.
From internal git commit ba25ca4ddd66a74331bf460346bde045804bc75d
Tested with DC v3.2.240
Release notes:
- Fix hang observed during DP Link Layer compliance testing
Signed-off-by: Hamza Mahfooz <hamza.mahfooz@amd.com>
Signed-off-by: Josh Boyer <jwboyer@kernel.org>
Commit: 244d6b5c2f ("cirrus: Add firmware for new Asus ROG Laptops") added
several Link: entries for cirrus firmwares, but as link and target exists in
the same directory, the extra "cirrus/" path gets them created as broken
symlinks.
Fix it up by removing the extra "cirrus/" path.
Signed-off-by: Thomas Backlund <tmb@tmb.nu>
Fixes: 244d6b5c2f ("cirrus: Add firmware for new Asus ROG Laptops")
Reported-by: Bit Twister2 <bittwister2@gmail.com>
Reported-by: David GEIGER <geiger.david68210@gmail.com>
Cc: Stefan Binding <sbinding@opensource.cirrus.com>
Cc: Josh Boyer <jwboyer@kernel.org>
Signed-off-by: Josh Boyer <jwboyer@kernel.org>
The Qualcomm SDM845 platform has a modem-less version, called SDA845.
It still has the modem DSP, which is used for WiFi, GNSS, etc. The
firmware in the qcom/sdm845 dir comes from the Thundercomm RB3 board,
which internally has the SDA845 SoC rather than the full SDM845.
The SC8180X platform (not yet added to linux-firmware) started using
modem.mbn and modem_nm.mbn, the latter being used for no-modem
platforms.
Follow this example and rename qcom/sdm845/modem.mbn firmware
file to modem_nm.mbn. This commit adds a compatibility link for now, to
let the device trees to be adapted to this change. It should be removed
when the proper qcom/sdm845/modem.mbn is submitted.
Cc: Caleb Connolly <caleb.connolly@linaro.org>
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
This firmware patch update for Realtek RTL8852C BT USB controller
Note: This firmware patch needs to be used with driver
"btrtl: Firmware format v2 support". Please update the
driver with this commit: 9a24ce5e29b15c4c6b0c89c04f9df6ce14addefa
Release Version: 0x040D_7225
Signed-off-by: Hilda Wu <hildawu@realtek.com>
Signed-off-by: Josh Boyer <jwboyer@kernel.org>
Add the modem DSP firmware for the Qualcomm APQ8016 boards. The files
come from the redistributable linux-board-support-package-r1036.1.zip
for the Dragonboard 410c. The file modem.mbn and wcnss.mbn files wer
generated from segment files using the pil-squasher tool.
Cc: Bjorn Andersson <andersson@kernel.org>
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
There are a number of Pine64 devices which all use the same wireless
chipset, so add symlinks for those modules/(base)boards:
- Pine64 RockPro64 v2.0 and v2.1 (via adapter board)
- Pine64 RK3566 Quartz64-A Board (via adapter board)
- Pine64 PineNote v1.1 and v1.2
- PINE64 RK3566 SOQuartz on Model A carrier board
- Pine64 RK3566 SoQuartz with CM4-IO Carrier Board
- PINE64 RK3566 SOQuartz on Blade carrier board
Signed-off-by: Diederik de Haas <didi.debian@cknow.org>
Tested-by: Maximilian Weigand <mweigand@mweigand.net>
Signed-off-by: Josh Boyer <jwboyer@kernel.org>
A major regression was reported on commit 60dc78a7 ("amdgpu: update GC
11.0.1 firmware for amd.5.5 release") where Phoenix integrated GPUs
aren't able to boot up with `amdgpu` loaded.
This is fixed internal commit 8b27b052488cee45b453dcab6d034bb80a964e61.
To avoid another regression from a mismatch, pull in a whole snapshot
of all GC firmware at this commit instead of just the one file.
Reported-by: Adrien Aubry
Closes: https://gitlab.freedesktop.org/drm/amd/-/issues/2575
Fixes: 60dc78a7 ("amdgpu: update GC 11.0.1 firmware for amd.5.5 release")
Fixes: 31f8f526 ("amdgpu: update GC 11.0.4 firmware for amd.5.5 release")
Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
Signed-off-by: Josh Boyer <jwboyer@kernel.org>
Based on internal git commit:
360b8377aa1224f44056e0c8e0ab4f8d92cab021
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Josh Boyer <jwboyer@kernel.org>
Based on internal git commit:
360b8377aa1224f44056e0c8e0ab4f8d92cab021
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Josh Boyer <jwboyer@kernel.org>
Based on internal git commit:
360b8377aa1224f44056e0c8e0ab4f8d92cab021
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Josh Boyer <jwboyer@kernel.org>
Based on internal git commit:
360b8377aa1224f44056e0c8e0ab4f8d92cab021
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Josh Boyer <jwboyer@kernel.org>
Based on internal git commit:
360b8377aa1224f44056e0c8e0ab4f8d92cab021
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Josh Boyer <jwboyer@kernel.org>
Based on internal git commit:
360b8377aa1224f44056e0c8e0ab4f8d92cab021
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Josh Boyer <jwboyer@kernel.org>
Based on internal git commit:
360b8377aa1224f44056e0c8e0ab4f8d92cab021
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Josh Boyer <jwboyer@kernel.org>
Based on internal git commit:
360b8377aa1224f44056e0c8e0ab4f8d92cab021
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Josh Boyer <jwboyer@kernel.org>
Based on internal git commit:
360b8377aa1224f44056e0c8e0ab4f8d92cab021
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Josh Boyer <jwboyer@kernel.org>