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
Solved! Go to Solution.
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!
-----------------------------------------------------------------------------------------------------------------------
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!
-----------------------------------------------------------------------------------------------------------------------
Thanks you very much!