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

Is flash absolutely necessarily?

Altera_Forum
Honored Contributor II
1,051 Views

I'm now using the Microtronx nios2linux-1.4 to run linux on NIOS. 

When i build the project, it says that it needs a flash to upload the kernel to, but we don't have a flash in our board, the result is that i cann't go on with it. 

Is flash absolutely necessarily?If not, what should i do? 

I'm a newer in nios,can anybody give me advice?Thanks in advance!
0 Kudos
5 Replies
Altera_Forum
Honored Contributor II
308 Views

 

--- Quote Start ---  

originally posted by bogwind@Sep 10 2006, 08:55 AM 

i'm now using the microtronx nios2linux-1.4 to run linux on nios. 

when i build the project, it says that it needs a flash to upload the kernel to, but we don't have a flash in our board, the result is that i cann't go on with it. 

is flash absolutely necessarily?if not, what should i do? 

i'm a newer in nios,can anybody give me advice?thanks in advance! 

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

--- quote end ---  

 

--- Quote End ---  

 

you can download you system in your sdram indirectly.Then run it in sdram.
0 Kudos
Altera_Forum
Honored Contributor II
308 Views

 

--- Quote Start ---  

originally posted by smalllight+sep 11 2006, 12:27 am--><div class='quotetop'>quote (smalllight @ sep 11 2006, 12:27 am)</div> 

--- quote start ---  

<!--quotebegin-bogwind@Sep 10 2006, 08:55 AM 

i&#39;m now using the microtronx nios2linux-1.4 to run linux on nios. 

when i build the project, it says that it needs a flash to upload the kernel to, but we don&#39;t have a flash in our board, the result is that i cann&#39;t go on with it. 

is flash absolutely necessarily?if not, what should i do? 

i&#39;m a newer in nios,can anybody give me advice?thanks in advance! 

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

--- quote end ---  

 

--- Quote End ---  

 

you can download you system in your sdram indirectly.Then run it in sdram. 

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

[/b] 

--- Quote End ---  

 

Thank u for your reply! 

When i build the project, it says that it needs a flash to upload the kernel to, if there isn&#39;t any flash, the NIOS II IDE wann&#39;t let you go on. 

So could you please tell me how could i download the system to sdram indirectily in detail?
0 Kudos
Altera_Forum
Honored Contributor II
308 Views

So if the IDE wants it, why don&#39;t you offere one? 

Even it is not on your board, you can try to add one. Or just edit your PTF-File.
0 Kudos
Altera_Forum
Honored Contributor II
308 Views

you can use the command " nios2tdownload.exe -g vmlinux",the vmlinux can upload to sdram with jtag.then the linux will run in sdram, you can use command "nios2terminal" to login to your linux system

0 Kudos
Altera_Forum
Honored Contributor II
308 Views

 

--- Quote Start ---  

originally posted by bogwind@Sep 10 2006, 09:55 PM 

i&#39;m now using the microtronx nios2linux-1.4 to run linux on nios. 

when i build the project, it says that it needs a flash to upload the kernel to, but we don&#39;t have a flash in our board, the result is that i cann&#39;t go on with it. 

is flash absolutely necessarily?if not, what should i do? 

i&#39;m a newer in nios,can anybody give me advice?thanks in advance! 

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

--- quote end ---  

 

--- Quote End ---  

 

The flash is needed for the root file system with romfs, if you use the Microtronix&#39;s kit. 

You must find other root file system, since you don&#39;t have flash. 

 

You may follow the nios wiki to use initramfs for root fs. It might save a lot of troubles.
0 Kudos
Reply