All of lore.kernel.org
 help / color / mirror / Atom feed
* About FRU
@ 2020-05-25 13:29 周 远清
  2020-05-26 18:53 ` Vijay Khemka
  0 siblings, 1 reply; 5+ messages in thread
From: 周 远清 @ 2020-05-25 13:29 UTC (permalink / raw)
  To: OpenBMC Maillist, uperic@163.com

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


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: 2174 bytes --]

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

* Re: About FRU
  2020-05-25 13:29 周 远清
@ 2020-05-26 18:53 ` Vijay Khemka
  0 siblings, 0 replies; 5+ messages in thread
From: Vijay Khemka @ 2020-05-26 18:53 UTC (permalink / raw)
  To: 周 远清, OpenBMC Maillist, uperic@163.com

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

Hi Harley,
What approach you are using to read FRU as there are couple of fru implementation  like phosphor-fru and entity manager approach. Once you have fru reading via any of these application then only ipmi tool will be able to read and print.

Regards
-Vijay

From: openbmc <openbmc-bounces+vijaykhemka=fb.com@lists.ozlabs.org> on behalf of 周 远清 <zhouyuanqing8@outlook.com>
Date: Monday, May 25, 2020 at 6:31 AM
To: OpenBMC Maillist <openbmc@lists.ozlabs.org>, "uperic@163.com" <uperic@163.com>
Subject: About FRU


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: 4962 bytes --]

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

* RE: About FRU
@ 2020-05-27  7:58 Wang, Kuiying
  2020-05-27  8:33 ` 回复: " 周 远清
  0 siblings, 1 reply; 5+ messages in thread
From: Wang, Kuiying @ 2020-05-27  7:58 UTC (permalink / raw)
  To: zhouyuanqing8@outlook.com; +Cc: openbmc@lists.ozlabs.org

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

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: 4715 bytes --]

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

* 回复: About FRU
  2020-05-27  7:58 About FRU Wang, Kuiying
@ 2020-05-27  8:33 ` 周 远清
  2020-05-27  8:59   ` Wang, Kuiying
  0 siblings, 1 reply; 5+ messages in thread
From: 周 远清 @ 2020-05-27  8:33 UTC (permalink / raw)
  To: Wang, Kuiying, Vijay Khemka; +Cc: openbmc@lists.ozlabs.org

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

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: 8064 bytes --]

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

* RE: About FRU
  2020-05-27  8:33 ` 回复: " 周 远清
@ 2020-05-27  8:59   ` Wang, Kuiying
  0 siblings, 0 replies; 5+ messages in thread
From: Wang, Kuiying @ 2020-05-27  8:59 UTC (permalink / raw)
  To: ? ??, Vijay Khemka; +Cc: openbmc@lists.ozlabs.org

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

Entity-manage exposed FRU into dbus.
Could get them from dbus properties like below:

root@intel-obmc:~# busctl tree --no-pager xyz.openbmc_project.FruDevice
`-/xyz
  `-/xyz/openbmc_project
    `-/xyz/openbmc_project/FruDevice
      |-/xyz/openbmc_project/FruDevice/PSSF132202A
      `-/xyz/openbmc_project/FruDevice/S2600WFT

root@intel-obmc:~# busctl introspect --no-pager xyz.openbmc_project.FruDevice /xyz/openbmc_project/FruDevice/PSSF132202A
NAME                                TYPE      SIGNATURE RESULT/VALUE                        FLAGS
.Common_Format_Version              property  s         "1"                                 emits-change
.PRODUCT_LANGUAGE_CODE              property  s         "25"                                emits-change
.PRODUCT_MANUFACTURER               property  s         "xxxxx., LTD.                  " emits-change
.PRODUCT_PART_NUMBER                property  s         "xxxxxxxx"                        emits-change
.PRODUCT_PRODUCT_NAME               property  s         "Pxxxxx02A"                       emits-change
.PRODUCT_SERIAL_NUMBER              property  s         "CNSxxxxx0279"                 emits-change
.PRODUCT_VERSION                    property  s         "00A"                               emits-change


Thanks,
Kwin.


From: 周 远清 [mailto:zhouyuanqing8@outlook.com]
Sent: Wednesday, May 27, 2020 4:33 PM
To: Wang, Kuiying <kuiying.wang@intel.com>; Vijay Khemka <vijaykhemka@fb.com>
Cc: 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<mailto:kuiying.wang@intel.com>>
发送时间: 2020年5月27日 15:58
收件人: zhouyuanqing8@outlook.com<mailto:zhouyuanqing8@outlook.com> <zhouyuanqing8@outlook.com<mailto:zhouyuanqing8@outlook.com>>
抄送: openbmc@lists.ozlabs.org<mailto:openbmc@lists.ozlabs.org> <openbmc@lists.ozlabs.org<mailto: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: 19125 bytes --]

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

end of thread, other threads:[~2020-05-27  8:59 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-05-27  7:58 About FRU Wang, Kuiying
2020-05-27  8:33 ` 回复: " 周 远清
2020-05-27  8:59   ` Wang, Kuiying
  -- strict thread matches above, loose matches on Subject: below --
2020-05-25 13:29 周 远清
2020-05-26 18:53 ` Vijay Khemka

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.