Forum Discussion
Altera_Forum
Honored Contributor
19 years agoFlashProgrammer has some problem!
Hi, everybody
I'm newbie for niosII uClinux. I want NiosII boot from CFI Flash but I open NIOSII Command Shell can't find "cd arch/nios2nommu/boot" dir. Is my NIOSII Command shell has some problem? Need you help! thank you for your give me some suggest! NiosQ22 Replies
- Altera_Forum
Honored Contributor
--- Quote Start --- originally posted by niosq@Feb 9 2007, 11:52 PM hi, everybodyi'm newbie for niosii uclinux. i want niosii boot from cfi flash but i open niosii command shell can't find "cd arch/nios2nommu/boot" dir. is my niosii command shell has some problem?
need you help!
thank you for your give me some suggest!
niosq
<div align='right'><{post_snapback}> (index.php?act=findpost&pid=21419)
--- quote end ---
--- Quote End --- PS: I am used QuartusII 6.0 version.
- Altera_Forum
Honored Contributor
The wiki page is updated.
You have to build uClinux with uClinux-dist and test the image from sdram, before trying flash programmer. - Altera_Forum
Honored Contributor
--- Quote Start --- originally posted by hippo@Feb 10 2007, 11:11 AM the wiki page is updated.you have to build uclinux with uclinux-dist and test the image from sdram, before trying flash programmer.
<div align='right'><{post_snapback}> (index.php?act=findpost&pid=21427)
--- quote end ---
--- Quote End --- Hi,hippo I has to build uClinux-dist and test the image from sdram. I will following wiki page try out flash programmer, but when I open NIOSII Command Shell can't find "cd arch/nios2nommu/boot" dir. Is my NIOSII Command shell has some problem?
- Altera_Forum
Honored Contributor
The wiki page is changed. There is no need to "cd arch/nios2nommu/boot" now.
If you have tried from sdram, you should know where is the zImage. ~/uClinux-dist/images. If you work on Linux, open a normal terminal shell. If you work on Windows, you have to copy the zImage to a temp window dir. And work in that dir. - Altera_Forum
Honored Contributor
--- Quote Start --- originally posted by hippo@Feb 12 2007, 02:59 AM the wiki page is changed. there is no need to "cd arch/nios2nommu/boot" now.if you have tried from sdram, you should know where is the zimage. ~/uclinux-dist/images.
if you work on linux, open a normal terminal shell.
if you work on windows, you have to copy the zimage to a temp window dir. and work in that dir.
<div align='right'><{post_snapback}> (index.php?act=findpost&pid=21442)
--- quote end ---
--- Quote End --- thx,hippo I saw it! I following your FLASH PROGRAMMER userguide but when I open Nios2 Command Shell and excute "nios2-configure-sof DE2_NET.sof", display follwoing error message: Searching for SOF file: in . DE2_NET.sof Error: Can't scan JTAG chain. Error code 87. I have try out nios2-configure-sof standard.sof ,but display same error message. How to slove it! I need your help! Thanks you again!
- Altera_Forum
Honored Contributor
PS: when I open Linux shell terminal (coLinux) and excute "nios2-configure-sof DE2_NET.sof" display following message.
NiosQ@localhost ~/uClinux-dist $ nios2-configure-sof DE2_NET.sof -bash: nios2-configure-sof: command not found - Altera_Forum
Honored Contributor
--- Quote Start --- originally posted by niosq@Feb 12 2007, 04:07 AM ps: when i open linux shell terminal (colinux) and excute "nios2-configure-sof de2_net.sof" display following message.niosq@localhost ~/uclinux-dist $ nios2-configure-sof de2_net.sof
-bash: nios2-configure-sof: command not found
<div align='right'><{post_snapback}> (index.php?act=findpost&pid=21444)
--- quote end ---
--- Quote End --- Sorry! I found it must powerup on DE2 board. I used NiosII command shell it can work! but when I open Linux shell terminal (coLinux) and excute "nios2-configure-sof DE2_NET.sof" display following message. NiosQ@localhost ~/uClinux-dist $ nios2-configure-sof DE2_NET.sof -bash: nios2-configure-sof: command not found
- Altera_Forum
Honored Contributor
That's right. You cannot use Linux shell to program jtag on coLinux under windows. You can only use Linux shell to program jtag on Native Linux.
- Altera_Forum
Honored Contributor
Dear,hippo
thanks you for your reply. http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/biggrin.gif - Altera_Forum
Honored Contributor
Hi,hippo
I used DE2 board. Can I programmer Hardware.sof and zImage noto CFI Flash? Or hardware.sof need programmer to EPCS flash? regards NiosQ