[U-Boot-Users] problem with 'ethaddr' env. variable in, DataFlash, at91rm9200dk

Wolfgang Denk wd at denx.de
Mon Aug 16 09:45:19 CEST 2004


Dear Aras,

in message <41203DC8.1000108 at magellan-technology.com> you wrote:
> My problem is that the network functions do not seem to pick up the environment 
> variables "ethaddr" and "ipaddr".
> 
> e.g.
> 
> Uboot> setenv ethaddr 12:34:56:78:99:aa

This is NOT a valid MAC Address. Don't do this, not even for testing.

See http://www.denx.de/twiki/bin/view/DULG/EthernetDoesNotWork and
http://www.denx.de/twiki/bin/view/DULG/WhereCanIGetAValidMACAddress

> Uboot> dhcp
> *** ERROR: `ethaddr' not set
> Uboot> echo $(ethaddr)
> 12:34:56:78:99:aa
> Uboot> printenv
> stdin=serial
> stdout=serial
> stderr=serial
> ethaddr=12:34:56:78:99:aa
> 
> Environment size: 67/8188 bytes
> Uboot> dhcp
> *** ERROR: `ethaddr' not set
> Uboot>

Does this problem persist even after a reset of the board?

> Any help would be good, thank you!

Check if the at91rm9200dk port  initializes  bd->bi_enetaddr  or,  if
it should be using CONFIG_NET_MULTI, eth_get_dev()->enetaddr ...

Best regards,

Wolfgang Denk

-- 
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd at denx.de
Men will always be men -- no matter where they are.
	-- Harry Mudd, "Mudd's Women", stardate 1329.8




More information about the U-Boot mailing list