[U-Boot-Users] 4xx ethernet bringup

Stefan Roese sr at denx.de
Fri Dec 21 13:26:53 CET 2007


On Friday 21 December 2007, shami Allam wrote:
> Thanks for the information. But I read some where that for the Lab testing
> purpose that I can give the IP address!!!!!

Please don't mix up ethernet address (== MAC address) and IP address. Of 
course you can set ip addresses (and should if you don't use dhcp/bootp). But 
you have to configure valid ethernet addresses too. If you don't have an 
ethernet address pool, you can use the "tools/gen_eth_addr" tool to create a 
random valid eth address for testing.

> I am able to read the PHY 
> inforamtion by command mii info 0x01<PHY Addr>. Following is the info....
> => mii info 0x01
> PHY_PHYIDR2 @ 0x1 = 0x5c90
> PHY_PHYIDR[1,2] @ 0x1 = 0x20005c90
> PHY_BMCR value is 0x2100
> PHY 0x01: OUI = 0x80017, Model = 0x09, Rev = 0x00, 100baseT, FDX

And what does "mii info" show (without parameter)?

What is the value of CONFIG_PHY_ADDR in your board config file?

Best regards,
Stefan

=====================================================================
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80  Email: office at denx.de
=====================================================================




More information about the U-Boot mailing list