Forum Discussion
Altera_Forum
Honored Contributor
20 years agoHi Helmar,
> get_dma_residue((unsigned int)0); > > it returns -1, <<snip>> > this means MAX_DMA_CHANNELS is at least 0 Indeed! Check your dma.o with objdump ... each entry in dma_channels should account for 0x38 bytes (which I confirmed in my own kernel build -- it's ok). Although I haven't actually used the dma in the kernel yet -- sorry. If your table is in fact length zero, you might want to touch your nios2_system.h (or dma.c). Regards, --Scott