kuiying.wang at intel.com
Wed May 27 18:59:39 AEST 2020
Entity-manage exposed FRU into dbus.
Could get them from dbus properties like below:
root at intel-obmc:~# busctl tree --no-pager xyz.openbmc_project.FruDevice
root at 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
From: 周 远清 [mailto:zhouyuanqing8 at outlook.com]
Sent: Wednesday, May 27, 2020 4:33 PM
To: Wang, Kuiying <kuiying.wang at intel.com>; Vijay Khemka <vijaykhemka at fb.com>
Cc: openbmc at lists.ozlabs.org
Subject: 回复: About FRU
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？
发件人: Wang, Kuiying <kuiying.wang at intel.com<mailto:kuiying.wang at intel.com>>
发送时间: 2020年5月27日 15:58
收件人: zhouyuanqing8 at outlook.com<mailto:zhouyuanqing8 at outlook.com> <zhouyuanqing8 at outlook.com<mailto:zhouyuanqing8 at outlook.com>>
抄送: openbmc at lists.ozlabs.org<mailto:openbmc at lists.ozlabs.org> <openbmc at lists.ozlabs.org<mailto:openbmc at lists.ozlabs.org>>
主题: RE: About FRU
You could add json configuration file for your device into entity-manager as below:
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?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the openbmc