Reputation: 123
I'm writing a linux driver for a custom RF board. The RF board have an EEPROM contain some information and I want to load this information to my driver. Linux kernel already has EEPROM module, this module read all memory of the EEPROM and export to userspace by sysfs.
Can I read this sysfs to get EEPROM's memory? If not, how can I get this information? Thank you.
Upvotes: 0
Views: 2251
Reputation: 350
There are userspace applications which read the data exported by the eeprom module. So if you know Perl a bit, I suggest that you will consider looking at the following i2c-tools link: https://github.com/groeck/i2c-tools/tree/master/eeprom
Rami Rosen
Upvotes: 0