Re: 回复: About FRU
vijaykhemka at fb.com
Thu May 28 07:15:09 AEST 2020
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.
From: 周 远清 <zhouyuanqing8 at outlook.com>
Date: Wednesday, May 27, 2020 at 1:33 AM
To: "Wang, Kuiying" <kuiying.wang at intel.com>, Vijay Khemka <vijaykhemka at fb.com>
Cc: "openbmc at lists.ozlabs.org" <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>
发送时间: 2020年5月27日 15:58
收件人: zhouyuanqing8 at outlook.com <zhouyuanqing8 at outlook.com>
抄送: openbmc at lists.ozlabs.org <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