[U-Boot-Users] 4xx ethernet bringup

shami Allam shamiuboot at yahoo.co.in
Fri Dec 21 17:03:05 CET 2007


Sorry Raj....
I am sending from my id....

Stefan Roese <sr at denx.de> wrote: 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
.. 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)?


 => mii info
 PHY ID register 2 read failed
 PHY_PHYIDR2 @ 0x1 = 0x5c90
 PHY_PHYIDR[1,2] @ 0x1 = 0x20005c90
 PHY_BMCR value is 0x2100
 PHY 0x01: OUI = 0x80017, Model = 0x09, Rev = 0x00, 100baseT,
 PHY ID register 2 read failed
 PHY ID register 2 read failed
 PHY ID register 2 read failed
 PHY ID register 2 read failed
 PHY ID register 2 read failed
like this many....


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

follwing i defined in the board config file.....

#define CONFIG_PHY_ADDR  1 

Regards,
Shami....
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
=====================================================================



       
---------------------------------
 Why delete messages? Unlimited storage is just a click away.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.denx.de/pipermail/u-boot/attachments/20071221/bc466d57/attachment.htm 


More information about the U-Boot mailing list