creation of i2c node

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

creation of i2c node

712 次查看
samikshadubey
Contributor I

Hi all,

 

I am working on imx6sl sololite processor with ltib setup. And i want to check a register value wiith i2cset and i2cget command.when i run any command of i2cget or i2cset it gives me below error.

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

 

i2c node is not created in my /dev directory.

I am attaching my board file also.

Can anyone please help me out.

Original Attachment has been moved to: board-mx6sl_evk.c.zip

0 项奖励
回复
1 回复

655 次查看
igorpadykov
NXP Employee
NXP Employee

Hi samiksha

please refer to imx6sl-evk.dts file and attached Linux Manual

Chapter 35 Inter-IC (I2C) Driver

linux-imx.git - i.MX Linux Kernel 

try nxp official bsps described on

http://www.nxp.com/products/software-and-tools/software-development-tools/i.mx-software-and-tools/i....

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 项奖励
回复