[U-Boot] Query on MAC address for OMAP3 boards

Pillai, Manikandan mani.pillai at ti.com
Thu Jun 18 12:29:28 CEST 2009


Hi,

I am seeing an issue with the OMAP3 EVM boards.

The MAC address for the SMC911x Ethernet chip is passed from u-boot to the kernel using the
SMC911x chip memory - "addrh" and "addrl" registers on the SMC chip.

Scenario 1:
The ipaddr, serverip and ethaddr environment variables are correct.
Booting linux from u-boot using either a tftp command to download either the ramdisk or uImage,
and then giving the bootm commands works fine.

Scenario 2:
The ipaddr, serverip and ethaddr environment variables are correct.
The linux image(uImage) and the ramdisk are both stored on the nand flash. After powering on the
board, if the uImage and ramdisk is copied from the nand( no network commands are issued).

Linux boots up but the MAC address when linux boots up, the MAC address seen on the linux
prompt is different.

The reason seems to be that the MAC address is not initialized in the SMC911x chipset if no
network commands are issued. I tested it by issuing a 'dchp' commands in scenario 2 and it works
fine.

Please suggest how to fix this issue.

Regards
Mani

-------------------------------------------------------------------
Manikandan Pillai
BCG-PSP Project Lead
(Type "pspproducts" in you web browser for PSP info)
http://dbdwss01.india.ti.com/pspproducts/
PSP downloads at : http://software.ti.com/swcoe/intranet/reports/pds/PSP_releases.php
Office : +91-80-25048069
-------------------------------------------------------------------



More information about the U-Boot mailing list