- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Is there anybody who had writen dma driver?or who can show his relative code to me ,and I can learn from it.Thanks. Recently,I'm studying driver under uClinux.In my nios2 processor,I use dma to transmit data to my own IP,so I want to drive the dma to transmit data under uClinux.
who can help me ?Thanks!Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You can look at the DMA driver in linux-2.6.x/arch/nios2nommu/kernel/dma.c .
The dma memory should be uncached or you need flush cache before dma.
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page