1265745_en-US

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

1265745_en-US

1265745_en-US

LS1028A could not get PHY in U-Boot

Hi,

I'm developing my project with LS1028A. On my board the management interface (MDC/MDIO) of AR8031 connects to EMDIO. PHY address is 2. I read the PHY register using the following commands in U-Boot:

=>mdio read 2 0

Reading from bus emdio-3

PHY at address 2:

TT0 - 0x0

According U-Boot code, I know the character ‘T’ means MDIO busy. The EMDIO_CFG register definition gives us the description of all the bits. But how is BSY field set to 1? Does it set by hardware? and in what circumstances will it be set to 1?


Besides, I have another test that disconnects the MDIO/MDC between LS1028 and AR8031.  BSY field is still 1.




Re: LS1028A could not get PHY in U-BootHello, I've also run into the problem where the MDIO bus is unable to read the PHY chip. I was wondering if you could kindly share how you resolved it at the time. Thank you very much.Re: LS1028A could not get PHY in U-Boot

Hi, @ainolike 

I met the same problem on my project. The reference board has two phy chips(RGMII QSGMII interface) connected to the lsf0204 which work very well. And we add another phy (RGMII interaface) and cause the MDIO BUSY occasionally. Can you tell me how to fix it on your project in the end?

Thank you 

xinli

Re: LS1028A could not get PHY in U-Boot

I make a test that is removing lsf0204 from our board. And the MDIO is no longer busy. 

Two PHY chips are connected to lsf0204. When disconnect one, theother can be read normally.

Re: LS1028A could not get PHY in U-Boot

There is a lsf0204 between LS1028A and PHY MDC/MDIO interface. PHY chip is disconnected from lsf0204, the BSY bit of register is still 1.

Re: LS1028A could not get PHY in U-Boot

I don't know much about hardware. Our hardware engineers say that it's a matter of electrical level.

Re: LS1028A could not get PHY in U-Boot

> our hardware has some changes.

Which exactly changes?

Re: LS1028A could not get PHY in U-Boot

This problem is probably a hardware problem, because our hardware has some changes. The same U-Boot image can find PHY on the development board.

I want to know what the MDIO busy implementation mechanism is, which is not described in detail in LS1028ARM.pdf.

Re: LS1028A could not get PHY in U-Boot

=> md 0x1f8101c00

1f8101c00: 80839549 00008000 00000000 00000003

1f8101c10: 00030001 00000000 00000000 00000000

1f8101c20: 00000000 00000000 00000000 00000000

1f8101c30: 00000000 00000000 00000000 00000000


=> md 0x1e00074

01e00074: 00000000 00000000 00000000 00000000

01e00084: 00000000 00000000 00000000 00000000

01e00094: 00000000 00000000 00000000 00000000

01e000a4: 870b0110 00000040 00000000 00000000


Re: LS1028A could not get PHY in U-Boot

Please provide raw memory dump of the EMDIO registers and DEVDISR2.


タグ(1)
評価なし
バージョン履歴
最終更新日:
‎05-01-2026 02:32 AM
更新者: