SCC Ethernet with PHY BCM522
Hello All,
I have a MPC852T based board.
I have configured SCC4 ETHERNET register and I have a PHY ( Broadcom 5222 ) chip as a PHY support.
I am able to do a SCC loopback, but the data is not going out from the PHY when I diable the loopback.
How do I access the PHY from SCC "scc.c" driver ?? do I have to do this anyway ?
The PHY is getting accessed from "MII" i.e I am able to do "mii read/write" The Dual BCM Phy registers are located at 0x10 and 0x11 offset. of PHY.
Warm Regards
Raghu.
__________________________________
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com
Quoted 3 lines · In message <[email protected]> you wrote:
I am able to do a SCC loopback, but the data is not going out from the PHY when I diable the loopback.
This usually means that your clock routing is wrong.
Quoted 1 line
How do I access the PHY from SCC "
scc.c" driver ?? do
You don't.
Quoted 1 line
I have to do this anyway ?
No.
Quoted 3 lines
The PHY is getting accessed from "MII" i.e I am able to do "mii read/write" The Dual BCM Phy registers are located at
0x10and0x11offset. of PHY.
The SCC ethernet interface uses the standard 7 wire interface. Normally you don't care about the PHY (as long as it's powered and enabled and autonegotiating).
Best regards,
Wolfgang Denk
Signature · 4 lines
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88 Email: wd at denx.de
Houston, Tranquillity Base here. The Eagle has landed.
-- Neil Armstrong[U-Boot-Users] SCC Ethernet with PHY BCM522 - Multiple ETH interfaces
Hi Wolfgang,
Quoted 1 line
This usually means that your clock routing is wrong.
Thanks again... I could get SCC4 up, the usual RCLK and TCLK issue :-)
Refering README I learnt that we can set multiple MAC addresses as eth0addr, eth1addr etc.
Can we set multiple IP addresss and simultaneoulsy use multiple interfaces ?
I want both FEC and SCC.
#define SC_ENET calls "scc_initialize" first and #define FEC_ENET calls "fec_initialize" "net/eth.c" So I am able to use only SCC inteface since that is called first.
Also to set PHY registers we have to use MII interface with is a part of FEC. Can the MII ( PHY registers ) be accessed from SCC ?
Warm Regards,
Raghu.
__________________________________
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com
[U-Boot-Users] SCC Ethernet with PHY BCM522 - Multiple ETH interfaces
Hello,
Quoted 5 lines · in message <[email protected]> you wrote:
Quoted 2 lines
This usually means that your clock routing is wrong.
Thanks again... I could get SCC4 up, the usual RCLK and TCLK issue :-)
Thanks for the confirmation.
Quoted 4 lines
Refering README I learnt that we can set multiple MAC addresses as eth0addr, eth1addr etc.
Can we set multiple IP addresss and simultaneoulsy use multiple interfaces ?
U-Boot deals with one address only (environment variable "ipaddr").
Quoted 1 line
I want both FEC and SCC.
It depends on what you do. If you use BOOTP or DHCP you will get the correct IP address for each interface. If you manually set ipaddr, you will have to decide which is the correct value for the interface you are going to use.
Quoted 4 lines
#define
SC_ENETcalls "scc_initialize" first and #defineFEC_ENETcalls "fec_initialize" "net/eth.c" So I am able to use only SCC inteface since that is called first.
You can configurew for redundand interfaces (so U-Boot will
automagically change interfaces when one is found to be not working), but in this case only a single IP address makes sense.
Quoted 3 lines
Also to set PHY registers we have to use MII interface with is a part of FEC. Can the MII ( PHY registers ) be accessed from SCC ?
No. The SCC uses a standard 7 wire interface and does not (normally) deal with PHY configuration.
Best regards,
Wolfgang Denk
Signature · 4 lines
Software Engineering: Embedded and Realtime Systems, Embedded Linux Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88 Email: wd at denx.de "This is a test of the Emergency Broadcast System. If this had been an actual emergency, do you really think we'd stick around to tell you?"