BMC Compiling and running

Andrew Geissler geissonator at gmail.com
Tue Mar 3 13:51:27 AEDT 2020



> 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    [
> 
> 
> 



More information about the openbmc mailing list