ECSPI enabling in iMX6ULL

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

ECSPI enabling in iMX6ULL

1,405 Views
mathew_k_t
Contributor II

Hi,I'm using iMX6ULL evk, and currently trying to enable ecspi but spidev is not foundin /dev. I have made changes in dts file and defconfig. Also enabled spi device driver in menuconfig. Please let me know what wrong in these changes.Do i need to change/add something.

Labels (1)
Tags (3)
5 Replies

865 Views
hardyb
Contributor III

Output of dmesg|grep spi ?

If there is nothing wrong in your dts, should see something like

root@wandboard-custom:~# dmesg|grep spi

spi_imx 2008000.ecspi: probed

0 Kudos

865 Views
Yuri
NXP Employee
NXP Employee

Hello,

  I think it makes sense to configure SPI slave mode support in Linux (SPIDEV).
By default it is not supported, so,  I suggest to use the following sequence for SPIDEV :

$ bitbake linux-imx -c menuconfig

# select DEVICE DRIVERS -> SPI Support -> User mode SPI device driver support

$ bitbake linux-imx
$ bitbake core-image-minimal  

  The recent command is used to deploy compiled files to file system.


Have a great day,
Yuri

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

0 Kudos

865 Views
mathew_k_t
Contributor II

Hi Yuri,

I have done as you said. But still i'm not getting spidev in my /dev.

0 Kudos

865 Views
Yuri
NXP Employee
NXP Employee

Hello,

  have You transferred all (new) file system to the boot device of the i.MX6? 

Regards,

Yuri.

0 Kudos

865 Views
mathew_k_t
Contributor II

yes, I have created new image using* bitbake fsl-image-gui *and transferred

to the boot device