OpenBMC Starting Point

Samuel Herts sdherts at gmail.com
Tue Feb 25 02:40:22 AEDT 2020


So if I wanted a c++ script to run on the bmc whenever I desired, how
exactly would I go about implementing it as a module to run? Kind of like
the Phosphor state manager module that the Hello World guide starts on,
specifically, what steps would I need to take or what resources should I
look into for creating my own module that will run when a specific command
is sent, like the systemctl start phosphor.

On Mon, Jan 20, 2020 at 1:57 AM Michael Richardson <mcr at sandelman.ca> wrote:

>
> Samuel Herts <sdherts at gmail.com> wrote:
>     > I am currently working on getting a working OpenBMC test environment
>     > up and running. I am using VirtualBox and the github Development
>     > Environment tutorial. I had a couple questions regarding how to make
>     > our own modules. Would it be possible to upload files to the bmc on
>     > the virtual server?
>
> You can do that.
> The disk is rather small by default.
> If you are using VirtualBox, you may be able to use the vboxfs file system
> to
> mount the host. That might require adding modules to the kernel.
>
>     > And would I be able to make a script which can read text off of that
>     > file inside the bmc chip?
>
>     > I have a physical server which I am not using yet, would I be able to
>     > install openbmc and the scripts and insert the file onto the actual
>     > bmc chip, and eventually read from that file?
>
> Maybe. What server do you have?
>
> --
> ]               Never tell me the odds!                 | ipv6 mesh
> networks [
> ]   Michael Richardson, Sandelman Software Works        |    IoT
> architect   [
> ]     mcr at sandelman.ca  http://www.sandelman.ca/        |   ruby on
> rails    [
>
>

-- 
Sincerely,
Samuel Herts
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ozlabs.org/pipermail/openbmc/attachments/20200224/8c325c2d/attachment-0001.htm>


More information about the openbmc mailing list