public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot-Users] eth0: Invalid ethernet MAC address
@ 2006-09-01  6:22 kabbin
  2006-09-01  7:57 ` kabbin
  2006-09-01  8:17 ` Wolfgang Denk
  0 siblings, 2 replies; 10+ messages in thread
From: kabbin @ 2006-09-01  6:22 UTC (permalink / raw)
  To: u-boot

Dear All
  I faild to mount NFS, but TFTPis fine in U-boot.

//**************************************************************
eth0: SMC91C94 (rev 9) at 0xc4858300 IRQ 188 [nowait]
eth0: Invalid ethernet MAC address.  Please set using ifconfig
.
.
.
IP-Config: Failed to open eth0
IP-Config: Guessing netmask 255.255.0.0
IP-Config: Complete:
      device=tap0, addr=140.92.60.146, mask=255.255.0.0, gw=255.255.255.255,
     host=140.92.60.146, domain=, nis-domain=(none),
     bootserver=255.255.255.255, rootserver=140.92.60.138, rootpath=
Looking up port of RPC 100003/2 on 140.92.60.138
portmap: server 140.92.60.138 not responding, timed out
//**************************************************************

How can I use the correct MAC address? 

I have read the FAQ, so maybe there are some problems on linux kernel side.
http://www.denx.de/wiki/view/DULG/EthernetDoesNotWorkInLinux
I also reference to 
http://lists.arm.linux.org.uk/pipermail/linux-arm-kernel/2004-July/023579.html
But I still have no idea how to deal with it. 
Could someone help me please?





___________________________________________________ 
 ??????? ? ???????????????? 
 http://messenger.yahoo.com.tw/

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [U-Boot-Users] eth0: Invalid ethernet MAC address
  2006-09-01  6:22 [U-Boot-Users] eth0: Invalid ethernet MAC address kabbin
@ 2006-09-01  7:57 ` kabbin
  2006-09-01  8:00   ` Daniel Alomar
  2006-09-01  8:25   ` Wolfgang Denk
  2006-09-01  8:17 ` Wolfgang Denk
  1 sibling, 2 replies; 10+ messages in thread
From: kabbin @ 2006-09-01  7:57 UTC (permalink / raw)
  To: u-boot

Dear all
 I reference to 
http://blackfin.uclinux.org/forum/forum.php?thread_id=2299&forum_id=51

u-boot has "eeprom" command ?  But I cannot find it!
as I got MAC addresses don't match.  
Can u-boot allow me to change HW MAC address?  

Best regards.

--- kabbin <kabbin26@yahoo.com.tw> ??

> Dear All
>   I faild to mount NFS, but TFTPis fine in U-boot.
> 
> //**************************************************************
> eth0: SMC91C94 (rev 9) at 0xc4858300 IRQ 188 [nowait]
> eth0: Invalid ethernet MAC address.  Please set using ifconfig
> .
> .
> .
> IP-Config: Failed to open eth0
> IP-Config: Guessing netmask 255.255.0.0
> IP-Config: Complete:
>       device=tap0, addr=140.92.60.146, mask=255.255.0.0, gw=255.255.255.255,
>      host=140.92.60.146, domain=, nis-domain=(none),
>      bootserver=255.255.255.255, rootserver=140.92.60.138, rootpath=
> Looking up port of RPC 100003/2 on 140.92.60.138
> portmap: server 140.92.60.138 not responding, timed out
> //**************************************************************
> 
> How can I use the correct MAC address? 
> 
> I have read the FAQ, so maybe there are some problems on linux kernel side.
> http://www.denx.de/wiki/view/DULG/EthernetDoesNotWorkInLinux
> I also reference to 
> http://lists.arm.linux.org.uk/pipermail/linux-arm-kernel/2004-July/023579.html
> But I still have no idea how to deal with it. 
> Could someone help me please?



