<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><br class=""><div><br class=""><blockquote type="cite" class=""><div class="">On Jan 31, 2020, at 11:15 AM, Samuel Herts <<a href="mailto:sdherts@gmail.com" class="">sdherts@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class=""><div dir="ltr" class="">We got the Hello World to work perfectly, thank you for the assistance! How would we now go about doing the exact same thing, but hardware implemented? By that, I mean actually running the phosphor state manager modified module on the physical BMC chip? How do we install the OpenBMC sdk?</div></div></div></blockquote><div><br class=""></div><div><div style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);">You would want to use an SDK that you’ve built for your BMC hardware.</div><div style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);">bitbake -c populate_sdk obmc-phosphor-image</div><div style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);"><br class=""></div><div style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);">You’d then use that SDK the same way you used it for Hello World</div><div style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);">and then you would scp the compiled binary to your BMC hardware.</div><div style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);"><br class=""></div><div style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);">If your bmc hardware is similar to the Romulus hardware then you</div><div style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);">could just scp the binary you generated for Hello World over</div><div style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);">to your hardware.</div></div><br class=""><blockquote type="cite" class=""><div class=""><div dir="ltr" class=""><div dir="ltr" class="">Also, is there a method to read from the computer's BIOS chip from this modified state manager?</div></div></div></blockquote><div><br class=""></div><div>The BIOS is pretty dependent on the system. Something like this should</div><div>list all firmware images on your system, you could then introspect them</div><div>to figure out your BIOS and the appropriate D-Bus calls to read them</div><div>from an application:</div><div><br class=""></div><div>busctl call xyz.openbmc_project.ObjectMapper /xyz/openbmc_project/object_mapper xyz.openbmc_project.ObjectMapper GetSubTreePaths sias "/xyz/openbmc_project/software" 0 1 xyz.openbmc_project.Software.Version</div><div><br class=""></div><div><br class=""></div><div>Andrew</div><br class=""><blockquote type="cite" class=""><div class=""><div dir="ltr" class=""><div class="gmail-yj6qo gmail-ajU" style="outline:none;padding:10px 0px;width:22px;margin:2px 0px 0px"><br class="gmail-Apple-interchange-newline"></div></div><br class=""><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Jan 21, 2020 at 11:52 AM Andrew Geissler <<a href="mailto:geissonator@gmail.com" class="">geissonator@gmail.com</a>> wrote:<br class=""></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div style="overflow-wrap: break-word;" class=""><br class=""><div class=""><br class=""><blockquote type="cite" class=""><div class="">On Jan 20, 2020, at 11:03 AM, Samuel Herts <<a href="mailto:sdherts@gmail.com" target="_blank" class="">sdherts@gmail.com</a>> wrote:</div><br class=""><div class=""><div dir="ltr" class="">Thank you!<div class="">I have a supermicro X9 with ast2400 BMC chip. How would we go about installing it? openBMC onto it? We currently have a fresh install of Ubuntu LTS on it, and nothing else.</div></div></div></blockquote><div class=""><br class=""></div><div class=""><div style="" class="">The only AST2400 config I’m familiar with is our Palmetto.</div><div style="" class="">You could start with that machine and tweak it for yours.</div><div style="" class=""><a href="https://github.com/openbmc/openbmc/blob/master/meta-ibm/meta-palmetto/conf/machine/palmetto.conf" target="_blank" class="">https://github.com/openbmc/openbmc/blob/master/meta-ibm/meta-palmetto/conf/machine/palmetto.conf</a></div></div><div class=""><br class=""></div><br class=""><blockquote type="cite" class=""><div class=""><div dir="ltr" class=""><div class="">In terms of the development virtual machine. I keep running into an issue when trying to wget the sdk. </div><div class="">Specifically, this line: <span style="background-color:initial;font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,monospace;color:rgb(36,41,46);font-size:13.6px" class="">wget <a href="https://openpower.xyz/job/openbmc-build-sdk/distro=ubuntu,target=romulus/lastSuccessfulBuild/artifact/deploy/sdk/oecore-x86_64-arm1176jzs-toolchain-nodistro.0.sh" target="_blank" class="">https://openpower.xyz/job/openbmc-build-sdk/distro=ubuntu,target=romulus/lastSuccessfulBuild/artifact/deploy/sdk/oecore-x86_64-arm1176jzs-toolchain-nodistro.0.sh</a></span></div> After running that inside the romulus emulator, it runs out of space and won't complete the download. Does this mean I need to either increase the storage for the romulus, or am I simply installing it in the wrong place, and instead need to wget that into the regular VM?</div></div></blockquote><div class=""><br class=""></div><div class=""><div style="" class="">The SDK is not meant to be downloaded to the actual OpenBMC</div><div style="" class="">system. I’t meant to be downloaded to your development system.</div><div style="" class="">You can then use it to build OpenBMC software that you then copy</div><div style="" class="">over to your OpenBMC and run.</div></div><br class=""><blockquote type="cite" class=""><div class=""><div dir="ltr" class=""><div class="">Apologies for all the questions, I am doing as much research as I can, and this mailing list seems to be the largest wealth of knowledge I have available.</div><div class=""><br class=""></div><div class="">--Sam</div></div><br class=""><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Jan 20, 2020 at 1:57 AM Michael Richardson <<a href="mailto:mcr@sandelman.ca" target="_blank" class="">mcr@sandelman.ca</a>> wrote:<br class=""></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br class="">
Samuel Herts <<a href="mailto:sdherts@gmail.com" target="_blank" class="">sdherts@gmail.com</a>> wrote:<br class="">
> I am currently working on getting a working OpenBMC test environment<br class="">
> up and running. I am using VirtualBox and the github Development<br class="">
> Environment tutorial. I had a couple questions regarding how to make<br class="">
> our own modules. Would it be possible to upload files to the bmc on<br class="">
> the virtual server?<br class="">
<br class="">
You can do that.<br class="">
The disk is rather small by default.<br class="">
If you are using VirtualBox, you may be able to use the vboxfs file system to<br class="">
mount the host. That might require adding modules to the kernel.<br class="">
<br class="">
> And would I be able to make a script which can read text off of that<br class="">
> file inside the bmc chip?<br class="">
<br class="">
> I have a physical server which I am not using yet, would I be able to<br class="">
> install openbmc and the scripts and insert the file onto the actual<br class="">
> bmc chip, and eventually read from that file?<br class="">
<br class="">
Maybe. What server do you have?<br class="">
<br class="">
--<br class="">
] Never tell me the odds! | ipv6 mesh networks [<br class="">
] Michael Richardson, Sandelman Software Works | IoT architect [<br class="">
] <a href="mailto:mcr@sandelman.ca" target="_blank" class="">mcr@sandelman.ca</a> <a href="http://www.sandelman.ca/" rel="noreferrer" target="_blank" class="">http://www.sandelman.ca/</a> | ruby on rails [<br class="">
<br class="">
</blockquote></div><br clear="all" class=""><div class=""><br class=""></div>-- <br class=""><div dir="ltr" class=""><div dir="ltr" class="">Sincerely, <div class="">Samuel Herts</div></div></div>
</div></blockquote></div><br class=""></div></blockquote></div><br clear="all" class=""><div class=""><br class=""></div>-- <br class=""><div dir="ltr" class="gmail_signature"><div dir="ltr" class="">Sincerely, <div class="">Samuel Herts</div></div></div>
</div></blockquote></div><br class=""></body></html>