mpc8306 uboot ksz8001LI

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

mpc8306 uboot ksz8001LI

跳至解决方案
2,009 次查看
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,767 次查看
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,767 次查看
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,767 次查看
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,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 项奖励
回复
1,767 次查看
00lirui
Contributor I

thank you so much

0 项奖励
回复