Imx6 custom board

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

Imx6 custom board

跳至解决方案
845 次查看
bastien
Contributor I

Hello comminity,

I am working on imx6 custom board and i want to add ethernet interface.

The evaluations boards from nxp are based on RGMII with AR8031 chip or lan8720.

I need to know :

Does the linux recognizes automatically the phy ethernet even if I choose an other phy components as the ksz8794 or others ?

If driver is needed, how to build and implement it on my custol software?

Is it possible to get some documentations about this ?

Thank you

Best regards

0 项奖励
回复
1 解答
831 次查看
igorpadykov
NXP Employee
NXP Employee

Hi bastien

 

some specific for each phy ethernet can be required, as for example related to ar8031 codes can be

found in .. arch/arm/mach-imx/mach-imx6q.c, drivers/net/ethernet/freescale/fec_fixup.c
for lan8720 in ..drivers/net/phy/smsc.c :

https://source.codeaurora.org/external/imx/linux-imx/tree/drivers/net/phy?h=imx_4.19.35_1.1.0&id=2a8...

Porting documentation can be found in

https://www.nxp.com/design/software/embedded-software/i-mx-software/embedded-linux-for-i-mx-applicat...

 

Best regards
igor

在原帖中查看解决方案

0 项奖励
回复
1 回复
832 次查看
igorpadykov
NXP Employee
NXP Employee

Hi bastien

 

some specific for each phy ethernet can be required, as for example related to ar8031 codes can be

found in .. arch/arm/mach-imx/mach-imx6q.c, drivers/net/ethernet/freescale/fec_fixup.c
for lan8720 in ..drivers/net/phy/smsc.c :

https://source.codeaurora.org/external/imx/linux-imx/tree/drivers/net/phy?h=imx_4.19.35_1.1.0&id=2a8...

Porting documentation can be found in

https://www.nxp.com/design/software/embedded-software/i-mx-software/embedded-linux-for-i-mx-applicat...

 

Best regards
igor

0 项奖励
回复