AnsweredAssumed Answered

i2c-test tools issue in  I.MX28 BSP on I.MX28 EVK

Question asked by srinivasan shanmugam on Sep 20, 2013
Latest reply on Sep 28, 2013 by srinivasan shanmugam
Branched to a new discussion

HI,

 

I have compiled the i2c-test tools package , in package list while compiling ltib...could  anybody pls kindly let me know how to resolve this issue in making use of  i2cdetect, i2cdump, i2cset, i2cget commands for verifying my eeprom in the rootfs shell prompt,

 

CZ I followed the followed the below steps in using I2c tools was unable to succeed

 

Am trying for more than 2 days still am not able to verify the I2c interfaced devices using the i2c-tools , I hereby attached the screenshots as well,

 

Pls kindly do the needful,

 

I.Mx28 EVK Board : source L2.6.35_10.12.01_ER_source

freescale login: root

login[2116]: root login on 'ttyAM0'

 

 

BusyBox v1.15.0 () built-in shell (ash)

Enter 'help' for a list of built-in commands.

 

root@freescale ~$

root@freescale ~$ i2c

i2cdetect  i2cdump    i2cget     i2cset

root@freescale ~$ i2cdetect -l

root@freescale ~$ i2cdetect -y

Error: No i2c-bus specified!

Usage: i2cdetect [-y] [-a] [-q|-r] I2CBUS [FIRST LAST]

       i2cdetect -F I2CBUS

       i2cdetect -l

  I2CBUS is an integer or an I2C bus name

  If provided, FIRST and LAST limit the probing range.

root@freescale ~$ i2cdetect -y 0

Error: Could not open file `/dev/i2c-0' or `/dev/i2c/0': No such file or directory

root@freescale ~$ i2cdetect -y 1

Error: Could not open file `/dev/i2c-1' or `/dev/i2c/1': No such file or directory

root@freescale ~$ i2cdetect -F 0

Error: Could not open file `/dev/i2c-0' or `/dev/i2c/0': No such file or directory

root@freescale ~$

 

 

Jus for my verifying in Host Ubuntu PC I followed the below after installing i2c-tools in my PC but still I see the same problem

user@user-desktop:~/ltib/rpm/BUILD/linux-2.6.35.3$ i2cdetect

Error: No i2c-bus specified!

Usage: i2cdetect [-y] [-a] [-q|-r] I2CBUS [FIRST LAST]

       i2cdetect -F I2CBUS

       i2cdetect -l

  I2CBUS is an integer or an I2C bus name

  If provided, FIRST and LAST limit the probing range.

user@user-desktop:~/ltib/rpm/BUILD/linux-2.6.35.3$ i2cdetect -l

user@user-desktop:~/ltib/rpm/BUILD/linux-2.6.35.3$ i2cdetect -y 0

Error: Could not open file `/dev/i2c-0' or `/dev/i2c/0': No such file or directory

user@user-desktop:~/ltib/rpm/BUILD/linux-2.6.35.3$


Any help would be greatly appreciated

Awaiting for your replies,

Thanks in advance,

Outcomes