Forum Discussion

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

DE2 Ethernet from a custom design

Hi !

I am currently trying to make my DE2 custom design working with uCLinux.

I followed the excelent hippo wiki but even after enable DM9000A device driver, eth0 is not recognized after uCLinux boot.

When I am trying to do ifconfig eth0 192.168.1.10 it returns me:

SIOCSIFADDR: No such device

So I tried to have a look in the dmesg output, but it seems the command is unavailable.

Can anyone give me a hand ?

Thank you !

3 Replies

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

    You should find a line like this in the boot message, where the chip is probed.

    <DM9KS> I/O: 80900090, VID: 90000a46

    You can use "cat /proc/kmsg" to display the kernel message.

    If the chip is not probed, you should check your logic.

    If the chip is detected, try

    ifconfig eth0 hw ether 00:07:ed:0a:03:29

    You can see a sample DE2 boot message in the wiki page.

    http://nioswiki.jot.com/wikihome/operating...ems/uclinuxdist (http://nioswiki.jot.com/wikihome/operatingsystems/uclinuxdist)
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    --- Quote Start ---

    originally posted by hippo@Feb 16 2007, 04:42 PM

    you should find a line like this in the boot message, where the chip is probed.

    <dm9ks> i/o: 80900090, vid: 90000a46

    you can use "cat /proc/kmsg" to display the kernel message.

    if the chip is not probed, you should check your logic.

    if the chip is detected, try

    ifconfig eth0 hw ether 00:07:ed:0a:03:29

    you can see a sample de2 boot message in the wiki page.

    http://nioswiki.jot.com/wikihome/operating...ems/uclinuxdist (http://nioswiki.jot.com/wikihome/operatingsystems/uclinuxdist)

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

    --- quote end ---

    --- Quote End ---

    Unfortunatly I do not see the <DM9KS> I/O: 80900090, VID: 90000a46 line at startup neither in the kmsg.

    I am pretty sure the kernel is compiled with DM9000 support as I followed your wiki and I got compile error as my device was previously named ethernet instead of dm9000 now.

    When you are saying check your logic, what do you mean exactly ?? My logic is present in my design, I just checked.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    It seems that my logic is not working properly.

    I haven&#39;t found why yet.

    I am using Nios2 EDS 6.1 it seems there is some problems with the Terasic DM9000A component provided with the CDROM.

    I am currently trying to fix that.

    If anyone has a fully working component in VHDL, I would be interested :-)