Thread View: linux.kernel.netdev
1 messages
1 total messages
Started by Birger Koblitz
Mon, 16 Nov 2026 12:07
Re: rtl_nic: request for rtl8159-1.fw (RTL8159 PHY firmware)
Author: Birger Koblitz
Date: Mon, 16 Nov 2026 12:07
Date: Mon, 16 Nov 2026 12:07
110 lines
13959 bytes
13959 bytes
Could you try:
https://gitlab.com/koblitz-rtlnic/rtlnic_fw
I used that testing the drivers. It is based on the source of the
out-of-tree driver and creates firmware files compatible to the Linux
driver. The firmware needs to be generated from the source.
Birger
On 16/11/2026 11:37 am, oraveeps@pm.me wrote:
> [Resent as plain text, the lists rejected the first copy as HTML.Sorry for the duplicate.]
>
> On Mon, 16 Nov 2026 at 09:30, Hayes Wang <hayeswang@realtek.com> wrote:
>> Hi,
>>
>> Could you please try out the attached files?
>>
>> Best Regards,
>> Hayes
>>
>> From: oraveeps@pm.me
>> Sent: Sunday, November 8, 2026 5:42 PM
>> Subject: rtl_nic: request for rtl8159-1.fw (RTL8159 PHY firmware)
>>
>> Hi Hayes,
>>
>> Since commit a51e171e176c ("r8152: Add firmware upload capability for
>> RTL8157/RTL8159"), mainline r8152 requests rtl_nic/rtl8159-1.fw for the
>> RTL8159 PHY. Without it the link stays at 5 Gbit/s, and linux-firmware
>> has no rtl8159-1.fw yet (nor rtl8157-1.fw).
>>
>> I run three RTL8159 adapters (USB ID 0bda:815a) on kernel 7.2.4. They
>> reach 10 Gbit/s only with Realtek's out-of-tree r8152 v2.22.1, which
>> carries the PHY patch inside the driver. With rtl8159-1.fw in
>> linux-firmware, the in-tree driver could do the same and users could
>> drop the out-of-tree module.
>>
>> Could Realtek submit rtl8159-1.fw, and rtl8157-1.fw if there is one, to
>> linux-firmware? I am happy to test a candidate file on these adapters.
>>
>> Thanks,
>> Jonas Autzen
>
> Hi Hayes,
>
> Thanks for the files (rtl8157-1 and rtl8159-1, v1 11/13/26). Mainline
> r8152 (v7.2.4 here, same code in v7.4-rc1) rejects them at the first
> block: rtl8152_is_fw_mac_ok() has no RTL_VER_16/RTL_VER_17 case for
> RTL_FW_PLA or RTL_FW_USB, so rtl8152_check_firmware() fails with
> "check USB firmware failed".
>
> An rtl8159-1.fw with only your PHY_SPEED_UP block (checksum
> recomputed) loads with the in-tree driver on 7.2.4 and links my RTL8159
> adapter (0bda:815a) at 10G.
>
> The series "r8152: split RTL_VER_17 into QFN68 and QFN100 package
> variants" (v8) does not change rtl8152_is_fw_mac_ok() either, so the
> full files are rejected with it applied too. Is a driver change for the
> PLA/USB blocks planned? If not, could rtl8159-1.fw carry only the PHY
> block?
>
> Thanks,
> Jonas Autzen
>
>
> On Monday, 16 November 2026 at 09:30, Hayes Wang <hayeswang@realtek.com> wrote:
>
>> Hi,
>>
>> Could you please try out the attached files?
>>
>> Best Regards,
>>
>> Hayes
>>
>>> From: oraveeps@pm.me <oraveeps@pm.me>
>>> Sent: Sunday, November 8, 2026 5:42 PM
>>> To: Hayes Wang <hayeswang@realtek.com>
>>> Cc: javen_xu@realsil.com.cn; mail@birger-koblitz.de; linux-firmware@kernel.org; netdev@vger.kernel.org
>>> Subject: rtl_nic: request for rtl8159-1.fw (RTL8159 PHY firmware)
>>>
>>> External mail : This email originated from outside the organization. Do not reply, click links, or open attachments unless you recognize the sender and know the content is safe.
>>>
>>> Hi Hayes,
>>>
>>> Since commit a51e171e176c ("r8152: Add firmware upload capability for
>>>
>>> RTL8157/RTL8159"), mainline r8152 requests rtl_nic/rtl8159-1.fw for the
>>>
>>> RTL8159 PHY. Without it the link stays at 5 Gbit/s, and linux-firmware
>>>
>>> has no rtl8159-1.fw yet (nor rtl8157-1.fw).
>>>
>>> I run three RTL8159 adapters (USB ID 0bda:815a) on kernel 7.2.4. They
>>>
>>> reach 10 Gbit/s only with Realtek's out-of-tree r8152 v2.22.1, which
>>>
>>> carries the PHY patch inside the driver. With rtl8159-1.fw in
>>>
>>> linux-firmware, the in-tree driver could do the same and users could
>>>
>>> drop the out-of-tree module.
>>>
>>> Could Realtek submit rtl8159-1.fw, and rtl8157-1.fw if there is one, to
>>>
>>> linux-firmware? I am happy to test a candidate file on these adapters.
>>>
>>> Thanks,
>>>
>>> Jonas Autzen
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads