[IMX6] Missing i2c device with 4.1.15 kernel on CM-FX6 board

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

[IMX6] Missing i2c device with 4.1.15 kernel on CM-FX6 board

ソリューションへジャンプ
1,291件の閲覧回数
mathijsjonker
Contributor I

With 3.0.35 I had 4 i2c devices with 4.1.15 I'm missing 1 i2c device.

I'm using defconfig cm_fx6.

 

I've attached bootlogs. I've followed CM-FX6: Linux: Kernel - CompuLab Wiki  to compile the kernel.

 

With 3.0.35:

ls -l /dev/i2c-*
crw------- 1 root root 89, 0 Jan  1  1970 /dev/i2c-0
crw------- 1 root root 89, 1 Jan  1  1970 /dev/i2c-1
crw------- 1 root root 89, 2 Jan  1  1970 /dev/i2c-2
crw------- 1 root root 89, 3 Jan  1  1970 /dev/i2c-3
crw------- 1 root root 89, 4 Jan  1  1970 /dev/i2c-4

 

[root@yes ~]# cat /sys/dev/char/89\:1/device/name
imx-i2c

 

With 4.1.15

# ls -l /dev/i2c*
crw-rw----    1 root     root       89,   0 Jan  1  1970 /dev/i2c-0
crw-rw----    1 root     root       89,   2 Jan  1  1970 /dev/i2c-2
crw-rw----    1 root     root       89,   3 Jan  1  1970 /dev/i2c-3
crw-rw----    1 root     root       89,   4 Jan  1  1970 /dev/i2c-4

Original Attachment has been moved to: 3.0.35-boot.txt.zip

Original Attachment has been moved to: 4.1.15-boot.txt.zip

ラベル(2)
タグ(2)
0 件の賞賛
返信
1 解決策
921件の閲覧回数
Carlos_Musich
NXP Employee
NXP Employee

Hi Mathijs,

This may be because the status of i2c-1 is not set as "okay" in the device tree. You may enable it in your dts file and rebuild kernel.

Please not that CM-FX6 is not developed by NXP therefore is not supported. For further details please contact CompuLab.


Regards,
Carlos

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

元の投稿で解決策を見る

0 件の賞賛
返信
2 返答(返信)
922件の閲覧回数
Carlos_Musich
NXP Employee
NXP Employee

Hi Mathijs,

This may be because the status of i2c-1 is not set as "okay" in the device tree. You may enable it in your dts file and rebuild kernel.

Please not that CM-FX6 is not developed by NXP therefore is not supported. For further details please contact CompuLab.


Regards,
Carlos

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

0 件の賞賛
返信
921件の閲覧回数
mathijsjonker
Contributor I

Thanks you very much!

0 件の賞賛
返信