logo       

Re: AT91RM9200DK Ethernet initialisation: msg#00036

Subject: Re: AT91RM9200DK Ethernet initialisation
hi Peter,

> If u-boot doesn't prod the ethernet (e.g. by tftping a random file), then
> it turns out that the ethernet doesn't work from within Linux.

I would guess that u-boot is not setting the ethernet MAC address in the
EMAC_SA registers.  The Linux driver will refuse to open the device if
it does not have a valid MAC address.

You can verify this by looking at the boot messages.  It probably shows:
 eth0: AT91 ethernet at 0xfefbc000 int=24 100-FullDuplex (00:00:00:00:00:00)

Either u-boot needs to be modified to always configure the MAC address
(recommended method), or you need to change get_mac_address() in
at91_ether.c to get/set the MAC address using some other means.


Regards,
  Andrew Victor
  SAN People (Pty) Ltd.



-------------------------------------------------------------------
Subscription options: http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm
FAQ/Etiquette:       http://www.arm.linux.org.uk/armlinux/mailinglists.php



<Prev in Thread] Current Thread [Next in Thread>