i.MX7S hangs with sumo-4.14.78-1.0.0_ga when loading sdma driver

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

i.MX7S hangs with sumo-4.14.78-1.0.0_ga when loading sdma driver

1,109 Views
Niebel-TQ
Contributor IV

We're trying to bring up above mentioned version with a custom i.MX7S board. After fixing base device trees it boots until we load imx-sdma driver. Mainline 4.14.y works without problems.

Any idea where to look further?

Thanks in advance

Labels (2)
0 Kudos
2 Replies

801 Views
b36401
NXP Employee
NXP Employee

Please try to compile sdma driver as kernel module instead of adding it into the kernel.

0 Kudos

801 Views
max_merchel
Contributor II

We use IMX_SDMA as module . (SDMA error in serial ports (sumo-4.14.78-1.0.0_ga)

It only hangs with I.MX7S on your sumo-4.14.78-1.0.0_ga.
With I.MX7D on our board we can load the imx-sdma module.

If we checkout mainline 4.14.78 version of drivers/dma/imx-sdma.c we have the same problem.
But if we use mainline 4.14.78 and checkout the NXP rel_imx_4.14.78_1.0.0_ga version of drivers/dma/imx-sdma.c (drivers/dma/Kconfig, drivers/dma/virt-dma.c, drivers/dma/pxp/Kconfig and include/linux/dmaengine.h), we can load the module imx-sdma.

0 Kudos