couple questions for OpenBMC

Brenden Lai Brenden_Lai at jabil.com
Fri Jan 18 12:55:23 AEDT 2019


Thanks Nancy .

From: Nancy Yuen <yuenn at google.com>
Sent: Friday, January 18, 2019 2:29 AM
To: John Wang <wangzqbj at inspur.com>
Cc: Brenden Lai <Brenden_Lai at jabil.com>; openbmc at lists.ozlabs.org
Subject: Re: couple questions for OpenBMC


On Thu, Jan 17, 2019 at 2:34 AM John Wang <wangzqbj at inspur.com<mailto:wangzqbj at inspur.com>> wrote:
On Thu, Jan 17, 2019 at 3:52 PM Brenden Lai <Brenden_Lai at jabil.com<mailto:Brenden_Lai at jabil.com>> wrote:
>
> Hi
>
> I have couple questions about OpenBMC .

>
> 1.if I decide use OpenBMC solution , Does it mean I should put all BMC source code on github including some commercial software  ?
I don't know what you mean by commercial software.  In OpenBMC we strive to use open source software.

To build OpenBMC you only need to check out one repo github.com/openbmc/openbmc<http://github.com/openbmc/openbmc> 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.


>
>
>
> 2.Are there any tutorial or /document  for using dbus within OpenBMC ?
please refer to this link [https://github.com/openbmc/sdbusplus] for
documentation and examples.
or you can use busctrl to find out it.

example:
    busctl tree xyz.openbmc_project.LED.GroupManager
    busctl introspect   xyz.openbmc_project.LED.GroupManager
/xyz/openbmc_project/led/groups/enclosure_fault

> 3.Why there is no release note after V1.05 ?  Will the coming release  attach release note ?

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 here<https://github.com/openbmc/openbmc/wiki/Release-Planning>.

>
>
> 4.I know openBMC is using some file text to represent  device (LED , sensor)

Linux uses device tree to describe the hardware component,you can
refer to https://elinux.org/Device_Tree_Usage
This link[https://github.com/openbmc/docs/blob/master/LED-architecture.md]
tells you how openbmc controls led.

Can be roughly described:
          phosphor-led-manager(strategy) -->
phosphor-led->sysfs(action)  --> linux led subsystem

 linux led subsystem :
https://github.com/openbmc/linux/blob/dev-4.19/Documentation/leds/leds-class.txt

>but I am curious about how this files bind to real device ?
>    Where is the low level operation relate code ?

https://github.com/openbmc/phosphor-led-sysfs/blob/e0844ff447abad01fa6f902caab3839336d1518d/physical.cpp#L131

>
>
> Thanks -Brenden
>
>
>
>
>
> Brenden Lai
> SR. BMC Design Engineer
> E&I, Jabil Design Services
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ozlabs.org/pipermail/openbmc/attachments/20190118/b1f54f9a/attachment-0001.html>


More information about the openbmc mailing list