Forum Discussion
Altera_Forum
Honored Contributor
13 years agoLoading image to SDRAM under ubuntu
Hi, I am trying to run uclinux on DE0-Nano, and i successfully generated the zImage, but iam unable to load the image into SDRAM, it showing error like alex@alex:~$ nios2-download -g ~/...
Altera_Forum
Honored Contributor
13 years agoMy guess is that you need to add the quartus library directory containing the required so files to the LD_LIBRARY_PATH variable.
For Quartus v12.0 it should be located in <path-to-quartus>/12.0/quartus/linux64 where <path-to-quartus> depends on where you installed the software. Try this: export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:<path-to-quartus>/12.0/quartus/linux64; nios2-download -g ~/uClinux/distro/nios2-linux/uClinux-dist/images/zImage N.