From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=wistron.com (client-ip=103.200.3.19; helo=segapp01.wistron.com; envelope-from=ben_pai@wistron.com; receiver=) Authentication-Results: lists.ozlabs.org; dmarc=none (p=none dis=none) header.from=wistron.com Received: from segapp01.wistron.com (segapp02.wistron.com [103.200.3.19]) by lists.ozlabs.org (Postfix) with ESMTP id 49HjgK0qmWzDqvn for ; Thu, 7 May 2020 16:07:52 +1000 (AEST) Received: from EXCHAPP01.whq.wistron (unverified [10.37.38.24]) by TWNHUMSW5.wistron.com (Clearswift SMTPRS 5.6.0) with ESMTP id ; Thu, 7 May 2020 14:07:46 +0800 Received: from EXCHAPP02.whq.wistron (10.37.38.25) by EXCHAPP01.whq.wistron (10.37.38.24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1913.5; Thu, 7 May 2020 14:07:45 +0800 Received: from EXCHAPP02.whq.wistron ([fe80::cddc:5806:56d5:6e30]) by EXCHAPP02.whq.wistron ([fe80::cddc:5806:56d5:6e30%7]) with mapi id 15.01.1913.007; Thu, 7 May 2020 14:07:45 +0800 From: To: , CC: , Subject: phosphor-bittware repository Thread-Topic: phosphor-bittware repository Thread-Index: AdYkNFXgbdgKWTyxSeeYFtD/FWOCcw== Date: Thu, 7 May 2020 06:07:44 +0000 Message-ID: Accept-Language: zh-TW, en-US Content-Language: zh-TW X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.37.38.230] x-tm-snts-smtp: 8E12950010B689BE26B129A0D5C311D014A44921B91726DD35604BF80B2B26CE2000:8 Content-Type: multipart/alternative; boundary="_000_b7e1bb0b82394f8ca3a193cb9ed5c218wistroncom_" 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: Thu, 07 May 2020 06:07:58 -0000 --_000_b7e1bb0b82394f8ca3a193cb9ed5c218wistroncom_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi Brad Could you please help to create a new repository for phosphor-bittware? Best Regards, Ben ---------------------------------------------------------------------------= ---------------------------------------------------------------------------= --------- This email contains confidential or legally privileged information and is f= or the sole use of its intended recipient.=20 Any unauthorized review, use, copying or distribution of this email or the = content of this email is strictly prohibited. If you are not the intended recipient, you may reply to the sender and shou= ld delete this e-mail immediately. ---------------------------------------------------------------------------= ---------------------------------------------------------------------------= --------- --_000_b7e1bb0b82394f8ca3a193cb9ed5c218wistroncom_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Hi Brad

 

Could you please help to create= a new repository for phosphor-bittware?

 

Best Regards,=

Ben

 

= ---------------------------------------------------------------------------= ---------------------------------------------------------------------------= ---------

= This email contains confidential or legally privileged information and is f= or the sole use of its intended recipient.

= Any unauthorized review, use, copying or distribution of this email or the = content of this email is strictly prohibited.

= If you are not the intended recipient, you may reply to the sender and shou= ld delete this e-mail immediately.

= ---------------------------------------------------------------------------= ---------------------------------------------------------------------------= ---------

