[U-Boot-Users] eth0: Invalid ethernet MAC address

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.ht... But I still have no idea how to deal with it. Could someone help me please?
___________________________________________________ 您的生活即時通 - 溝通、娛樂、生活、工作一次搞定! http://messenger.yahoo.com.tw/

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.ht... But I still have no idea how to deal with it. Could someone help me please?
___________________________________________________ 您的生活即時通 - 溝通、娛樂、生活、工作一次搞定! http://messenger.yahoo.com.tw/

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@lists.sourceforge.net [mailto:u-boot-users-bounces@lists.sourceforge.net] En nombre de kabbin Enviado el: viernes, 01 de septiembre de 2006 9:58 Para: u-boot-users@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/

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/

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

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/

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

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

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

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.ht... 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
participants (4)
-
Daniel Alomar
-
kabbin
-
Ladislav Michl
-
Wolfgang Denk