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.
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
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!
-----------------------------------------------------------------------------------------------------------------------
Hi Yuri,
I have done as you said. But still i'm not getting spidev in my /dev.
Hello,
have You transferred all (new) file system to the boot device of the i.MX6?
Regards,
Yuri.
yes, I have created new image using* bitbake fsl-image-gui *and transferred
to the boot device