* RTL8367S DW8051 SerDes firmware: license clarification for linux-firmware inclusion
@ 2026-06-10 17:11 Johan Alvarado
2026-06-11 8:16 ` Hau
0 siblings, 1 reply; 3+ messages in thread
From: Johan Alvarado @ 2026-06-10 17:11 UTC (permalink / raw)
To: nic_swsd; +Cc: linusw, alsi, dmitry.baryshkov, linux-firmware
Hello,
I am the author of a patch series currently under review on netdev,
adding SGMII/HSGMII support for the RTL8367S switch to the mainline
Linux rtl8365mb DSA driver:
https://lore.kernel.org/netdev/0100019eb0b1822e-ffc5626c-1b9f-4c8a-8a1a-759a9e665f4f-000000@email.amazonses.com/
Bringing up the SerDes on this chip requires loading a small firmware
blob (1233 bytes) into the embedded DW8051 microcontroller. The driver
requests it via the kernel firmware API as realtek/rtl8367s-sgmii.bin.
The only public source of this blob is the rtl8367c vendor SDK as
distributed in GPL source code releases by Realtek's customers (in my
case the Mercusys MR80X v2 GPL code drop), where it is embedded as a
byte array (Sgmii_Init[] in rtl8367c_asicdrv_port.c).
I submitted the blob to linux-firmware:
https://gitlab.com/kernel-firmware/linux-firmware/-/merge_requests/1092
but it cannot be accepted in its current state: the surrounding SDK
code is GPL-licensed, yet the actual source code of the 8051 microcode
has never been published, so the effective license of the blob is
unclear and GPL compliance cannot be met by redistributing it
(see review by Dmitry Baryshkov in the MR above).
May I ask Realtek for one of the following:
1. Submit the firmware to linux-firmware directly, with an
appropriate redistribution license, as the Realtek NIC team
already does for the rtl_nic firmware files; or
2. Provide an explicit license statement permitting redistribution
of this firmware via linux-firmware, and ACK the merge request
above.
If this mailbox is not the right contact for the switch product line,
I would be very grateful if you could forward this request to the
team responsible for the RTL8367S / rtl8367c SDK, or point me to the
right contact.
Thank you for your time.
Best regards,
Johan Alvarado <contact@c127.dev>
^ permalink raw reply [flat|nested] 3+ messages in thread
* RE: RTL8367S DW8051 SerDes firmware: license clarification for linux-firmware inclusion
2026-06-10 17:11 RTL8367S DW8051 SerDes firmware: license clarification for linux-firmware inclusion Johan Alvarado
@ 2026-06-11 8:16 ` Hau
2026-06-11 9:15 ` Jeff_Hung
0 siblings, 1 reply; 3+ messages in thread
From: Hau @ 2026-06-11 8:16 UTC (permalink / raw)
To: Johan Alvarado, Switchfae
Cc: linusw@kernel.org, alsi@bang-olufsen.dk,
dmitry.baryshkov@oss.qualcomm.com, linux-firmware@kernel.org
+ Switch Team FAE
> -----Original Message-----
> From: Johan Alvarado <contact@c127.dev>
> Sent: Thursday, June 11, 2026 1:12 AM
> To: nic_swsd <nic_swsd@realtek.com>
> Cc: linusw@kernel.org; alsi@bang-olufsen.dk;
> dmitry.baryshkov@oss.qualcomm.com; linux-firmware@kernel.org
> Subject: RTL8367S DW8051 SerDes firmware: license clarification for
> linux-firmware inclusion
>
>
> 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.
>
>
>
> Hello,
>
> I am the author of a patch series currently under review on netdev, adding
> SGMII/HSGMII support for the RTL8367S switch to the mainline Linux
> rtl8365mb DSA driver:
>
>
> https://lore.kernel.org/netdev/0100019eb0b1822e-ffc5626c-1b9f-4c8a-8a1
> a-759a9e665f4f-000000@email.amazonses.com/
>
> Bringing up the SerDes on this chip requires loading a small firmware blob
> (1233 bytes) into the embedded DW8051 microcontroller. The driver requests
> it via the kernel firmware API as realtek/rtl8367s-sgmii.bin.
>
> The only public source of this blob is the rtl8367c vendor SDK as distributed in
> GPL source code releases by Realtek's customers (in my case the Mercusys
> MR80X v2 GPL code drop), where it is embedded as a byte array (Sgmii_Init[]
> in rtl8367c_asicdrv_port.c).
>
> I submitted the blob to linux-firmware:
>
>
> https://gitlab.com/kernel-firmware/linux-firmware/-/merge_requests/1092
>
> but it cannot be accepted in its current state: the surrounding SDK code is
> GPL-licensed, yet the actual source code of the 8051 microcode has never
> been published, so the effective license of the blob is unclear and GPL
> compliance cannot be met by redistributing it (see review by Dmitry Baryshkov
> in the MR above).
>
> May I ask Realtek for one of the following:
>
> 1. Submit the firmware to linux-firmware directly, with an
> appropriate redistribution license, as the Realtek NIC team
> already does for the rtl_nic firmware files; or
>
> 2. Provide an explicit license statement permitting redistribution
> of this firmware via linux-firmware, and ACK the merge request
> above.
>
> If this mailbox is not the right contact for the switch product line, I would be
> very grateful if you could forward this request to the team responsible for the
> RTL8367S / rtl8367c SDK, or point me to the right contact.
>
> Thank you for your time.
>
> Best regards,
> Johan Alvarado <contact@c127.dev>
^ permalink raw reply [flat|nested] 3+ messages in thread
* RE: RTL8367S DW8051 SerDes firmware: license clarification for linux-firmware inclusion
2026-06-11 8:16 ` Hau
@ 2026-06-11 9:15 ` Jeff_Hung
0 siblings, 0 replies; 3+ messages in thread
From: Jeff_Hung @ 2026-06-11 9:15 UTC (permalink / raw)
To: Hau, Johan Alvarado, SC.Chang (張順傑),
switch.unmanaged
Cc: linusw@kernel.org, alsi@bang-olufsen.dk,
dmitry.baryshkov@oss.qualcomm.com, linux-firmware@kernel.org,
Pro_switch_support
+PM SC
-Jeff
*****************************************************************************************************
Email內容或其所附之資料或檔案,僅係提供參考之用,貴公司仍應驗證無誤後,由貴公司決定是否採用
Annexed to the above-mentioned data or files, it just provides reference purposes only and your company
should decide whether to adopt after verification of your company
*****************************************************************************************************
-----Original Message-----
From: Hau <hau@realtek.com>
Sent: Thursday, June 11, 2026 4:17 PM
To: Johan Alvarado <contact@c127.dev>; Switchfae <Switchfae@realtek.com>
Cc: linusw@kernel.org; alsi@bang-olufsen.dk; dmitry.baryshkov@oss.qualcomm.com; linux-firmware@kernel.org
Subject: RE: RTL8367S DW8051 SerDes firmware: license clarification for linux-firmware inclusion
+ Switch Team FAE
> -----Original Message-----
> From: Johan Alvarado <contact@c127.dev>
> Sent: Thursday, June 11, 2026 1:12 AM
> To: nic_swsd <nic_swsd@realtek.com>
> Cc: linusw@kernel.org; alsi@bang-olufsen.dk;
> dmitry.baryshkov@oss.qualcomm.com; linux-firmware@kernel.org
> Subject: RTL8367S DW8051 SerDes firmware: license clarification for
> linux-firmware inclusion
>
>
> 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.
>
>
>
> Hello,
>
> I am the author of a patch series currently under review on netdev,
> adding SGMII/HSGMII support for the RTL8367S switch to the mainline
> Linux rtl8365mb DSA driver:
>
>
> https://lore.kernel.org/netdev/0100019eb0b1822e-ffc5626c-1b9f-4c8a-8a1
> a-759a9e665f4f-000000@email.amazonses.com/
>
> Bringing up the SerDes on this chip requires loading a small firmware
> blob
> (1233 bytes) into the embedded DW8051 microcontroller. The driver
> requests it via the kernel firmware API as realtek/rtl8367s-sgmii.bin.
>
> The only public source of this blob is the rtl8367c vendor SDK as
> distributed in GPL source code releases by Realtek's customers (in my
> case the Mercusys MR80X v2 GPL code drop), where it is embedded as a
> byte array (Sgmii_Init[] in rtl8367c_asicdrv_port.c).
>
> I submitted the blob to linux-firmware:
>
>
> https://gitlab.com/kernel-firmware/linux-firmware/-/merge_requests/109
> 2
>
> but it cannot be accepted in its current state: the surrounding SDK
> code is GPL-licensed, yet the actual source code of the 8051 microcode
> has never been published, so the effective license of the blob is
> unclear and GPL compliance cannot be met by redistributing it (see
> review by Dmitry Baryshkov in the MR above).
>
> May I ask Realtek for one of the following:
>
> 1. Submit the firmware to linux-firmware directly, with an
> appropriate redistribution license, as the Realtek NIC team
> already does for the rtl_nic firmware files; or
>
> 2. Provide an explicit license statement permitting redistribution
> of this firmware via linux-firmware, and ACK the merge request
> above.
>
> If this mailbox is not the right contact for the switch product line,
> I would be very grateful if you could forward this request to the team
> responsible for the RTL8367S / rtl8367c SDK, or point me to the right contact.
>
> Thank you for your time.
>
> Best regards,
> Johan Alvarado <contact@c127.dev>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2026-06-11 9:15 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-06-10 17:11 RTL8367S DW8051 SerDes firmware: license clarification for linux-firmware inclusion Johan Alvarado
2026-06-11 8:16 ` Hau
2026-06-11 9:15 ` Jeff_Hung
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.