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

A problem about ethernet in Nios uClinux

Altera_Forum
Honored Contributor II
1,137 Views

Hello, everyone,  

 

I am doing some work in Nios II with uClinux, and want to build the kenel with ehternet. But when I followed the instruction in nioswiki webpage, I met some problems. My Nios development board could not found the ethernet device. 

The following is the procedure in nioswiki. 

 

>>To enable network support, eg if you use the Altera dev board with SMC91111, 

Networking --> 

[*] Networking support  

Networking options --->  

<*> Packet socket  

<*> Unix domain sockets  

[*] TCP/IP networking 

 

>>Device Drivers -->Network device support &#9472;> 

[*] Network device support 

[*] Ethernet (10 or 100Mbit) 

<*> SMC 91111 support 

 

I do this correctly, and kernel was complied successfully. 

 

>>Then rebuild the kernel, and boot nios2 uclinux. 

>>It should detect the SCM 91111 device as eth0. 

>>Then config the ip address and router. 

>>ifconfig eth0 192.168.1.10 

 

I boot nios2 uclinux, when i use ifconfig eth0, uclinux tells me that : device not found. Really, I do not know how to reslove the problem. Please help me to find the reason.  

 

The environment:  

Nios Development Kit, Stratix Edition; 

uClinux and patch, downloaded from nioswiki, standard; 

Quartus II 5.0, Nios II 5.0;  

 

I am looking forward to your&#39;s reply.
0 Kudos
2 Replies
Altera_Forum
Honored Contributor II
445 Views

The irq number of the ether chip can not be zero. 

Please change it in SOPC builder, and rebuild sof. 

Then start from vendor_hwselect again.
0 Kudos
Altera_Forum
Honored Contributor II
445 Views

Thank you very much, hippo! 

The irq 0 can not be allocated to any device!
0 Kudos
Reply