<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Hi Vijay and <span style="caret-color: rgb(50, 49, 48); color: rgb(50, 49, 48); font-family: Calibri, sans-serif; font-size: 14.666666984558105px; background-color: rgb(255, 255, 255); display: inline !important">Kwin,</span></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span style="caret-color: rgb(50, 49, 48); color: rgb(50, 49, 48); font-family: Calibri, sans-serif; font-size: 14.666666984558105px; background-color: rgb(255, 255, 255); display: inline !important"><br>
</span></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span style="caret-color: rgb(50, 49, 48); color: rgb(50, 49, 48); font-family: Calibri, sans-serif; font-size: 14.666666984558105px; background-color: rgb(255, 255, 255); display: inline !important">    I will use entity manager package and test it, thank
 you very much<span style="caret-color: rgb(50, 49, 48); font-family: Calibri, sans-serif; background-color: rgb(255, 255, 255); display: inline !important"><span style="caret-color: rgb(50, 49, 48); font-family: Calibri, sans-serif; background-color: rgb(255, 255, 255); display: inline !important">!</span></span></span></div>
<div>
<div id="appendonsend"></div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<span style="caret-color: rgb(50, 49, 48); color: rgb(50, 49, 48); font-family: Calibri, sans-serif; font-size: 14.666666984558105px; background-color: rgb(255, 255, 255); display: inline !important">Thanks,</span><br>
</div>
<div><font face="Calibri, sans-serif"><span style="font-size: 14.666666984558105px;">Harley.</span></font></div>
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>发件人:</b> Vijay Khemka <vijaykhemka@fb.com><br>
<b>发送时间:</b> 2020年5月28日 5:15<br>
<b>收件人:</b> 周 远清 <zhouyuanqing8@outlook.com>; Wang, Kuiying <kuiying.wang@intel.com><br>
<b>抄送:</b> openbmc@lists.ozlabs.org <openbmc@lists.ozlabs.org><br>
<b>主题:</b> Re: 回复: About FRU</font>
<div> </div>
</div>
<div lang="EN-US">
<div class="x_WordSection1">
<p class="x_MsoNormal" style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;">
Hi Harley,</p>
<p class="x_MsoNormal" style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;">
You don’t need any configuration for eeprom if you are using entity manager package. Just add this package in your image and at the start /usr/bin/fru-device process will start which will enumerate all eeprom existed in the system and create a dbus interface
 for each fru device found. In my system, it shows like below.</p>
