Hello all,
I want to use mcp2515 on maaxboard but i have a few problems. I added the driver of MCP2515 on kernel and i start up the system. System is running but spi is not working. I'm getting dma error when i check. The ouput is as follows,
root@maaxboard-ddr4-2g-sdcard:~# dmesg | grep spi
[ 2.082346] spi_imx 30820000.ecspi: dma setup error -19, use pio
[ 2.089493] spi_imx 30820000.ecspi: probed
I can see mcp2515 driver installed.
root@maaxboard-ddr4-2g-sdcard:~# ls /sys/bus/spi/drivers
cros-ec-spi ds3234 m25p80 mcp251x mmc_spi mtd_dataflash spidev
root@maaxboard-ddr4-2g-sdcard:~# ls /sys/bus/spi/devices/
spi0.0
Also see spi status below,
root@maaxboard-ddr4-2g-sdcard:~# dmesg | grep dma
[ 0.000000] OF: reserved mem: initialized node linux,cma, compatible id shared-dma-pool
[ 0.868557] imx-sdma 30bd0000.sdma: no iram assigned, using external mem
[ 0.875326] imx-sdma 30bd0000.sdma: no event needs to be remapped
[ 0.875395] imx-sdma 30bd0000.sdma: Falling back to user helper
[ 0.879126] imx-sdma 302c0000.sdma: no iram assigned, using external mem
[ 0.886145] imx-sdma 302c0000.sdma: no event needs to be remapped
[ 0.892047] mxs-dma 33000000.dma-apbh: initialized
[ 2.070136] spi_imx 30820000.ecspi: dma setup error -19, use pio
[ 2.256040] Can't support > 32 bit dma.
[ 2.337410] Can't support > 32 bit dma.
[ 7.109588] imx-sdma 302c0000.sdma: loaded firmware 4.4
[ 7.117541] imx-sdma 30bd0000.sdma: loaded firmware 4.4
You can see the gpio file at the attachment.
How can I solve this problem?