How to support SPIDEV on imx6ull evk?
Environment: i.mx6ul 14x14 evk
Kernel version:4.1.15
Setp in below:
1.~/fsl-release-bsp$ DISTRO=fsl-imx-fb MACHINE=imx6ull14x14evk source fsl-setup-release.sh -b build-fb
2.~/fsl-release-bsp/build-fb$ bitbake linux-imx -c memuconfig
3.Kernel Configuration->Device Drivers->SPI support-><*>User mode SPI device driver support
4.<save> than <exit>
5.bitbake -c compile -f linux-imx
6.bitbake linux-imx
7.Copy image to SD card(boot from SD), copy path as follow:
../work/imx6ull14x14evk-poky-linux-gnueabi/linux-imx/4.1.15-r0/deploy-linux-imx/zImage
../work/imx6ull14x14evk-poky-linux-gnueabi/linux-imx/4.1.15-r0/deploy-linux-imx/zImage-imx6ull-14x14-evk.dtb
8.rename files of zImage-imx6ull-evk-xxx to imx6ull-evk-xxx.
9.boot and check /dev/.. on the board.
but don't find spidev* device node? Why?
Solved! Go to Solution.
No need if you already configured. Just build and replace the kernel image on your SD card.
#
# SPI Protocol Masters
#
# CONFIG_SPI_SPIDEV is not set
Please check "CONFIG_SPI_SPIDEV" in .config(linux-imx/4.1.15-r0/build/) file, Enable it if its not set.
"CONFIG_SPI_SPIDEV=y" is enabled, is it need to modify the file of dts?
No need if you already configured. Just build and replace the kernel image on your SD card.