[U-Boot-Users] Initialize MAC Address w/out running dhcp

George G. Davis gdavis at mvista.com
Fri Aug 27 19:05:48 CEST 2004


On Fri, Aug 27, 2004 at 01:14:37AM +0200, Wolfgang Denk wrote:
> In message <31ADFA827355984B9E2A161514595B561C3395 at lpdsrv04.logicpd.com> you wrote:
> > 
> > I have observed on my omap1510inn based board that Linux does not correctly
> > receive the MAC address unless I make use of networking in U-Boot prior to
> > bootm.
> 
> This is a FAQ. Please see
> http://www.denx.de/twiki/bin/view/DULG/EthernetDoesNotWorkInLinux

Actually, in the case of the Innovator OMAP1510, the Linux smc919x or smc9194
driver (depending on which you're using) should do the right thing independent
of u-boot. Perhaps you don't have the SMC91C96 DIP switches set correctly
on the Innovator break-out-board. Mine are SW1 1,2,3 OFF, 4 ON. If those DIP
switch settings are wrong, then the SMC91C96 serial EEPROM may be disabled
and this u-boot dependency may be a side effect since u-boot doesn't use
the serial EEPROM MAC address. Then again, I haven't tested booting Linux
w/o first doing u-boot bootp/tftp lately. So maybe there is a regression
in the Linux network driver(s). : P Also, some early Innovator BOB's didn't
have serial EEPROM MAC address programmed which may also cause this
problem. If the Innovator BOB has MAC address label attached to it (mine
is lower right corner below the power supply binding posts) then the
serial EEPROM MAC has most likely been programmed at the factory. Else,
you'll need to program the serial EEPROM yourself. IIRC, others have posted
tools to set the serial EEPROM MAC address.

HTH!

--
Regards,
George
> 
> 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
> egrep patterns are full regular expressions; it uses a fast  determi-
> nistic algorithm that sometimes needs exponential space.
> - unix manuals
> 
> 
> -------------------------------------------------------
> SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
> 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
> Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
> http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
> _______________________________________________
> U-Boot-Users mailing list
> U-Boot-Users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/u-boot-users




More information about the U-Boot mailing list