Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Altera_Forum
Honored Contributor I
2,154 Views

uClinux using Nios II e-core

Hello Everyone, 

 

I wanted to see if anyone has tried uClinux on Nios II e-core.?  

 

I'm trying to run uClinux 2.6.30 on Nios II e-core. In the make menuconfig, I have turned off Hardware Multiplier option (since e-core doesn't have one). But after I download the image and try to run it, it gets stuck at  

 

"Uncompressing Linux... Ok, booting the kernel." 

 

Btw I'm able to run uClinux 2.6.30 on Nios II f-core. 

 

Any help is appreciated. 

 

 

Thanks, 

Tedy
0 Kudos
10 Replies
Altera_Forum
Honored Contributor I
158 Views

hello ,i am trying to transplant the uclinux to my cyclone IV , i found a detail description about uClinux on Altera Wiki page, but i encountered several problems as follows: 

1>my environment is ubuntu 12.04 - 64bit ,i cannot success to configure my toolchain (prebuild toolchain nios2gcc-20080203.tar.bz2 )PATH right:i add this line in ~/.profile:PATH=/opt/nios2/bin:$PATH;export . but nios2-linux-uclibc-gcc -v failed; then i chose to use ubuntu 11.04 32-bit ,it works; 

so, what is your linux version ?  

2>I cannot download http://sopc.et.ntust.edu.tw/pub/linux/nios2-linux-20100621.tar ,it seems the link is out of work; 

so i use ftp://ftp.altera.com/outgoing/nios2-linux/20120802/ instead ; but when i come into uclinux-dist:# make menuconfig ,it failed;said that :  

 

Are you do your job as the same as Wiki page do ?? 

 

now ,i cannot make any progress , 

Altera_Forum
Honored Contributor I
158 Views

Is it uClinux without MMU? This is because Nios II e does not support MMU.

Altera_Forum
Honored Contributor I
158 Views

 

--- Quote Start ---  

Is it uClinux without MMU? This is because Nios II e does not support MMU. 

--- Quote End ---  

 

 

hey, mikedsouze ,where can i down load the nios2-linux-20120621.tar ? 

 

the link in Wiki is invalid;
Altera_Forum
Honored Contributor I
158 Views

Altera_Forum
Honored Contributor I
158 Views

Altera_Forum
Honored Contributor I
158 Views

 

--- Quote Start ---  

Is it uClinux without MMU? This is because Nios II e does not support MMU. 

--- Quote End ---  

 

 

Hey Mike.  

 

It is uClinux without MMU.  

 

Tedy
Altera_Forum
Honored Contributor I
158 Views

i come across it too,if you are using nios2nommu , which reset_address are you choose in sopc->cpu??? maybe you should choose flash controller . 

 

Frank
Altera_Forum
Honored Contributor I
158 Views

Reference: http://www.alterawiki.com/wiki/uclinux 

e core has no hardware multiplier, so it needs a hack (under hardware requirements section). But I am not sure what "hack" is it referring to.
Altera_Forum
Honored Contributor I
158 Views

 

--- Quote Start ---  

Reference: http://www.alterawiki.com/wiki/uclinux 

e core has no hardware multiplier, so it needs a hack (under hardware requirements section). But I am not sure what "hack" is it referring to. 

--- Quote End ---  

 

 

Hey Mike, 

 

Hardware multiplier is not the problem. I have run s-core without hw_mul and it works fine. The issue is with icache. Need to tell the kernel there is no icache. 

 

Tedy
Altera_Forum
Honored Contributor I
158 Views

 

--- Quote Start ---  

Reference: http://www.alterawiki.com/wiki/uclinux 

e core has no hardware multiplier, so it needs a hack (under hardware requirements section). But I am not sure what "hack" is it referring to. 

--- Quote End ---  

 

 

Hey Mike, 

 

I have tested uClinux on Nios II s-core without hw multiplier & its working. So I don't think hw multiplier is the issue. I think it has to do with icache.  

 

Tedy
Reply