P4080DS Ethernet

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

P4080DS Ethernet

1,881 Views
jamesstenquist
Contributor II

I am working on the firmware for the P4080DS Expedition.  I replaced the u-boot, RCW, and fman-ucode.  However now the Ethernet does not work.  The entire u boot prompt is attached.  I can boot to the Yocto Linux but the Ethernet still does not work.

 

Warning: SERDES bank 2 expects reference clock 100MHz, but actual is 125MHz
Net:   Fman1: Uploading microcode version 106.2.18
Could not get PHY for P4080DS_MDIO3: addr 4
Failed to connect
Fman2: Uploading microcode version 106.2.18
Could not get PHY for P4080DS_MDIO1: addr 0
Failed to connect
FM1@DTSEC2
Error: FM1@DTSEC2 address not set.
, FM1@TGEC1
Error: FM1@TGEC1 address not set.
, FM2@TGEC1
Error: FM2@TGEC1 address not set.

 

From this prompt I believe the problem is in the fman-ucode.  Any help would be appreciated.

 

Thanks

 

James

Original Attachment has been moved to: UBoot-Log.zip

Labels (1)
5 Replies

1,450 Views
jamesstenquist
Contributor II

Could not get PHY for P4080DS_MDIO1: addr 0

Failed to connect

This are the Ethernet lines based on the P4080 Development System User's Guide.  How do I fix this issue?  Is it an RCW problem, a FMAN u-code error, or in the uboot configuration. 

ethact=FM1@DTSEC2
ethprime=FM1@DTSEC1

If I set these variables and the ethaddr variables I still get the

'Could not get PHY for P4080DS_MDIO1: addr 0'

problem.

Thanks again! James

0 Kudos
Reply

1,450 Views
ufedor
NXP Employee
NXP Employee

Please check the PHY connection schematics and its configured address.

0 Kudos
Reply

1,450 Views
jamesstenquist
Contributor II

With some help I was able to find in the u-boot source where it gives the phy addresses.  Where would I find out what the phy addresses should be?  I am using the P4080DS expedition board.

0 Kudos
Reply

1,450 Views
ufedor
NXP Employee
NXP Employee

> Where would I find out what the phy addresses should be?

Please refer to the P4080DS UG.

Please program pre-compiled images for the P4080DS from the SDK v2.0 ISO.

0 Kudos
Reply

1,450 Views
ufedor
NXP Employee
NXP Employee

> Could not get PHY for P4080DS_MDIO3: addr 4

Check the PHY connection schematics and its configured address

> Error: FM1@DTSEC2 address not set.

It is required to define MAC addresses for the DTSECs as environment variables - example:

ethact=FM1@DTSEC1
ethaddr=00:04:9F:02:00:FD
eth1addr=00:04:9F:02:01:FD