Re: DMA for RPi

2016-08-06 Thread Mudit Jain
Hi, In the previous link, in irq.c, there is an error. I was using BCM2835_IRQ_PENDING2, BCM2835_IRQ_ENABLE2 & BCM2835_IRQ_DISABLE2 instead of BCM2835_IRQ_PENDING1, BCM2835_IRQ_ENABLE1, & BCM2835_IRQ_DISABLE1. I have corrected that in my the below given link. Kindly review the same. GitHub : htt

Re: DMA for RPi

2016-08-06 Thread Mudit Jain
Hi all, Github Link : https://github.com/spark1729/rtems/commit/eaf0ae5058877ee525f32ea545e3eb76e185ebbf As per the suggestions I have made modifications. 1. Invalidating the cache in the rpi_dma_start 2. Adding a atomic flag in the channel structure which will be used for DMA serializing. 3. Ch

Re: DMA for RPi

2016-07-31 Thread Pavel Pisa
Hello Mudit, I have put some comments inline on GitHub. On Sunday 31 of July 2016 13:14:46 Mudit Jain wrote: > Hi all, > > I have added code for DMA support for RPi. Here is the link for the same : > > GitHub Link : > https://github.com/spark1729/rtems/commit/f328c4cd89b02977ccc5d7154b4af5ee9 >c4

DMA for RPi

2016-07-31 Thread Mudit Jain
Hi all, I have added code for DMA support for RPi. Here is the link for the same : GitHub Link : https://github.com/spark1729/rtems/commit/f328c4cd89b02977ccc5d7154b4af5ee9c424ba3 Kindly review the code and provide comments to improve the same. Questions : If someone could specifically look at