Forum Discussion
Altera_Forum
Honored Contributor
19 years agoIs flash absolutely necessarily?
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!5 Replies
- Altera_Forum
Honored Contributor
--- 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.
- Altera_Forum
Honored Contributor
--- 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'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. <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't any flash, the NIOS II IDE wann't let you go on. So could you please tell me how could i download the system to sdram indirectily in detail?
- Altera_Forum
Honored Contributor
So if the IDE wants it, why don't you offere one?
Even it is not on your board, you can try to add one. Or just edit your PTF-File. - Altera_Forum
Honored Contributor
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
- Altera_Forum
Honored Contributor
--- Quote Start --- originally posted by bogwind@Sep 10 2006, 09:55 PM 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 --- The flash is needed for the root file system with romfs, if you use the Microtronix's kit. You must find other root file system, since you don't have flash. You may follow the nios wiki to use initramfs for root fs. It might save a lot of troubles.