<p class="x_p1" style="margin: 0in 0in 0.0001pt; font-size: 8.5pt; font-family: Menlo; color: black;">
<span class="x_s1">Service xyz.openbmc_project.FruDevice:</span></p>
<p class="x_p1" style="margin: 0in 0in 0.0001pt; font-size: 8.5pt; font-family: Menlo; color: black;">
<span class="x_apple-converted-space">    </span><span class="x_s1">└─/xyz/openbmc_project/FruDevice</span></p>
<p class="x_p1" style="margin: 0in 0in 0.0001pt; font-size: 8.5pt; font-family: Menlo; color: black;">
<span class="x_apple-converted-space">      </span><span class="x_s1">├─/xyz/openbmc_project/FruDevice/0_80</span></p>
<p class="x_p1" style="margin: 0in 0in 0.0001pt; font-size: 8.5pt; font-family: Menlo; color: black;">
<span class="x_apple-converted-space">      </span><span class="x_s1">├─/xyz/openbmc_project/FruDevice/0_81</span></p>
<p class="x_p1" style="margin: 0in 0in 0.0001pt; font-size: 8.5pt; font-family: Menlo; color: black;">
<span class="x_apple-converted-space">      </span><span class="x_s1">├─/xyz/openbmc_project/FruDevice/1_113</span></p>
<p class="x_p1" style="margin: 0in 0in 0.0001pt; font-size: 8.5pt; font-family: Menlo; color: black;">
<span class="x_apple-converted-space">      </span><span class="x_s1">├─/xyz/openbmc_project/FruDevice/2_112</span></p>
<p class="x_p1" style="margin: 0in 0in 0.0001pt; font-size: 8.5pt; font-family: Menlo; color: black;">
<span class="x_apple-converted-space">      </span><span class="x_s1">├─/xyz/openbmc_project/FruDevice/2_16</span></p>
<p class="x_p1" style="margin: 0in 0in 0.0001pt; font-size: 8.5pt; font-family: Menlo; color: black;">
<span class="x_apple-converted-space">      </span><span class="x_s1">├─/xyz/openbmc_project/FruDevice/2_22</span></p>
<p class="x_p1" style="margin: 0in 0in 0.0001pt; font-size: 8.5pt; font-family: Menlo; color: black;">
<span class="x_apple-converted-space">      </span><span class="x_s1">├─/xyz/openbmc_project/FruDevice/3_104</span></p>
<p class="x_p1" style="margin: 0in 0in 0.0001pt; font-size: 8.5pt; font-family: Menlo; color: black;">
<span class="x_apple-converted-space">      </span><span class="x_s1">├─/xyz/openbmc_project/FruDevice/3_108</span></p>
<p class="x_p1" style="margin: 0in 0in 0.0001pt; font-size: 8.5pt; font-family: Menlo; color: black;">
<span class="x_apple-converted-space">      </span><span class="x_s1">├─/xyz/openbmc_project/FruDevice/3_113</span></p>
<p class="x_p1" style="margin: 0in 0in 0.0001pt; font-size: 8.5pt; font-family: Menlo; color: black;">
<span class="x_apple-converted-space">      </span><span class="x_s1">├─/xyz/openbmc_project/FruDevice/3_36</span></p>
<p class="x_p1" style="margin: 0in 0in 0.0001pt; font-size: 8.5pt; font-family: Menlo; color: black;">
<span class="x_apple-converted-space">      </span><span class="x_s1">├─/xyz/openbmc_project/FruDevice/3_68</span></p>
<p class="x_p1" style="margin: 0in 0in 0.0001pt; font-size: 8.5pt; font-family: Menlo; color: black;">
<span class="x_apple-converted-space">      </span><span class="x_s1">├─/xyz/openbmc_project/FruDevice/3_81</span></p>
<p class="x_p1" style="margin: 0in 0in 0.0001pt; font-size: 8.5pt; font-family: Menlo; color: black;">
<span class="x_apple-converted-space">      </span><span class="x_s1">├─/xyz/openbmc_project/FruDevice/6_32</span></p>
<p class="x_p1" style="margin: 0in 0in 0.0001pt; font-size: 8.5pt; font-family: Menlo; color: black;">
<span class="x_apple-converted-space">      </span><span class="x_s1">├─/xyz/openbmc_project/FruDevice/6_33</span></p>
<p class="x_p1" style="margin: 0in 0in 0.0001pt; font-size: 8.5pt; font-family: Menlo; color: black;">
<span class="x_apple-converted-space">      </span><span class="x_s1">├─/xyz/openbmc_project/FruDevice/6_78</span></p>
<p class="x_p1" style="margin: 0in 0in 0.0001pt; font-size: 8.5pt; font-family: Menlo; color: black;">
<span class="x_apple-converted-space">      </span><span class="x_s1">├─/xyz/openbmc_project/FruDevice/6_79</span></p>
<p class="x_p1" style="margin: 0in 0in 0.0001pt; font-size: 8.5pt; font-family: Menlo; color: black;">
<span class="x_apple-converted-space">      </span><span class="x_s1">├─/xyz/openbmc_project/FruDevice/6_80</span></p>
<p class="x_p1" style="margin: 0in 0in 0.0001pt; font-size: 8.5pt; font-family: Menlo; color: black;">
<span class="x_apple-converted-space">      </span><span class="x_s1">├─/xyz/openbmc_project/FruDevice/7_69</span></p>
<p class="x_p1" style="margin: 0in 0in 0.0001pt; font-size: 8.5pt; font-family: Menlo; color: black;">
<span class="x_apple-converted-space">      </span><span class="x_s1">├─/xyz/openbmc_project/FruDevice/8_31</span></p>
<p class="x_p1" style="margin: 0in 0in 0.0001pt; font-size: 8.5pt; font-family: Menlo; color: black;">
<span class="x_apple-converted-space">      </span><span class="x_s1">├─/xyz/openbmc_project/FruDevice/9_39</span></p>
<p class="x_p1" style="margin: 0in 0in 0.0001pt; font-size: 8.5pt; font-family: Menlo; color: black;">
<span class="x_apple-converted-space">      </span><span class="x_s1">├─/xyz/openbmc_project/FruDevice/9_84</span></p>
<p class="x_p1" style="margin: 0in 0in 0.0001pt; font-size: 8.5pt; font-family: Menlo; color: black;">
<span class="x_apple-converted-space">      </span><span class="x_s1">├─/xyz/openbmc_project/FruDevice/Ava_M_2_SSD_Adapter</span></p>
<p class="x_p1" style="margin: 0in 0in 0.0001pt; font-size: 8.5pt; font-family: Menlo; color: black;">
<span class="x_apple-converted-space">      </span><span class="x_s1">└─/xyz/openbmc_project/FruDevice/Tioga_Pass_Single_Side</span></p>
<p class="x_MsoNormal" style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;">
 </p>