___________________________________________________ 
 ??????? ? ???????????????? 
 http://messenger.yahoo.com.tw/

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [U-Boot-Users] eth0: Invalid ethernet MAC address
  2006-09-01  7:57 ` kabbin
@ 2006-09-01  8:00   ` Daniel Alomar
  2006-09-01  8:24     ` kabbin
                       ` (2 more replies)
  2006-09-01  8:25   ` Wolfgang Denk
  1 sibling, 3 replies; 10+ messages in thread
From: Daniel Alomar @ 2006-09-01  8:00 UTC (permalink / raw)
  To: u-boot

Hi,

No, you must erase the flash region where the MAC address is stored.

Daniel Alomar i Claramonte
Research & Development Electronic Dept.
SERRA SOLDADURA, S.A.
WEB Site: http://www.serrasold.com
Knowledge Site: http://serratron.serrasold.com 

-----Mensaje original-----
De: u-boot-users-bounces at lists.sourceforge.net
[mailto:u-boot-users-bounces at lists.sourceforge.net] En nombre de kabbin
Enviado el: viernes, 01 de septiembre de 2006 9:58
Para: u-boot-users at lists.sourceforge.net
Asunto: Re: [U-Boot-Users] eth0: Invalid ethernet MAC address


Dear all
 I reference to
http://blackfin.uclinux.org/forum/forum.php?thread_id=2299&forum_id=51

u-boot has "eeprom" command ?  But I cannot find it!
as I got MAC addresses don't match.  
Can u-boot allow me to change HW MAC address?  

Best regards.

--- kabbin <kabbin26@yahoo.com.tw> ?f??

> Dear All
>   I faild to mount NFS, but TFTPis fine in U-boot.
> 
> //**************************************************************
> eth0: SMC91C94 (rev 9) at 0xc4858300 IRQ 188 [nowait]
> eth0: Invalid ethernet MAC address.  Please set using ifconfig .
> .
> .
> IP-Config: Failed to open eth0
> IP-Config: Guessing netmask 255.255.0.0
> IP-Config: Complete:
>       device=tap0, addr=140.92.60.146, mask=255.255.0.0,
gw=255.255.255.255,
>      host=140.92.60.146, domain=, nis-domain=(none),
>      bootserver=255.255.255.255, rootserver=140.92.60.138, rootpath=
> Looking up port of RPC 100003/2 on 140.92.60.138
> portmap: server 140.92.60.138 not responding, timed out
> //**************************************************************
> 
> How can I use the correct MAC address?
> 
> I have read the FAQ, so maybe there are some problems on linux kernel 
> side. http://www.denx.de/wiki/view/DULG/EthernetDoesNotWorkInLinux
> I also reference to
> http://lists.arm.linux.org.uk/pipermail/linux-arm-kernel/2004-July/023579.
html
> But I still have no idea how to deal with it. 
> Could someone help me please?



___________________________________________________ 
 ???????????r?? ?? ???????????????????????????????? 
 http://messenger.yahoo.com.tw/

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [U-Boot-Users] eth0: Invalid ethernet MAC address
  2006-09-01  6:22 [U-Boot-Users] eth0: Invalid ethernet MAC address kabbin
  2006-09-01  7:57 ` kabbin
@ 2006-09-01  8:17 ` Wolfgang Denk
  1 sibling, 0 replies; 10+ messages in thread
From: Wolfgang Denk @ 2006-09-01  8:17 UTC (permalink / raw)
  To: u-boot

In message <20060901062223.87431.qmail@web17803.mail.tpe.yahoo.com> you wrote:
>
>   I faild to mount NFS, but TFTPis fine in U-boot.

... FAQ ...

> How can I use the correct MAC address? 

Set it. Either in the driver, or in user space.

> I have read the FAQ, so maybe there are some problems on linux kernel side.
> http://www.denx.de/wiki/view/DULG/EthernetDoesNotWorkInLinux

Indeed.

> I also reference to 
> http://lists.arm.linux.org.uk/pipermail/linux-arm-kernel/2004-July/023579.html
> But I still have no idea how to deal with it. 

Maybe you should read the ARM mailing list archive.  And follow the
advice you there on your posting on that list.

And stop posting the same questions to several mailing lists. That's a
violation of netiquette.


Best regards,

Wolfgang Denk

-- 
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
What is mind?  No matter.  What is matter?  Never mind.
                                      -- Thomas Hewitt Key, 1799-1875

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [U-Boot-Users] eth0: Invalid ethernet MAC address
  2006-09-01  8:00   ` Daniel Alomar
