Wind River Support Network

HomeDefectsLIN9-5822
Fixed

LIN9-5822 : PL022 SPI driver cannot work with DMA transfer mode

Created: Nov 15, 2017    Updated: Dec 3, 2018
Resolved Date: Mar 15, 2018
Found In Version: 9.0.0.11
Fix Version: 9.0.0.15
Severity: Standard
Applicable for: Wind River Linux 9
Component/s: BSP

Description

When we wants to use SPI with DMA transfer mode on bcm-587xx bsp.  We got a patch for DTS file from Broadcom 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