<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:新細明體;
        panose-1:2 2 5 0 0 0 0 0 0 0;}
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:"\@新細明體";
        panose-1:2 1 6 1 0 1 1 1 1 1;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p.msonormal0, li.msonormal0, div.msonormal0
        {mso-style-name:msonormal;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.25in 1.0in 1.25in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal">Thanks Nancy . <o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><b>From:</b> Nancy Yuen <yuenn@google.com> <br>
<b>Sent:</b> Friday, January 18, 2019 2:29 AM<br>
<b>To:</b> John Wang <wangzqbj@inspur.com><br>
<b>Cc:</b> Brenden Lai <Brenden_Lai@jabil.com>; openbmc@lists.ozlabs.org<br>
<b>Subject:</b> Re: couple questions for OpenBMC<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<div>
<p class="MsoNormal">On Thu, Jan 17, 2019 at 2:34 AM John Wang <<a href="mailto:wangzqbj@inspur.com">wangzqbj@inspur.com</a>> wrote:<o:p></o:p></p>
</div>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in">
<p class="MsoNormal">On Thu, Jan 17, 2019 at 3:52 PM Brenden Lai <<a href="mailto:Brenden_Lai@jabil.com" target="_blank">Brenden_Lai@jabil.com</a>> wrote:<br>
><br>
> Hi<br>
><br>
> I have couple questions about OpenBMC .<br>
<br>
><br>
> 1.if I decide use OpenBMC solution , Does it mean I should put all BMC source code on github including some commercial software  ?<o:p></o:p></p>
</blockquote>
<div>
<p class="MsoNormal">I don't know what you mean by commercial software.  In OpenBMC we strive to use open source software.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">To build OpenBMC you only need to check out one repo <a href="http://github.com/openbmc/openbmc">
github.com/openbmc/openbmc</a> and invoke the bitbake commands to build for a supported platform.  The repo page has build instructions on it  The recipes in openbmc/openbmc will download the necessary package sources from other online sources and invoke the
 build commands for each of those packages.  The downloaded packages are cached locally.  It's also possible to create a local mirror of downloaded packages for your team to use.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in">
<p class="MsoNormal"> <o:p></o:p></p>
</blockquote>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in">
<p class="MsoNormal">><br>
><br>
><br>
> 2.Are there any tutorial or /document  for using dbus within OpenBMC ?<br>
please refer to this link [<a href="https://github.com/openbmc/sdbusplus" target="_blank">https://github.com/openbmc/sdbusplus</a>] for<br>
documentation and examples.<br>
or you can use busctrl to find out it.<br>
<br>
example:<br>
    busctl tree xyz.openbmc_project.LED.GroupManager<br>
    busctl introspect   xyz.openbmc_project.LED.GroupManager<br>
/xyz/openbmc_project/led/groups/enclosure_fault<br>
<br>
> 3.Why there is no release note after V1.05 ?  Will the coming release  attach release note ?<o:p></o:p></p>
</blockquote>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">The tags you see are just random tags points, not a coordinated release.  We are in the middle of testing the 2.6 official release at the moment.  It will be done early February and it will contain release notes.  You can search this mailing
 list for release activities and also the meeting minutes from the release planning workgroup are
<a href="https://github.com/openbmc/openbmc/wiki/Release-Planning">here</a>.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in">
<p class="MsoNormal">><br>
><br>
> 4.I know openBMC is using some file text to represent  device (LED , sensor)<br>
<br>
Linux uses device tree to describe the hardware component,you can<br>
refer to <a href="https://elinux.org/Device_Tree_Usage" target="_blank">https://elinux.org/Device_Tree_Usage</a><br>
This link[<a href="https://github.com/openbmc/docs/blob/master/LED-architecture.md" target="_blank">https://github.com/openbmc/docs/blob/master/LED-architecture.md</a>]<br>
tells you how openbmc controls led.<br>
<br>
Can be roughly described:<br>
          phosphor-led-manager(strategy) --><br>
phosphor-led->sysfs(action)  --> linux led subsystem<br>
<br>
 linux led subsystem :<br>
<a href="https://github.com/openbmc/linux/blob/dev-4.19/Documentation/leds/leds-class.txt" target="_blank">https://github.com/openbmc/linux/blob/dev-4.19/Documentation/leds/leds-class.txt</a><br>
<br>
>but I am curious about how this files bind to real device ?<br>
>    Where is the low level operation relate code ?<br>
<br>
<a href="https://github.com/openbmc/phosphor-led-sysfs/blob/e0844ff447abad01fa6f902caab3839336d1518d/physical.cpp#L131" target="_blank">https://github.com/openbmc/phosphor-led-sysfs/blob/e0844ff447abad01fa6f902caab3839336d1518d/physical.cpp#L131</a><br>
<br>
><br>
><br>
> Thanks -Brenden<br>
><br>
><br>
><br>
><br>
><br>
> Brenden Lai<br>
> SR. BMC Design Engineer<br>
> E&I, Jabil Design Services<br>
><br>
><o:p></o:p></p>
</blockquote>
</div>
</div>
</div>
</body>
</html>