Max Herman

Missing peripherals (i2c, spi, ...) in /dev/ on i.MX28

Discussion created by Max Herman on Aug 30, 2011
Latest reply on Oct 10, 2012 by Max Bonazzi

Hello,

I'm developing a software on i.MX28 evk board, and ran into the problem with missing devices in /dev/. I don't have i2c, spi, adc, hsadc devices. I enabled drivers for these devices, when build kernel. But they don't exists.

I checked /etc/udev/rules.d/* scripts and there are no script that enumerates peripheral drivers, as block devices. This is true for both Linux build from source and Linux image that freescale provides. I tried: L2.6.31_10.08.01_SDK_images_MX28.tar.gz and L2.6.35_10.12.01_SDK_source_bundle.tar.gz.

 

Because of this problem pretty much all of the unit-tests that freescale provides fail:

autorun.sh: completed test suiteTest cases run: 15  Pass: 3  Fail: 12

 

Also I cannot access imx28 peripherals from linux application. 

 

Can anybody please help to make peripherals appear under /dev/ ?

 

Thanks!

Outcomes