@ 2006-09-01  8:24     ` kabbin
  2006-09-01  8:28     ` Wolfgang Denk
  2006-09-01  8:30     ` kabbin
  2 siblings, 0 replies; 10+ messages in thread
From: kabbin @ 2006-09-01  8:24 UTC (permalink / raw)
  To: u-boot

Dear Daniel
   When I use "NFS" command in u-boot, I got
Warning: MAC addresses don't match:
        HW MAC address:  00:00:00:00:00:00
        "ethaddr" value: 00:50:C2:42:B2:62

--- Daniel Alomar <dalomar@serrasold.com> ???G

> Hi,
> 
> No, you must erase the flash region where the MAC address is stored.
> 
> Daniel Alomar i Claramonte
> Research & Development Electronic Dept.
> SERRA SOLDADURA, S.A.
> WEB Site: http://www.serrasold.com
> Knowledge Site: http://serratron.serrasold.com 
> 
> -----Mensaje original-----
> Dear all
>  I reference to
> http://blackfin.uclinux.org/forum/forum.php?thread_id=2299&forum_id=51
> 
> u-boot has "eeprom" command ?  But I cannot find it!
> as I got MAC addresses don't match.  
> Can u-boot allow me to change HW MAC address?  
> 
> Best regards.
> 
> --- kabbin <kabbin26@yahoo.com.tw> ?f??
> 
> > Dear All
> >   I faild to mount NFS, but TFTPis fine in U-boot.
> > 
> > //**************************************************************
> > eth0: SMC91C94 (rev 9) at 0xc4858300 IRQ 188 [nowait]
> > eth0: Invalid ethernet MAC address.  Please set using ifconfig .
> > .
> > .
> > IP-Config: Failed to open eth0
> > IP-Config: Guessing netmask 255.255.0.0
> > IP-Config: Complete:
> >       device=tap0, addr=140.92.60.146, mask=255.255.0.0,
> gw=255.255.255.255,
> >      host=140.92.60.146, domain=, nis-domain=(none),
> >      bootserver=255.255.255.255, rootserver=140.92.60.138, rootpath=
> > Looking up port of RPC 100003/2 on 140.92.60.138
> > portmap: server 140.92.60.138 not responding, timed out
> > //**************************************************************
> > 
> > How can I use the correct MAC address?
> > 
> > I have read the FAQ, so maybe there are some problems on linux kernel 
> > side. http://www.denx.de/wiki/view/DULG/EthernetDoesNotWorkInLinux
> > I also reference to
> > http://lists.arm.linux.org.uk/pipermail/linux-arm-kernel/2004-July/023579.
> html
> > But I still have no idea how to deal with it. 
> > Could someone help me please?
> 
> 
> 
> ___________________________________________________ 
>  ???????????r?? ?? ???????????????????????????????? 
>  http://messenger.yahoo.com.tw/
> 
> 
> 


___________________________________________________ 
 ?z???????Y???q ?? ???q?B?T???B?????B?u?@?@???d?w?I 
 http://messenger.yahoo.com.tw/

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [U-Boot-Users] eth0: Invalid ethernet MAC address
  2006-09-01  7:57 ` kabbin
  2006-09-01  8:00   ` Daniel Alomar
@ 2006-09-01  8:25   ` Wolfgang Denk
  1 sibling, 0 replies; 10+ messages in thread
From: Wolfgang Denk @ 2006-09-01  8:25 UTC (permalink / raw)
  To: u-boot

In message <20060901075751.48015.qmail@web17806.mail.tpe.yahoo.com> you wrote:
>
>  I reference to 
> http://blackfin.uclinux.org/forum/forum.php?thread_id=2299&forum_id=51
> u-boot has "eeprom" command ?  But I cannot find it!

The set of available commands depends on  your  board  configuration.
Probably  the  eeprom  command  is  not selected in your board config
file. Eventually there is even no EEPROM on your  board  at  all.  We
don't know - it's your hardware.

