Adding usb-ctrl from intel-bmc into phosphor-misc

CS20 KWLiu KWLIU at nuvoton.com
Thu May 28 20:16:47 AEST 2020


Hi

RNDIS is a Microsoft standard, it is not only supported in Windows OS but also in other OS platforms.
So, this is an option we can provide as well.

I will check your patch to see how to merge rndis script.

Thanks.
-----Original Message-----
From: 郁雷 <yulei.sh at bytedance.com>
Sent: Thursday, May 28, 2020 5:34 PM
To: CS20 KWLiu <KWLIU at nuvoton.com>
Cc: Wang, Kuiying <kuiying.wang at intel.com>; openbmc at lists.ozlabs.org
Subject: RE: Adding usb-ctrl from intel-bmc into phosphor-misc

On Thu, May 28, 2020 at 5:02 PM CS20 KWLiu <KWLIU at nuvoton.com> wrote:
>
> Hi,
>
> For in-band usb network communication, I recommend that you can use rndis.
> There is a usb network recipe locates in quanta's layer, you can take it as reference.
> https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_openbm
> c_openbmc_tree_master_meta-2Dquanta_meta-2Dcommon_network&d=DwIBaQ&c=u
> e8mO8zgC4VZ4q_aNVKt8G9MC01UFDmisvMR1k-EoDM&r=7g2D1XDc1ET3CnY1ySnaWQXPx
> PxfpLww1MiDbLW4v8Q&m=B-UYt0PbqENhhFwPReR07OF8di1nauIg7z0r3u2ZpqM&s=xxw
> O5BMx8cMwRXtNZ-ZGTPgCDrgIy5eXfhEMorF-FNY&e=
> https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_openbm
> c_openbmc_blob_master_meta-2Dquanta_meta-2Dgsj_recipes-2Dkernel_linux_
> linux-2Dnuvoton_gsj.cfg-23L40&d=DwIBaQ&c=ue8mO8zgC4VZ4q_aNVKt8G9MC01UF
> DmisvMR1k-EoDM&r=7g2D1XDc1ET3CnY1ySnaWQXPxPxfpLww1MiDbLW4v8Q&m=B-UYt0P
> bqENhhFwPReR07OF8di1nauIg7z0r3u2ZpqM&s=iOvDtZiIJKoEIQBa6UaKNhWbUQJhDH-
> tuSlnDnDP0dg&e=

Yup, it looks like both rndis and ecm work.
Could you kindly elaborate why you recommend rndis?

Btw, I see there are two different scripts in meta-quanta layer, one uses rndis and the other uses ecm:
https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_openbmc_openbmc_blob_master_meta-2Dquanta_meta-2Dgsj_recipes-2Dgsj_usb-2Dnetwork_files_usb-5Fnetwork.sh&d=DwIBaQ&c=ue8mO8zgC4VZ4q_aNVKt8G9MC01UFDmisvMR1k-EoDM&r=7g2D1XDc1ET3CnY1ySnaWQXPxPxfpLww1MiDbLW4v8Q&m=B-UYt0PbqENhhFwPReR07OF8di1nauIg7z0r3u2ZpqM&s=mDp-Bk9eSS8-xyRsSebF2Svn-omhZyA9eINaIrP7kd0&e=
https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_openbmc_openbmc_blob_master_meta-2Dquanta_meta-2Dcommon_network_usb-2Dnetwork_usb-2Dnetwork.sh&d=DwIBaQ&c=ue8mO8zgC4VZ4q_aNVKt8G9MC01UFDmisvMR1k-EoDM&r=7g2D1XDc1ET3CnY1ySnaWQXPxPxfpLww1MiDbLW4v8Q&m=B-UYt0PbqENhhFwPReR07OF8di1nauIg7z0r3u2ZpqM&s=J6AOmmmisgGa-TvoqfwTrtrx6M1cJGyoEPNbYnfMWMU&e=

Would you mind if you could merge the scripts into https://urldefense.proofpoint.com/v2/url?u=https-3A__gerrit.openbmc-2Dproject.xyz_c_openbmc_phosphor-2Dmisc_-2B_32878-3F&d=DwIBaQ&c=ue8mO8zgC4VZ4q_aNVKt8G9MC01UFDmisvMR1k-EoDM&r=7g2D1XDc1ET3CnY1ySnaWQXPxPxfpLww1MiDbLW4v8Q&m=B-UYt0PbqENhhFwPReR07OF8di1nauIg7z0r3u2ZpqM&s=z5xxtqsQN3WqZu4mkS98aTmGRZ1O-Y6spzjtLzcBUes&e=
________________________________
________________________________
 The privileged confidential information contained in this email is intended for use only by the addressees as indicated by the original sender of this email. If you are not the addressee indicated in this email or are not responsible for delivery of the email to such a person, please kindly reply to the sender indicating this fact and delete all copies of it from your computer and network server immediately. Your cooperation is highly appreciated. It is advised that any unauthorized use of confidential information of Nuvoton is strictly prohibited; and any information in this email irrelevant to the official business of Nuvoton shall be deemed as neither given nor endorsed by Nuvoton.


More information about the openbmc mailing list