i have simple problem
i use colibri imx6.
when i use linux 5.7 or torizon core 5 spi work quite good.
but when i use linux 6.1 or torizon core 6 - spi not work
i guess on 6 kernel spi not working
Can somebody tell me, how to use spi on linux 6.0 and above ?
Hi @andrey.vatoropin.it ,
Thanks for your question.
There seemed to be a change/issue on TorizonCore 6 about SPI.
Can you try the method described there (disabling the CAN controller) and let us know if that made SPI work?
do you mean here ?
Hello @andrey.vatoropin.it ,
Yes, this one and also the ones in the issue description.
Thanks! i tried to use this manual
but it is not working.
SPI work good on 5.9 and lower. But on 6.0 and above SPI not working.
Hi @andrey.vatoropin.it !
@kevin.tx shared with you a link with the changes you need to do to solve your issue.
If it didn’t work for you, we need to review these changes.
Therefore, please share the changes you did and how you did them so we can review them.
yeah… unfortunately this link do not work for me.
Thanks for the feedback, but unfortunately it is not enough.
Please help us to understand exactly what didn’t work for you.
Which steps you took? How you did the changes?
after long fight i got result. it was quite easy. i decided to use M in make menuconfig instead *. after i compiled modules and copy them to rootfs. After i use this:
echo spi3.0 > /sys/bus/spi/drivers/mcp251x/unbind
echo spidev > /sys/bus/spi/devices/spi3.0/driver_override
echo spi3.0 > /sys/bus/spi/drivers/spidev/bind
and Spi work nice