Wind River Support Network

HomeDefectsLIN10-3304
Fixed

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: 10.17.41.4
Fix Version: 10.17.41.8
Severity: Standard
Applicable for: Wind River Linux LTS 17
Component/s: BSP

Description

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
Online