> as I got MAC addresses don't match.  

Then set it correctly in the environment.

> Can u-boot allow me to change HW MAC address?  

Yes, on some systems.

> > eth0: Invalid ethernet MAC address.  Please set using ifconfig

But this won't help you. You still need to implement a way  that  the
Linux  driver  sets a correct MAC address. Solutions have been posted
on the ARM mailing list.  See  the  links  and  suggestions  provided
before.

Best regards,

Wolfgang Denk

-- 
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Alan Turing thought about criteria to settle the question of  whether
machines  can think, a question of which we now know that it is about
as relevant as the question of whether submarines can swim.
                                                   -- Edsger Dijkstra

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [U-Boot-Users] eth0: Invalid ethernet MAC address
  2006-09-01  8:00   ` Daniel Alomar
  2006-09-01  8:24     ` kabbin
@ 2006-09-01  8:28     ` Wolfgang Denk
  2006-09-01  8:30     ` kabbin
  2 siblings, 0 replies; 10+ messages in thread
From: Wolfgang Denk @ 2006-09-01  8:28 UTC (permalink / raw)
  To: u-boot

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

Please read http://www.netmeister.org/news/learn2quote.html

In message <003c01c6cd9c$aa064e10$091a1bac@serra.es> you wrote:
>
> No, you must erase the flash region where the MAC address is stored.
...
>> Can u-boot allow me to change HW MAC address?  

Your reply does not answer the OP's question  and  is  incomplete  or
wrong.

The OP asked about the hardware MAC address,  but  you  are  probably
talking  about  the  "ethaddr"  environment variable, which is a very
different thing.

Also, if the "ethaddr" is write protected or not depends on your board
configuration. 

Best regards,

Wolfgang Denk

-- 
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
: ... and it's got weird formatting - Notepad, Write, Works  3  can't
: decipher it, and it's too big to go in DOS Edit. Help!
Install an operating system. :-)                  -- Tom Christiansen

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [U-Boot-Users] eth0: Invalid ethernet MAC address
  2006-09-01  8:00   ` Daniel Alomar
  2006-09-01  8:24     ` kabbin
  2006-09-01  8:28     ` Wolfgang Denk
@ 2006-09-01  8:30     ` kabbin
  2006-09-01  9:06       ` Wolfgang Denk
  2006-09-01 11:51       ` Ladislav Michl
  2 siblings, 2 replies; 10+ messages in thread
From: kabbin @ 2006-09-01  8:30 UTC (permalink / raw)
  To: u-boot

Dear Daniel
   When I use "NFS" command in u-boot, I got:

Warning: MAC addresses don't match:
HW MAC address:  00:00:00:00:00:00
"ethaddr" value: 00:50:C2:42:B2:62

How can I find the right flash region where the MAC address is stored ? (and then modify the data)
Do I need rebuild u-boot or linux kerenl?

Best regards.

--- Daniel Alomar <dalomar@serrasold.com> ??

> Hi,
> 
> No, you must erase the flash region where the MAC address is stored.
> 
> Daniel Alomar i Claramonte
> Research & Development Electronic Dept.
> SERRA SOLDADURA, S.A.
> WEB Site: http://www.serrasold.com
> Knowledge Site: http://serratron.serrasold.com 
> 
> -----Mensaje original-----
> Dear all
>  I reference to
> http://blackfin.uclinux.org/forum/forum.php?thread_id=2299&forum_id=51
> 
> u-boot has "eeprom" command ?  But I cannot find it!
> as I got MAC addresses don't match.  
> Can u-boot allow me to change HW MAC address?  
> 
> Best regards.
> 
> --- kabbin <kabbin26@yahoo.com.tw> ??
> 
> > Dear All
> >   I faild to mount NFS, but TFTP is fine in U-boot.
> > 
> > //**************************************************************
> > eth0: SMC91C94 (rev 9) at 0xc4858300 IRQ 188 [nowait]
> > eth0: Invalid ethernet MAC address.  Please set using ifconfig .
> > .
> > .
> > IP-Config: Failed to open eth0
> > IP-Config: Guessing netmask 255.255.0.0
> > IP-Config: Complete:
> >       device=tap0, addr=140.92.60.146, mask=255.255.0.0,
> gw=255.255.255.255,
> >      host=140.92.60.146, domain=, nis-domain=(none),
> >      bootserver=255.255.255.255, rootserver=140.92.60.138, rootpath=
> > Looking up port of RPC 100003/2 on 140.92.60.138
> > portmap: server 140.92.60.138 not responding, timed out
> > //**************************************************************
> > 
> > How can I use the correct MAC address?
> > 
> > I have read the FAQ, so maybe there are some problems on linux kernel 
> > side. http://www.denx.de/wiki/view/DULG/EthernetDoesNotWorkInLinux
> > I also reference to
> > http://lists.arm.linux.org.uk/pipermail/linux-arm-kernel/2004-July/023579.
> html
> > But I still have no idea how to deal with it. 
> > Could someone help me please?


