Altera_Forum
Honored Contributor
19 years agoA problem about ethernet in Nios uClinux
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 ─> [*] 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's reply.