Skip to contentSkip to conversation

rtl_nic: add firmware files for RTL8153

PATCH In review Hayes Wang 3 participants 4 messages Oct 23, 2019 – Feb 3, 2020

Subsystems (2)
lore
Share & tools
lore

Hayes Wang

author
#0 lore raw

PATCH 1/1 rtl_nic: add firmware files for RTL8153

This adds the firmware for Realtek RTL8153 Based USB Ethernet Adapters.

1. Fix compatible issue for Asmedia hub.
2. Fix compatible issue for Compal platform.
3. Fix sometimes the device is lost after rebooting.
4. Improve the compatibility for EEE.

---
 WHENCE                |  11 +++++++++++
 rtl_nic/rtl8153a-2.fw | Bin 0 -> 1768 bytes
 rtl_nic/rtl8153a-3.fw | Bin 0 -> 1440 bytes
 rtl_nic/rtl8153a-4.fw | Bin 0 -> 712 bytes
 rtl_nic/rtl8153b-2.fw | Bin 0 -> 1088 bytes
 5 files changed, 11 insertions(+)
 create mode 100644 rtl_nic/rtl8153a-2.fw
 create mode 100644 rtl_nic/rtl8153a-3.fw
 create mode 100644 rtl_nic/rtl8153a-4.fw
 create mode 100644 rtl_nic/rtl8153b-2.fw
WHENCE +11 -0
index 1d1bb66..9692cb3 100644
@@ -2965,6 +2965,17 @@ Licence:
 
 --------------------------------------------------------------------------
 
+Driver: r8152 - Realtek RTL8152/RTL8153 Based USB Ethernet Adapters
+
+File: rtl_nic/rtl8153a-2.fw
+File: rtl_nic/rtl8153a-3.fw
+File: rtl_nic/rtl8153a-4.fw
+File: rtl_nic/rtl8153b-2.fw
+
+Licence: Redistributable. See LICENCE.rtlwifi_firmware.txt for details.
+
+--------------------------------------------------------------------------
+
 Driver: vt6656 - VIA VT6656 USB wireless driver
 
 File: vntwusb.fw
rtl_nic/rtl8153a-2.fw new file binary +0 -0
new file mode 100644
index 0000000000000000000000000000000000000000..9c90f5d9204ce97300940a83d659cf790f7279a1
GIT binary patch
rtl_nic/rtl8153a-3.fw new file binary +0 -0
new file mode 100644
index 0000000000000000000000000000000000000000..2399853389f386d195df7eea85088b3891dd3c5a
GIT binary patch
rtl_nic/rtl8153a-4.fw new file binary +0 -0
new file mode 100644
index 0000000000000000000000000000000000000000..0b0e2b530baa0c2b710cac7ca00be32c8234fc47
GIT binary patch
rtl_nic/rtl8153b-2.fw new file binary +0 -0
new file mode 100644
index 0000000000000000000000000000000000000000..7ca22a65efb73082156bc89491953c49730d1b75
GIT binary patch
Signature · 1 line
2.21.0
#1 lore raw
Quoted 9 lines · Hayes Wang

This adds the firmware for Realtek RTL8153 Based USB Ethernet Adapters.

1. Fix compatible issue for Asmedia hub.
2. Fix compatible issue for Compal platform.
3. Fix sometimes the device is lost after rebooting.
4. Improve the compatibility for EEE.

Quoted 11 lines
---
 WHENCE                |  11 +++++++++++
 rtl_nic/rtl8153a-2.fw | Bin 0 -> 1768 bytes
 rtl_nic/rtl8153a-3.fw | Bin 0 -> 1440 bytes
 rtl_nic/rtl8153a-4.fw | Bin 0 -> 712 bytes
 rtl_nic/rtl8153b-2.fw | Bin 0 -> 1088 bytes
 5 files changed, 11 insertions(+)
 create mode 100644 rtl_nic/rtl8153a-2.fw
 create mode 100644 rtl_nic/rtl8153a-3.fw
 create mode 100644 rtl_nic/rtl8153a-4.fw
 create mode 100644 rtl_nic/rtl8153b-2.fw

Applied and pushed out.

josh

#2 lore raw
In reply to Hayes Wang

Hi Hayes,

Quoted 7 lines · Hayes Wang

This adds the firmware for Realtek RTL8153 Based USB Ethernet Adapters.

1. Fix compatible issue for Asmedia hub.
2. Fix compatible issue for Compal platform.
3. Fix sometimes the device is lost after rebooting.
4. Improve the compatibility for EEE.

Quoted 6 lines
---
 WHENCE                |  11 +++++++++++
 rtl_nic/rtl8153a-2.fw | Bin 0 -> 1768 bytes
 rtl_nic/rtl8153a-3.fw | Bin 0 -> 1440 bytes
 rtl_nic/rtl8153a-4.fw | Bin 0 -> 712 bytes

This file fails to load for me:
thost kernel: [ T2503] r8152 1-3:1.0: unused bp5 is not zero
thost kernel: [ T2503] r8152 1-3:1.0: check USB firmware failed
thost kernel: [ T2503] r8152 1-3:1.0: unable to load firmware patch rtl_nic/rtl8153a-4.fw (-14)

Looking at the above file it has fw_mac->bp_num set to 5, but fw_mac->bp[] array has 6 elements filled.

If I force fw_mac->bp_num to 6 in the code it loads successfully, so perhaps it's a mistake in the firmware header?

Maciej

author
#3 lore raw

Maciej S. Szmigiero [mailto:[email protected]]

Quoted 1 line

Sent: Sunday, February 02, 2020 6:57 AM

[...]

Quoted 11 lines

This file fails to load for me:
thost kernel: [ T2503] r8152 1-3:1.0: unused bp5 is not zero thost kernel: [ T2503] r8152 1-3:1.0: check USB firmware failed thost kernel: [ T2503] r8152 1-3:1.0: unable to load firmware patch rtl_nic/rtl8153a-4.fw (-14)

Looking at the above file it has fw_mac->bp_num set to 5, but fw_mac->bp[] array has 6 elements filled.

If I force fw_mac->bp_num to 6 in the code it loads successfully, so perhaps it's a mistake in the firmware header?

Yes. I updated the firmware and forgot to modify the bp_num before releasing it. I will fix it. Thanks.

Best Regards,
Hayes