EEPROM driver

Patrick Williams patrick at stwcx.xyz
Wed Sep 30 00:34:13 AEST 2015


The EEPROM connected to the BMC is an AT24C256.  This is already
supported by a kernel driver: drivers/misc/eeprom/at24.c.  It is enabled
with EEPROM_AT24.

If we have enabled this driver correctly and probe the i2c bus then
there will be an entry in /sys/bus/i2c/devices/ with a file containing
the EEPROM data.  This file can then be passed to our IPMI FRU parser
and then updated in the appropriate fru-manager DBus object.

[1] https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/Documentation/misc-devices/eeprom
[2] https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/drivers/misc/eeprom/at24.c
-- 
Patrick Williams
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.ozlabs.org/pipermail/openbmc/attachments/20150929/23b1d93f/attachment.sig>


More information about the openbmc mailing list