Closed SimonLeeCHN closed 5 years ago
Hello!
May be it's because in your axidma_chrdev in dmas set for 0 and 1 channels.
If you change device-id in channels, you also have to change this IDs in axidma_chrdev.
So, you must set dmas like = <0x7 0x4 0x7 0x3>.
For more information, I advice to look on axidma_of.c
Thanks GOOD-Stuff i was follow the steps in the README.md,so i thought the device-id can be arbitrary
Hi SimonLeeCHN!
Did my advice helps to solve your problem? If so, can you please close this issue :)
Hi, the examples run well on my dma loop design but when i tried to change the dma channels device-id the example axidma_transfer thow an error
i changed the s2mm dma channel to 3,mm2s dma channel to 4,the error occurred
but if i change the s2mm dma channel to 0,mm2s dma channel to 1,it works well
did i made a mistake in change the id?