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++

zImage built for dev boards

Altera_Forum
Honored Contributor II
1,331 Views

I prepared some zImage for dev boards with buildroot tools. 

They use minimal config ~/download/kernel.config . 

 

To use, open the quartus II project, and download sof to your board. 

for altera nios II dev boads, altera/kits/nios2/examples/verilog/ 

eg. niosII_stratix_1s10/standard/standard.sof 

for DE2, DE2_System/DE2_demonstrations/DE2_NET/DE2_NET.sof 

 

Then, open a sdk shell window, with Start-->Programs-->Altera-->Nios II 5.1-->Nios II SDK Shell 

nios2-download -g zImage 

nios2-terminal 

 

http://hungryhippo.myweb.hinet.net/zimage_de2_net (http://hungryhippo.myweb.hinet.net/zimage_de2_net)  

http://hungryhippo.myweb.hinet.net/zimage_std_1c12 (http://hungryhippo.myweb.hinet.net/zimage_std_1c12

http://hungryhippo.myweb.hinet.net/zimage_std_1s10 (http://hungryhippo.myweb.hinet.net/zimage_std_1s10

http://hungryhippo.myweb.hinet.net/zimage_std_2c35 (http://hungryhippo.myweb.hinet.net/zimage_std_2c35

http://hungryhippo.myweb.hinet.net/zimage_full_1s40 (http://hungryhippo.myweb.hinet.net/zimage_full_1s40

http://hungryhippo.myweb.hinet.net/zimage_std_1c20 (http://hungryhippo.myweb.hinet.net/zimage_std_1c20

http://hungryhippo.myweb.hinet.net/zimage_std_1s40 (http://hungryhippo.myweb.hinet.net/zimage_std_1s40

http://hungryhippo.myweb.hinet.net/zimage_std_2s60 (http://hungryhippo.myweb.hinet.net/zimage_std_2s60

or find them on Jhdar's site, (thanks a lot to his help) 

http://via.fps-tech.org/snapshots/nios2/ (http://via.fps-tech.org/snapshots/nios2/)  

 

for 2s60es and 1s10es, use 2s60 and 1s10es 's zImage. 

 

Hope these will help. 

 

PS. Please let me know if the updated link work or not?
0 Kudos
5 Replies
Altera_Forum
Honored Contributor II
687 Views

 

--- Quote Start ---  

originally posted by hippo@May 7 2006, 03:52 AM 

i prepared some zimage for dev boards with buildroot tools. 

they use minimal config ~/download/kernel.config . 

 

to use, open the quartus ii project, and download sof to your board. 

for altera nios ii dev boads, altera/kits/nios2/examples/verilog/ 

eg.  niosii_stratix_1s10/standard/standard.sof 

for de2, de2_system/de2_demonstrations/de2_net/de2_net.sof 

 

then, open a sdk shell window, with start-->programs-->altera-->nios ii 5.1-->nios ii sdk shell 

nios2-download -g zimage 

nios2-terminal 

 

http://hungryhippo.jot.com/wikihome/zimage_std_1s10 (http://hungryhippo.jot.com/wikihome/zimage_std_1s10

http://hungryhippo.jot.com/wikihome/zimage_std_1s40 (http://hungryhippo.jot.com/wikihome/zimage_std_1s40

http://hungryhippo.jot.com/wikihome/zimage_full_1s40 (http://hungryhippo.jot.com/wikihome/zimage_full_1s40

http://hungryhippo.jot.com/wikihome/zimage_std_2c35 (http://hungryhippo.jot.com/wikihome/zimage_std_2c35

http://hungryhippo.jot.com/wikihome/zimage_de2_net (http://hungryhippo.jot.com/wikihome/zimage_de2_net

http://hungryhippo.jot.com/wikihome/zimage_std_1c12 (http://hungryhippo.jot.com/wikihome/zimage_std_1c12

http://hungryhippo.jot.com/wikihome/zimage_std_1c20 (http://hungryhippo.jot.com/wikihome/zimage_std_1c20

http://hungryhippo.jot.com/wikihome/zimage_std_2s60 (http://hungryhippo.jot.com/wikihome/zimage_std_2s60

 

for 2s60es and 1s10es, use 2s60 and 1s10es 's zimage. 

 

hope these will help. 

<div align='right'><{post_snapback}> (index.php?act=findpost&pid=15136) 

--- quote end ---  

 

--- Quote End ---  

 

 

Hi hippo, 

all those links need to sign in with user name and password !
0 Kudos
Altera_Forum
Honored Contributor II
687 Views

Hi hippo, 

I noticed that the zImage files are compressed in a gz format, is that possible to do so with a bz2 format since the last seems more size efficient.
0 Kudos
Altera_Forum
Honored Contributor II
687 Views

 

--- Quote Start ---  

originally posted by mfm@May 8 2006, 06:23 AM 

hi hippo, 

i noticed that the zimage files are compressed in a gz format, is that possible to do so with a bz2 format since the last seems more size efficient. 

<div align='right'><{post_snapback}> (index.php?act=findpost&pid=15161) 

--- quote end ---  

 

--- Quote End ---  

 

Those are elf, and to be used directly to nios2-download. 

The uncompress loader uses gz format internally, because there is a build-in gunzip inside the kernel library. It is possible to use bz2, but that would require adding the bunzip2 to the loader.
0 Kudos
Altera_Forum
Honored Contributor II
687 Views

 

--- Quote Start ---  

originally posted by hippo+may 8 2006, 03:14 am--><div class='quotetop'>quote (hippo @ may 8 2006, 03:14 am)</div> 

--- quote start ---  

<!--quotebegin-mfm@May 8 2006, 06:23 AM 

hi hippo, 

i noticed that the zimage files are compressed in a gz format, is that possible to do so with a bz2 format since the last seems more size efficient. 

<div align='right'><{post_snapback}> (index.php?act=findpost&pid=15161) 

--- quote end ---  

 

--- Quote End ---  

 

Those are elf, and to be used directly to nios2-download. 

The uncompress loader uses gz format internally, because there is a build-in gunzip inside the kernel library. It is possible to use bz2, but that would require adding the bunzip2 to the loader. 

<div align='right'><{post_snapback}> (index.php?act=findpost&pid=15163)</div> 

[/b] 

--- Quote End ---  

 

I noticed in the compressed directory the files vmlinux.bin and vmlinux.gz, so I concluded that you compress the bin with gz before transforming to a zImage, so my question wasis that possible to do so but with bz2 format, and how.
0 Kudos
Altera_Forum
Honored Contributor II
687 Views

TO_BE_DONE

0 Kudos
Reply