All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: 回复: About FRU
@ 2020-05-27 21:15 Vijay Khemka
  2020-05-28  2:11 ` 回复: " 周 远清
  0 siblings, 1 reply; 2+ messages in thread
From: Vijay Khemka @ 2020-05-27 21:15 UTC (permalink / raw)
  To: 周 远清, Wang, Kuiying; +Cc: openbmc

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

Hi Harley,
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.

Service xyz.openbmc_project.FruDevice:

    └─/xyz/openbmc_project/FruDevice

      ├─/xyz/openbmc_project/FruDevice/0_80

      ├─/xyz/openbmc_project/FruDevice/0_81

      ├─/xyz/openbmc_project/FruDevice/1_113

      ├─/xyz/openbmc_project/FruDevice/2_112

      ├─/xyz/openbmc_project/FruDevice/2_16

      ├─/xyz/openbmc_project/FruDevice/2_22

      ├─/xyz/openbmc_project/FruDevice/3_104

      ├─/xyz/openbmc_project/FruDevice/3_108

      ├─/xyz/openbmc_project/FruDevice/3_113

      ├─/xyz/openbmc_project/FruDevice/3_36

      ├─/xyz/openbmc_project/FruDevice/3_68

      ├─/xyz/openbmc_project/FruDevice/3_81

      ├─/xyz/openbmc_project/FruDevice/6_32

      ├─/xyz/openbmc_project/FruDevice/6_33

      ├─/xyz/openbmc_project/FruDevice/6_78

      ├─/xyz/openbmc_project/FruDevice/6_79

      ├─/xyz/openbmc_project/FruDevice/6_80

      ├─/xyz/openbmc_project/FruDevice/7_69

      ├─/xyz/openbmc_project/FruDevice/8_31

      ├─/xyz/openbmc_project/FruDevice/9_39

      ├─/xyz/openbmc_project/FruDevice/9_84

      ├─/xyz/openbmc_project/FruDevice/Ava_M_2_SSD_Adapter

      └─/xyz/openbmc_project/FruDevice/Tioga_Pass_Single_Side

Regards
-Vijay

From: 周 远清 <zhouyuanqing8@outlook.com>
Date: Wednesday, May 27, 2020 at 1:33 AM
To: "Wang, Kuiying" <kuiying.wang@intel.com>, Vijay Khemka <vijaykhemka@fb.com>
Cc: "openbmc@lists.ozlabs.org" <openbmc@lists.ozlabs.org>
Subject: 回复: About FRU

Hi

     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.
     If the entity-manager module is used,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?

     phosphor-read-eeprom will exits after reading the eeprom information, so how is the FRU information read to the IPMI process?

Thanks
Harley


________________________________
发件人: Wang, Kuiying <kuiying.wang@intel.com>
发送时间: 2020年5月27日 15:58
收件人: zhouyuanqing8@outlook.com <zhouyuanqing8@outlook.com>
抄送: openbmc@lists.ozlabs.org <openbmc@lists.ozlabs.org>
主题: RE: About FRU


Hi Harley,

You could add json configuration file for your device into entity-manager as below:

https://github.com/openbmc/entity-manager/tree/master/configurations





Thanks,

Kwin.





Hello everyone,



       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?



Are there some examples to provide reference, I did not find a place to configure the eeprom device in the openbmc project?



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?



Thanks

Harley





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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* 回复: 回复: About FRU
  2020-05-27 21:15 回复: About FRU Vijay Khemka
@ 2020-05-28  2:11 ` 周 远清
  0 siblings, 0 replies; 2+ messages in thread
From: 周 远清 @ 2020-05-28  2:11 UTC (permalink / raw)
  To: Vijay Khemka, Wang, Kuiying; +Cc: openbmc

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

Hi Vijay and Kwin,

    I will use entity manager package and test it, thank you very much!

Thanks,
Harley.
________________________________
发件人: Vijay Khemka <vijaykhemka@fb.com>
发送时间: 2020年5月28日 5:15
收件人: 周 远清 <zhouyuanqing8@outlook.com>; Wang, Kuiying <kuiying.wang@intel.com>
抄送: openbmc@lists.ozlabs.org <openbmc@lists.ozlabs.org>
主题: Re: 回复: About FRU


Hi Harley,

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.

Service xyz.openbmc_project.FruDevice:

    └─/xyz/openbmc_project/FruDevice

      ├─/xyz/openbmc_project/FruDevice/0_80

      ├─/xyz/openbmc_project/FruDevice/0_81

      ├─/xyz/openbmc_project/FruDevice/1_113

      ├─/xyz/openbmc_project/FruDevice/2_112

      ├─/xyz/openbmc_project/FruDevice/2_16

      ├─/xyz/openbmc_project/FruDevice/2_22

      ├─/xyz/openbmc_project/FruDevice/3_104

      ├─/xyz/openbmc_project/FruDevice/3_108

      ├─/xyz/openbmc_project/FruDevice/3_113

      ├─/xyz/openbmc_project/FruDevice/3_36

      ├─/xyz/openbmc_project/FruDevice/3_68

      ├─/xyz/openbmc_project/FruDevice/3_81

      ├─/xyz/openbmc_project/FruDevice/6_32

      ├─/xyz/openbmc_project/FruDevice/6_33

      ├─/xyz/openbmc_project/FruDevice/6_78

      ├─/xyz/openbmc_project/FruDevice/6_79

      ├─/xyz/openbmc_project/FruDevice/6_80

      ├─/xyz/openbmc_project/FruDevice/7_69

      ├─/xyz/openbmc_project/FruDevice/8_31

      ├─/xyz/openbmc_project/FruDevice/9_39

      ├─/xyz/openbmc_project/FruDevice/9_84

      ├─/xyz/openbmc_project/FruDevice/Ava_M_2_SSD_Adapter

      └─/xyz/openbmc_project/FruDevice/Tioga_Pass_Single_Side



Regards

-Vijay



From: 周 远清 <zhouyuanqing8@outlook.com>
Date: Wednesday, May 27, 2020 at 1:33 AM
To: "Wang, Kuiying" <kuiying.wang@intel.com>, Vijay Khemka <vijaykhemka@fb.com>
Cc: "openbmc@lists.ozlabs.org" <openbmc@lists.ozlabs.org>
Subject: 回复: About FRU



Hi



     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.
     If the entity-manager module is used,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?



     phosphor-read-eeprom will exits after reading the eeprom information, so how is the FRU information read to the IPMI process?



Thanks

Harley





________________________________

发件人: Wang, Kuiying <kuiying.wang@intel.com>
发送时间: 2020年5月27日 15:58
收件人: zhouyuanqing8@outlook.com <zhouyuanqing8@outlook.com>
抄送: openbmc@lists.ozlabs.org <openbmc@lists.ozlabs.org>
主题: RE: About FRU



Hi Harley,

You could add json configuration file for your device into entity-manager as below:

https://github.com/openbmc/entity-manager/tree/master/configurations





Thanks,

Kwin.





Hello everyone,



       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?



Are there some examples to provide reference, I did not find a place to configure the eeprom device in the openbmc project?



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?



Thanks

Harley





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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-05-28  2:11 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-27 21:15 回复: About FRU Vijay Khemka
2020-05-28  2:11 ` 回复: " 周 远清

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.