Open cristianfatu opened 4 years ago
I have the same problem ,too. please can i ask how you solved this problem?
For anyone else running into issues like this there appear to be a number of other fixes and changes available as patches at https://github.com/Digilent/Eclypse-Z7-OS/tree/zmod_dac/master/project-spec/meta-user/recipes-kernel/linux/linux-xlnx Not sure which ones are worthy of pull requests or not as I'm new to xilinx_axidma. If you pull in these changes be sure to use the corresponding updated libaxidma.c and libaxidma.h from https://github.com/Digilent/zmodlib/tree/master/Zmod/linux/dma
The following error is printed in dmesg when running a DMA transaction for the first time on Linux 4.19 on Zynq board.
The data captured on DMA on the first round of transactions looks weird, but on the second run, after the DMA mask is applied by the underlying linux drivers, it is fine.
I applied the following patch to solve the error.