-
Notifications
You must be signed in to change notification settings - Fork 232
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
axidma: axidma_dma.h: axidma_request_channels: 621: Unable to get slave channel 0: tx_channel. #17
Comments
I wasn't able to reproduce the problem on my end. I'm working off the branch Can you let me know what repository, branch, and specific commit you're using for your kernel? |
Thank you for your answer. I'm going to try to use the kernel version you provided. |
Hi Nick,
|
Those tags after the device tree nodes are just names that are used to refer to them in debug messages, so that shouldn't matter. Can you attach the full
Which matches the entry in @raffaelesury's device tree. |
Hi the function: /**
|
Hmm that's odd. Can you attach the full output from |
Hi Brandon, And how i can use the interrupts for the DMA in the driver. |
I'm going to need more information to answer your first question. What's the nature of the error, is it hanging or crashing? What's the design you're using on the PL? What's the application that you're running? Can you attach the program output and As for the interrupts, each AXI DMA/VDMA will have an interrupt port ( |
Hi, The application read data failed:
The dmesg:
As for the interrupts, i mean do you have any interruption function of the driver? Or do you have any information on how to write the DMA interrupt driver. |
So aren't you receiving data back then? You have a print statement of the receive buffer after the DMA transfer. I'm not sure what the issue is there. As for the interrupts, the driver supports interrupts; you don't need to make any modifications to it. You just need to follow the instructions as I listed in the last post. For example, take the AXI DMA loopback example. In this case, you have one transmit and one receive channel, which each have an interrupt dedicated to them. This leads to device tree nodes for the AXI DMA nodes like follows:
Note the |
I am asking to confirm, the driver does not support DMAs with single channel, right? Currently on my design I have S2MM interface only as I just require that, and I am experiencing the documented problem. If necessary I can re-configure the core so that it has both S2MM and MM2S. |
using kernel version 4.19.0: solusion: |
Hi Brandon,
I'm trying to use your driver on a zedboard, petalinux system.When i run insmod axidma.ko command to load driver,the error in the title comes up.
This is the error log:
root@dmaTest:/lib/modules/4.6.0-xilinx/extra# insmod axidma.ko
axidma: axidma_dma.h: axidma_request_channels: 621: Unable to get slave channel 0: tx_channel.
axidma: probe of axidma_chrdev@0 failed with error -38
And my device tree of dma part is:
I didn't change anything for you driver,but where there is a problem.
Thanks for any help you can offer.
The text was updated successfully, but these errors were encountered: