- Navigate to driver root directory
-
$> cd
<parent-path>/dma_ip_drivers/XDMA/linux-kernel
- Compile and install driver to /lib/modules directory
-
$> cd xdma && make
install
- Compile user applications
-
$> cd ../tools && make
all
- Insert the driver into the kernel
-
$> modprobe xdma
- Perform the DMA transfer to SBI; must set aperture size so DMA
transfer acts on keyhole
-
$> dma_to_device -d
/dev/xdma0_h2c_0 -k 4096 -f <.pdi file> -s <size> -a
0x102100000