From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=intel.com (client-ip=192.55.52.120; helo=mga04.intel.com; envelope-from=kuiying.wang@intel.com; receiver=) Authentication-Results: lists.ozlabs.org; dmarc=pass (p=none dis=none) header.from=intel.com Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 49X46s0nqBzDqQw for ; Wed, 27 May 2020 18:41:07 +1000 (AEST) IronPort-SDR: /AB5aPLYN05GvA9VZ/wLdpdK9PeTDlAYCDoJ4S1OlL4jKzrt0gZfJz7QF9XArQ8WVQQCSmI5wI QGMNiv9FE/qg== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 27 May 2020 01:41:04 -0700 IronPort-SDR: RUxTdtqCJ3JLtqHcOoolfj+Ge7ppYpBIgiOYgC97OvQDJH2ObZFCFEqLViOozXRBDBpY76zdYI +xzx8YciJxQw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.73,440,1583222400"; d="scan'208,217";a="302389882" Received: from fmsmsx106.amr.corp.intel.com ([10.18.124.204]) by orsmga008.jf.intel.com with ESMTP; 27 May 2020 01:41:04 -0700 Received: from shsmsx604.ccr.corp.intel.com (10.109.6.214) by FMSMSX106.amr.corp.intel.com (10.18.124.204) with Microsoft SMTP Server (TLS) id 14.3.439.0; Wed, 27 May 2020 01:41:03 -0700 Received: from shsmsx602.ccr.corp.intel.com (10.109.6.142) by SHSMSX604.ccr.corp.intel.com (10.109.6.214) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Wed, 27 May 2020 16:41:01 +0800 Received: from shsmsx602.ccr.corp.intel.com ([10.109.6.142]) by SHSMSX602.ccr.corp.intel.com ([10.109.6.142]) with mapi id 15.01.1713.004; Wed, 27 May 2020 16:41:01 +0800 From: "Wang, Kuiying" To: '??' CC: "openbmc@lists.ozlabs.org" Subject: RE: Adding usb-ctrl from intel-bmc into phosphor-misc Thread-Topic: RE: Adding usb-ctrl from intel-bmc into phosphor-misc Thread-Index: AdY0AiK+WA8N7ixgSz2EVdAfHSxXfQ== Date: Wed, 27 May 2020 08:41:01 +0000 Message-ID: <2ea02fe94323438fbc4cec4e62c242c4@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.36] Content-Type: multipart/alternative; boundary="_000_2ea02fe94323438fbc4cec4e62c242c4intelcom_" MIME-Version: 1.0 X-BeenThere: openbmc@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Development list for OpenBMC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 May 2020 08:41:09 -0000 --_000_2ea02fe94323438fbc4cec4e62c242c4intelcom_ Content-Type: text/plain; charset="iso-2022-jp" Content-Transfer-Encoding: quoted-printable Hi Lei, What=1B$B!G=1B(Bs your final purpose for this? Now we already have KCS between host and bmc. Thanks, Kwin. =1B$B0jMk=1B(B yulei.sh at bytedance.com Wed May 27 13:07:45 AEST 2020 There is a script [usb-ctrl][1] hosted in intel-bmc. It supports the VirtualMedia feature by insert/eject files to the host as a USB mass-storage device. Comparing to the existing [state_hook][2] in jsnbd, it supports multiple UDCs, so it supports mount multiple files. In addition, I have some updates on the usb-ctrl script to make it support the USB ECM device, which creates a USB ethernet device between BMC and the host. So my proposal is to add the `usb-ctrl` script into the phosphor-misc repo so that it gets reviewed and could be used by upstream. Any ideas? [1]: https://github.com/Intel-BMC/openbmc/blob/intel/meta-openbmc-mods/meta= -common/recipes-core/fw-update/files/usb-ctrl [2]: https://github.com/openbmc/openbmc/blob/master/meta-phosphor/aspeed-la= yer/recipes-connectivity/jsnbd/jsnbd/state_hook -- BRs, Lei YU --_000_2ea02fe94323438fbc4cec4e62c242c4intelcom_ Content-Type: text/html; charset="iso-2022-jp" Content-Transfer-Encoding: quoted-printable

Hi Lei,

What=1B$B!G=1B(Bs your final purpose for this?<= /o:p>

 

Now we already have KCS between host and bmc.

 

 

Thanks,

Kwin.

 

 

=1B$B0jMk=1B(B yulei.= sh at bytedance.com Wed May 27 13:07:45 AEST 2020

There is a script [usb-ctrl][1] hosted in =
intel-bmc.
It supports the VirtualMedia feature by in=
sert/eject files to the host
as a USB mass-storage device.
Comparing to the existing [state_hook][2] =
in jsnbd, it supports
multiple UDCs, so it supports mount multip=
le files.
 
In addition, I have some updates on the us=
b-ctrl script to make it
support the USB ECM device, which creates =
a USB ethernet device
between BMC and the host.
 
So my proposal is to add the `usb-ctrl` sc=
ript into the phosphor-misc
repo so that it gets reviewed and could be=
 used by upstream.
 
Any ideas?
 
[1]: https://github.com/Intel-BMC/openbmc/blob/intel/meta-openbm=
c-mods/meta-common/recipes-core/fw-update/files/usb-ctrl
[2]: https://github.com/openbmc/openbmc/blob/master/meta-phosp=
hor/aspeed-layer/recipes-connectivity/jsnbd/jsnbd/state_hook=
 
-- 
BRs,
Lei YU

 

--_000_2ea02fe94323438fbc4cec4e62c242c4intelcom_--