<p class="x_MsoNormal" style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;">
Regards</p>
<p class="x_MsoNormal" style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;">
-Vijay</p>
<p class="x_MsoNormal" style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;">
 </p>
<div style="border:none; border-top:solid #B5C4DF 1.0pt; padding:3.0pt 0in 0in 0in">
<p class="x_MsoNormal" style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;">
<b><span style="font-size:12.0pt; color:black">From: </span></b><span style="font-size:12.0pt; font-family:"MS Gothic"; color:black">周</span><span style="font-size:12.0pt; color:black">
</span><span style="font-size:12.0pt; font-family:MingLiU; color:black">远</span><span style="font-size:12.0pt; font-family:"MS Gothic"; color:black">清</span><span style="font-size:12.0pt; color:black"> <zhouyuanqing8@outlook.com><br>
<b>Date: </b>Wednesday, May 27, 2020 at 1:33 AM<br>
<b>To: </b>"Wang, Kuiying" <kuiying.wang@intel.com>, Vijay Khemka <vijaykhemka@fb.com><br>
<b>Cc: </b>"openbmc@lists.ozlabs.org" <openbmc@lists.ozlabs.org><br>
<b>Subject: </b></span><span style="font-size:12.0pt; font-family:"MS Gothic"; color:black">回复</span><span style="font-size:12.0pt; color:black">: About FRU</span></p>
</div>
<div>
<p class="x_MsoNormal" style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;">
 </p>
</div>
<div>
<p class="x_MsoNormal" style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;">
<span style="font-size:12.0pt; color:black">Hi </span></p>
</div>
<div>
<p class="x_MsoNormal" style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;">
<span style="font-size:12.0pt; color:black"> </span></p>
</div>
<div>
<p class="x_MsoNormal" style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;">
<span style="font-size:12.0pt; color:black">     My project uses phosphor-fru, and a phosphor-read-eeprom is generated during compilation. I think when openbmc starts, phosphor-read-eeprom will read the configuration information of eeprom from a configuration
 file (such as i2c channel number, i2c address), and then read FRU information from eeprom.<br>
     </span>If the entity-manager module is used<span style="font-size:13.5pt; font-family:"MS Gothic"; color:black; background:white">,</span><span style="font-size:12.0pt; color:black">add json configuration file for my device into entity-manager. then I
 use the phoshor-fru method, in which configuration file should I configure the eeprom information?</span></p>
</div>
<div>
<p class="x_MsoNormal" style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;">
<span style="font-size:12.0pt; color:black"> </span></p>
</div>
<div>
<p class="x_MsoNormal" style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;">
<span style="font-size:12.0pt; color:black">     phosphor-read-eeprom will exits <span style="background:white">
after reading the eeprom information</span>, so how is the FRU information read to the IPMI process</span><span style="font-size:12.0pt; font-family:"MS Gothic"; color:black">?</span><span style="font-size:12.0pt; color:black"></span></p>
</div>
<div>
<p class="x_MsoNormal" style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;">
<span style="font-size:12.0pt; color:black"> </span></p>
</div>
<div>
<p class="x_MsoNormal" style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;">
<span style="font-size:12.0pt; color:black">Thanks</span></p>
</div>
<div>
<p class="x_MsoNormal" style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;">
<span style="font-size:12.0pt; color:black">Harley</span></p>
</div>
<div>
<p class="x_MsoNormal" style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;">
<span style="font-size:12.0pt; color:black">   </span></p>
</div>
<div>
<div>
<p class="x_MsoNormal" style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;">
<span style="font-size:12.0pt; color:black"> </span></p>
</div>
<div class="x_MsoNormal" align="center" style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;text-align:center">
<hr size="0" width="100%" align="center">
</div>
<div id="x_divRplyFwdMsg">
<p class="x_MsoNormal" style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;">
<b><span style="font-family:"PingFang TC",sans-serif; color:black">发</span></b><b><span style="font-family:"MS Gothic"; color:black">件人</span></b><b><span style="color:black">:</span></b><span style="color:black"> Wang, Kuiying <kuiying.wang@intel.com><br>
</span><b><span style="font-family:"PingFang TC",sans-serif; color:black">发</span></b><b><span style="font-family:"MS Gothic"; color:black">送</span></b><b><span style="font-family:"PingFang TC",sans-serif; color:black">时间</span></b><b><span style="color:black">:</span></b><span style="color:black">
 2020</span><span style="font-family:"MS Gothic"; color:black">年</span><span style="color:black">5</span><span style="font-family:"MS Gothic"; color:black">月</span><span style="color:black">27</span><span style="font-family:"MS Gothic"; color:black">日</span><span style="color:black">
 15:58<br>
