dpmac17 sgmii Problems

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

dpmac17 sgmii Problems

Jump to solution
13,277 Views
muaxi8
Contributor V

lx2160a custom board。

Using SERDES1 Protocol: 1 (0x1)
Using SERDES2 Protocol: 7 (0x7)
Using SERDES3 Protocol: 3 (0x3)

Now I am using dpMAC17 SGMII of SerDES2 as the debugging network port. The PHY chip is AR0833. Using MII command under uboot, I can see that the PHY is in link state, but ping my host is not working.。

RCW parameter EC1_PMUX[833-832] is changed to 0x01,  but the ping still fails

 

 

 

 

0 Kudos
Reply
1 Solution
13,087 Views
muaxi8
Contributor V

when the clock spread spectrum turned off, we can ping through, it is too hard

thank u

View solution in original post

0 Kudos
Reply
26 Replies
2,649 Views
yipingwang
NXP TechSupport
NXP TechSupport

Please refer to the update from the AE team.

From the response of Q1 it seems that mc firmware is not updated by customer. Please update and check

0 Kudos
Reply
2,648 Views
yipingwang
NXP TechSupport
NXP TechSupport

Please refer to the update from the AE team.

Do customer really required loopback at the MAC level?

For MAC level loopback at u-boot customer needs to configure or set loopback bit after running ping command using codewarrior ccs.

When ping is ran from the u-boot prompt, probe command is called and MAC is reconfigured, means loopback bit will be reset. hence for running loopback at MAC, customer needs to set loopback bit from ccs after running ping command.

 

I have attached document describing digital loopback. please check and let us know if it works.

0 Kudos
Reply
2,645 Views
muaxi8
Contributor V

i want to check the mac17 is ok, It looks correct from the print。Could you please share the complete file in the attachment with me? It may be very helpful to me.

very thanks.

ping failed; host 192.168.0.119 is not alive
=>
ldpaa_dpmac_bind, DPMAC Type= dpmac
ldpaa_dpmac_bind, DPMAC ID= 17
ldpaa_dpmac_bind, DPMAC State= 0
ldpaa_dpmac_bind, DPNI Type= dpni
ldpaa_dpmac_bind, DPNI ID= 0
ldpaa_dpmac_bind, DPNI State= 0
DPMAC link status: 1 - up
DPNI link status: 1 - up
Using DPMAC17@sgmii device
DPNI counters ..
DPNI_CNT_ING_ALL_FRAMES= 1
DPNI_CNT_ING_ALL_BYTES= 60
DPNI_CNT_ING_MCAST_FRAMES= 0
DPNI_CNT_ING_MCAST_BYTES= 0
DPNI_CNT_ING_BCAST_FRAMES= 1
DPNI_CNT_ING_BCAST_BYTES= 60
DPNI_CNT_EGR_ALL_FRAMES= 1
DPNI_CNT_EGR_ALL_BYTES= 42
DPNI_CNT_EGR_MCAST_FRAMES= 0
DPNI_CNT_EGR_MCAST_BYTES= 0
DPNI_CNT_EGR_BCAST_FRAMES= 1
DPNI_CNT_EGR_BCAST_BYTES= 42
DPNI_CNT_ING_FILTERED_FRAMES= 0
DPNI_CNT_ING_DISCARDED_FRAMES= 0
DPNI_CNT_ING_NOBUFFER_DISCARDS= 0
DPNI_CNT_EGR_DISCARDED_FRAMES= 0
DPNI_CNT_EGR_CNF_FRAMES= 0

DPMAC counters ..
DPMAC_CNT_ING_BYTE=15
DPMAC_CNT_ING_FRAME_DISCARD=9
DPMAC_CNT_ING_ALIGN_ERR =11
DPMAC_CNT_ING_BYTE=15
DPMAC_CNT_ING_ERR_FRAME=21
DPMAC_CNT_EGR_BYTE =21
DPMAC_CNT_EGR_ERR_FRAME =25

Abort
ping failed; host 192.168.0.119 is not alive

0 Kudos
Reply
2,637 Views
yipingwang
NXP TechSupport
NXP TechSupport

Can you please confirm if you have updated mc firmware version or not?

From the test result of digital loopback it looks that digital loopback path is in good state.

Can you please move forward with PHY remote loopback as mentioned in AR8033 datasheet to check peer-peer connection. (section 2.5.3 in PHY datasheet).

for loopback test please follow steps shared in PHY datasheet.

0 Kudos
Reply
13,088 Views
muaxi8
Contributor V

when the clock spread spectrum turned off, we can ping through, it is too hard

thank u

0 Kudos
Reply
321 Views
Zhoute
Contributor I

你好,我们遇到了同样的问题,我想知道扩频开关在哪里关闭,期待您的回复

