Skip to contentSkip to conversation

rtl_nic: update firmware of RTL8156B

PATCH Superseded Hayes Wang 3 participants 3 messages Oct 20, 2023 – Oct 21, 2023

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore

Hayes Wang

author
#0 lore raw

PATCH 1/1 rtl_nic: update firmware of RTL8156B

rtl8156b-2.fw
version: rtl8156b-2 v3 10/20/23

---
 rtl_nic/rtl8156b-2.fw | Bin 7256 -> 5776 bytes
 1 file changed, 0 insertions(+), 0 deletions(-)
rtl_nic/rtl8156b-2.fw binary +0 -0
index 417fbd3407dd51670d25e473fe2b0ee56d33163b..a7a888c5b2ccc44c391504e968373a6f802fd694 100644
GIT binary patch
Signature · 1 line
2.41.0
#1 lore raw
Quoted 5 lines · Hayes Wang

rtl8156b-2.fw

    version: rtl8156b-2 v3 10/20/23

---

Your patch failed to apply. Please try again. Binary patches and email can sometimes be problematic.

$ b4 am http://lore.kernel.org/linux-firmware/[email protected]/
Analyzing 1 messages in the thread
Checking attestation on all messages, may take a moment...
---
  [PATCH] rtl_nic: update firmware of RTL8156B
---
Total patches: 1
---
 Link: 
https://lore.kernel.org/r/[email protected]
 Base: applies clean to current tree
       git checkout -b 20231020_hayeswang_realtek_com HEAD
       git am ./20231020_hayeswang_rtl_nic_update_firmware_of_rtl8156b.mbx
$ git am 20231020_hayeswang_rtl_nic_update_firmware_of_rtl8156b.mbx
Applying: rtl_nic: update firmware of RTL8156B
error: corrupt binary patch at line 153: --
error: unrecognized input
Patch failed at 0001 rtl_nic: update firmware of RTL8156B
hint: Use 'git am --show-current-patch=diff' to see the failed patch
When you have resolved this problem, run "git am --continue".
If you prefer to skip this patch, run "git am --skip" instead.
To restore the original branch and stop patching, run "git am --abort".

You can also send it as a merge request here:

https://gitlab.com/kernel-firmware/linux-firmware

#2 lore raw
Quoted 10 lines · Mario Limonciello
Quoted 5 lines · Hayes Wang

rtl8156b-2.fw

    version: rtl8156b-2 v3 10/20/23

---

Your patch failed to apply. Please try again. Binary patches and email can sometimes be problematic.

FWIW, this worked for me:

$ curl -o firmware.patch
https://lore.kernel.org/all/[email protected]/raw
$ git am firmware.patch

Comparing that patch with the one b4 generates, it seems b4 is removing the newline between the last line of the original patch (the one ending with "r;") and the two dashes ("--") before the git version. Adding that missing newline causes git am 20231020_hayeswang_rtl_nic_update_firmware_of_rtl8156b.mbx to succeed. Perhaps this is a bug in b4?

Regards,
Forest