Forum Discussion
Loading 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 ~/uClinux/distro/nios2-linux/uClinux-dist/images/zImage /opt/nios2eds/bin/nios2-gdb-server-wrapped: error while loading shared libraries: libjtag_client.so: cannot open shared object file: no such file or directory. Where is the mistake? Thanks in advance.35 Replies
- Altera_Forum
Honored Contributor
Myself added ,
1.mkdir /etc/jtagd cp /opt/quartus/linux/pgm_parts.txt /etc/jtagd/jtagd.pgm_parts 2.etc/rc.local---> /opt/quartus/bin/jtagd 3.empty file called .jtagd.conf created in home directory, even though same problem when i typed in terminal "jtagconfig" 1) USB-Blaster variant [7-1] Unable to lock chain (Insufficient port permissions) plz any help? - Altera_Forum
Honored Contributor
alex@alex:~$ cat /lib/udev/rules.d/51-usbblaster.rules
echo 'attr{idvendor}=="09fb", attr{idproduct}=="6001" mode="666"' ya its showing ,after that i reboot my machine also. - Altera_Forum
Honored Contributor
The rules file should not contain "echo". This means that you did not use the file from my zip archive at this post (http://www.alteraforum.com/forum/showpost.php?p=154547&postcount=9)
Use the file from the zip file to overwrite the existing 51-usbblaster.rules file and try again. N. - Altera_Forum
Honored Contributor
Now i changed the 51-usbblaster.rules files, but ....
alex@alex:~$ cat /lib/udev/rules.d/51-usbblaster.rules attr{idvendor}=="09fb", attr{idproduct}=="6001", mode="666" alex@alex:~$ jtagconfig 1) usb-blaster variant [7-1]unable to lock chain (insufficient port permissions)
- Altera_Forum
Honored Contributor
Did you reboot after changing the file?
N. - Altera_Forum
Honored Contributor
ya, i reboot the system, but no use, same problem.........
- Altera_Forum
Honored Contributor
That should have worked. Maybe you can try one of the other solutions from this thread (http://www.alteraforum.com/forum/showthread.php?t=5893).
N. - Altera_Forum
Honored Contributor
Really so sad, what i have to , y jtagconfig is not working , else can i try it under windows? any suggestions?
Thanks - Altera_Forum
Honored Contributor
In my case usb-blaster is working, in those posts they explained about usb-blaster on uubntu only, really i dont know , what i have to do, nearly one week , i tried but failed.
can i try it in windows? Thanks for ur suggestions. - Altera_Forum
Honored Contributor
You can always try running everything as root. Just type "sudo su" at the command prompt to become root (that way you don't have to type sudo everytime) and run jtagconfig.
N.