--_000_b7e1bb0b82394f8ca3a193cb9ed5c218wistroncom_-- From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=stwcx.xyz (client-ip=64.147.123.21; helo=wout5-smtp.messagingengine.com; envelope-from=patrick@stwcx.xyz; receiver=) Authentication-Results: lists.ozlabs.org; dmarc=none (p=none dis=none) header.from=stwcx.xyz Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=stwcx.xyz header.i=@stwcx.xyz header.a=rsa-sha256 header.s=fm1 header.b=Xuwrqnk2; dkim=pass (2048-bit key; unprotected) header.d=messagingengine.com header.i=@messagingengine.com header.a=rsa-sha256 header.s=fm2 header.b=Fl60IX5r; dkim-atps=neutral Received: from wout5-smtp.messagingengine.com (wout5-smtp.messagingengine.com [64.147.123.21]) (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 49LLkz1CltzDqKs for ; Mon, 11 May 2020 23:05:15 +1000 (AEST) Received: from compute7.internal (compute7.nyi.internal [10.202.2.47]) by mailout.west.internal (Postfix) with ESMTP id 637B44BE; Mon, 11 May 2020 09:05:11 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute7.internal (MEProxy); Mon, 11 May 2020 09:05:11 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=stwcx.xyz; h= date:from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=fm1; bh=mzMPoWAOfSmoJUTxv1JnelwNPyl oiNTWRyJvJ73YAa0=; b=Xuwrqnk2XGj3Mkye0O+ivKLZ1wcfyo+BlnjuLll19GC xUIWC7c1ze6dqdRRjKaoP60suekEgi5MYwD1IJp4skq04iTa/f14+IMF4xmMXL41 rSesnfpIKWndROs4LH/kKgrB1STsHhVS8RvvmjTsxdC8tjwhN4cQqpiQpKC/rWBY vIFael+uBhS/AL2+7SqTgeYSeql1GNKxIeVP3Q3fVZRdzOB1Ies/5H2ttZMVVLNz akMKtU2+MzNvg+wPhZFDO/Iavg/EwgtLFTPFu6avt9pVnPgmF7QlMVqjETj74l/j E9M92ObJV/pBqm1PW/YLLpC0nRHblLNXeV72T0C4RGw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=mzMPoW AOfSmoJUTxv1JnelwNPyloiNTWRyJvJ73YAa0=; b=Fl60IX5rd9OqU76q9s6bVX V+8a7X32rn5aUpBPp7cp14umWBoxocJd7ZYo8Tc8IaAglmG7y2xb/cSlRP0v2YD0 /oy74cuqSTIko5v5i7+9wTEMdy2BswLBDNyJaBHry9nK5bInqv3K/+iBidEDGkUh xUqzWRR2F/GHbKhZI2CfYOwdyslYukYFVoRUpTI/BrFLzu6qtEzaRB2sLT+UtwIy ui0K0plIPOXqqgA3HHAvp9c6m9p4ifGsSy03N3ihncTzr2B34O5gz8RZDUrVS7Jf cAURMkTAWD358UtKynBjKevO5L5QfaoOWFMmYLqPM97LrzW2oY1yYTK8Ow/EQUDQ == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduhedrledtgdehgecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecufghrlhcuvffnffculdefhedmnecujfgurhepfffhvf fukfhfgggtuggjsehgtderredttddvnecuhfhrohhmpefrrghtrhhitghkucghihhllhhi rghmshcuoehprghtrhhitghksehsthiftgigrdighiiiqeenucggtffrrghtthgvrhhnpe egheehfeffgeekveehtdfhgfduhfegfefgtdehhfektdelffevkefgueffhedtieenucfk phepjeeirddvhedtrdekgedrvdefieenucevlhhushhtvghrufhiiigvpedtnecurfgrrh grmhepmhgrihhlfhhrohhmpehprghtrhhitghksehsthiftgigrdighiii X-ME-Proxy: Received: from localhost (76-250-84-236.lightspeed.austtx.sbcglobal.net [76.250.84.236]) by mail.messagingengine.com (Postfix) with ESMTPA id 3FB8E3066297; Mon, 11 May 2020 09:05:10 -0400 (EDT) Date: Mon, 11 May 2020 08:05:09 -0500 From: Patrick Williams To: Ben_Pai@wistron.com Cc: bradleyb@fuzziesquirrel.com, openbmc@lists.ozlabs.org, Claire_Ku@wistron.com, wangat@tw.ibm.com Subject: Re: phosphor-bittware repository Message-ID: <20200511130509.GD10214@heinlein> References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="5gxpn/Q6ypwruk0T" Content-Disposition: inline In-Reply-To: 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: Mon, 11 May 2020 13:05:16 -0000 --5gxpn/Q6ypwruk0T Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hello Ben, On Thu, May 07, 2020 at 06:07:44AM +0000, Ben_Pai@wistron.com wrote: > Could you please help to create a new repository for phosphor-bittware? Out of curiousity for others who aren't aware of what 'bittware' is, could you describe a little about this repository? It seems to be a hardware vendor, so it would be interesting to know what the BMC will be doing with it. Examples: * What is the overall purpose of the code in this repository? * Is there an existing architecture that this code will be following or is there some new design that you are persuing (and needs to be document)? * Are there existing phosphor-dbus-interfaces that you will be implementing? Are there new dbus interfaces you are proposing to implement the functionality you want from this repository? --=20 Patrick Williams --5gxpn/Q6ypwruk0T Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEBGD9ii4LE9cNbqJBqwNHzC0AwRkFAl65TYUACgkQqwNHzC0A wRkpnA/7Bms/kIX+7coAGFlCMm8znRuSbmvmlqFVohoWyW7UEAC4c7QK28rk2DYg tg8HXAgrOivU0jqnS3WNcVLOHhSt0rLi6CQ4UE+aIUszCDkyRiLs3EW3e1udsXxz KUtU5xH4KYE7dC8RQOk5b+ibR6GGddMJRPbSrrA3QPMIkMkWj/Xm74bhs6yPAKJL nppw+j/wctxQkHwdrKIySfyGZCrqZ0wSIZEJmTwYWOloom9LSH0YsMre1eiFWly6 rYwHiFs3z93fMByyFZn4/eYsirtOwaqu7E8UxfCW/FpAeOImhUcqT54EbBxswwNK gCbYSwyCgc8oKkRIJYwNKMe12nqOesIfnGKvHZCWlobfEi7j7e1F7T6hV49b9VrV 5GFtf/kOFYUNMhLaS6B3HrWH7g6MG384Tb02cY3zTvIS1OUuwCCZXNccriuq030H +aRoGekgtsc0jIBVbov01KzU+fTCDrRENl8l3BRPsbJqkj0w14q3XmdFLzZLyfC9 J5WKEEtvwTcgrYoFwyWoN4nkEzarTLd5ioxlg+gEaHftgnH1axYo3FSgJhRB31+L Tq+Xuuv+FWfLivY586OnjljaU0/tesMcSAob74oLX8b91t+mKrNQ4Q5bNMwXbxOc OaNa9joJ+VZTACY/wPuKhvGh79fLouzOQJWb/9QknFbFHmfgerw= =uA8B -----END PGP SIGNATURE----- --5gxpn/Q6ypwruk0T-- From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=wistron.com (client-ip=103.200.3.19; helo=segapp03.wistron.com; envelope-from=ben_pai@wistron.com; receiver=) Authentication-Results: lists.ozlabs.org; dmarc=none (p=none dis=none) header.from=wistron.com Received: from segapp03.wistron.com (segapp02.wistron.com [103.200.3.19]) by lists.ozlabs.org (Postfix) with ESMTP id 49LsT60c5FzDql6 for ; Tue, 12 May 2020 19:09:57 +1000 (AEST) Received: from EXCHAPP02.whq.wistron (unverified [10.37.38.25]) by TWNHUMSW4.wistron.com (Clearswift SMTPRS 5.6.0) with ESMTP id ; Tue, 12 May 2020 17:09:52 +0800 Received: from EXCHAPP02.whq.wistron (10.37.38.25) by EXCHAPP02.whq.wistron (10.37.38.25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1913.5; Tue, 12 May 2020 17:09:50 +0800 Received: from EXCHAPP02.whq.wistron ([fe80::cddc:5806:56d5:6e30]) by EXCHAPP02.whq.wistron ([fe80::cddc:5806:56d5:6e30%7]) with mapi id 15.01.1913.007; Tue, 12 May 2020 17:09:50 +0800 From: To: CC: , , , Subject: phosphor-bittware repository Thread-Topic: phosphor-bittware repository Thread-Index: AdYoOA7H2kBN2vABR5GWCd2jybLNAw== Date: Tue, 12 May 2020 09:09:50 +0000 Message-ID: <822cfe8a5ec94973903534f7932d9049@wistron.com> Accept-Language: zh-TW, en-US Content-Language: zh-TW X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.37.38.230] x-tm-snts-smtp: 6931A8F414C5C9592067C66BB06AF0856FFA29CFD46642D0B18911104917317B2000:8 Content-Type: multipart/alternative; boundary="_000_822cfe8a5ec94973903534f7932d9049wistroncom_" 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: Tue, 12 May 2020 09:10:03 -0000 --_000_822cfe8a5ec94973903534f7932d9049wistroncom_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hello Patrick On Thu, May 07, 2020 at 06:07:44AM +0000, Ben_Pai at wistron.com wrote: > Could you please help to create a new repository for phosphor-bittware? Out of curiousity for others who aren't aware of what 'bittware' is, could you describe a little about this repository? It seems to be a hardware vendor, so it would be interesting to know what the BMC will be doing with it. Examples: * What is the overall purpose of the code in this repository? * Is there an existing architecture that this code will be following or is there some new design that you are persuing (and needs to be document)? * Are there existing phosphor-dbus-interfaces that you will be implementing? Are there new dbus interfaces you are proposing to implement the functionality you want from this repository? -- I want to implement related functions for the bittware 250-SoC card. For example: Sensor reading, VPD information, led control and Brick Protect= ion mechanism. We don't need to modify phosphor-dbus-interfaces. Best Regards, Ben ---------------------------------------------------------------------------= ---------------------------------------------------------------------------= --------- This email contains confidential or legally privileged information and is f= or the sole use of its intended recipient.=20 Any unauthorized review, use, copying or distribution of this email or the = content of this email is strictly prohibited. If you are not the intended recipient, you may reply to the sender and shou= ld delete this e-mail immediately. ---------------------------------------------------------------------------= ---------------------------------------------------------------------------= --------- --_000_822cfe8a5ec94973903534f7932d9049wistroncom_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Hello Patrick=

 

On Thu, May 07, 2020 at 06:=
07:44AM +0000, Be=
n_Pai at wistron.com wrote:
> Could you please he=
lp to create a new repository for phosphor-bittware?<=
/pre>
 
Out of curiousity for other=
s who aren't aware of what 'bittware' is,
could you describe a little=
 about this repository?  It seems to be a
hardware vendor, so it woul=
d be interesting to know what the BMC will be
doing with it.
 
Examples:=
  * What is the overal=
l purpose of the code in this repository?
  * Is there an existi=
ng architecture that this code will be following
    or is th=
ere some new design that you are persuing (and needs to be
    document=
)?
  * Are there existing=
 phosphor-dbus-interfaces that you will be
    implemen=
ting?  Are there new dbus interfaces you are proposing to
    implemen=
t the functionality you want from this repository?
 
-- 
 

I want to implement related fun= ctions for the bittware 250-SoC card.

For example: Sensor reading, VP= D information, led control and Brick Protection mechanism.

 

We don’t need to modify p= hosphor-dbus-interfaces.

 

Best Regards,=

Ben

 

 

= ---------------------------------------------------------------------------= ---------------------------------------------------------------------------= ---------

= This email contains confidential or legally privileged information and is f= or the sole use of its intended recipient.

= Any unauthorized review, use, copying or distribution of this email or the = content of this email is strictly prohibited.

= If you are not the intended recipient, you may reply to the sender and shou= ld delete this e-mail immediately.

= ---------------------------------------------------------------------------= ---------------------------------------------------------------------------= ---------

--_000_822cfe8a5ec94973903534f7932d9049wistroncom_-- From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=stwcx.xyz (client-ip=64.147.123.19; helo=wout3-smtp.messagingengine.com; envelope-from=patrick@stwcx.xyz; receiver=) Authentication-Results: lists.ozlabs.org; dmarc=none (p=none dis=none) header.from=stwcx.xyz Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=stwcx.xyz header.i=@stwcx.xyz header.a=rsa-sha256 header.s=fm1 header.b=qkk4Q29n; dkim=pass (2048-bit key; unprotected) header.d=messagingengine.com header.i=@messagingengine.com header.a=rsa-sha256 header.s=fm2 header.b=EF+1Zilt; dkim-atps=neutral Received: from wout3-smtp.messagingengine.com (wout3-smtp.messagingengine.com [64.147.123.19]) (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 49Lxhj6yPCzDqgB for ; Tue, 12 May 2020 22:20:20 +1000 (AEST) Received: from compute7.internal (compute7.nyi.internal [10.202.2.47]) by mailout.west.internal (Postfix) with ESMTP id 3E12F814; Tue, 12 May 2020 08:20:16 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute7.internal (MEProxy); Tue, 12 May 2020 08:20:16 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=stwcx.xyz; h= date:from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=fm1; bh=ECb9kePKrmFrJVxpxm2ZEj5rO7/ JJfFQz0nGQ8l6aHc=; b=qkk4Q29njh7vJab9muzpaPgP4dSgXWgciQkGscQmWjS jB15gHWkVbZpNqtVWS4E8kcuq1+Zp84vzVaE6H5jQmgniYgRwPt2PknVQpVVS9EX 1AAYY3A35twO+tGYLWxAuKI603tVBrQ//tDKXnsOHRe3bkoUFaFWpnZJVMzZ4m7C 04MMiSEgPeSpvADW8/JdAp50hadhF8SpZmIsXo7g8/xsNxx9fJ7GQ/+Yz1qnPN6C k6ydYW/NudRoIVVzEpmQzlJ2VlmKYm3fhrQibK6W4w2MRp8UedkoHjhsQodWZNoc jxwA6Mhs3t2V8QYW7uJjFaGuyvevugDVeW25sjRraGA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=ECb9ke PKrmFrJVxpxm2ZEj5rO7/JJfFQz0nGQ8l6aHc=; b=EF+1ZiltBnjwLab6LHOIfW TUdA6pZ/6KQGuGeukLWUd0s8BrA0zK/WthZFbGXgRMqdUGBhbEdZlStJ6XwhCkTx NjBpCXmHIooOw9Ky+OTcg+HBS5Wrgd7q7EhCRf+U+awJjrgVhrYvASxpwyeqyhVu BbTWs6SozWwqTvgxa9YtSgHfQPqyaAjvKotVvJrHID7vyzdYlqibSVHjCeQODcmY /R91wRkGfh74T94/Q3Yn7edN1wqNWffwlEGrIS7seKKYb4/caVXDiUXHPze7GhCx RPh0lS08EPwwKr68Hj3PG8pGyngKL0ykUtlM3lozS4a2N35ATJRbCIh3UUSFBm9Q == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduhedrledvgdegkecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecufghrlhcuvffnffculdefhedmnecujfgurhepfffhvf fukfhfgggtuggjsehgtderredttddvnecuhfhrohhmpefrrghtrhhitghkucghihhllhhi rghmshcuoehprghtrhhitghksehsthiftgigrdighiiiqeenucggtffrrghtthgvrhhnpe etvdejiedvteegudejudelgeeiffdvhefgveeiieekjefhfeelgeevhfehteffjeenucff ohhmrghinhepsghithhtfigrrhgvrdgtohhmnecukfhppeejiedrvdehtddrkeegrddvfe einecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepphgr thhrihgtkhesshhtfigtgidrgiihii X-ME-Proxy: Received: from localhost (76-250-84-236.lightspeed.austtx.sbcglobal.net [76.250.84.236]) by mail.messagingengine.com (Postfix) with ESMTPA id C0251328005D; Tue, 12 May 2020 08:20:14 -0400 (EDT) Date: Tue, 12 May 2020 07:20:12 -0500 From: Patrick Williams To: Ben_Pai@wistron.com Cc: openbmc@lists.ozlabs.org, Claire_Ku@wistron.com, wangat@tw.ibm.com, bradleyb@fuzziesquirrel.com Subject: Re: phosphor-bittware repository Message-ID: <20200512122012.GG10214@heinlein> References: <822cfe8a5ec94973903534f7932d9049@wistron.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="MrRUTeZlqqNo1jQ9" Content-Disposition: inline In-Reply-To: <822cfe8a5ec94973903534f7932d9049@wistron.com> 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: Tue, 12 May 2020 12:20:28 -0000 --MrRUTeZlqqNo1jQ9 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hello Ben, On Tue, May 12, 2020 at 09:09:50AM +0000, Ben_Pai@wistron.com wrote: > I want to implement related functions for the bittware 250-SoC card. > For example: Sensor reading, VPD information, led control and Brick > Protection mechanism. I looked briefly at the datasheet for this hardware [1]. It appears to expose an SMBus interface for the features you mentioned. The most straight-forward way to get this implemented is to create a kernel driver for most of the features you mentioned. If you implement a driver for this hardware that interacts with the hwmon, eeprom, and LED/GPIO subsystems in the kernel(*), you'll be able to reuse a lot of existing OpenBMC functionality without rewriting any userspace code. - Sensor - Kernel: hwmon - Userspace: phosphor-hwmon or dbus-sensors - VPD - Kernel: eeprom - Userspace: entity-manager (I think) - LED control - Kernel: LED / GPIO - Userspace: phosphor-led-manager The only part that wouldn't be covered would be the "Brick Protection". We'd need to see some more information on how this is exposed but you might be able to work it into the existing phosphor-bmc-code-mgmt repository. For power supplies, they did create a separate repository (phosphor-psu-code-mgmt) but I think they relied on some kernel APIs for doing part of the work. (*) Depending on how the bittware hardware is implemented at an SMBus level you may end up with multiple smaller drivers (this is better). If there is a single SMBus address for all these functions, you'll likely end up with one big driver. 1. https://www.bittware.com/wp-content/uploads/datasheets/ds-250-soc.pdf --=20 Patrick Williams --MrRUTeZlqqNo1jQ9 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEBGD9ii4LE9cNbqJBqwNHzC0AwRkFAl66lHoACgkQqwNHzC0A wRmtww//TFqcksGaXoaWQLF2llU01LJ71jH9gjccFSBQfALWoEhXVKeJjiLB6NCx /cq9WKwc/nkQA9oBc/cJb5+V0/USwREa4afTJ+LqhxVA2FNBtxeYCTGN0sFGKyPc ZuOeX+JzjhuvGPZUdMr6dFkiQ3VhCI8ztptOAuQbA5nWBxoHU/P8E2vsbczPdUV+ sOqVlXWpY4fNlqrWIlD1Df9xCyLAJhKieGTAdI1xwFIt7YaHV2BI88qPsldA7ftQ 8g5Cvy9bZgDDeE8dXZ+tsvbI8SK/Pz2oyv/HI9EwgR3WuyyV67r0EdmsOa+82gcP 9r5EW8FmKqX2pkw7QqGDgC8Bb/lntx6fk4VJ0edlTRiVtAIMZlKiMVe+2h9z1lGF oVuiOTiWeB6xPSSp7HEncsuateAMlOM9uq98v8peWt2XnbXzNgSC6q824CEkjld6 7EjQTduiAfPUupDByPutPgIJSGBlkA3IYDlkw7w4VQ3WNUncw99sDLGlIL3jhKo0 Q8m7G9qeUEr8wc7cmRDuHnOU4b3pL+0/Kf0x1DI6Kiuch827SH7H33duH6fAklyG w/6cnacvLmCfm5QmAzpLDvQvY1875fcneFm+IcBKdNBql8DxJeu+NadESpJtefmd G6CDWAg07nsJhjZWFzBebmTM9B5YTDsGp2Q6K+XT1hyIATjzhuI= =v/Q1 -----END PGP SIGNATURE----- --MrRUTeZlqqNo1jQ9-- From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=wistron.com (client-ip=103.200.3.19; helo=segapp01.wistron.com; envelope-from=ben_pai@wistron.com; receiver=) Authentication-Results: lists.ozlabs.org; dmarc=none (p=none dis=none) header.from=wistron.com Received: from segapp01.wistron.com (segapp02.wistron.com [103.200.3.19]) by lists.ozlabs.org (Postfix) with ESMTP id 49R5zz0tPjzDqQq for ; Tue, 19 May 2020 16:47:55 +1000 (AEST) Received: from EXCHAPP04.whq.wistron (unverified [10.37.38.27]) by TWNHUMSW5.wistron.com (Clearswift SMTPRS 5.6.0) with ESMTP id ; Tue, 19 May 2020 14:47:50 +0800 Received: from EXCHAPP02.whq.wistron (10.37.38.25) by EXCHAPP04.whq.wistron (10.37.38.27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1913.5; Tue, 19 May 2020 14:47:48 +0800 Received: from EXCHAPP02.whq.wistron ([fe80::cddc:5806:56d5:6e30]) by EXCHAPP02.whq.wistron ([fe80::cddc:5806:56d5:6e30%7]) with mapi id 15.01.1913.007; Tue, 19 May 2020 14:47:48 +0800 From: To: CC: , , , Subject: phosphor-bittware repository Thread-Topic: phosphor-bittware repository Thread-Index: AdYoOA7H2kBN2vABR5GWCd2jybLNAwEr6Iyw Date: Tue, 19 May 2020 06:47:48 +0000 Message-ID: <5c119dd93cff41c993e0a16a3717f5a4@wistron.com> Accept-Language: zh-TW, en-US Content-Language: zh-TW X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.37.38.230] x-tm-snts-smtp: 1D86CC67351C1B05CA407F4751D82519AA57FB18A7DC61F463E754BB3807B6242000:8 Content-Type: multipart/alternative; boundary="_000_5c119dd93cff41c993e0a16a3717f5a4wistroncom_" 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: Tue, 19 May 2020 06:48:00 -0000 --_000_5c119dd93cff41c993e0a16a3717f5a4wistroncom_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi Patrick > I looked briefly at the datasheet for this hardware [1]. It appears to > expose an SMBus interface for the features you mentioned. The most > straight-forward way to get this implemented is to create a kernel > driver for most of the features you mentioned. If you implement a > driver for this hardware that interacts with the hwmon, eeprom, and LED/G= PIO > subsystems in the kernel(*), you'll be able to reuse a lot of existing > OpenBMC functionality without rewriting any userspace code. > > - Sensor > - Kernel: hwmon > - Userspace: phosphor-hwmon or dbus-sensors > - VPD > - Kernel: eeprom > - Userspace: entity-manager (I think) > - LED control > - Kernel: LED / GPIO > - Userspace: phosphor-led-manager > > The only part that wouldn't be covered would be the "Brick Protection". > We'd need to see some more information on how this is exposed but you > might be able to work it into the existing phosphor-bmc-code-mgmt > repository. For power supplies, they did create a separate repository > (phosphor-psu-code-mgmt) but I think they relied on some kernel APIs for > doing part of the work. > > (*) Depending on how the bittware hardware is implemented at an SMBus > level you may end up with multiple smaller drivers (this is better). > If there is a single SMBus address for all these functions, you'll > likely end up with one big driver. > > 1. https://www.bittware.com/wp-content/uploads/datasheets/ds-250-soc.pdf Sorry for late reply. Because the 250-soc card needs to adjust the io expander to get the relevan= t information (e.g. temperature, VPD ...). I think a dynamic detection function may be needed to handle the presence o= f the card and dynamically adjust the io expander. On the other hand, I just want to be able to integrate all the functions. Best Regards, Ben ---------------------------------------------------------------------------= ---------------------------------------------------------------------------= --------- This email contains confidential or legally privileged information and is f= or the sole use of its intended recipient.=20 Any unauthorized review, use, copying or distribution of this email or the = content of this email is strictly prohibited. If you are not the intended recipient, you may reply to the sender and shou= ld delete this e-mail immediately. ---------------------------------------------------------------------------= ---------------------------------------------------------------------------= --------- --_000_5c119dd93cff41c993e0a16a3717f5a4wistroncom_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable
Hi Patrick
 
> I looked briefly at=
 the datasheet for this hardware [1].  It appears to=
> expose an SMBus int=
erface for the features you mentioned.  The most=
> straight-forward wa=
y to get this implemented is to create a kernel
> driver for most of =
the features you mentioned.  If you implement a<=
/pre>
> driver for this har=
dware that interacts with the hwmon, eeprom, and LED/GPIO=
> subsystems in the k=
ernel(*), you'll be able to reuse a lot of existing
> OpenBMC functionali=
ty without rewriting any userspace code.
> 
> - Sensor=
>   &n=
bsp; - Kernel: hwmon
>   &n=
bsp; - Userspace: phosphor-hwmon or dbus-sensors
> - VPD
>   &n=
bsp; - Kernel: eeprom
>   &n=
bsp; - Userspace: entity-manager (I think)
> - LED control<=
/o:p>
>   &n=
bsp; - Kernel: LED / GPIO
>   &n=
bsp; - Userspace: phosphor-led-manager
> 
> The only part that =
wouldn't be covered would be the "Brick Protection".
> We'd need to see so=
me more information on how this is exposed but you
> might be able to wo=
rk it into the existing phosphor-bmc-code-mgmt
> repository.  F=
or power supplies, they did create a separate repository<=
/i>
> (phosphor-psu-code-=
mgmt) but I think they relied on some kernel APIs for=
> doing part of the w=
ork.
> 
> (*) Depending on ho=
w the bittware hardware is implemented at an SMBus
>   &n=
bsp; level you may end up with multiple smaller drivers (this is better).
>   &n=
bsp; If there is a single SMBus address for all these functions, you'll
>   &n=
bsp; likely end up with one big driver.
> 
> 1. https://www.bittware.com/wp-content/uploads/datas=
heets/ds-250-soc.pdf

 

Sorry for late reply.
 
Because the 250-soc card needs to adjust the io expander to=
 get the relevant information (e.g. temperature, VPD ...).
I think a dynamic detection function may be needed to handl=
e the presence of the card and dynamically adjust the io expander.
On the other hand, I just want to be able to integrate all =
the functions.

 

Best Regards,=

Ben

 

 

= ---------------------------------------------------------------------------= ---------------------------------------------------------------------------= ---------

= This email contains confidential or legally privileged information and is f= or the sole use of its intended recipient.

= Any unauthorized review, use, copying or distribution of this email or the = content of this email is strictly prohibited.

= If you are not the intended recipient, you may reply to the sender and shou= ld delete this e-mail immediately.

= ---------------------------------------------------------------------------= ---------------------------------------------------------------------------= ---------

--_000_5c119dd93cff41c993e0a16a3717f5a4wistroncom_-- From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=stwcx.xyz (client-ip=66.111.4.27; helo=out3-smtp.messagingengine.com; envelope-from=patrick@stwcx.xyz; receiver=) Authentication-Results: lists.ozlabs.org; dmarc=none (p=none dis=none) header.from=stwcx.xyz Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=stwcx.xyz header.i=@stwcx.xyz header.a=rsa-sha256 header.s=fm1 header.b=Qb6IJ2IT; dkim=pass (2048-bit key; unprotected) header.d=messagingengine.com header.i=@messagingengine.com header.a=rsa-sha256 header.s=fm2 header.b=epEJvd/Y; dkim-atps=neutral Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com [66.111.4.27]) (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 49RKvg36zbzDr4N for ; Wed, 20 May 2020 01:45:02 +1000 (AEST) Received: from compute7.internal (compute7.nyi.internal [10.202.2.47]) by mailout.nyi.internal (Postfix) with ESMTP id 73A7E5C014B; Tue, 19 May 2020 11:44:57 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute7.internal (MEProxy); Tue, 19 May 2020 11:44:57 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=stwcx.xyz; h= date:from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=fm1; bh=GimC9z2DCgXEuzpKF6YnkrtFBCR GGab066ROPS+SO7k=; b=Qb6IJ2ITRVf9XrR4gXQkFt0ZpF7kSDcGS9En4CnPbP4 hpGiPO+lsfJP9lAd3Q6FUgKxZkg0NMsVp5MCTZqKTLqzGzRIN/ENMo0Z9TtS08HZ Sq6Nj3i/jZxhMBUJP0VmZ6/0eP7kMK6og/6NBu0Wl9KLvGYhM1twJ1jHDVx2dkpD LzEZzVh/sef7PIKjto3WOBECnphl3erK49U4i4OzalKRMvX5RLSymn0jjPUGLzlF uiS3EC/R0SMGoQcI643UOioXaeeCQFctvLsPdcX4GpvUQ2JTVGRBGWQwoDHznM6V hdg1yP1Sgp2SvqNGv/HUTcATFc3Mm9eDUOX87bWOzfg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=GimC9z 2DCgXEuzpKF6YnkrtFBCRGGab066ROPS+SO7k=; b=epEJvd/Y1LlldFV3O/Mb4h RQ0FXpK+wdA03zxjGFcfF36d/jBIZIpWa2F3XJqZcLcwxjqQMGRf6WODtOcCNpbw bhJSvGRTHmzpl2h6xAasqATG7s8zR9CEr+I4BTYm/dl6eslxPPwoMNOXsM5+Yts8 69Zhe7JWhQQ34HemhUlMqlp7x0+LlXKoqUrdbF5ob4ovfQ1hsbzskGn9Jp2t+fpk HBVe2TC1/H3I6if9/O0+tU5eFuh7p17Kp6sPKiIc0CRoLfd6qhrY1iWotGpIBP6G fShN0yZGj10x84lhita14MA4COsLu20EdhZslM7woaVIaJbKICXU1liQnecDakJw == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduhedruddtjedgleduucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucgfrhhlucfvnfffucdlfeehmdenucfjughrpeffhf fvuffkfhggtggujgesghdtreertddtvdenucfhrhhomheprfgrthhrihgtkhcuhghilhhl ihgrmhhsuceophgrthhrihgtkhesshhtfigtgidrgiihiieqnecuggftrfgrthhtvghrnh epgeehheefffegkeevhedthffgudfhgeefgfdthefhkedtleffveekgfeuffehtdeinecu kfhppeejiedrvdehtddrkeegrddvfeeinecuvehluhhsthgvrhfuihiivgeptdenucfrrg hrrghmpehmrghilhhfrhhomhepphgrthhrihgtkhesshhtfigtgidrgiihii X-ME-Proxy: Received: from localhost (76-250-84-236.lightspeed.austtx.sbcglobal.net [76.250.84.236]) by mail.messagingengine.com (Postfix) with ESMTPA id 6F34E328005E; Tue, 19 May 2020 11:44:56 -0400 (EDT) Date: Tue, 19 May 2020 10:44:55 -0500 From: Patrick Williams To: Ben_Pai@wistron.com Cc: openbmc@lists.ozlabs.org, Claire_Ku@wistron.com, wangat@tw.ibm.com, bradleyb@fuzziesquirrel.com Subject: Re: phosphor-bittware repository Message-ID: <20200519154455.GK1166713@heinlein> References: <5c119dd93cff41c993e0a16a3717f5a4@wistron.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="6K2R/cS9K4qvcBNq" Content-Disposition: inline In-Reply-To: <5c119dd93cff41c993e0a16a3717f5a4@wistron.com> 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: Tue, 19 May 2020 15:45:08 -0000 --6K2R/cS9K4qvcBNq Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, May 19, 2020 at 06:47:48AM +0000, Ben_Pai@wistron.com wrote: > Because the 250-soc card needs to adjust the io expander to get the relev= ant information (e.g. temperature, VPD ...). Is this IO expander on the i2c bus itself, like a mux or hub, or is it some specialized register set to switch between logic banks? In either case though, I don't know why you couldn't create a kernel driver for controlling access to the various logic blocks. If it is like an i2c-mux, there is a number of implementations of that in the kernel already. > I think a dynamic detection function may be needed to handle the presence= of the card and dynamically adjust the io expander. I'm not sure what you mean by "dynamic detection function" here. If you just mean detecting the presence of the card by a GPIO or i2c probe call, entity-manager can handle some of that for you, I believe. You don't need to put the card into the device tree directly, but you could instead do some kind of probe call to ensure the device is present and then manually 'bind' the i2c address to a kernel driver. Entity-manager already supports doing this. > On the other hand, I just want to be able to integrate all the functions. I think you're going to end up duplicating a lot of code that already exists in the kernel this way and that is why I'm trying to steer you away from it. Just as a simple example on the sensors, we have two implementations that can already consume Linux-hwmon data and give you the dbus objects "for free". If you go the direction of putting it all in userspace, you're going to have to implement all the i2c activity, hwmon-like polling, and dbus objects all yourself. This isn't a trivial amount of code. --=20 Patrick Williams --6K2R/cS9K4qvcBNq Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEBGD9ii4LE9cNbqJBqwNHzC0AwRkFAl7D/vUACgkQqwNHzC0A wRmXuw//Qv8awVRXFq1hJtPPbAjjXm4WTEnHnzWM6SlqnjVa1zb7OcRZlO4HTVuz dp+D7EZAgazJcGqAFoJ4MGIE1XL3tf51rt12iPXyysf1gSUV1vPRcWevjiSlbmdf ajx/1qOybAQUeV91mtRyTftv+l7GAvT/hrLv9FrCcsanUSH20BTmz5H3JMXQODil cvkBEUIurcHkehyHALz9rjrH7tL5SLhLjBK3uun3HceWIzzI9a3juZnQaULHeZdU 4xBCyoj+CAgpfE6G1t83YxhRTXW6BWlD7mdn5cYo6SDimUMPrjDiSJ3YagjLWEpL Eauzcu7PjlSGLAacy32RrhlOv9LLvj4QFv//yiTkqW8CsRqMDUSdLP9KyS1qbHgZ oOoi8auU7nw8Sj9nlyGeAvh5IkYsGw/ld+cSJG4DTIvOZmuSgcGdGD9+QPhoSIPv OqNnAUjg5CmuI+dszOItNdP8Ovod2X9wDUUQz/mwSTkqiiiS2SJOXrCXTNSpz3U+ wmiYUUgGQyo/zlhA/35UIah8mVSmR6ZJp3dFebTIN1TvoIL2JwrGMWIGWAZ4AWdb BG+WuqTMhkG9IapZe6iBcHASx0qlpI/sKuDIocr+7N1HnYpAkCYiVbFN7yyt4htS zIg/reQT+ITtJimV0mw84oCqbAQ3MKrzA+1zPHgUB+Ens2/xpMQ= =3hFL -----END PGP SIGNATURE----- --6K2R/cS9K4qvcBNq--