Forum Discussion
Altera_Forum
Honored Contributor
10 years agomSGDMA, Qsys, and Linux Integration
So I've been trying to get the Modular SG-DMA working in a Qsys project tied with Linux. I can get it to show up in the device tree, be recognized by Linux in /sys, and it looks like the memory mappi...
Altera_Forum
Honored Contributor
10 years ago --- Quote Start --- What value is MAP_PIO_SIZE? --- Quote End --- # define MAP_PIO_SIZE (0x00100000) In my case I dedicate 1 MB of top of memory to FPGA. To dedicate it to FPGA I start kernel with mem option setenv net_nfs run netload nfsargs addip addargs \; bridge enable \; bootm ${kernel_addr_r} - ${fdt_addr} mem=0x3FF00000 where 0x3FF00000 is 2 GB ( RAM installed on the board ) - 1 MB (dedicated to FPGA)