___________________________________________________ 
 ??????? ? ???????????????? 
 http://messenger.yahoo.com.tw/

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [U-Boot-Users] eth0: Invalid ethernet MAC address
  2006-09-01  8:30     ` kabbin
@ 2006-09-01  9:06       ` Wolfgang Denk
  2006-09-01 11:51       ` Ladislav Michl
  1 sibling, 0 replies; 10+ messages in thread
From: Wolfgang Denk @ 2006-09-01  9:06 UTC (permalink / raw)
  To: u-boot

In message <20060901083015.70838.qmail@web17809.mail.tpe.yahoo.com> you wrote:
>
> How can I find the right flash region where the MAC address is stored ? (and then modify the data)

Forget his reply. It was plain wrong and does not help you at all.

> --- Daniel Alomar <dalomar@serrasold.com> ???G

And please stop top-posting / full quoting.


Best regards,

Wolfgang Denk

-- 
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
"Nobody will ever need more than 640k RAM!"       -- Bill Gates, 1981
"Windows 95 needs at least 8 MB RAM."             -- Bill Gates, 1996
"Nobody will ever need Windows 95."             -- logical conclusion

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [U-Boot-Users] eth0: Invalid ethernet MAC address
  2006-09-01  8:30     ` kabbin
  2006-09-01  9:06       ` Wolfgang Denk
@ 2006-09-01 11:51       ` Ladislav Michl
  1 sibling, 0 replies; 10+ messages in thread
From: Ladislav Michl @ 2006-09-01 11:51 UTC (permalink / raw)
  To: u-boot

On Fri, Sep 01, 2006 at 04:30:15PM +0800, kabbin wrote:
> Dear Daniel
>    When I use "NFS" command in u-boot, I got:
> 
> Warning: MAC addresses don't match:
> HW MAC address:  00:00:00:00:00:00
> "ethaddr" value: 00:50:C2:42:B2:62

kabbin,

I already answered you on linux-omap-open-source and you ignored my
reply. Why? Again, more detailed. Your omap2420h4 board uses smc91x
compatible chip. This chip uses 128bit serial eeprom to store
configuration. This configuration includes MAC address. Default
configuration is load after chip reset. In U-Boot, you set MAC address
directly into LAN registers (ethaddr), but eeprom remains unprogrammed.
Linux driver resets chip. Program eeprom with valid MAC address. See for
example board/voiceblue/eeprom.c source.

Best regards,
	ladis

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2006-09-01 11:51 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-09-01  6:22 [U-Boot-Users] eth0: Invalid ethernet MAC address kabbin
2006-09-01  7:57 ` kabbin
2006-09-01  8:00   ` Daniel Alomar
2006-09-01  8:24     ` kabbin
2006-09-01  8:28     ` Wolfgang Denk
2006-09-01  8:30     ` kabbin
2006-09-01  9:06       ` Wolfgang Denk
2006-09-01 11:51       ` Ladislav Michl
2006-09-01  8:25   ` Wolfgang Denk
2006-09-01  8:17 ` Wolfgang Denk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox