[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [microblaze-uclinux] opb_ethernet HWaddr of 00:00:00:00:00:00



Hi Victor,

The Ethernet address is set by u-boot from the u-boot configuration. Are
you booting through u-boot? If not, the behaviour you described is
remedied by first issuing the command

# ifconfig eth0 down

and then configuring the address manually

# ifconfig eth0 hw ether 00:00:5e:00:fa:ce

Regards,
Kristoffer Hedberg

> Hi,
>
> I use the opb_ethernet logic core and with linux 2.6 kernel. There is a
> problem with this Ethernet core in linux.
>
> # ifconfig eth0
> eth0      Link encap:Ethernet  HWaddr 00:00:00:00:00:00
>           BROADCAST  MTU:1500  Metric:1
>           RX packets:0 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:1 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:1000
>                     Interrupt:1
>
> I set the Ethernet MAC address to 00:00:5e:00:fa:ce in "make menuconfig",
> but My HWaddr in ifconfig is all zeros.
>
> When I issue this command:
>
> # ifconfig eth0 hw ether 00:11:22:33:44:55
> SIOCSIFHWADDR: Device or resource busy
>
> I cannot change the MAC address in linux. Is that a problem with
> opb_ethernet driver (Xilinx 10/100 OPB ETHERNET support)?
>
> Thank you,
> Victor Yeo
>
>
> ___________________________
> microblaze-uclinux mailing list
> microblaze-uclinux@xxxxxxxxxxxxxx
> Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
> Mailing List Archive :
> http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/
>
>


___________________________
microblaze-uclinux mailing list
microblaze-uclinux@xxxxxxxxxxxxxx
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/