Forum Discussion
Altera_Forum
Honored Contributor
12 years agoCyclone V - How to split DDR3 memory for HPS and FPGA?
Hello everybody, I have an EBV SoCrates Board (Cyclone V) with me. I want to devide the external DDR3 memory into 3 partiions. One partition for linux/hps, one partition for the fpga and a...
Altera_Forum
Honored Contributor
12 years agoHi Guinea, I managed to create 2 partitions on the HPS SDRAM - 1 for the Linux operating system, the other for exclusive use by the FPGA. You can take a look at: https://support.criticallink.com/redmine/projects/mityarm-5cs/wiki/writing_to_hps_memory for an excellent tutorial on how to do this. The magic is in setting the bootloader argument as follows:
- setenv mmcboot 'setenv bootargs console=ttyS0,115200 root=${mmcroot} rw rootwait mem=512M;bootz ${loadaddr} - ${fdtaddr}'
- saveenv