Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
19 years ago

adding network to linux image

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

2 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    --- 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 ?
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

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