<div dir="ltr"><div dir="ltr"><br></div><div class="gmail_quote"><div dir="ltr">On Thu, Jan 17, 2019 at 2:34 AM John Wang <<a href="mailto:wangzqbj@inspur.com">wangzqbj@inspur.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">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 ?</blockquote><div>I don't know what you mean by commercial software. In OpenBMC we strive to use open source software.</div><div><br></div><div>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.</div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"> </blockquote><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
><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" rel="noreferrer" 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 ?<br></blockquote><div><br></div><div>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>.</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
><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" rel="noreferrer" target="_blank">https://elinux.org/Device_Tree_Usage</a><br>
This link[<a href="https://github.com/openbmc/docs/blob/master/LED-architecture.md" rel="noreferrer" 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" rel="noreferrer" 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" rel="noreferrer" 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>
><br>
</blockquote></div></div>