Wind River Support Network


LIN10-3304 : PL022 SPI driver cannot work with DMA transfer mode

Created: Feb 25, 2018    Updated: Dec 3, 2018
Resolved Date: May 25, 2018
Found In Version:
Fix Version:
Severity: Standard
Applicable for: Wind River Linux LTS 17
Component/s: BSP


When we want to use SPI with DMA transfer mode on bcm-587xx bsp.  We got a patch for DTS file and applied it.  However, we faced kernel panic when booting.

The panic was occurred when com-mode in ns2-svk.dts was set to 2 (DMA transfer mode).  When com-mode was set 0 (interrupt mode), the panic was not occurred.

Steps to Reproduce

1. Create new project with following options:

   --dl-layers --kernel preempt-rt --distros wrlinux --machine bcm-587xx

2. Replace DTS files with attached files (ns2.dtsi and ns2-svk.dts)

3. Build the project

   bitbake wrlinux-image-glibc-std

4. Boot with uImage-bcm-587xx.bin and uImage-ns2-svk.dtb then got kernel panic as spi-dma.log

Other Downloads

Live chat