</span><b><span style="font-family:"MS Gothic"; color:black">收件人</span></b><b><span style="color:black">:</span></b><span style="color:black"> zhouyuanqing8@outlook.com <zhouyuanqing8@outlook.com><br>
</span><b><span style="font-family:"MS Gothic"; color:black">抄送</span></b><b><span style="color:black">:</span></b><span style="color:black"> openbmc@lists.ozlabs.org <openbmc@lists.ozlabs.org><br>
</span><b><span style="font-family:"MS Gothic"; color:black">主</span></b><b><span style="font-family:"PingFang TC",sans-serif; color:black">题</span></b><b><span style="color:black">:</span></b><span style="color:black"> RE: About FRU</span>
</p>
<div>
<p class="x_MsoNormal" style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;">
 </p>
</div>
</div>
<div>
<div>
<p class="x_xmsonormal" style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;">
Hi Harley,</p>
<p class="x_xmsonormal" style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;">
You could add json configuration file for your device into entity-manager as below:</p>
<p class="x_xmsonormal" style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;">
<a href="https://github.com/openbmc/entity-manager/tree/master/configurations">https://github.com/openbmc/entity-manager/tree/master/configurations</a>
</p>
<p class="x_xmsonormal" style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;">
 </p>
<p class="x_xmsonormal" style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;">
 </p>
<p class="x_xmsonormal" style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;">
Thanks,</p>
<p class="x_xmsonormal" style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;">
Kwin.</p>
<p class="x_xmsonormal" style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;">
 </p>
<p class="x_xmsonormal" style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;">
 </p>
<p class="x_xmsonormal" style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;">
<span style="font-size:10.0pt; font-family:"Courier New"; color:black">Hello everyone,</span></p>
<p class="x_xmsonormal" style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;">
<span style="font-size:10.0pt; font-family:"Courier New"; color:black"> </span></p>
<p class="x_xmsonormal" style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;">
<span style="font-size:10.0pt; font-family:"Courier New"; color:black">       My motherboard has an EEPROM device to store FRU related information. How can I configure it in the openbmc configuration file to see this FRU information through the ipmitool fru
 print command?</span></p>
<p class="x_xmsonormal" style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;">
<span style="font-size:10.0pt; font-family:"Courier New"; color:black"> </span></p>
<p class="x_xmsonormal" style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;">
<span style="font-size:10.0pt; font-family:"Courier New"; color:black">Are there some examples to provide reference, I did not find a place to configure the eeprom device in the openbmc project?</span></p>
<p class="x_xmsonormal" style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;">
<span style="font-size:10.0pt; font-family:"Courier New"; color:black"> </span></p>
<p class="x_xmsonormal" style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;">
<span style="font-size:10.0pt; font-family:"Courier New"; color:black">Is there any documentation about FRU indicating that the module reads and parses information from eeprom, and then it can be read by the ipmitool fru print command? What is the process like?</span></p>
<p class="x_xmsonormal" style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;">
<span style="font-size:10.0pt; font-family:"Courier New"; color:black"> </span></p>
<p class="x_xmsonormal" style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;">
<span style="font-size:10.0pt; font-family:"Courier New"; color:black">Thanks</span></p>
<p class="x_xmsonormal" style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;">
<span style="font-size:10.0pt; font-family:"Courier New"; color:black">Harley</span></p>
<p class="x_xmsonormal" style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;">
 </p>
<p class="x_xmsonormal" style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;">
 </p>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>