Nios® V/II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® V/II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++

Why linux did not boot?

Altera_Forum
Honored Contributor II
1,178 Views

Hi all, 

After I "make linux image" in red hat linux,I download the zImage to the ram of my custom board with the command "nios2-download zImage" in the Nios2 Command Shell. 

When I run "nios2-terminal" in the Nios2 Command Shell, the linux did not boot,why? 

Please tell me how to do? The following is the message: 

. Removing old PATH, because a copy of 

. cygwin1.dll was found at: 

. /usr/bin/cygwin1.dll 

. You can remove or rename it to avoid conflict. 

------------------------------------------------ 

Welcome To Altera SOPC Builder 

 

Version 6.0, Built Fri Jun 16 08:10:03 PDT 2006 

------------------------------------------------ 

 

------------------------------------------------ 

Welcome to the Nios II Embedded Design Suite 

Version 6.0, Built Fri Apr 21 04:12:54 PDT 2006 

 

Example designs can be found in 

/cygdrive/e/altera/examples 

 

------------------------------------------------ 

(Executing user startup script: e:/altera/user.bashrc) 

 

------------------------------------------------ 

Microtronix Linux Extensions 

Version 1.4, Built June 20, 2005 

------------------------------------------------ 

/cygdrive/e/altera/examples 

[SOPC Builder]$ cd .. 

/cygdrive/e/altera 

[SOPC Builder]$ cd .. 

/cygdrive/e 

[SOPC Builder]$ cd zImage_ 

/cygdrive/e/zImage_ 

[SOPC Builder]$ ls 

nios2.ptf zImage 

/cygdrive/e/zImage_ 

[SOPC Builder]$ nios2-download zImage 

Using cable "ByteBlasterII [LPT1]", device 1, instance 0x00 

Pausing target processor: not responding. 

Resetting and trying again: OK 

Initializing CPU cache (if present) 

OK 

Downloaded 722KB in 17.3s (41.7KB/s) 

Verified OK 

Leaving target processor paused 

/cygdrive/e/zImage_ 

[SOPC Builder]$ nios2-terminal 

nios2-terminal: connected to hardware target using JTAG UART on cable 

nios2-terminal: "ByteBlasterII [LPT1]", device 1, instance 0 

 

nios2-terminal: Warning: The JTAG cable you are using is not supported for Nios 

nios2-terminal: II systems. You may experience intermittent JTAG communication 

nios2-terminal: failures with this cable. Please use a USB Blaster revision B 

nios2-terminal: cable or another supported cable. Please refer to the file 

nios2-terminal: errata.txt included in the Nios II development kit documents 

nios2-terminal: directory for more information. 

 

nios2-terminal: (Use the IDE stop button or Ctrl-C to terminate)
0 Kudos
1 Reply
Altera_Forum
Honored Contributor II
294 Views

Finally,I add -g after nios2-download,then it is ok. http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/biggrin.gif

0 Kudos
Reply