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