Forum Discussion

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

mac adress missing on DE2

Hello everyone,

Board: Altera DE2 with cyclone2

NOMMU

Sysfile: system0.ptf from DE2_NET Example (v 1.6 Terasic Homepage)

System: uclinux from nios2-linux-20090730.tar up to date git version,

fresh build (make menuconfig, make)

I followed the InstallNios2Linux guides from nioswiki.

i encounter the following problem with my eth0 device.

On boot it says:

dm9000 Ethernet Driver, V1.31

dm9000 dm9000.0: eth%d: invalid ethernet mac address. Please set using ifconfig

eth0 (dm9000): not using net_device_ops yet

eth0: dm9000a at 806810f8,806810fc IRQ 6 MAC: 00:00:00:00:00:00 (chip)

TCP cubic registered

NET: Registered protocol family 17

RPC: Registered udp transport module.

RPC: Registered tcp transport module.

I want to fire it up with:

ifconfig eth0 w.x.y.z

But it says:

ifconfig: SIOCSIFFLAGS: Cannot assign requested address

After that i type:

ifconfig eth0 hw ether 00:07:ed:00:00:00

ifconfig eth0 w.x.y.z

Eth0 is up and running.

My workaround is to put the files at the end of /etc/rc

But whats the problem? Has anybody a solution?

Help appreciated. =)

PS:

I tried /Linux/Linux_Quick_Start from nioswiki.

When i boot this example everything is fine.

It says:

dm9000 Ethernet Driver

eth0: dm9000 at 806810f8,806810fc IRQ 6 MAC: 00:07:ed:00:00:00

TCP cubic registered

NET: Registered protocol family 1

NET: Registered protocol family 17
No RepliesBe the first to reply