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.
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