ECSPI enabling in iMX6ULL

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

ECSPI enabling in iMX6ULL

2,618 次查看
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.

标签 (1)
标记 (3)
5 回复数

2,078 次查看
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 项奖励
回复

2,078 次查看
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 项奖励
回复

2,078 次查看
mathew_k_t
Contributor II

Hi Yuri,

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

0 项奖励
回复

2,078 次查看
Yuri
NXP Employee
NXP Employee

Hello,

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

Regards,

Yuri.

0 项奖励
回复

2,078 次查看
mathew_k_t
Contributor II

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

to the boot device