Hello,
I'm looking for some examples of using BCDMA in linux sdk. I can see that there's a driver + dma glue layer.
Can you help me on this please ?
Thanks.
Montassir Kounsi
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hello,
I'm looking for some examples of using BCDMA in linux sdk. I can see that there's a driver + dma glue layer.
Can you help me on this please ?
Thanks.
Montassir Kounsi
Do you want to write your own Kernel driver to use BCDMA or what is your use case? If you are planning to use this from userspace I don't think it is easily/readily accessible but I can look closer to see what options there are.
Regards, Andreas
I was just able to get to check for E2E activity. Let me do some research on this, please allow 1-2 working days for a response.
Regards, Andreas
Hi!
you can find example uses of the BCDMA by searching the AM6x device tree files for references of main_bcdma, and then tracing those back to the respective driver sources based on searching for the "compatible" strings. Note that the BCDMA is not accessed directly but instead this is done through the DMAEngine Kernel framework (https://docs.kernel.org/driver-api/dmaengine/index.html).
For example...
Regards, Andreas
Thanks Andreas !
I'll check the links you gave me, I'll open a new thread if I have any more questions.