Forum Discussion
Altera_Forum
Honored Contributor
20 years agoSetting up a DMA Transaction in a driver
Hello everyone, i currently working on driver, where i need to do some dma-transaction. I can do DMA and PIO directly on the Nios 2 System, without Linux ( withot an running system Linux Ker...
Altera_Forum
Honored Contributor
20 years agoHello Scott,
thank you for sharing your thoughts. --- another way to check if the dma included correctly in the kernel is to look for an registered dma interrupt in "interrupts" in proc dir of the kernel, but objdump will show the proof. It is just another way to see it didn't work. But its actually no problem, I can access (inl,outl) the dma register and like i did without Linux. It is essential to get some uncached memory. I can try to "make" some handmade DMAable Memory. Since I use an Nios/f core i can try to do the 31-bit-uncache trick and flush the data cache. However I will think about it and try some ideas, and check if did something wrong.