<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:"Segoe UI";
panose-1:2 11 5 2 4 2 4 2 2 3;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline;}
p.MsoPlainText, li.MsoPlainText, div.MsoPlainText
{mso-style-priority:99;
mso-style-link:"Plain Text Char";
margin:0in;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri",sans-serif;
color:windowtext;}
span.PlainTextChar
{mso-style-name:"Plain Text Char";
mso-style-priority:99;
mso-style-link:"Plain Text";
font-family:"Calibri",sans-serif;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri",sans-serif;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="#0563C1" vlink="#954F72" style="word-wrap:break-word">
<div class="WordSection1">
<p class="MsoNormal">Hello,<br>
I’m working on my first full OpenBMC project. I watched James’ Entity Manager presentation on YouTube and it explained quite a lot. However, I still have questions that I’m hoping someone can answer.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoPlainText">1) In my setup, FruDevice fails looking for /etc/fru/baseboard.fru.bin.
<br>
<b>Q:</b> I am guessing that a baseboard eeprom is one at i2c bus 0. What if your platform doesn’t have such an eeprom?
<o:p></o:p></p>
<p class="MsoPlainText"><b>Q:</b> Who is responsible for creating the <b>/etc/fru/baseboard.fru.bin</b> file and what are its contents?
<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">2) <b>Q: </b>My understanding is when using FruDevice with EntityManager, during platform setup/manufacturing all the FRU eeproms will have to be initialized with data formatted as described by this Intel document. Is this correct?<o:p></o:p></p>
<p class="MsoNormal"><a href="https://www.intel.com/content/dam/www/public/us/en/documents/product-briefs/platform-management-fru-document-rev-1-2-feb-2013.pdf">https://www.intel.com/content/dam/www/public/us/en/documents/product-briefs/platform-management-fru-document-rev-1-2-feb-2013.pdf</a><o:p></o:p></p>
<p class="MsoNormal"><b>Q: </b>Is there a python script and/or application that can be used to initialize an eeprom using textual data provided as input?<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoNormal">3)<b> Q</b>: My understand is this: by using Entity Manager & JSON configuration files, I no longer need these kinds of YAML files:<br>
<a href="https://github.com/openbmc/openbmc/tree/master/meta-lenovo/meta-hr855xg2/recipes-phosphor/configuration/hr855xg2-yaml-config">https://github.com/openbmc/openbmc/tree/master/meta-lenovo/meta-hr855xg2/recipes-phosphor/configuration/hr855xg2-yaml-config</a><o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">4) <b>Q</b>: However, I assume I will still need to create fans, gpios, leds, power & sensor conf files like these. Is this correct?<o:p></o:p></p>
<p class="MsoNormal"><a href="https://github.com/openbmc/openbmc/tree/master/meta-ibm/recipes-phosphor/fans">https://github.com/openbmc/openbmc/tree/master/meta-ibm/recipes-phosphor/fans</a><o:p></o:p></p>
<p class="MsoNormal"><a href="https://github.com/openbmc/openbmc/tree/master/meta-ibm/recipes-phosphor/gpio">https://github.com/openbmc/openbmc/tree/master/meta-ibm/recipes-phosphor/gpio</a><o:p></o:p></p>
<p class="MsoNormal"><a href="https://github.com/openbmc/openbmc/tree/master/meta-lenovo/meta-hr630/recipes-phosphor/leds">https://github.com/openbmc/openbmc/tree/master/meta-lenovo/meta-hr630/recipes-phosphor/leds</a><o:p></o:p></p>
<p class="MsoNormal"><a href="https://github.com/openbmc/openbmc/tree/master/meta-ibm/recipes-phosphor/power">https://github.com/openbmc/openbmc/tree/master/meta-ibm/recipes-phosphor/power</a><o:p></o:p></p>
<p class="MsoNormal" style="margin-bottom:12.0pt"><a href="https://github.com/openbmc/openbmc/tree/master/meta-lenovo/meta-hr630/recipes-phosphor/sensors">https://github.com/openbmc/openbmc/tree/master/meta-lenovo/meta-hr630/recipes-phosphor/sensors</a><br>
<b>Q</b>: I ask the previous question because, I see these errors. What am I missing?<br>
Failed to introspect object / of service xyz.openbmc_project.Hwmon.external: Unknown object '/'.<br>
Failed to introspect object / of service xyz.openbmc_project.State.FanCtrl: Unknown object '/'.<o:p></o:p></p>
<p class="MsoNormal">5) <b>Q:</b> I see a createHwSensor field in devices.hpp in Entity Manager but I was not able to figure out what effect it has. For example, TMP421 has createHwSensor set to true while an eeprom doesn’t.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">6) <b>Q:</b> Overall, all I am monitoring on my platform are power supplies, fans, temp sensors, voltage regulators. If the drivers for the devices on my platform are already exist in linux and the devices adhere to standards such as PMBus,
I am assuming there will be little need to develop new drivers and/or monitoring daemons. Is this correct? I ask this question because in a very much older version of OpenBmc the vendor developed their own fand to monitor temperatures & adjust fan speeds.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Thanks.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Usha<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">__________________________ <o:p></o:p></p>
<p class="MsoNormal">Usha Srinivasan<br>
Embedded Software Engineer<br>
Cornelis Networks<o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Segoe UI",sans-serif">1500 Liberty Ridge Dr<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Segoe UI",sans-serif">Chesterbrook, PA, 19087<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Segoe UI",sans-serif">484-498-8425<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Segoe UI",sans-serif">610-703-8475 (cell)<o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</body>
</html>