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++
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.

uClinux boot routine

Altera_Forum
Honored Contributor II
1,389 Views

Hello, 

 

I'm just curious about the boot process of uClinux on my NIOSII board. I'm downloading 

 

the zImage over the NIOSII command shell: nios2-download -g 

 

What is the relation between the bootloader and the zImage file and whats with the -g 

 

parameter in the command? 

 

Would like to explain this part in my documentation and would appreciate if somebody 

 

could give some comments. 

 

Thanks again, 

 

Roman
0 Kudos
5 Replies
Altera_Forum
Honored Contributor II
483 Views

-g just says nios2-download to start the CPU after the download. If you omit -g, nios2-download will load the elf file in memory, but leave the CPU in a paused state.

0 Kudos
Altera_Forum
Honored Contributor II
483 Views

 

--- Quote Start ---  

whats with the -g parameter in the command? 

--- Quote End ---  

 

nios2-download --help 

-Michael
0 Kudos
Altera_Forum
Honored Contributor II
483 Views

Thx for replies. 

 

So where is the zImage file stored when I'm downloading with this methode to the board? 

 

Roman
0 Kudos
Altera_Forum
Honored Contributor II
483 Views

The elf file itself contains the address at which the data should be uploaded.

0 Kudos
Altera_Forum
Honored Contributor II
483 Views

thanks a lot

0 Kudos
Reply