Quantcast
Channel: Processors forum - Recent Threads
Viewing all articles
Browse latest Browse all 17527

Linux: Unable to use UART in DSP core with interrupts

$
0
0

Tool/software: Linux

Hi there, I have got the basic IPC example working on the OMAPL138 LCDK.

The SDK is v4.0.0.4 and Linux is 4.9.28

When I add UART0 in the Hwi using TI-SYSBIOS  app.cfg and reboot Linux...

It does load DSP core from remoteProc but get stuck... When I remove the UART defination from the Hwi app.cfg file all seems to work fine... 

Not sure if EDMA and UART from Linux and overlapped with the DSP core EDMA and Serial comms.

I have added the patch 9794077 and 9694375 based on different posts but still made no difference.. 

I will upload the logs in my next post. 

Please, let me know if I need to disable edma core from DTSI in Linux for this to work.. 

One more think, when I added "systemctl disable serial-getty@ttyS2.service" again based on different post.. I can get the EDMA UART IF on DSP to work but then get loads of errors:

edma 1c00000.edma: dma_ccerr_handler: Error interrupt without error event!
edma 1c00000.edma: dma_ccerr_handler: Error interrupt without error event!
edma 1c00000.edma: dma_ccerr_handler: Error interrupt without error event!
edma 1c00000.edma: dma_ccerr_handler: Error interrupt without error event!
edma 1c00000.edma: dma_ccerr_handler: Error interrupt without error event!
edma 1c00000.edma: dma_ccerr_handler: Error interrupt without error event!

edma 1c00000.edma: dma_ccerr_handler: Error interrupt without error event!

edma 1c00000.edma: dma_ccerr_handler: Error interrupt without error event!
edma 1c00000.edma: dma_ccerr_handler: Error interrupt without error event!
edma 1c00000.edma: dma_ccerr_handler: Error interrupt without error event!
systemd-journald[70]: /dev/kmsg buffer overrun, some messages lost.
virtio_rpmsg_bus virtio0: msg received with no recipient


Viewing all articles
Browse latest Browse all 17527

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>