openbmc.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: "Oğuzhan ÇAĞLAR" <oguzhan.caglar@pavotek.com.tr>
To: Andrei Kartashev <a.kartashev@yadro.com>,
	"openbmc@lists.ozlabs.org" <openbmc@lists.ozlabs.org>
Subject: Ynt: Ynt: Ynt: (External) Re: Adding Inventory
Date: Mon, 15 Aug 2022 12:36:34 +0000	[thread overview]
Message-ID: <615cc43556cb43b1926482f7a78fc75f@pavotek.com.tr> (raw)
In-Reply-To: <fe14142bd0ce01238f87262c107b5c71425c3ab8.camel@yadro.com>

[-- Attachment #1: Type: text/plain, Size: 7779 bytes --]

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ğuzhan Çağlar

Yazılım Mühendisi





[X]








[X]


Pavo Tasarım Üretim Elektronik Tic. A.Ş.

Teknopark İstanbul, Kurtköy Pendik İSTANBUL




       [X] <http://pavotek.com.tr/>


Tel             : +90 (216) 354 72 86


Faks         : +90 (216) 354 76 77


Gsm          : +90 (507) 585 10 60


oguzhan.caglar@pavotek.com.tr<mailto:oguzhan.caglar@pavotek.com.tr>





www.pavotek.com.tr<http://www.pavotek.com.tr/>




________________________________
Gönderen: Andrei Kartashev <a.kartashev@yadro.com>
Gönderildi: 15 Ağustos 2022 Pazartesi 13:23:33
Kime: Oğuzhan ÇAĞLAR; 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, please 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 = " cpuinfo"`



On Mon, 2022-08-15 at 07:25 +0000, Oğuzhan ÇAĞLAR 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ğuzhan Çağlar
> Software Design Engineer
>
>
>
> Pavo Tasarım Üretim Elektronik Tic. A.Ş.
> Teknopark İstanbul, Kurtköy Pendik İSTANBUL
>
>
> 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<http://www.pavotek.com.tr>
>
>
> Gönderen: Andrei Kartashev <a.kartashev@yadro.com>
> Gönderildi: 12 Ağustos 2022 Cuma 22:14:38
> Kime: Oğuzhan ÇAĞLAR; 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ğuzhan ÇAĞLAR 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ğuzhan Çağlar
> > Software Design Engineer
> >
> >
> >
> > Pavo Tasarım Üretim Elektronik Tic. A.Ş.
> > Teknopark İstanbul, Kurtköy Pendik İSTANBUL
> >
> >
> > 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<http://www.pavotek.com.tr>
> >
> >
> > Gönderen: Andrei Kartashev <a.kartashev@yadro.com>
> > Gönderildi: 11 Ağustos 2022 Perşembe 22:28:16
> > Kime: Oğuzhan ÇAĞLAR; 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ğuzhan ÇAĞLAR 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ğuzhan Çağlar
> > > Software Design Engineer
> > >
> > >
> > >
> > > Pavo Tasarım Üretim Elektronik Tic. A.Ş.
> > > Teknopark İstanbul, Kurtköy Pendik İSTANBUL
> > >
> > >
> > > 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<http://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


[-- Attachment #2: Type: text/html, Size: 17854 bytes --]

  reply	other threads:[~2022-08-16  1:50 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-04  8:07 Adding Inventory Oğuzhan ÇAĞLAR
2022-08-11 19:28 ` Andrei Kartashev
     [not found]   ` <dbe33b3b957344ae9efa8c56e4c6a554@pavotek.com.tr>
2022-08-12 19:14     ` Ynt: (External) " Andrei Kartashev
2022-08-15  7:25       ` Ynt: " Oğuzhan ÇAĞLAR
2022-08-15 10:23         ` Andrei Kartashev
2022-08-15 12:36           ` Oğuzhan ÇAĞLAR [this message]
2022-08-17  9:02             ` Ynt: " Andrei Kartashev
2022-08-18  7:31               ` Ynt: " Oğuzhan ÇAĞLAR
2022-08-18  8:38                 ` Andrei Kartashev
2022-08-18 11:21                   ` Ynt: " Oğuzhan ÇAĞLAR
2022-09-01  6:25                     ` Oğuzhan ÇAĞLAR
2022-09-27  7:37                       ` Oğuzhan ÇAĞLAR

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=615cc43556cb43b1926482f7a78fc75f@pavotek.com.tr \
    --to=oguzhan.caglar@pavotek.com.tr \
    --cc=a.kartashev@yadro.com \
    --cc=openbmc@lists.ozlabs.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).