3 eepromread \- read data from an EEPROM
5 \fBeepromread\fR [\fB\-i\fR] [\fB\-f\fR \fIdev\fR] [\fB\-a\fR \fIslave_addr\fR]
21 # interpret the data on the EEPROM and display it as a set of fields.
24 # Use \fIdevice\fR instead of \fI/dev/i2c-1\fR.
27 # Use \fIslave_address\fR instead of \fI0x50\fR.
30 # Do not send the page number when addressing the memory on the EEPROM. Some
31 smaller EEPROM chips aren't organized into pages and get confused if a page
32 number is sent with the memory address. Use this when reading EDID.
36 # display the contents of the EEPROM as a list of label:value pairs.
39 # display the first 256 bytes of the EEPROM in HEX and ASCII.
41 .B eepromread -f /dev/i2c-3 -a 0x54
42 # display the first 256 bytes of the EEPROM on I2C bus 3, slave address 0x54.
44 .B eepromread -f /dev/i2c-3 -n
45 # read the EDID info from the display on I2C bus 3 on the BeagleBoard-xM.
47 .B eepromread -f /dev/eepromb1s50 -i
48 # access the EEPROM through the /dev/eeprom interface once the
49 cat24c256 driver has been started.
52 \fIeepromread\fR is a simple tool for viewing the contents of an EEPROM.
53 For EEPROM data that is in a specific format that this program knows how to
54 detect, \fIeepromread\fR can properly format each of the fields and display
55 the information via the \fI-i\fR command line option.
57 If the \fIcat24c256\fR driver has claimed the EEPROM device that this
58 program is attempting to read from, then you must access it through
59 the /dev/eeprom interface rather than the /dev/i2c interface.