Lets start from the beginning again.
If you're Dev it is the Arria V Starter kit then download the following files:
1. Hardware design -
http://www.alterawiki.com/wiki/file:pcie_avgx_avmm_dma_on_chip_mem_1602.zip This is the Rev 3 file set for the PCIe SGDMA reference design
2. Software Driver & App :
http://www.alterawiki.com/wiki/file:linux_for_avmm_dma_on_chip_mem.tar.gz This is the respective driver and App.
For the Arria V GT
Hardware design :
http://www.alterawiki.com/wiki/file:pcie_avgt_avmm_dma_on_chip_mem_1602.zip Software files are the same.
The Device ID for this design is set to E003 and need not be modified.
1. Unzip the HW & SW files.
2. Load the HW project in Quartus. If you're using the latest version 17.x an IP upgrade window may pop-up. Perform the upgrade to get the latest design files and IP.
3. Check that the modules are all properly connected in Platform Designer (Qsys) and that there are no errors during the IP upgrade process.
4. Build the project and generate the programming files.
5. Program the FPGA on the kit by following the provided instructions. Make sure the system setup is replicated as mentioned in the Reference design.
6. In the Linux system , build and install the driver. You may encounter an error when installing the drivers for the first time . This is expected.
7. Make and install the accompanying Application.
8. Run the App and follow the steps to get the DMA run.