BMC Compiling and running

Samuel Herts sdherts at gmail.com
Thu Mar 5 05:46:48 AEDT 2020


Yes, this seems to have fixed that issue. Thank you.

When starting up the phosphor-bmc-state-manager on its own, everything
appears to work fine, but when I restart using systemctl the journal
entries do not appear to show any of my functions working. Previously the
hello world would show up in the journal entry, but after adding more code,
specifically the code seen below, nothing appears after systemctl starts it.
[image: image.png]
And here is the journal entry. All of the compiling has been working
flawlessly since.
[image: image.png]

On Mon, Mar 2, 2020 at 9:51 PM Andrew Geissler <geissonator at gmail.com>
wrote:

>
>
> > On Mar 2, 2020, at 12:06 PM, Michael Richardson <mcr at sandelman.ca>
> wrote:
> >
> > Samuel Herts <sdherts at gmail.com> wrote:
> >> Apologies for all the constant questions. I am trying to add code to the
> >> Hello World tutorial, specifically a system call to run a shell script
> on
> >> the QEMU BMC. The problem I run into is in the image below. My bmc state
> >> manager main looks like the following as well.
> >
> > It looks like your hello world program was not properly linked.
> > Usually, that results in no executable being created.
> > Maybe, you linked against a different version of a share library than is
> in
> > the target image.
>
> Yes, most likely your SDK that you are using to build the bmc application
> does not match the level of code your are running in QEMU.
>
> If you’re using images from jenkins, try and match the git commit
> id’s up in these 2 jobs (for your image and SDK)
>
> https://openpower.xyz/job/openbmc-build-sdk/distro=ubuntu,target=romulus/
>
> https://openpower.xyz/job/openbmc-build/distro=ubuntu,label=builder,target=romulus/
>
> >
> > --
> > ]               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/20200304/f5c739f5/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 16396 bytes
Desc: not available
URL: <http://lists.ozlabs.org/pipermail/openbmc/attachments/20200304/f5c739f5/attachment-0002.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 61326 bytes
Desc: not available
URL: <http://lists.ozlabs.org/pipermail/openbmc/attachments/20200304/f5c739f5/attachment-0003.png>


More information about the openbmc mailing list