0 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-1323833%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3Edpmac17%20sgmii%20Problems%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1323833%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3Elx2160a%20custom%20board%E3%80%82%3C%2FP%3E%3CP%3EUsing%20SERDES1%20Protocol%3A%201%20(0x1)%3CBR%20%2F%3EUsing%20SERDES2%20Protocol%3A%207%20(0x7)%3CBR%20%2F%3EUsing%20SERDES3%20Protocol%3A%203%20(0x3)%3C%2FP%3E%3CP%3E%3CSPAN%3ENow%20I%20am%20using%20dpMAC17%20SGMII%20of%20SerDES2%20as%20the%20debugging%20network%20port.%20The%20PHY%20chip%20is%20AR0833.%20Using%20MII%20command%20under%20uboot%2C%20I%20can%20see%20that%20the%20PHY%20is%20in%20link%20state%2C%20but%20ping%20my%20host%20is%20not%20working.%E3%80%82%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3ERCW%20parameter%20EC1_PMUX%5B833-832%5D%20is%20changed%20to%200x01%2C%26nbsp%3B%20but%20the%20ping%20still%20fails%3C%2FSPAN%3E%3C%2FP%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2355138%22%20slang%3D%22zh-CN%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20dpmac17%20sgmii%20Problems%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2355138%22%20slang%3D%22zh-CN%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%2C%20we%20are%20experiencing%20the%20same%20problem%2C%20I%20would%20like%20to%20know%20where%20the%20spread%20spectrum%20switch%20is%20turned%20off%2C%20looking%20forward%20to%20your%20reply!%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1334692%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20dpmac17%20sgmii%20Problems%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1334692%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%3CSPAN%3Ewhen%20the%20clock%20spread%20spectrum%20turned%20off%2C%20we%20can%20ping%20through%2C%20it%20is%20too%20hard%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3Ethank%20u%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1334439%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20dpmac17%20sgmii%20Problems%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1334439%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%3CSPAN%3ECan%20you%20please%20confirm%20if%20you%20have%20updated%20mc%20firmware%20version%20or%20not%3F%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3EFrom%20the%20test%20result%20of%20digital%20loopback%20it%20looks%20that%20digital%20loopback%20path%20is%20in%20good%20state.%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3ECan%20you%20please%20move%20forward%20with%20PHY%20remote%20loopback%20as%20mentioned%20in%20AR8033%20datasheet%20to%20check%20peer-peer%20connection.%20(section%202.5.3%20in%20PHY%20datasheet).%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3Efor%20loopback%20test%20please%20follow%20steps%20shared%20in%20PHY%20datasheet.%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1333839%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20dpmac17%20sgmii%20Problems%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1333839%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3Ei%20want%20to%20check%20the%20mac17%20is%20ok%2C%26nbsp%3B%3CSPAN%3EIt%20looks%20correct%20from%20the%20print%E3%80%82Could%20you%20please%20share%20the%20complete%20file%20in%20the%20attachment%20with%20me%3F%20It%20may%20be%20very%20helpful%20to%20me.%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3Every%20thanks.%3C%2FSPAN%3E%3C%2FP%3E%3CP%3Eping%20failed%3B%20host%20192.168.0.119%20is%20not%20alive%3CBR%20%2F%3E%3D%26gt%3B%3CBR%20%2F%3Eldpaa_dpmac_bind%2C%20DPMAC%20Type%3D%20dpmac%3CBR%20%2F%3Eldpaa_dpmac_bind%2C%20DPMAC%20ID%3D%2017%3CBR%20%2F%3Eldpaa_dpmac_bind%2C%20DPMAC%20State%3D%200%3CBR%20%2F%3Eldpaa_dpmac_bind%2C%20DPNI%20Type%3D%20dpni%3CBR%20%2F%3Eldpaa_dpmac_bind%2C%20DPNI%20ID%3D%200%3CBR%20%2F%3Eldpaa_dpmac_bind%2C%20DPNI%20State%3D%200%3CBR%20%2F%3EDPMAC%20link%20status%3A%201%20-%20up%3CBR%20%2F%3EDPNI%20link%20status%3A%201%20-%20up%3CBR%20%2F%3EUsing%20DPMAC17%40sgmii%20device%3CBR%20%2F%3EDPNI%20counters%20..%3CBR%20%2F%3EDPNI_CNT_ING_ALL_FRAMES%3D%201%3CBR%20%2F%3EDPNI_CNT_ING_ALL_BYTES%3D%2060%3CBR%20%2F%3EDPNI_CNT_ING_MCAST_FRAMES%3D%200%3CBR%20%2F%3EDPNI_CNT_ING_MCAST_BYTES%3D%200%3CBR%20%2F%3EDPNI_CNT_ING_BCAST_FRAMES%3D%201%3CBR%20%2F%3EDPNI_CNT_ING_BCAST_BYTES%3D%2060%3CBR%20%2F%3EDPNI_CNT_EGR_ALL_FRAMES%3D%201%3CBR%20%2F%3EDPNI_CNT_EGR_ALL_BYTES%3D%2042%3CBR%20%2F%3EDPNI_CNT_EGR_MCAST_FRAMES%3D%200%3CBR%20%2F%3EDPNI_CNT_EGR_MCAST_BYTES%3D%200%3CBR%20%2F%3EDPNI_CNT_EGR_BCAST_FRAMES%3D%201%3CBR%20%2F%3EDPNI_CNT_EGR_BCAST_BYTES%3D%2042%3CBR%20%2F%3EDPNI_CNT_ING_FILTERED_FRAMES%3D%200%3CBR%20%2F%3EDPNI_CNT_ING_DISCARDED_FRAMES%3D%200%3CBR%20%2F%3EDPNI_CNT_ING_NOBUFFER_DISCARDS%3D%200%3CBR%20%2F%3EDPNI_CNT_EGR_DISCARDED_FRAMES%3D%200%3CBR%20%2F%3EDPNI_CNT_EGR_CNF_FRAMES%3D%200%3C%2FP%3E%3CP%3EDPMAC%20counters%20..%3CBR%20%2F%3EDPMAC_CNT_ING_BYTE%3D15%3CBR%20%2F%3EDPMAC_CNT_ING_FRAME_DISCARD%3D9%3CBR%20%2F%3EDPMAC_CNT_ING_ALIGN_ERR%20%3D11%3CBR%20%2F%3EDPMAC_CNT_ING_BYTE%3D15%3CBR%20%2F%3EDPMAC_CNT_ING_ERR_FRAME%3D21%3CBR%20%2F%3EDPMAC_CNT_EGR_BYTE%20%3D21%3CBR%20%2F%3EDPMAC_CNT_EGR_ERR_FRAME%20%3D25%3C%2FP%3E%3CP%3EAbort%3CBR%20%2F%3Eping%20failed%3B%20host%20192.168.0.119%20is%20not%20alive%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1333712%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20dpmac17%20sgmii%20Problems%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1333712%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%3CSPAN%3EPlease%20refer%20to%20the%20update%20from%20the%20AE%20team.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3EFrom%20the%20response%20of%20Q1%20it%20seems%20that%20mc%20firmware%20is%20not%20updated%20by%20customer.%20Please%20update%20and%20check%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1333711%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20dpmac17%20sgmii%20Problems%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1333711%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EPlease%20refer%20to%20the%20update%20from%20the%20AE%20team.%3C%2FP%3E%0A%3CP%3E%3CSPAN%3EDo%20customer%20really%20required%20loopback%20at%20the%20MAC%20level%3F%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3EFor%20MAC%20level%20loopback%20at%20u-boot%20customer%20needs%20to%20configure%20or%20set%20loopback%20bit%20after%20running%20ping%20command%20using%20codewarrior%20ccs.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3EWhen%20ping%20is%20ran%20from%20the%20u-boot%20prompt%2C%20probe%20command%20is%20called%20and%20MAC%20is%20reconfigured%2C%20means%20loopback%20bit%20will%20be%20reset.%20hence%20for%20running%20loopback%20at%20MAC%2C%20customer%20needs%20to%20set%20loopback%20bit%20from%20ccs%20after%20running%20ping%20command.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3EI%20have%20attached%20document%20describing%20digital%20loopback.%20please%20check%20and%20let%20us%20know%20if%20it%20works.%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1333097%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20dpmac17%20sgmii%20Problems%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1333097%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3Ehi%20yipingWang%3C%2FP%3E%3CP%3E1%3A%3C%2FP%3E%3CP%3Ecrc32%2B%3CBR%20%2F%3Efsl-mc%3A%20Booting%20Management%20Complex%20...%20SUCCESS%3CBR%20%2F%3Efsl-mc%3A%20Management%20Complex%20booted%20(%3CFONT%20color%3D%22%23FF0000%22%3Eversion%3A%2010.24.0%3C%2FFONT%3E%2C%20boot%20status%3A%200x1)%3CBR%20%2F%3EHit%20any%20key%20to%20stop%20autoboot%3A%200%3C%2FP%3E%3CP%3E2%EF%BC%9A%3C%2FP%3E%3CP%3E%3D%26gt%3B%20mdio%20list%3CBR%20%2F%3EFSL_MDIO0%3A%3CBR%20%2F%3E4%20-%20AR8031%2FAR8033%20%26lt%3B--%26gt%3B%20DPMAC17%40sgmii%3CBR%20%2F%3EFSL_MDIO1%3A%3CBR%20%2F%3E%3D%26gt%3B%20mii%20read%204%205%3CBR%20%2F%3ECDE1%3CBR%20%2F%3E%3D%26gt%3B%20mii%20read%204%205%3CBR%20%2F%3ECDE1%3CBR%20%2F%3E%3D%26gt%3B%20%3CFONT%20color%3D%22%23FF0000%22%3Emii%20dump%3C%2FFONT%3E%3CBR%20%2F%3E5.%20(cde1)%20--%20Autonegotiation%20partner%20abilities%20register%20--%3CBR%20%2F%3E(8000%3A8000)%205.15%20%3D%201%20next%20page%20able%3CBR%20%2F%3E(4000%3A4000)%205.14%20%3D%201%20acknowledge%3CBR%20%2F%3E(2000%3A0000)%205.13%20%3D%200%20remote%20fault%3CBR%20%2F%3E(1000%3A0000)%205.12%20%3D%200%20(reserved)%3CBR%20%2F%3E(0800%3A0800)%205.11%20%3D%201%20asymmetric%20pause%20able%3CBR%20%2F%3E(0400%3A0400)%205.10%20%3D%201%20pause%20able%3CBR%20%2F%3E(0200%3A0000)%205.%209%20%3D%200%20100BASE-T4%20able%3CBR%20%2F%3E(0100%3A0100)%205.%208%20%3D%201%20100BASE-X%20full%20duplex%20able%3CBR%20%2F%3E(0080%3A0080)%205.%207%20%3D%201%20100BASE-TX%20able%3CBR%20%2F%3E(0040%3A0040)%205.%206%20%3D%201%2010BASE-T%20full%20duplex%20able%3CBR%20%2F%3E(0020%3A0020)%205.%205%20%3D%201%2010BASE-T%20able%3CBR%20%2F%3E(001f%3A0001)%205.%204-%200%20%3D%201%20partner%20selector%20%3D%20IEEE%20802.3%20CSMA%2FCD%3C%2FP%3E%3CP%3E3%EF%BC%9A%3C%2FP%3E%3CP%3E%3CSTRONG%3E%3CSPAN%3ECLK_SD2_F_P%2FN%20is%26nbsp%3B%3C%2FSPAN%3E%3C%2FSTRONG%3E%3CFONT%20color%3D%22%23FF0000%22%3E100Mhz%3C%2FFONT%3E%3C%2FP%3E%3CBR%20%2F%3E%3CP%3Ecan%20you%20%3CSPAN%3Eprovide%20%3C%2FSPAN%3Ea%20demo%20of%20dpmac17%20sgmii%20disable%26nbsp%3Bauto-negotiation%20%EF%BC%9F%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22muaxi8_0-1630546466148.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22muaxi8_0-1630546466148.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F154856i6853B6ABFBEAC79C%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22muaxi8_0-1630546466148.png%22%20alt%3D%22muaxi8_0-1630546466148.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1331638%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20dpmac17%20sgmii%20Problems%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1331638%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%3CSTRONG%3E%3CSPAN%3E1.%20Please%20first%20update%20your%20mc%20firmware%20(attached)%3C%2FSPAN%3E%3CBR%20%2F%3E%3CSPAN%3EAs%20per%20the%20boot%20log%20your%20mc%20firmware%20version%20is%20%22version%3A%2010.24.0%22%3C%2FSPAN%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3CSPAN%3E2.%20Please%20share%20dump%20of%20PHY%20register%205%20(partner%20ability)%20using%20MDIO%20command%20on%20uboot%3C%2FSPAN%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3CSPAN%3E3.%20what%20is%20the%20clock%20frequency%20of%20CLK_SD2_F_P%2FN%20%3F%3C%2FSPAN%3E%3C%2FSTRONG%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1331505%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20dpmac17%20sgmii%20Problems%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1331505%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EDear%20Yiping%2C%3C%2FP%3E%3CP%3ECould%20you%20help%20give%20a%20demo%20for%20mac%20loopback%20code%20in%20u-boot.%3C%2FP%3E%3CP%3ESuch%20as%20mac17%20mac%20loopback.%20Many%20thanks.%3CBR%20%2F%3E%3CBR%20%2F%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1330825%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20dpmac17%20sgmii%20Problems%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1330825%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%3CSPAN%3EPlease%20refer%20%22Table%2051%20MAC%20Capabilities%22%20This%20table%20shows%20different%20MAC%20address%20and%20there%20capability.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3EI%20understand%20customer%20is%20using%20MAC%2017%20hence%20to%20reading%20all%20the%20register%20customer%20needs%20to%20use%20address%20%228C4_7000h%22%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3ESyntax%20for%20Clause%2045%3A%20(Please%20read%20status%20register%20multiple%20times)%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3Ego%200x80300000%20read%20%3CMAC%20address%3D%22%22%3E%20%3CMMD%20device%3D%22%22%3E%20%3CREGISTER%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3C%2FREGISTER%3E%3C%2FMMD%3E%3C%2FMAC%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3Ego%200x80300000%20read%200x8c0b000%203%201%26nbsp%3B%26nbsp%3B%20%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3E0x8c0b000%3D%20MAC%20address%20%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3E3-%26gt%3B%26nbsp%3B%20Device%3A%20PCS%20address%26nbsp%3B%20(Table%20287.%20Device%20Address%20Overview)%20%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3E1-%26gt%3B%20PCS%20status%20register%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3ESyntax%20for%20Clause%2022%3A%20(Please%20read%20status%20register%20multiple%20times)%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3Eread%20%3CMAC_ADDR%3E%20%3CMMD%20always%3D%22%22%200%3D%22%22%3E%26nbsp%3B%20%3CREG%20addr%3D%22%22%3E%26nbsp%3B%20%3CANY%3E%3C%2FANY%3E%3C%2FREG%3E%3C%2FMMD%3E%3C%2FMAC_ADDR%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3EFor%20example%20to%20read%20control%20register%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3Ego%200x80300000%20read%200x8c47000%200%200%200%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3ETo%20Read%20status%20register%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3Ego%200x80300000%20read%200x8c47000%200%201%200%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3EDo%20customer%20is%20able%20to%20boot%20linux%20on%20board%3F%20%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3Edoes%20ping%20don't%20work%20on%20Linux%3F%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3ECan%20you%20detail%20about%20your%20setup%3F%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3EPlease%20use%20MAC17%20address%20%228C4_7000%22%20instead%20of%200x8c0b000.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1330678%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20dpmac17%20sgmii%20Problems%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1330678%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%3CSPAN%3EA%20little%20problem%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3D%26gt%3B%20mdio%20list%3CBR%20%2F%3EFSL_MDIO0%3A%3CBR%20%2F%3E4%20-%20AR8031%2FAR8033%20%26lt%3B--%26gt%3B%20DPMAC17%40sgmii%3CBR%20%2F%3EFSL_MDIO1%3A%3CBR%20%2F%3E%3D%26gt%3B%20mdio%20read%20DPMAC17%40sgmii%201%3CBR%20%2F%3EReading%20from%20bus%20FSL_MDIO0%3CBR%20%2F%3EPHY%20at%20address%204%3A%3CBR%20%2F%3E1%20-%200x796d%3CBR%20%2F%3E%3D%26gt%3B%20go%200x80300000%20read%20%3CFONT%20color%3D%22%23FF6600%22%3E0x8c0b000%3C%2FFONT%3E%203%202%3CBR%20%2F%3E%23%23%20Starting%20application%20at%200x80300000%20...%3CBR%20%2F%3EExample%20expects%20ABI%20version%209%3CBR%20%2F%3EActual%20U-Boot%20ABI%20version%209%3CBR%20%2F%3EInternal%20MDIO%20read%20%2F%20write%3CBR%20%2F%3Eargc%20%3D%205%3CBR%20%2F%3Eoperation%20%3D%20%22read%22%3CBR%20%2F%3Emac%20offset%20%3D%20%220x8c0b000%22%3CBR%20%2F%3Edev%20addr%20%3D%20%223%22%3CBR%20%2F%3Ereg%20addr%20%3D%20%222%22%3CBR%20%2F%3Emdio_cfg%20bsy%20set%3CBR%20%2F%3Emdio_data%20bsy%20set%3C%2FP%3E%3CP%3E%3CBR%20%2F%3Eoutput%20data%3A%200x00000000%3C%2FP%3E%3CP%3E%3CBR%20%2F%3E%23%23%20Application%20terminated%2C%20rc%20%3D%200x0%3CBR%20%2F%3E%3D%26gt%3B%20go%200x80300000%20read%20%3CFONT%20color%3D%22%23FF6600%22%3E0x8c0b000%3C%2FFONT%3E%203%203%3CBR%20%2F%3E%23%23%20Starting%20application%20at%200x80300000%20...%3CBR%20%2F%3EExample%20expects%20ABI%20version%209%3CBR%20%2F%3EActual%20U-Boot%20ABI%20version%209%3CBR%20%2F%3EInternal%20MDIO%20read%20%2F%20write%3CBR%20%2F%3Eargc%20%3D%205%3CBR%20%2F%3Eoperation%20%3D%20%22read%22%3CBR%20%2F%3Emac%20offset%20%3D%20%220x8c0b000%22%3CBR%20%2F%3Edev%20addr%20%3D%20%223%22%3CBR%20%2F%3Ereg%20addr%20%3D%20%223%22%3CBR%20%2F%3Emdio_cfg%20bsy%20set%3CBR%20%2F%3Emdio_data%20bsy%20set%3C%2FP%3E%3CP%3E%3CBR%20%2F%3Eoutput%20data%3A%200x00000000%3C%2FP%3E%3CP%3E%3CBR%20%2F%3E%23%23%20Application%20terminated%2C%20rc%20%3D%200x0%3CBR%20%2F%3E%3D%26gt%3B%20go%200x80300000%20read%200x8c0b000%203%200%3CBR%20%2F%3E%23%23%20Starting%20application%20at%200x80300000%20...%3CBR%20%2F%3EExample%20expects%20ABI%20version%209%3CBR%20%2F%3EActual%20U-Boot%20ABI%20version%209%3CBR%20%2F%3EInternal%20MDIO%20read%20%2F%20write%3CBR%20%2F%3Eargc%20%3D%205%3CBR%20%2F%3Eoperation%20%3D%20%22read%22%3CBR%20%2F%3Emac%20offset%20%3D%20%220x8c0b000%22%3CBR%20%2F%3Edev%20addr%20%3D%20%223%22%3CBR%20%2F%3Ereg%20addr%20%3D%20%220%22%3CBR%20%2F%3Emdio_cfg%20bsy%20set%3CBR%20%2F%3Emdio_data%20bsy%20set%3C%2FP%3E%3CP%3E%3CBR%20%2F%3Eoutput%20data%3A%200x00000000%3C%2FP%3E%3CP%3E%3CBR%20%2F%3E%23%23%20Application%20terminated%2C%20rc%20%3D%200x0%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1330086%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20dpmac17%20sgmii%20Problems%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1330086%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EThanks%20for%20update.%20Can%20you%20please%20view%20more%20registers%20to%20check%20if%20read%20is%20working%20correctly%3F%3C%2FP%3E%3CP%3EPlease%20refer%20register%20details%20in%20LX2160ARM%20Rev0%2007%2F2020%20section%2026.9.2%20SGMII%20Registers%20(Please%20read%20register%200%2C2%2C3%20also)%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1330063%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20dpmac17%20sgmii%20Problems%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1330063%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%3CSPAN%3EMAC%20and%20PHY%20link%20status%20is%20not%20ok%3F%26nbsp%3BWe%20are%20using%20SGMII%2C%20DPL%20or%20DPC%20need%20configuration%20%3F%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3D%26gt%3B%20go%200x80300000%20read%20%3CFONT%20color%3D%22%23FF6600%22%3E0x8c0b000%3C%2FFONT%3E%203%201%3CBR%20%2F%3E%23%23%20Starting%20application%20at%200x80300000%20...%3CBR%20%2F%3EExample%20expects%20ABI%20version%209%3CBR%20%2F%3EActual%20U-Boot%20ABI%20version%209%3CBR%20%2F%3EInternal%20MDIO%20read%20%2F%20write%3CBR%20%2F%3Eargc%20%3D%205%3CBR%20%2F%3Eoperation%20%3D%20%22read%22%3CBR%20%2F%3Emac%20offset%20%3D%20%220x8c0b000%22%3CBR%20%2F%3Edev%20addr%20%3D%20%223%22%3CBR%20%2F%3Ereg%20addr%20%3D%20%221%22%3CBR%20%2F%3Emdio_cfg%20bsy%20set%3CBR%20%2F%3Emdio_data%20bsy%20set%3C%2FP%3E%3CP%3E%3CBR%20%2F%3Eoutput%20data%3A%200x00000000%3C%2FP%3E%3CP%3E%3CBR%20%2F%3E%23%23%20Application%20terminated%2C%20rc%20%3D%200x0%3CBR%20%2F%3E%3D%26gt%3B%20go%200x80300000%20read%20%3CFONT%20color%3D%22%23FF6600%22%3E0x8c47000%3C%2FFONT%3E%203%201%3CBR%20%2F%3E%23%23%20Starting%20application%20at%200x80300000%20...%3CBR%20%2F%3EExample%20expects%20ABI%20version%209%3CBR%20%2F%3EActual%20U-Boot%20ABI%20version%209%3CBR%20%2F%3EInternal%20MDIO%20read%20%2F%20write%3CBR%20%2F%3Eargc%20%3D%205%3CBR%20%2F%3Eoperation%20%3D%20%22read%22%3CBR%20%2F%3Emac%20offset%20%3D%20%220x8c47000%22%3CBR%20%2F%3Edev%20addr%20%3D%20%223%22%3CBR%20%2F%3Ereg%20addr%20%3D%20%221%22%3CBR%20%2F%3Emdio_cfg%20bsy%20set%3CBR%20%2F%3Emdio_data%20bsy%20set%3C%2FP%3E%3CP%3E%3CBR%20%2F%3Eoutput%20data%3A%200x00000000%3C%2FP%3E%3CP%3E%3CBR%20%2F%3E%23%23%20Application%20terminated%2C%20rc%20%3D%200x0%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1330050%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20dpmac17%20sgmii%20Problems%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1330050%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%3CSPAN%3ESorry%20for%20typo%2C%20correct%20command%20is%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3Ego%200x80300000%20read%200x8c0b000%203%201%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1330019%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20dpmac17%20sgmii%20Problems%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1330019%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%3CSPAN%3Ethe%20usage%20is%20a%20little%20wrong.%20One%20parameter%20missing%3F%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3D%26gt%3B%20go%200x80300000%20read%200x8c47000%203%3CBR%20%2F%3E%23%23%20Starting%20application%20at%200x80300000%20...%3CBR%20%2F%3EExample%20expects%20ABI%20version%209%3CBR%20%2F%3EActual%20U-Boot%20ABI%20version%209%3CBR%20%2F%3EInternal%20MDIO%20read%20%2F%20write%3CBR%20%2F%3Eargc%20%3D%204%3CBR%20%2F%3Eoperation%20%3D%20%22read%22%3CBR%20%2F%3Emac%20offset%20%3D%20%220x8c47000%22%3CBR%20%2F%3Edev%20addr%20%3D%20%223%22%3CBR%20%2F%3EUsage%3A%20go%200x80300000%20%3CREAD%3E%20%3CMAC%20offset%3D%22%22%3E%20%3CMMD%3E%20%3CREG%3E%20%5Bdata%5D%3C%2FREG%3E%3C%2FMMD%3E%3C%2FMAC%3E%3C%2FREAD%3E%3C%2FP%3E%3CP%3E%3CBR%20%2F%3E%23%23%20Application%20terminated%2C%20rc%20%3D%200x0%3C%2FP%3E%3CP%3E%E2%80%94%E2%80%94------------------------------------------------------------------------------------%3C%2FP%3E%3CP%3E%3D%26gt%3B%20go%200x80300000%20read%200x8c47000%203%200%3CBR%20%2F%3E%23%23%20Starting%20application%20at%200x80300000%20...%3CBR%20%2F%3EExample%20expects%20ABI%20version%209%3CBR%20%2F%3EActual%20U-Boot%20ABI%20version%209%3CBR%20%2F%3EInternal%20MDIO%20read%20%2F%20write%3CBR%20%2F%3Eargc%20%3D%205%3CBR%20%2F%3Eoperation%20%3D%20%22read%22%3CBR%20%2F%3Emac%20offset%20%3D%20%220x8c47000%22%3CBR%20%2F%3Edev%20addr%20%3D%20%223%22%3CBR%20%2F%3Ereg%20addr%20%3D%20%220%22%3CBR%20%2F%3Emdio_cfg%20bsy%20set%3CBR%20%2F%3Emdio_data%20bsy%20set%3C%2FP%3E%3CP%3E%3CBR%20%2F%3Eoutput%20data%3A%200x00000000%3C%2FP%3E%3CP%3E%3CBR%20%2F%3E%23%23%20Application%20terminated%2C%20rc%20%3D%200x0%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1330005%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20dpmac17%20sgmii%20Problems%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1330005%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%3CSPAN%3EPlease%20read%20using%20below%20command%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3Ego%200x80300000%20%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3Eread%200x8c47000%203%20%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1329937%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20dpmac17%20sgmii%20Problems%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1329937%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%3CSPAN%3EI%20followed%20your%20prompts%20and%20programmed%20mdio.bin%20to%200x80300000%2C%20then%20read%20the%20MAC%2017%20Base%20address%20and%20got%20some%20values.%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3D%26gt%3B%20md%200x8c47000%204%3CBR%20%2F%3E08c47000%3A%2000010200%2000000000%2000000810%2000000000%20................%3CBR%20%2F%3E%3D%26gt%3B%3C%2FP%3E%3CP%3E%3CSPAN%3EI%20looked%20at%20the%20manual%20%22LX2160ADPAA2RM.%20PDF%20%22and%20did%20not%20see%20the%20register%20about%20the%20MAC%20link%20status%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22muaxi8_0-1629947381593.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22muaxi8_0-1629947381593.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F154148i45136B54BC9E2513%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22muaxi8_0-1629947381593.png%22%20alt%3D%22muaxi8_0-1629947381593.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1329916%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20dpmac17%20sgmii%20Problems%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1329916%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%3CSPAN%3EWhat%20is%20the%20status%20of%20link%20status%20between%20MAC%20and%20PHY%3F%3C%2FSPAN%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3CSPAN%3EYou%20can%20check%20this%20as%20detail%20below%3A%3C%2FSPAN%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3CSPAN%3EOn%20U-boot%20prompt%3A%3C%2FSPAN%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3CSPAN%3Eprintenv%20elf_load%3C%2FSPAN%3E%3CBR%20%2F%3E%3CSPAN%3Eelf_load%3Ddcache%20off%3B%20tftp%200x80300000%20%3CLOCATION%20of%3D%22%22%20mdio%3D%22%22%3E%2Fmdio.bin%3B%20dcache%20on%3B%3C%2FLOCATION%3E%3C%2FSPAN%3E%3CBR%20%2F%3E%3CSPAN%3Erun%20elf_load%26nbsp%3B%20%3C%2FSPAN%3E%3CBR%20%2F%3E%3CSPAN%3Ego%200x80300000%20read%200x8c47000%203%20%7B0x8c47000%3A%20MAC%2017%20Base%20address%7D%3C%2FSPAN%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3CSPAN%3Ea%20valid%20PCS%20link%20ix%200x00000004%3C%2FSPAN%3E%3CBR%20%2F%3E%3CSPAN%3Ebit%202%20set%3C%2FSPAN%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3CSPAN%3EPlease%20let%20us%20know%20.%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1327571%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20dpmac17%20sgmii%20Problems%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1327571%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%3CSPAN%3E1.%20Do%20ping%20works%20on%20MAC18%3F%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3E%3CSPAN%20class%3D%22tgt%22%3ERe%3A%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3E%3CSPAN%20class%3D%22tgt%22%3EDpmac18%20(EC2)%20cannot%20be%20tested%20because%20it%20is%20not%20connected%20to%20any%20PHY.%3C%2FSPAN%3E%3CSPAN%20class%3D%22tgt%22%3EWe%20only%20used%20mac17%2C%20our%20SERDES2's%20SGMII17%20was%20connected%20to%20the%20AR8033%2C%20and%20our%20EC1%20was%20connected%20to%20the%20KSZ9896%20switch%20chip%20via%20RGMII.%3C%2FSPAN%3E%3CSPAN%20class%3D%22tgt%22%3EI%20think%20this%20might%20be%20a%20problem%2C%20so%20I'm%20just%20going%20to%20debug%20SGMII%20and%20leave%20RGMII%20alone%20for%20now%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22muaxi8_1-1629705006869.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22muaxi8_1-1629705006869.png%22%20style%3D%22width%3A%20300px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F153676i1AAEFD2A060C1704%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22muaxi8_1-1629705006869.png%22%20alt%3D%22muaxi8_1-1629705006869.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%3CBR%20%2F%3E%3CP%3E%3CSPAN%3E(a).%20Clock%20configuration%20shown%20in%20uboot%20is%20not%20as%20per%20the%20selected%20protocol.%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3ERe%3A%20The%20clock%20configuration%20is%20printed%20directly%20in%20the%20source%20code%2C%20we%20did%20not%20remove%2C%20serdes2%20clock%20is%20actually%20161.xxxMhz.%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22muaxi8_0-1629703300147.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22muaxi8_0-1629703300147.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F153673iCFE9887E38EA3656%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22muaxi8_0-1629703300147.png%22%20alt%3D%22muaxi8_0-1629703300147.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%3CBR%20%2F%3E%3CP%3E%3CSPAN%3E(b).%20PCA%3A%20failed%20to%20select%20proper%20channel%3C%2FSPAN%3E%3C%2FP%3E%3CP%3ERe%3A%26nbsp%3B%3CSPAN%3EOur%20custom%20board%20is%20not%20using%20PCA9547%20(I2C%20MUX%2C%20level%201)%2C%20so%20there%20is%20this%20error%E3%80%82%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3E%26nbsp%3Bschematic%3A%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%E9%93%BE%E6%8E%A5%EF%BC%9A%3CA%20href%3D%22https%3A%2F%2Fpan.baidu.com%2Fs%2F14edfW8yig7c-qZyYTLk7xQ%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3Ehttps%3A%2F%2Fpan.baidu.com%2Fs%2F14edfW8yig7c-qZyYTLk7xQ%3C%2FA%3E%3CBR%20%2F%3E%E6%8F%90%E5%8F%96%E7%A0%81%EF%BC%9A2345%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1327509%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20dpmac17%20sgmii%20Problems%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1327509%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%3CSPAN%3EFew%20clarifications%3A%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%0A%3COL%3E%0A%3CLI%3E%3CSPAN%3E%20Do%20ping%20works%20on%20MAC18%3F%3C%2FSPAN%3E%3C%2FLI%3E%0A%3CLI%3E%3CSPAN%3E%20Few%20strange%20observation%20in%20U-boot%20log%3A%3C%2FSPAN%3E%3C%2FLI%3E%0A%3C%2FOL%3E%0A%3CP%3E%3CSPAN%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20(a).%20Clock%20configuration%20shown%20in%20uboot%20is%20not%20as%20per%20the%20selected%20protocol.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20(b).%20PCA%3A%20failed%20to%20select%20proper%20channel%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3EMAC17%20and%20MAC18%20is%20same%20so%20same%20issue%20should%20be%20with%20MAC%2018.%3C%2FSPAN%3E%3C%2FP%3E%0A%3COL%20start%3D%223%22%3E%0A%3CLI%3E%3CSPAN%3E%20Can%20you%20share%20share%20schematic%3F%3C%2FSPAN%3E%3C%2FLI%3E%0A%3C%2FOL%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1326633%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20dpmac17%20sgmii%20Problems%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1326633%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%3CSPAN%3EThe%20second%20read%20was%20link.%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22muaxi8_0-1629436586753.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22muaxi8_0-1629436586753.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F153524i517C7F3ABDC9C504%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22muaxi8_0-1629436586753.png%22%20alt%3D%22muaxi8_0-1629436586753.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1326594%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20dpmac17%20sgmii%20Problems%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1326594%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EYou%20could%20use%26nbsp%3Bmdio%20read%20command%20to%20check%26nbsp%3Bthe%20status%20of%20a%20SGMII%20link.%3C%2FP%3E%0A%3CP%3E%3D%26gt%3B%20mdio%20list%3CBR%20%2F%3EFSL_MDIO0%3A%3CBR%20%2F%3E4%20-%20AR8031%2FAR8033%20%26lt%3B--%26gt%3B%20DPMAC17%40sgmii%3CBR%20%2F%3EFSL_MDIO1%3A%3CBR%20%2F%3E%3D%26gt%3B%20mdio%20read%20DPMAC17%40sgmii%201%3CBR%20%2F%3EReading%20from%20bus%20FSL_MDIO0%3CBR%20%2F%3EPHY%20at%20address%204%3A%3CBR%20%2F%3E1%20-%200x7969%3CBR%20%2F%3E%3D%26gt%3B%3C%2FP%3E%0A%3CP%3EThe%20link%20partner%20link%20status%20bit%20is%20in%20Register%20%231%20on%20the%20PHY.%20The%20'Link%20Status'%20bit%20is%20bit%20%232%20(from%20the%20left)%20of%20the%20last%20nibble.%20In%20your%20above%20result%2C%20the%20nibble%20of%20interest%20is%20%229%22%20(d%20%3D%20b'1001')%2C%20and%20therefore%20the%20'Link%20Status'%20%3D%200%2C%20which%20means%20'link%20download'.%20If%20the%20link%20is%20up%2C%26nbsp%3B%20this%20bit%20would%20be%20a%20%221%2C%22%20and%20we%20would%20see%200x796d.%26nbsp%3B%3C%2FP%3E%0A%3CP%3ESo%20on%20your%20custom%20board%20the%20SGMII%20link%20status%20is%20download%2C%20please%20check%20the%20probable%20hardware%20issue.%3C%2FP%3E%0A%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1326185%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20dpmac17%20sgmii%20Problems%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1326185%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%3CSPAN%3EYes%2C%20we%20have%20modified%20this%20part%20code%20%2C%20The%20problem%20remains%E3%80%82Does%20the%20DPC%20need%20to%20be%20modified%3F%20%26nbsp%3BWe%20have%20checked%20the%20content%20of%20the%20DPC%20and%20there%20seems%20to%20be%20no%20problem%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1326122%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20dpmac17%20sgmii%20Problems%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1326122%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EIn%26nbsp%3Bboard%2Ffreescale%2Flx2160a%2Feth_lx2160ardb.c%2C%20please%20modify%20the%20following%20section%20according%20to%20your%20custom%20board.%3C%2FP%3E%0A%3CP%3Efor%20(i%20%3D%20WRIOP1_DPMAC17%3B%20i%20%26lt%3B%3D%20WRIOP1_DPMAC18%3B%20i%2B%2B)%20%7B%3CBR%20%2F%3E%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20interface%20%3D%20wriop_get_enet_if(i)%3B%3CBR%20%2F%3E%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20switch%20(interface)%20%7B%3CBR%20%2F%3E%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20case%20PHY_INTERFACE_MODE_RGMII%3A%3CBR%20%2F%3E%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20case%20PHY_INTERFACE_MODE_RGMII_ID%3A%3CBR%20%2F%3E%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3Bdev%20%3D%20miiphy_get_dev_by_name(DEFAULT_WRIOP_MDIO1_NAME)%3B%3CBR%20%2F%3E%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20wriop_set_mdio(i%2C%20dev)%3B%3CBR%20%2F%3E%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20break%3B%3CBR%20%2F%3E%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20default%3A%3CBR%20%2F%3E%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20break%3B%3CBR%20%2F%3E%7D%3C%2FP%3E%0A%3CP%3EModify%20to%3A%3C%2FP%3E%0A%3CP%3Efor%20(i%20%3D%20WRIOP1_DPMAC17%3B%20i%20%26lt%3B%3D%20WRIOP1_DPMAC18%3B%20i%2B%2B)%20%7B%3CBR%20%2F%3E%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20interface%20%3D%20wriop_get_enet_if(i)%3B%3CBR%20%2F%3E%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20switch%20(interface)%20%7B%3CBR%20%2F%3E%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20case%20PHY_INTERFACE_MODE_SGMII%3A%3CBR%20%2F%3E%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3Bdev%20%3D%20miiphy_get_dev_by_name(DEFAULT_WRIOP_MDIO1_NAME)%3B%3CBR%20%2F%3E%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20wriop_set_mdio(i%2C%20dev)%3B%3CBR%20%2F%3E%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20break%3B%3CBR%20%2F%3E%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20default%3A%3CBR%20%2F%3E%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20break%3B%3CBR%20%2F%3E%7D%3C%2FP%3E%0A%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1324548%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20dpmac17%20sgmii%20Problems%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1324548%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%3D%26gt%3B%20ping%2010.0.1.119%3CBR%20%2F%3EUsing%20DPMAC17%40sgmii%20device%3C%2FP%3E%3CP%3EARP%20Retry%20count%20exceeded%3B%20starting%20again%3CBR%20%2F%3Eping%20failed%3B%20host%2010.0.1.119%20is%20not%20alive%3C%2FP%3E%3CP%3Eyes%20my%26nbsp%3B%3CSPAN%3E%26nbsp%3BPHY%20chip%20is%3C%2FSPAN%3E%3CSPAN%3E%26nbsp%3BAR8033%E3%80%82%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3Ei%20have%20enabled%20the%20following%20in%26nbsp%3Bconfigs%2Flx2160ardb_tfa_defconfig%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22muaxi8_0-1629188185935.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22muaxi8_0-1629188185935.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F153159i259FC88510F428C4%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22muaxi8_0-1629188185935.png%22%20alt%3D%22muaxi8_0-1629188185935.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1324505%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20dpmac17%20sgmii%20Problems%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1324505%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EWould%20you%20please%20provide%20your%20u-boot%20console%20log%20and%20the%20results%20of%20the%20following%20commands%3F%3C%2FP%3E%3CP%3E%3D%26gt%3B%20mdio%20list%3CBR%20%2F%3EFSL_MDIO0%3A%3CBR%20%2F%3E0%20-%20Cortina%20CS4223%20%26lt%3B--%26gt%3B%20DPMAC2%40xlaui4%3CBR%20%2F%3E1%20-%20AR8035%20%26lt%3B--%26gt%3B%20DPMAC17%40rgmii-id%3CBR%20%2F%3E2%20-%20AR8035%20%26lt%3B--%26gt%3B%20DPMAC18%40rgmii-id%3CBR%20%2F%3E4%20-%20Aquantia%20AQR107%20%26lt%3B--%26gt%3B%20DPMAC3%40xgmii%3CBR%20%2F%3E5%20-%20Aquantia%20AQR107%20%26lt%3B--%26gt%3B%20DPMAC4%40xgmii%3CBR%20%2F%3EFSL_MDIO1%3A%3CBR%20%2F%3E0%20-%20Inphi%20in112525_S03P%20%26lt%3B--%26gt%3B%20%3CA%20href%3D%22mailto%3ADPMAC6%4025g-aui%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3EDPMAC6%4025g-aui%3C%2FA%3E%3C%2FP%3E%3CP%3E%3CBR%20%2F%3E%3D%26gt%3B%20mdio%20read%20DPMAC17%40rgmii-id%201%3CBR%20%2F%3EReading%20from%20bus%20FSL_MDIO0%3CBR%20%2F%3EPHY%20at%20address%201%3A%3CBR%20%2F%3E1%20-%200x7949%3CBR%20%2F%3E%3D%26gt%3B%3C%2FP%3E%3CP%3EIs%20your%20PHY%20chip%3CSPAN%3E%26nbsp%3BAR8033%3F%20Have%20you%20enabled%20the%20following%20in%26nbsp%3Bconfigs%2Flx2160ardb_tfa_defconfig%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3ECONFIG_PHYLIB%3Dy%3CBR%20%2F%3ECONFIG_PHY_ATHEROS%3Dy%3CBR%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E