Forum Discussion
Altera_Forum
Honored Contributor
16 years agouClinux boot routine
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, Roman5 Replies
- Altera_Forum
Honored Contributor
-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.
- Altera_Forum
Honored Contributor
--- Quote Start --- whats with the -g parameter in the command? --- Quote End --- nios2-download --help -Michael - Altera_Forum
Honored Contributor
Thx for replies.
So where is the zImage file stored when I'm downloading with this methode to the board? Roman - Altera_Forum
Honored Contributor
The elf file itself contains the address at which the data should be uploaded.
- Altera_Forum
Honored Contributor
thanks a lot