* [U-Boot-Users] Initialize MAC Address w/out running dhcp
@ 2004-08-26 22:37 Michael Bendzick
2004-08-26 23:14 ` Wolfgang Denk
0 siblings, 1 reply; 3+ messages in thread
From: Michael Bendzick @ 2004-08-26 22:37 UTC (permalink / raw)
To: u-boot
I just had to get in on the MAC address conversation, but in a different
way.
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 network access can be either tftp'ing a file to the board or running
"dhcp".
Is there a way that I can set up the Ethernet chip (or is this in the board
info structure that U-Boot shares with Linux?) to have the "ethaddr" MAC
address without actually running a network command? I.e., I don't want to
depend on a TFTP or DHCP server being present on the network in order to
start Linux with a static IP and valid MAC.
-Michael Bendzick
Systems and Software Engineering
Logic Product Development
michael.b at logicpd.com
612-436-5122
www.logicpd.com
^ permalink raw reply [flat|nested] 3+ messages in thread
* [U-Boot-Users] Initialize MAC Address w/out running dhcp
2004-08-26 22:37 [U-Boot-Users] Initialize MAC Address w/out running dhcp Michael Bendzick
@ 2004-08-26 23:14 ` Wolfgang Denk
2004-08-27 17:05 ` George G. Davis
0 siblings, 1 reply; 3+ messages in thread
From: Wolfgang Denk @ 2004-08-26 23:14 UTC (permalink / raw)
To: u-boot
In message <31ADFA827355984B9E2A161514595B561C3395@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
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* [U-Boot-Users] Initialize MAC Address w/out running dhcp
2004-08-26 23:14 ` Wolfgang Denk
@ 2004-08-27 17:05 ` George G. Davis
0 siblings, 0 replies; 3+ messages in thread
From: George G. Davis @ 2004-08-27 17:05 UTC (permalink / raw)
To: u-boot
On Fri, Aug 27, 2004 at 01:14:37AM +0200, Wolfgang Denk wrote:
> In message <31ADFA827355984B9E2A161514595B561C3395@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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2004-08-27 17:05 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-08-26 22:37 [U-Boot-Users] Initialize MAC Address w/out running dhcp Michael Bendzick
2004-08-26 23:14 ` Wolfgang Denk
2004-08-27 17:05 ` George G. Davis
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox