How to support SPIDEV on imx6ull evk?

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

How to support SPIDEV on imx6ull evk?

Jump to solution
2,750 Views
yangyanger
Contributor I

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?

    

Labels (2)
0 Kudos
1 Solution
1,764 Views
srinivas_chilaka
NXP Employee
NXP Employee

No need if you already configured. Just build and replace the kernel image on your SD card.

View solution in original post

0 Kudos
3 Replies
1,765 Views
srinivas_chilaka
NXP Employee
NXP Employee

#
# 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.

0 Kudos
1,764 Views
yangyanger
Contributor I

"CONFIG_SPI_SPIDEV=y" is enabled, is it need to modify the file of dts?

0 Kudos
1,765 Views
srinivas_chilaka
NXP Employee
NXP Employee

No need if you already configured. Just build and replace the kernel image on your SD card.

0 Kudos