<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-3">
<meta name="Generator" content="Microsoft Exchange Server">
<!-- converted from text --><style><!-- .EmailQuote { margin-left: 1pt; padding-left: 4pt; border-left: #800000 2px solid; } --></style>
</head>
<body>
<meta content="text/html; charset=UTF-8">
<style type="text/css" style="">
<!--
p
        {margin-top:0;
        margin-bottom:0}
-->
</style>
<div dir="ltr">
<div id="x_divtagdefaultwrapper" dir="ltr" style="font-size:12pt; color:#000000; font-family:Calibri,Helvetica,sans-serif">
<p>Thank you, Andrei,</p>
<p><br>
</p>
<p>I successfully built it now. Why do I get this error? In addition, I guess I have to dive into BIOS to get information about CPU and DIMM. Is it right? Is there any example to do that?</p>
<p>What exactly do the smbios-mdr daemon?</p>
<p><br>
</p>
<div id="x_Signature">
<div id="x_divtagdefaultwrapper" dir="ltr" style="font-size:12pt; color:rgb(0,0,0); font-family:Calibri,Helvetica,sans-serif,EmojiFont,"Apple Color Emoji","Segoe UI Emoji",NotoColorEmoji,"Segoe UI Symbol","Android Emoji",EmojiSymbols">
<span id="x_ms-rterangepaste-start"></span>
<table class="x_MsoTableGrid" border="0" cellspacing="0" cellpadding="0" style="border-collapse:collapse; border:none">
<tbody>
<tr>
<td width="549" colspan="3" valign="top" style="width:453.1pt; padding:0in 5.4pt 0in 5.4pt">
<p class="x_MsoNormal" style="margin-bottom:0in; margin-bottom:.0001pt; line-height:normal">
<b><span lang="TR" style="font-size:9.0pt; font-family:"Arial",sans-serif">Oğuzhan Çağlar</span></b></p>
<p class="x_MsoNormal" style="margin-bottom:0in; margin-bottom:.0001pt; line-height:normal">
<span lang="TR" style="font-size:9.0pt; font-family:"Arial",sans-serif">Yazılım Mühendisi</span><span lang="TR"></span></p>
</td>
<td width="0" style="border:none">
<p class="x_MsoNormal"> </p>
</td>
</tr>
<tr>
<td width="549" colspan="3" valign="top" style="width:453.1pt; padding:0in 5.4pt 0in 5.4pt">
<p class="x_MsoNormal" style="margin-bottom:0in; margin-bottom:.0001pt; line-height:normal">
<img width="535" height="9" style="" src="file:///C:/Users/OGUZHA~1.CAG/AppData/Local/Temp/msohtmlclip1/01/clip_image002.png"><span lang="TR"></span></p>
</td>
<td width="0" style="border:none">
<p class="x_MsoNormal"> </p>
</td>
</tr>
<tr style="height:25.05pt">
<td width="170" valign="top" style="width:127.35pt; padding:0in 5.4pt 0in 5.4pt; height:25.05pt">
<p class="x_MsoNormal" style="margin-bottom:0in; margin-bottom:.0001pt; line-height:normal">
<b><span lang="TR"> </span></b></p>
</td>
<td width="31" rowspan="7" valign="top" style="width:14.15pt; padding:0in 5.4pt 0in 5.4pt; height:25.05pt">
<p class="x_MsoNormal" style="margin-bottom:0in; margin-bottom:.0001pt; line-height:normal">
<img width="17" height="127" style="" src="file:///C:/Users/OGUZHA~1.CAG/AppData/Local/Temp/msohtmlclip1/01/clip_image004.png"><span lang="TR"></span></p>
</td>
<td width="348" rowspan="2" valign="top" style="width:311.6pt; padding:0in 5.4pt 0in 5.4pt; height:25.05pt">
<p class="x_MsoNormal" style="margin-bottom:0in; margin-bottom:.0001pt; line-height:normal">
<b><span lang="TR" style="font-size:9.0pt; font-family:"Arial",sans-serif">Pavo Tasarım Üretim Elektronik Tic. A.Ş.</span></b><b><span lang="TR" style="font-family:"Arial",sans-serif"></span></b></p>
<p class="x_MsoNormal" style="margin-bottom:0in; margin-bottom:.0001pt; line-height:normal">
<span lang="TR" style="font-size:8.0pt; font-family:"Arial",sans-serif">Teknopark İstanbul, Kurtköy Pendik İSTANBUL</span><span lang="TR" style="font-size:10.0pt; font-family:"Arial",sans-serif"></span></p>
</td>
<td width="0" height="50" style="height:25.05pt; border:none"></td>
</tr>
<tr style="height:13.45pt">
<td width="170" rowspan="5" valign="top" style="width:127.35pt; padding:0in 5.4pt 0in 5.4pt; height:13.45pt">
<p class="x_MsoNormal" style="margin-bottom:0in; margin-bottom:.0001pt; line-height:normal">
<b><span lang="TR" style="font-size:8.0pt"> </span></b></p>
<p class="x_MsoNormal" style="margin-bottom:0in; margin-bottom:.0001pt; line-height:normal">
<b><span lang="TR">       </span></b><span lang="TR"><a href="http://pavotek.com.tr/" id="LPNoLP"><b><span lang="EN-US" style="color:windowtext"><img border="0" width="131" height="23" style="" src="file:///C:/Users/OGUZHA~1.CAG/AppData/Local/Temp/msohtmlclip1/01/clip_image006.png"></span></b></a><b></b></span></p>
</td>
<td width="0" height="27" style="height:13.45pt; border:none"></td>
</tr>
<tr style="height:9.2pt">
<td width="348" valign="top" style="width:311.6pt; padding:0in 5.4pt 0in 5.4pt; height:9.2pt">
<p class="x_MsoNormal" style="margin-bottom:0in; margin-bottom:.0001pt; line-height:normal">
<span lang="TR" style="font-size:8.0pt; font-family:"Arial",sans-serif">Tel             : +90 (216) 354 72 86</span></p>
</td>
<td width="0" height="18" style="height:9.2pt; border:none"></td>
</tr>
<tr style="height:8.85pt">
<td width="348" valign="top" style="width:311.6pt; padding:0in 5.4pt 0in 5.4pt; height:8.85pt">
<p class="x_MsoNormal" style="margin-bottom:0in; margin-bottom:.0001pt; line-height:normal">
<span lang="TR" style="font-size:8.0pt; font-family:"Arial",sans-serif">Faks         : +90 (216) 354 76 77</span></p>
</td>
<td width="0" height="18" style="height:8.85pt; border:none"></td>
</tr>
<tr style="height:5.75pt">
<td width="348" valign="top" style="width:311.6pt; padding:0in 5.4pt 0in 5.4pt; height:5.75pt">
<p class="x_MsoNormal" style="margin-bottom:0in; margin-bottom:.0001pt; line-height:normal">
<span lang="TR" style="font-size:8.0pt; font-family:"Arial",sans-serif">Gsm          : +90 (507) 585 10 60
</span></p>
</td>
<td width="0" height="12" style="height:5.75pt; border:none"></td>
</tr>
<tr style="height:2.9pt">
<td width="348" valign="top" style="width:311.6pt; padding:0in 5.4pt 0in 5.4pt; height:2.9pt">
<p class="x_MsoNormal" style="margin-bottom:0in; margin-bottom:.0001pt; line-height:normal">
<span lang="TR" style="font-size:8.0pt; font-family:"Arial",sans-serif"><a href="mailto:oguzhan.caglar@pavotek.com.tr" id="LPNoLP">oguzhan.caglar@pavotek.com.tr</a><span style="color:#0050DC"></span></span></p>
</td>
<td width="0" height="6" style="height:2.9pt; border:none"></td>
</tr>
<tr style="height:6.7pt">
<td width="170" valign="top" style="width:127.35pt; padding:0in 5.4pt 0in 5.4pt; height:6.7pt">
<p class="x_MsoNormal" style="margin-bottom:0in; margin-bottom:.0001pt; line-height:normal">
<span lang="TR"> </span></p>
</td>
<td width="348" valign="top" style="width:311.6pt; padding:0in 5.4pt 0in 5.4pt; height:6.7pt">
<p class="x_MsoNormal" style="margin-bottom:0in; margin-bottom:.0001pt; line-height:normal">
<span lang="TR"><a href="http://www.pavotek.com.tr/" id="LPNoLP"><span style="font-size:8.0pt; font-family:"Arial",sans-serif; color:#0050DC">www.pavotek.com.tr</span></a></span><span lang="TR" style="font-size:8.0pt; font-family:"Arial",sans-serif; color:#0050DC"></span></p>
</td>
<td width="0" height="13" style="height:6.7pt; border:none"></td>
</tr>
</tbody>
</table>
<p class="x_MsoNormal"><span lang="TR"> </span></p>
<span id="x_ms-rterangepaste-end"></span></div>
</div>
</div>
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="x_divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>Gönderen:</b> Andrei Kartashev <a.kartashev@yadro.com><br>
<b>Gönderildi:</b> 15 Ağustos 2022 Pazartesi 13:23:33<br>
<b>Kime:</b> Oğuzhan ÇAĞLAR; openbmc@lists.ozlabs.org<br>
<b>Konu:</b> Re: Ynt: Ynt: (External) Re: Adding Inventory</font>
<div> </div>
</div>
</div>
<font size="2"><span style="font-size:10pt;">
<div class="PlainText"><br>
Warning: This e-mail came from an external source. If you do not trust the sender or if there is anything suspicious in the content of the e-mail, please inform the IT department.<br>
<br>
<br>
<br>
As I assumed, it is PCUInfo issue:<br>
<br>
|<br>
/home/pavo/oguz/pavoopenbmc/aspeedopenbmc/openbmc/build/epca/tmp/work/a<br>
rm1176jzs-openbmc-linux-gnueabi/smbios-mdr/1.0+gitAUTOINC+e4ea37716d-<br>
r1/git/src/cpuinfo_main.cpp:407:14: error: 'icxd' was not declared in<br>
this scope; did you mean 'icx'?<br>
|   407 |         case icxd:<br>
|       |              ^~~~<br>
|       |              icx<br>
|<br>
/home/pavo/oguz/pavoopenbmc/aspeedopenbmc/openbmc/build/epca/tmp/work/a<br>
rm1176jzs-openbmc-linux-gnueabi/smbios-mdr/1.0+gitAUTOINC+e4ea37716d-<br>
r1/git/src/cpuinfo_main.cpp:408:14: error: 'spr' was not declared in<br>
this scope<br>
|   408 |         case spr:<br>
|       |              ^~~<br>
<br>
<br>
Turn it off in you bbappend with `PACKAGECONFIG:remove = " cpuinfo"`<br>
<br>
<br>
<br>
On Mon, 2022-08-15 at 07:25 +0000, Oğuzhan ÇAĞLAR wrote:<br>
><br>
> I'm sharing with you that my yocto errors are related to smbios-<br>
> mdr in the .txt file.<br>
><br>
> I don't understand, How can the CPU information match with entity-<br>
> manager configuration files? I saw your comment in openbmc list about<br>
> PCIe. It probes only with xyz.openbmc_project.FruDevice.<br>
><br>
><br>
> Oğuzhan Çağlar<br>
> Software Design Engineer<br>
><br>
><br>
><br>
> Pavo Tasarım Üretim Elektronik Tic. A.Ş.<br>
> Teknopark İstanbul, Kurtköy Pendik İSTANBUL<br>
><br>
><br>
> Tel             : +90 (216) 354 72 86<br>
> Faks         : +90 (216) 354 76 77<br>
> Gsm          : +90 (507) 585 10 60<br>
> oguzhan.caglar@pavotek.com.tr<br>
><br>
> <a href="http://www.pavotek.com.tr">www.pavotek.com.tr</a><br>
><br>
><br>
> Gönderen: Andrei Kartashev <a.kartashev@yadro.com><br>
> Gönderildi: 12 Ağustos 2022 Cuma 22:14:38<br>
> Kime: Oğuzhan ÇAĞLAR; openbmc@lists.ozlabs.org<br>
> Konu: Re: Ynt: (External) Re: Adding Inventory<br>
><br>
><br>
> Warning: This e-mail came from an external source. If you do not<br>
> trust the sender or if there is anything suspicious in the content of<br>
> the e-mail, please inform the IT department.<br>
><br>
><br>
><br>
> I have no idea on what do you mean saying "added the CPU and DIMM<br>
> configuration files within the .yaml files", but I guess you are<br>
> trying<br>
> to hardcode this information, which I believe not what ou actually<br>
> expect to get.<br>
> You probably should learn how the OpenBMC works inside. You can use<br>
> busctl tool for that.<br>
><br>
> Regarding compilation error of smbios-mdr daemon, I can say nothing<br>
> without knowing the issue. There should not be any special<br>
> configuration files for this smbios-mdr recipe but probably you<br>
> trying<br>
> to build CPUInfo part of the recipe without having PECI library. You<br>
> likely should disable cpuinfo app.<br>
><br>
> On Fri, 2022-08-12 at 06:50 +0000, Oğuzhan ÇAĞLAR wrote:<br>
> > Hi Andrei,<br>
> ><br>
> > Thank you for your information. I have already added the CPU and<br>
> > DIMM<br>
> > configuration files within the .yaml files. When I added these<br>
> > files(related to the path: xyz.openbmc_project.Inventory.Item.Cpu<br>
> > and xyz.openbmc_project.Inventory.Item.Dimm), I see the CPU and<br>
> > DIMM<br>
> > entries over WebUI. However, In this way, I add the properties such<br>
> > as (PartNumber, SerialNumber, etc.) on my own. I have already<br>
> > generated a .bin file that has FRU information (chassis, board<br>
> > etc.)<br>
> > and I included this in BMC's image file. In addition, I see the<br>
> > properties related to Chassis, Board on WebUI.<br>
> ><br>
> > I have already checked the smbios-mdr daemon in openbmc. However,<br>
> > when I include this daemon in my yocto image, the bitbake shows<br>
> > some<br>
> > errors that are related to smbios-mdr's .cpp files. I guess I have<br>
> > to<br>
> > create some configuration files before doing it. Is it wrong? What<br>
> > should I do?<br>
> ><br>
> > I guess I have to need some code in BIOS. Is there any example to<br>
> > do<br>
> > this? I don't know where I should start.<br>
> ><br>
> > Thank you.<br>
> ><br>
> > Oğuzhan Çağlar<br>
> > Software Design Engineer<br>
> ><br>
> ><br>
> ><br>
> > Pavo Tasarım Üretim Elektronik Tic. A.Ş.<br>
> > Teknopark İstanbul, Kurtköy Pendik İSTANBUL<br>
> ><br>
> ><br>
> > Tel             : +90 (216) 354 72 86<br>
> > Faks         : +90 (216) 354 76 77<br>
> > Gsm          : +90 (507) 585 10 60<br>
> > oguzhan.caglar@pavotek.com.tr<br>
> ><br>
> > <a href="http://www.pavotek.com.tr">www.pavotek.com.tr</a><br>
> ><br>
> ><br>
> > Gönderen: Andrei Kartashev <a.kartashev@yadro.com><br>
> > Gönderildi: 11 Ağustos 2022 Perşembe 22:28:16<br>
> > Kime: Oğuzhan ÇAĞLAR; openbmc@lists.ozlabs.org<br>
> > Konu: (External) Re: Adding Inventory<br>
> ><br>
> ><br>
> > Warning: This e-mail came from an external source. If you do not<br>
> > trust the sender or if there is anything suspicious in the content<br>
> > of<br>
> > the e-mail, please inform the IT department.<br>
> ><br>
> ><br>
> ><br>
> > Hello Oguzhan,<br>
> ><br>
> > This is a very common question for newcomers, I believe is was<br>
> > already<br>
> > answered somewhere in the list.<br>
> > BMC out of the box don't have any knowledge on host's equipment<br>
> > (CPU,<br>
> > DIMM, Drive, AIC, etc) - it is up to you to deliver this<br>
> > information<br>
> > from host to BMC. As for now the most common way to feed BMC the<br>
> > information regarding CPU and DIMM is to transfer smbios tables via<br>
> > ipmi. You can implement any other mechanism but any way, you need<br>
> > to<br>
> > have some code in your BIOS.<br>
> ><br>
> > As soon as you have the CPU/DIMM information on BMC it can be shown<br>
> > in<br>
> > bmcweb by implementing corresponding dbus interfaces<br>
> > (xyz.openbmc_project.Inventory.Item.Cpu and<br>
> > xyz.openbmc_project.Inventory.Item.Dimm). smbiosmdrv2 daemon do<br>
> > this,<br>
> > but you also can add EntityManager configuration files for this or<br>
> > write your own daemon to expose the interfaces.<br>
> ><br>
> > On Thu, 2022-08-04 at 08:07 +0000, Oğuzhan ÇAĞLAR wrote:<br>
> > > Hello,<br>
> > ><br>
> > > I'm working on openbmc for ast2500 bmc. I want to add inventory<br>
> > > such<br>
> > > as CPU and DIMM etc. I added the chassis from .json file but I<br>
> > > couldn't add the CPU and DIMM. I know this is to related with<br>
> > > entity-<br>
> > > manager. How can I add these inventory on WEBUI? Can you give<br>
> > > some<br>
> > > information about this issue?<br>
> > ><br>
> > > Regards.<br>
> > ><br>
> > > Oğuzhan Çağlar<br>
> > > Software Design Engineer<br>
> > ><br>
> > ><br>
> > ><br>
> > > Pavo Tasarım Üretim Elektronik Tic. A.Ş.<br>
> > > Teknopark İstanbul, Kurtköy Pendik İSTANBUL<br>
> > ><br>
> > ><br>
> > > Tel             : +90 (216) 354 72 86<br>
> > > Faks         : +90 (216) 354 76 77<br>
> > > Gsm          : +90 (507) 585 10 60<br>
> > > oguzhan.caglar@pavotek.com.tr<br>
> > ><br>
> > > <a href="http://www.pavotek.com.tr">www.pavotek.com.tr</a><br>
> > ><br>
> > ><br>
> ><br>
> > --<br>
> > Best regards,<br>
> > Andrei Kartashev,<br>
> > Lead BMC Developer<br>
> ><br>
><br>
> --<br>
> Best regards,<br>
> Andrei Kartashev,<br>
> Lead BMC Developer<br>
><br>
<br>
--<br>
Best regards,<br>
Andrei Kartashev,<br>
Lead BMC Developer<br>
<br>
</div>
</span></font>
</body>
</html>