DMA transfers on xscale 255

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Dear kernelnewbies,

I was working on a driver based on the pxa-audio.c driver and while testing it, the dma transfer gets stuck on this code:

printk("DDADR(%i) = 0x%08x\n", s->dma_ch, s->buffers[s->dma_frag].dma_desc->ddadr);
DCSR(s->dma_ch) = DCSR_RUN;
printk("DCSR(%i): RUN\n", s->dma_ch);


it prints the first line, but not the second printk. What can cause this ? After a long wait, the board just resets itself, going to U-Boot. It's a pxa255 based board with linux-2.4.19-rmk7-pxa2 kernel..

Btw, the irq handler has a printk in it as first line and it never gets printed. So i can assume that not buserror-end-start irq has occurred. I cannot find a reason why the code doesn't get any further than the line with DCSR_RUN in it, maybe you can ?

If you need more info, I can always provide..

Kind regards,
Gerrit Van de Velde


-- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/




[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux