mpc8306 uboot ksz8001LI

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

mpc8306 uboot ksz8001LI

ソリューションへジャンプ
2,010件の閲覧回数
00lirui
Contributor I

   I want to study the uboot code about ksz8001LI on the board of mpc8306som, but can't sure where does the ksz8001LI driver code, How can i find it ?

0 件の賞賛
返信
1 解決策
1,768件の閲覧回数
yipingwang
NXP TechSupport
NXP TechSupport

Hello Li Rui,

MPC8306SOM uses UCC QE Ethernet driver, please refer to PHY driver file uec_phy.c(especially uec* funtions) in drivers/qe folder.

Thanks,

Yiping

元の投稿で解決策を見る

0 件の賞賛
返信
4 返答(返信)
1,768件の閲覧回数
yipingwang
NXP TechSupport
NXP TechSupport

Hello Li Rui,

It seems that ksz8001 phy driver code is not provided in u-boot drivers/net/phy folder, you need to add micrel phy driver by yourself, please refer to Linux Kernel driver drivers/net/phy/micrel.c, in addition, I attached micrel driver code from the latest SDK 1.7 u-boot, please have a reference.


Have a great day,
Yiping

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

1,768件の閲覧回数
00lirui
Contributor I

    There is one question, when  uboot run independentely ,we can tftp file , it means the phy is driven correctly, So the code must be in uboot.   Am I right?

    thank you.

0 件の賞賛
返信
1,769件の閲覧回数
yipingwang
NXP TechSupport
NXP TechSupport

Hello Li Rui,

MPC8306SOM uses UCC QE Ethernet driver, please refer to PHY driver file uec_phy.c(especially uec* funtions) in drivers/qe folder.

Thanks,

Yiping

0 件の賞賛
返信
1,768件の閲覧回数
00lirui
Contributor I

thank you so much

0 件の賞賛
返信