Forum Discussion
load kernel linux in 2C35 board
load kernel linux in board 2c35
Hello, i have a problem to load kernal of µclinux in board 2C35, you have any solution to do this,using commande linux of host pc or quartus or nios2eds ? i followed the step of this link http://nioswiki.com/operatingsystems...uartusforlinux (http://nioswiki.com/operatingsystems/uclinux/quartusforlinux) but when i tape jtagconfig the message appeare [NiosII EDS]$ jtagconfigbash: jtagconfig : commande not found /opt if you have any suggestion for this
13 Replies
- Altera_Forum
Honored Contributor
Hi there,
thats the same problem as in your other post, your path variable is not correct. Again for me its: PATH=$PATH:/opt/altera9.1sp2/quartus/bin/ - Altera_Forum
Honored Contributor
hello,
thank's for you , just i'm know in the next step when i would execute this commande: nios2-download -g /opt/altera9.1sp1/nios2-linux/uClinux-dist/images the follow errors appears [NiosII EDS]$ nios2-download -g /opt/altera9.1sp1/nios2-linux/uClinux-dist/images/zImage /opt/altera9.1sp1/nios2eds/bin/nios2-download: line 586: nios2-elf-objcopy : commande introuvable /opt/altera9.1sp1/nios2eds/bin/nios2-gdb-server-wrapped: error while loading shared libraries: libjtag_client.so: cannot open shared object file: no such file or directory please what i should do ? - Altera_Forum
Honored Contributor
you obviously have a big problem with your environment variables. Chech all your Quartus installation, find out where all the Quartus and Nios executables are, and check that your environment variables are correct.
- Altera_Forum
Honored Contributor
hello,
my variable PATH is usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/root/bin:/opt/altera9.1sp1/quartus/bin:/opt/altera9.1sp1/quartus/linux:/opt/altera9.1sp1/nios2eds/bin so do you think in this PATH there is any problem ? or i should add any things ? - Altera_Forum
Honored Contributor
What are the contents of LD_LIBRARY_PATH, QUARTUS_ROOTDIR and SOPC_KIT_NIOS2 ?
You also seem to be missing the path to the GNU tools (something like /opt/altera9.1sp1/nios2eds/bin/nios2-gnutools/H-i686-pc-linux-gnu/bin) - Altera_Forum
Honored Contributor
hello,
thank's for advices i add the /opt/altera9.1sp1/nios2eds/bin/nios2-gnutools/H-i686-pc-linux-gnu/bin)to the PATH when i execute the commande [NiosII EDS]$ nios2-download -g /opt/altera9.1sp1/nios2-linux/uClinux-dist/images/zImage the message appear: Using cable "USB-Blaster [USB 7-1.2]", device 1, instance 0x00 Pausing target processor: not responding. Resetting and trying again: FAILED Leaving target processor paused for the value of variable: QUARTUS_ROOTDIR=/opt/altera9.1sp1/quartus $SOPC_KIT_NIOS2 =/opt/altera9.1sp1/nios2eds but there are anthing in variable LD_LIBRARY_PATH ? - Altera_Forum
Honored Contributor
I am getting this same error while trying to download a Linux image, except it seems a little bit intermittent.
The download was working, then it wasn't. Then it failed the first time but succeeded on the retry. After that, it worked for a while, but then failed again. For what its worth, the time it failed and succeeded on the retry was using Windows. Most of the time, I have been using Linux. - Altera_Forum
Honored Contributor
The quartus tools and USB drivers seem to work this time, but they can't find the CPU in the FPGA.
Did you configure the FPGA with the proper .sof image first? - Altera_Forum
Honored Contributor
The .sof file is in the flash. However, even when I try to download it using 'nios2-configure-sof', I still have trouble running with the 'nios2-download'.
I was able to briefly regain good performance after running this same sequence on the Windows partition. Eventually, it started failing on the Linux side with this same error. - Altera_Forum
Honored Contributor
Are you sure it is the exact same .sof file in both cases? I fail to see why the CPU wouldn't respond when you try to access it from the linux machine.
When you run nios2-configure-sof on the silux machine, are you sure everything goes well? No error?