Forum Discussion
Altera_Forum
Honored Contributor
10 years agodear badOman
I have cyclone V custom board with 2G sdram configured with Qsys 14.1. my problem is when i try to write with memtool to address from 0x80000000 to 0xc0000000 i get error massage root@socfpga_cyclone5:~# echo 1 > /sys/class/fpga-bridge/lwhps2fpga/enable root@socfpga_cyclone5:~# echo 1 > /sys/class/fpga-bridge/hps2fpga/enable root@socfpga_cyclone5:~# echo 1 > /sys/class/fpga-bridge/fpga2hps/enable root@socfpga_cyclone5:~# memtool -32 0x80000000=0x00200100 Writing 32-bit value 0x200100 to address 0x80000000 [ 6879.506640] Unhandled fault: external abort on non-linefetch (0x1818) at 0x76fe9000 Bus error root@socfpga_cyclone5:~# i do open the bgidges but it looks like the kernel cant see the memory region 0x80000000 to 0xc0000000 i know it is related to the preloader since when i use preloader generated with quartus 13.1 i dont have that problem as mentioned on# 3 before can you give some more dtails how to configure the hps to be exposed to 3GB sdram thanks yehuda otzri