exposing device-tree populated eeproms in FruDevice

James Feist james.feist at linux.intel.com
Thu Aug 1 02:26:16 AEST 2019


On 7/31/19 8:36 AM, Patrick Venture wrote:
> On Mon, Jul 29, 2019 at 10:59 AM Patrick Venture <venture at google.com> wrote:
>>
>> Per the previous email, some eeproms aren't supported by FruDevice.  I
>> was curious if it made sense to have it not only search for responding
>> i2c devices on a bus, but also look at ones that have the "eeprom"
>> sysfs file, and talk to those as well?  So that we can put things in
>> the device tree where the kernel will expose it with the known
>> driver/configuration, and then it can be read by FruDevice -- although
>> at that point, it may make sense to have a hybrid approach if possible
>> that uses ipmi-fru-parser (which uses the eeprom sysfs entry).
> 
> Just wanted to promote this to the top of inboxes.  It isn't clear
> from reading the code that this is doing anything beyond "installing"
> the device via Exposes.  If it's a temperature sensor, it sets up the
> dbus configuration, but otherwise not.
> 

Correct. It isn't doing anything with the eeproms. The patch in this 
issue tried to use the sysfs files, but it broke 8bit support 
https://github.com/openbmc/entity-manager/issues/1. If someone wants to 
take it up and make both work, that'd be great.


>>
>> Patrick


More information about the openbmc mailing list