couple questions for OpenBMC
John Wang
wangzqbj at inspur.com
Thu Jan 17 21:27:22 AEDT 2019
On Thu, Jan 17, 2019 at 3:52 PM Brenden Lai <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 ?
>
>
>
> 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 ?
>
>
> 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
>
>
More information about the openbmc
mailing list