Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.ozlabs.org (lists.ozlabs.org [112.213.38.117]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 7A75EC00140 for ; Tue, 16 Aug 2022 01:50:16 +0000 (UTC) Received: from boromir.ozlabs.org (localhost [IPv6:::1]) by lists.ozlabs.org (Postfix) with ESMTP id 4M6DcQ60YYz3bdy for ; Tue, 16 Aug 2022 11:50:14 +1000 (AEST) Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=pavotek.com.tr header.i=@pavotek.com.tr header.a=rsa-sha256 header.s=mail1 header.b=BzKhLJME; dkim-atps=neutral Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=pavotek.com.tr (client-ip=213.74.56.236; helo=pavotekmailgw.pavotek.com.tr; envelope-from=oguzhan.caglar@pavotek.com.tr; receiver=) Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=pavotek.com.tr header.i=@pavotek.com.tr header.a=rsa-sha256 header.s=mail1 header.b=BzKhLJME; dkim-atps=neutral Received: from pavotekmailgw.pavotek.com.tr (mail1.panod.com.tr [213.74.56.236]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 4M5v0r6G1dz2y8Q for ; Mon, 15 Aug 2022 22:36:42 +1000 (AEST) Received: from Exchange2016.pavotek.com.tr (unknown [192.168.66.180]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) by Forcepoint Email with ESMTPS id B50606DD380EFEE255AD; Mon, 15 Aug 2022 15:36:34 +0300 (+03) Content-Language: tr-TR Content-Type: multipart/alternative; boundary="_000_615cc43556cb43b1926482f7a78fc75fpavotekcomtr_" DKIM-Signature: v=1; a=rsa-sha256; d=pavotek.com.tr; s=mail1; c=relaxed/relaxed; t=1660566994; h=from:subject:to:date:message-id; bh=ZyVRo2xn21xOxQiShtVnNoPX3A1iMtwtGSvZvoUTky8=; b=BzKhLJMEQhtUsM+ST9p07b506xmKps3sBOd6jdMwTytIQqBS0NDQMvfMjtO3/puAMCE/jmISz6C Wi+wcFq37y7waNBWWX+dz6QaK6ov9Oaqcub7rHqjQJxJmw7YitwxjMF+V6awPjB+nRtN1BaFMqnG7 oEjzLCwua7XWDqhFQPf4msMtcAEhSUNKj18NjQkKsVLWlKlXEIrMThBrYN8G7Fz2NRuQBAFiy55Me LgpCuxj7s16vJYQyy8lHzE705hfBkdQ5yre1XcHbvpKeZ5Ajhr0CVn+TYZ28IhMcBYes2odZfJQDJ /mlvHuSNaPkomaKYECEaLfNpT8E5aiAkD+Fg== Received: from Exchange2016.pavotek.com.tr (192.168.66.180) by Exchange2016.pavotek.com.tr (192.168.66.180) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.6; Mon, 15 Aug 2022 15:36:34 +0300 Received: from Exchange2016.pavotek.com.tr ([::1]) by Exchange2016.pavotek.com.tr ([::1]) with mapi id 15.01.2507.006; Mon, 15 Aug 2022 15:36:34 +0300 From: =?iso-8859-3?Q?O=BBuzhan_=C7A=ABLAR?= To: Andrei Kartashev , "openbmc@lists.ozlabs.org" Subject: Ynt: Ynt: Ynt: (External) Re: Adding Inventory Thread-Topic: Ynt: Ynt: (External) Re: Adding Inventory Thread-Index: AQHYp9i2xlvHHPf9DkStj7/J201ola2p7wYAgADnrMyAAKbZAIAEHrnlgAAD5ICAAFTiIw== Date: Mon, 15 Aug 2022 12:36:34 +0000 Message-ID: <615cc43556cb43b1926482f7a78fc75f@pavotek.com.tr> References: <6fbe1a4cf05a483b86986e1cdf5f53aa@pavotek.com.tr> ,<794cf20fd781d5a28746800c05b41b866c099483.camel@yadro.com> , , In-Reply-To: Accept-Language: tr-TR, en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.61.1.176] MIME-Version: 1.0 X-Mailman-Approved-At: Tue, 16 Aug 2022 11:48:48 +1000 X-BeenThere: openbmc@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Development list for OpenBMC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: openbmc-bounces+openbmc=archiver.kernel.org@lists.ozlabs.org Sender: "openbmc" --_000_615cc43556cb43b1926482f7a78fc75fpavotekcomtr_ Content-Type: text/plain; charset="iso-8859-3" Content-Transfer-Encoding: quoted-printable Thank you, Andrei, 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? What exactly do the smbios-mdr daemon? O=BBuzhan =C7a=BBlar Yaz=B9l=B9m M=FChendisi [X] [X] Pavo Tasar=B9m =DCretim Elektronik Tic. A.=AA. Teknopark =A9stanbul, Kurtk=F6y Pendik =A9STANBUL [X] Tel : +90 (216) 354 72 86 Faks : +90 (216) 354 76 77 Gsm : +90 (507) 585 10 60 oguzhan.caglar@pavotek.com.tr www.pavotek.com.tr ________________________________ G=F6nderen: Andrei Kartashev G=F6nderildi: 15 A=BBustos 2022 Pazartesi 13:23:33 Kime: O=BBuzhan =C7A=ABLAR; openbmc@lists.ozlabs.org Konu: Re: Ynt: Ynt: (External) Re: Adding Inventory 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, ple= ase inform the IT department. As I assumed, it is PCUInfo issue: | /home/pavo/oguz/pavoopenbmc/aspeedopenbmc/openbmc/build/epca/tmp/work/a rm1176jzs-openbmc-linux-gnueabi/smbios-mdr/1.0+gitAUTOINC+e4ea37716d- r1/git/src/cpuinfo_main.cpp:407:14: error: 'icxd' was not declared in this scope; did you mean 'icx'? | 407 | case icxd: | | ^~~~ | | icx | /home/pavo/oguz/pavoopenbmc/aspeedopenbmc/openbmc/build/epca/tmp/work/a rm1176jzs-openbmc-linux-gnueabi/smbios-mdr/1.0+gitAUTOINC+e4ea37716d- r1/git/src/cpuinfo_main.cpp:408:14: error: 'spr' was not declared in this scope | 408 | case spr: | | ^~~ Turn it off in you bbappend with `PACKAGECONFIG:remove =3D " cpuinfo"` On Mon, 2022-08-15 at 07:25 +0000, O=BBuzhan =C7A=ABLAR wrote: > > I'm sharing with you that my yocto errors are related to smbios- > mdr in the .txt file. > > I don't understand, How can the CPU information match with entity- > manager configuration files? I saw your comment in openbmc list about > PCIe. It probes only with xyz.openbmc_project.FruDevice. > > > O=BBuzhan =C7a=BBlar > Software Design Engineer > > > > Pavo Tasar=B9m =DCretim Elektronik Tic. A.=AA. > Teknopark =A9stanbul, Kurtk=F6y Pendik =A9STANBUL > > > Tel : +90 (216) 354 72 86 > Faks : +90 (216) 354 76 77 > Gsm : +90 (507) 585 10 60 > oguzhan.caglar@pavotek.com.tr > > www.pavotek.com.tr > > > G=F6nderen: Andrei Kartashev > G=F6nderildi: 12 A=BBustos 2022 Cuma 22:14:38 > Kime: O=BBuzhan =C7A=ABLAR; openbmc@lists.ozlabs.org > Konu: Re: Ynt: (External) Re: Adding Inventory > > > 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. > > > > I have no idea on what do you mean saying "added the CPU and DIMM > configuration files within the .yaml files", but I guess you are > trying > to hardcode this information, which I believe not what ou actually > expect to get. > You probably should learn how the OpenBMC works inside. You can use > busctl tool for that. > > Regarding compilation error of smbios-mdr daemon, I can say nothing > without knowing the issue. There should not be any special > configuration files for this smbios-mdr recipe but probably you > trying > to build CPUInfo part of the recipe without having PECI library. You > likely should disable cpuinfo app. > > On Fri, 2022-08-12 at 06:50 +0000, O=BBuzhan =C7A=ABLAR wrote: > > Hi Andrei, > > > > Thank you for your information. I have already added the CPU and > > DIMM > > configuration files within the .yaml files. When I added these > > files(related to the path: xyz.openbmc_project.Inventory.Item.Cpu > > and xyz.openbmc_project.Inventory.Item.Dimm), I see the CPU and > > DIMM > > entries over WebUI. However, In this way, I add the properties such > > as (PartNumber, SerialNumber, etc.) on my own. I have already > > generated a .bin file that has FRU information (chassis, board > > etc.) > > and I included this in BMC's image file. In addition, I see the > > properties related to Chassis, Board on WebUI. > > > > I have already checked the smbios-mdr daemon in openbmc. However, > > when I include this daemon in my yocto image, the bitbake shows > > some > > errors that are related to smbios-mdr's .cpp files. I guess I have > > to > > create some configuration files before doing it. Is it wrong? What > > should I do? > > > > I guess I have to need some code in BIOS. Is there any example to > > do > > this? I don't know where I should start. > > > > Thank you. > > > > O=BBuzhan =C7a=BBlar > > Software Design Engineer > > > > > > > > Pavo Tasar=B9m =DCretim Elektronik Tic. A.=AA. > > Teknopark =A9stanbul, Kurtk=F6y Pendik =A9STANBUL > > > > > > Tel : +90 (216) 354 72 86 > > Faks : +90 (216) 354 76 77 > > Gsm : +90 (507) 585 10 60 > > oguzhan.caglar@pavotek.com.tr > > > > www.pavotek.com.tr > > > > > > G=F6nderen: Andrei Kartashev > > G=F6nderildi: 11 A=BBustos 2022 Per=BAembe 22:28:16 > > Kime: O=BBuzhan =C7A=ABLAR; openbmc@lists.ozlabs.org > > Konu: (External) Re: Adding Inventory > > > > > > 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. > > > > > > > > Hello Oguzhan, > > > > This is a very common question for newcomers, I believe is was > > already > > answered somewhere in the list. > > BMC out of the box don't have any knowledge on host's equipment > > (CPU, > > DIMM, Drive, AIC, etc) - it is up to you to deliver this > > information > > from host to BMC. As for now the most common way to feed BMC the > > information regarding CPU and DIMM is to transfer smbios tables via > > ipmi. You can implement any other mechanism but any way, you need > > to > > have some code in your BIOS. > > > > As soon as you have the CPU/DIMM information on BMC it can be shown > > in > > bmcweb by implementing corresponding dbus interfaces > > (xyz.openbmc_project.Inventory.Item.Cpu and > > xyz.openbmc_project.Inventory.Item.Dimm). smbiosmdrv2 daemon do > > this, > > but you also can add EntityManager configuration files for this or > > write your own daemon to expose the interfaces. > > > > On Thu, 2022-08-04 at 08:07 +0000, O=BBuzhan =C7A=ABLAR wrote: > > > Hello, > > > > > > I'm working on openbmc for ast2500 bmc. I want to add inventory > > > such > > > as CPU and DIMM etc. I added the chassis from .json file but I > > > couldn't add the CPU and DIMM. I know this is to related with > > > entity- > > > manager. How can I add these inventory on WEBUI? Can you give > > > some > > > information about this issue? > > > > > > Regards. > > > > > > O=BBuzhan =C7a=BBlar > > > Software Design Engineer > > > > > > > > > > > > Pavo Tasar=B9m =DCretim Elektronik Tic. A.=AA. > > > Teknopark =A9stanbul, Kurtk=F6y Pendik =A9STANBUL > > > > > > > > > Tel : +90 (216) 354 72 86 > > > Faks : +90 (216) 354 76 77 > > > Gsm : +90 (507) 585 10 60 > > > oguzhan.caglar@pavotek.com.tr > > > > > > www.pavotek.com.tr > > > > > > > > > > -- > > Best regards, > > Andrei Kartashev, > > Lead BMC Developer > > > > -- > Best regards, > Andrei Kartashev, > Lead BMC Developer > -- Best regards, Andrei Kartashev, Lead BMC Developer --_000_615cc43556cb43b1926482f7a78fc75fpavotekcomtr_ Content-Type: text/html; charset="iso-8859-3" Content-Transfer-Encoding: quoted-printable

Thank you, Andrei,


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?

What exactly do the smbios-mdr daemon?


O=BBuzhan =C7a=BBlar

Yaz=B9l=B9m M=FChendisi

 

 

 

Pavo Tasar=B9m =DCretim Elektronik Tic. A.=AA.<= span lang=3D"TR" style=3D"font-family:"Arial",sans-serif">=

Teknopark =A9stanbul, Kurtk=F6y Pendik =A9STANBUL

 

      

Tel          &= nbsp;  : +90 (216) 354 72 86

Faks         : +90 (= 216) 354 76 77

Gsm          : += ;90 (507) 585 10 60

o= guzhan.caglar@pavotek.com.tr

 

www.pavotek.com.tr

 


G=F6nderen: Andrei Kartas= hev <a.kartashev@yadro.com>
G=F6nderildi: 15 A=BBustos 2022 Pazartesi 13:23:33
Kime: O=BBuzhan =C7A=ABLAR; openbmc@lists.ozlabs.org
Konu: Re: Ynt: Ynt: (External) Re: Adding Inventory
 

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, ple= ase inform the IT department.



As I assumed, it is PCUInfo issue:

|
/home/pavo/oguz/pavoopenbmc/aspeedopenbmc/openbmc/build/epca/tmp/work/a
rm1176jzs-openbmc-linux-gnueabi/smbios-mdr/1.0+gitAUTOINC+e4ea37716= d-
r1/git/src/cpuinfo_main.cpp:407:14: error: 'icxd' was not declared in
this scope; did you mean 'icx'?
|   407 |         case ic= xd:
|       |      =         ^~~~
|       |      =         icx
|
/home/pavo/oguz/pavoopenbmc/aspeedopenbmc/openbmc/build/epca/tmp/work/a
rm1176jzs-openbmc-linux-gnueabi/smbios-mdr/1.0+gitAUTOINC+e4ea37716= d-
r1/git/src/cpuinfo_main.cpp:408:14: error: 'spr' was not declared in
this scope
|   408 |         case sp= r:
|       |      =         ^~~


Turn it off in you bbappend with `PACKAGECONFIG:remove =3D " cpuinfo&q= uot;`



On Mon, 2022-08-15 at 07:25 +0000, O=BBuzhan =C7A=ABLAR wrote:
>
> I'm sharing with you that my yocto errors are related to smbios-
> mdr in the .txt file.
>
> I don't understand, How can the CPU information match with entity-
> manager configuration files? I saw your comment in openbmc list about<= br> > PCIe. It probes only with xyz.openbmc_project.FruDevice.
>
>
> O=BBuzhan =C7a=BBlar
> Software Design Engineer
>
>
>
> Pavo Tasar=B9m =DCretim Elektronik Tic. A.=AA.
> Teknopark =A9stanbul, Kurtk=F6y Pendik =A9STANBUL
>
>
> Tel           &= nbsp; : +90 (216) 354 72 86
> Faks         : +90 (216) 3= 54 76 77
> Gsm          : +90 (5= 07) 585 10 60
> oguzhan.caglar@pavotek.com.tr
>
> www.pavotek.com.tr
>
>
> G=F6nderen: Andrei Kartashev <a.kartashev@yadro.com>
> G=F6nderildi: 12 A=BBustos 2022 Cuma 22:14:38
> Kime: O=BBuzhan =C7A=ABLAR; openbmc@lists.ozlabs.org
> Konu: Re: Ynt: (External) Re: Adding Inventory
>
>
> 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<= br> > the e-mail, please inform the IT department.
>
>
>
> I have no idea on what do you mean saying "added the CPU and DIMM=
> configuration files within the .yaml files", but I guess you are<= br> > trying
> to hardcode this information, which I believe not what ou actually
> expect to get.
> You probably should learn how the OpenBMC works inside. You can use > busctl tool for that.
>
> Regarding compilation error of smbios-mdr daemon, I can say nothing > without knowing the issue. There should not be any special
> configuration files for this smbios-mdr recipe but probably you
> trying
> to build CPUInfo part of the recipe without having PECI library. You > likely should disable cpuinfo app.
>
> On Fri, 2022-08-12 at 06:50 +0000, O=BBuzhan =C7A=ABLAR wrote:
> > Hi Andrei,
> >
> > Thank you for your information. I have already added the CPU and<= br> > > DIMM
> > configuration files within the .yaml files. When I added these > > files(related to the path: xyz.openbmc_project.Inventory.Item.Cpu=
> > and xyz.openbmc_project.Inventory.Item.Dimm), I see the CPU and > > DIMM
> > entries over WebUI. However, In this way, I add the properties su= ch
> > as (PartNumber, SerialNumber, etc.) on my own. I have already
> > generated a .bin file that has FRU information (chassis, board > > etc.)
> > and I included this in BMC's image file. In addition, I see the > > properties related to Chassis, Board on WebUI.
> >
> > I have already checked the smbios-mdr daemon in openbmc. However,=
> > when I include this daemon in my yocto image, the bitbake shows > > some
> > errors that are related to smbios-mdr's .cpp files. I guess I hav= e
> > to
> > create some configuration files before doing it. Is it wrong? Wha= t
> > should I do?
> >
> > I guess I have to need some code in BIOS. Is there any example to=
> > do
> > this? I don't know where I should start.
> >
> > Thank you.
> >
> > O=BBuzhan =C7a=BBlar
> > Software Design Engineer
> >
> >
> >
> > Pavo Tasar=B9m =DCretim Elektronik Tic. A.=AA.
> > Teknopark =A9stanbul, Kurtk=F6y Pendik =A9STANBUL
> >
> >
> > Tel          &n= bsp;  : +90 (216) 354 72 86
> > Faks         : +90 (2= 16) 354 76 77
> > Gsm          : += 90 (507) 585 10 60
> > oguzhan.caglar@pavotek.com.tr
> >
> > www.pavotek.com.tr
> >
> >
> > G=F6nderen: Andrei Kartashev <a.kartashev@yadro.com>
> > G=F6nderildi: 11 A=BBustos 2022 Per=BAembe 22:28:16
> > Kime: O=BBuzhan =C7A=ABLAR; openbmc@lists.ozlabs.org
> > Konu: (External) Re: Adding Inventory
> >
> >
> > 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 conten= t
> > of
> > the e-mail, please inform the IT department.
> >
> >
> >
> > Hello Oguzhan,
> >
> > This is a very common question for newcomers, I believe is was > > already
> > answered somewhere in the list.
> > BMC out of the box don't have any knowledge on host's equipment > > (CPU,
> > DIMM, Drive, AIC, etc) - it is up to you to deliver this
> > information
> > 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 v= ia
> > ipmi. You can implement any other mechanism but any way, you need=
> > to
> > have some code in your BIOS.
> >
> > As soon as you have the CPU/DIMM information on BMC it can be sho= wn
> > in
> > bmcweb by implementing corresponding dbus interfaces
> > (xyz.openbmc_project.Inventory.Item.Cpu and
> > xyz.openbmc_project.Inventory.Item.Dimm). smbiosmdrv2 daemon do > > this,
> > but you also can add EntityManager configuration files for this o= r
> > write your own daemon to expose the interfaces.
> >
> > On Thu, 2022-08-04 at 08:07 +0000, O=BBuzhan =C7A=ABLAR wrote= :
> > > Hello,
> > >
> > > I'm working on openbmc for ast2500 bmc. I want to add invent= ory
> > > such
> > > as CPU and DIMM etc. I added the chassis from .json file but= I
> > > couldn't add the CPU and DIMM. I know this is to related wit= h
> > > entity-
> > > manager. How can I add these inventory on WEBUI? Can you giv= e
> > > some
> > > information about this issue?
> > >
> > > Regards.
> > >
> > > O=BBuzhan =C7a=BBlar
> > > Software Design Engineer
> > >
> > >
> > >
> > > Pavo Tasar=B9m =DCretim Elektronik Tic. A.=AA.
> > > Teknopark =A9stanbul, Kurtk=F6y Pendik =A9STANBUL
> > >
> > >
> > > Tel         &nb= sp;   : +90 (216) 354 72 86
> > > Faks         : += 90 (216) 354 76 77
> > > Gsm          : = +90 (507) 585 10 60
> > > oguzhan.caglar@pavotek.com.tr
> > >
> > > www.pavotek.com.tr=
> > >
> > >
> >
> > --
> > Best regards,
> > Andrei Kartashev,
> > Lead BMC Developer
> >
>
> --
> Best regards,
> Andrei Kartashev,
> Lead BMC Developer
>

--
Best regards,
Andrei Kartashev,
Lead BMC Developer

--_000_615cc43556cb43b1926482f7a78fc75fpavotekcomtr_--