Skip to content

DMA test client execution on AXS10x

Yuriy Kolerov edited this page Aug 1, 2023 · 1 revision

Make sure DW DMA is enabled in Linux kernel. arc-3.18 kernel has it while for upstream kernel following patch will be required http://patchwork.ozlabs.org/patch/552865/

Then DMA test client (CONFIG_DMATEST) must be enabled in Linux configuration.

Now execute the following on target:

echo dma0chan0 > /sys/module/dmatest/parameters/channel
echo 2000 > /sys/module/dmatest/parameters/timeout
echo 100 > /sys/module/dmatest/parameters/iterations
echo 1 > /sys/module/dmatest/parameters/run

You'll see something like this:

dmatest: Started 1 threads using dma0chan0
dmatest: dma0chan0-copy0: summary 1000 tests, 0 failures 146 iops 1161 KB/s (0)
Clone this wiki locally