yocto linux support for second ethernet port on I.MX8 MEK board

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

yocto linux support for second ethernet port on I.MX8 MEK board

跳至解决方案
1,505 次查看
edouard_charvet
Contributor III
Hello, We want to use the second ethernet port of the I.MX8, which is available on the back connector of the I.MX8 MEK board using a custom design board. Our understanding is that we need to add a PHY. We would like to use the DP83867. I'm wondering how this will then work with linux. I have very little experience with Linux drivers. I'm using the yocto linux provided by NXP (branch imx-linux-zeus - imx-5.4.70-2.3.1) and I'm wondering if it will support this PHY or not ? If it does not, which PHY are supported (we may consider using another one then...) ? If it does, what do I need to do in Linux to get the 2nd connection active then ? Thanks,
标记 (6)
0 项奖励
回复
1 解答
1,494 次查看
igorpadykov
NXP Employee
NXP Employee

Hi Edouard

 

for second ethernet port one can try enet accessory cards (like IMX-RMII-BRPHY with TJA1100) described on

https://www.nxp.com/design/development-boards/i-mx-evaluation-and-development-boards/i-mx-8-series-a...

 

for software use fsl-imx8qxp-mek-enet2-tja1100.dts

https://source.codeaurora.org/external/imx/linux-imx/tree/arch/arm64/boot/dts/freescale/imx8qxp-mek-...

Default nxp bsps do not support DP83867, one will have to port it, use its driver

https://source.codeaurora.org/external/imx/linux-imx/tree/drivers/net/phy/dp83867.c?h=imx_5.4.70_2.3...

 

Best regards
igor

在原帖中查看解决方案

0 项奖励
回复
3 回复数
1,495 次查看
igorpadykov
NXP Employee
NXP Employee

Hi Edouard

 

for second ethernet port one can try enet accessory cards (like IMX-RMII-BRPHY with TJA1100) described on

https://www.nxp.com/design/development-boards/i-mx-evaluation-and-development-boards/i-mx-8-series-a...

 

for software use fsl-imx8qxp-mek-enet2-tja1100.dts

https://source.codeaurora.org/external/imx/linux-imx/tree/arch/arm64/boot/dts/freescale/imx8qxp-mek-...

Default nxp bsps do not support DP83867, one will have to port it, use its driver

https://source.codeaurora.org/external/imx/linux-imx/tree/drivers/net/phy/dp83867.c?h=imx_5.4.70_2.3...

 

Best regards
igor

0 项奖励
回复
1,478 次查看
edouard_charvet
Contributor III

@igorpadykov : thanks for the answer. Can you be a bit more explicit with what I need to do to "port" the DP83867 driver you provided in the link ? Is this a complex task ? I could rebuild the yocto distribution that is mentioned in my initial post. How do I add the driver to this ? Do I need to create a new yocto recipe; or add it to an existing recipe ? How do I "plug" it into the kernel ? Is there some files from the filesystem to modify ? I know very little about drivers in Linux... Any examples or guided walkthrough would be greatly appreciated...

Thanks for your help.

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

Hi Edouard

 

regarding porting new driver, unfortunately it is not simple task. NXP has special

service for help with porting new drivers: https://contact.nxp.com/new-prof-svcs-sw-tech

As general documentation one can refer to  i.MX Porting Guide

 

Best regards
igor

0 项奖励
回复