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

adding network to linux image

Altera_Forum
Honored Contributor II
968 Views

Hello, 

 

Can someone help me. I have successfully built a nios ii linux zImage, and able to boot it. 

 

However, I don't seem to be able to make it run ifconfig eth0 192.168.50.63 

 

I tried to change romfs/etc/rc before doing a 

 

make 

make linux image 

 

But, it doesn't work. Can someone please help ? What do i need to do ? 

 

Thanks
0 Kudos
2 Replies
Altera_Forum
Honored Contributor II
255 Views

 

--- Quote Start ---  

originally posted by albertyong88@Aug 14 2006, 10:08 AM 

hello, 

 

can someone help me. i have successfully built a nios ii linux zimage, and able to boot it. 

 

however, i don't seem to be able to make it run ifconfig eth0 192.168.50.63 

 

i tried to change romfs/etc/rc before doing a 

 

make 

make linux image 

 

but, it doesn't work. can someone please help ? what do i need to do ? 

 

thanks 

<div align='right'><{post_snapback}> (index.php?act=findpost&pid=17579) 

--- quote end ---  

 

--- Quote End ---  

 

 

I subsequently went to vendor/Altera/nios2nommu/rc. Changed it, and it makes no different 

 

Do I need to do a make clean ?
0 Kudos
Altera_Forum
Honored Contributor II
255 Views

 

--- Quote Start ---  

originally posted by albertyong88@Aug 14 2006, 10:08 AM 

hello, 

 

can someone help me. i have successfully built a nios ii linux zimage, and able to boot it. 

 

however, i don&#39;t seem to be able to make it run ifconfig eth0 192.168.50.63 

 

i tried to change romfs/etc/rc before doing a 

 

make 

make linux image 

 

but, it doesn&#39;t work. can someone please help ? what do i need to do ? 

 

thanks 

<div align='right'><{post_snapback}> (index.php?act=findpost&pid=17579) 

--- quote end ---  

 

--- Quote End ---  

 

 

Hi, I did the following and it works: 

 

make clean 

rm -r romfs/ 

make linux_hwselect SYSPTF=~/uClinux-dist-test/std_2C35.ptf 

make romfs 

make menuconfig 

make 

make linux image 

 

Just wondering if anyone knows the stages I can ignore. Are there documents describing each process for making a linux image ?
0 Kudos
Reply