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

uClinux using Nios II e-core

Altera_Forum
Honored Contributor II
2,827 Views

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 II
831 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 , 

0 Kudos
Altera_Forum
Honored Contributor II
831 Views

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

0 Kudos
Altera_Forum
Honored Contributor II
831 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;
0 Kudos
Altera_Forum
Honored Contributor II
831 Views
0 Kudos
Altera_Forum
Honored Contributor II
831 Views
0 Kudos
Altera_Forum
Honored Contributor II
831 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
0 Kudos
Altera_Forum
Honored Contributor II
831 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
0 Kudos
Altera_Forum
Honored Contributor II
831 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.
0 Kudos
Altera_Forum
Honored Contributor II
831 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
0 Kudos
Altera_Forum
Honored Contributor II
831 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
0 Kudos
Reply