Project

General

Profile

All devices on i2c on the AM335 SOM

Added by Joseph Orender about 8 years ago

Hello,

I am writing some diagnostic software for our device to run through and make sure everything seems to be present and working on the carrier board. Is there a document on the wiki somewhere that details all the devices on the i2c bus so that I can tickle them while I'm checking the other devices on our carrier as well? I'd like to gather as much info in our health monitoring/diagnostic software as possible and figured it couldnt hurt to make sure everything on the SOM seemed happy.

-Joe

Attached is a dump from i2cdetect on all three buses. 9 and 47 are on our carrier.


Replies (3)

RE: All devices on i2c on the AM335 SOM - Added by Jonathan Cormier about 8 years ago

I created a wiki page for this information. Let me know if it answers your question.

MitySOM-335x_I2C_Addresses

RE: All devices on i2c on the AM335 SOM - Added by Joseph Orender almost 8 years ago

Is there any way I can read the factory config eeprom and use that data to verify the correct SOMs are installed or use the data to compare mac address for example?

-Joe

RE: All devices on i2c on the AM335 SOM - Added by Jonathan Cormier almost 8 years ago

The factory config definition can be found here:
http://support.criticallink.com/gitweb/?p=linux-mityarm-335x.git;a=blob;f=arch/arm/mach-omap2/mityarm335x.h;h=5b75f982a46a56056ce71cc0aab38ccb09ee2a28;hb=HEAD

Note: Although we provide a mac address field, the mac address is actually built into the 335x processor so we do not use the field.

You can view the factory config:

root@mitysom-335x ~ $ mount -t debugfs debugfs /sys/kernel/debug/
root@mitysom-335x ~ $ cat /sys/kernel/debug/mitysom335x/module/config 
MitySOM-335x: Part Number = 3354-HX-X38-RC
            : Serial Num = 137410
            : Found MAC = 00:00:00:00:00:00

    (1-3/3)
    Go to top
    Add picture from clipboard (Maximum size: 1 GB)