Imx6 custom board

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Imx6 custom board

Jump to solution
893 Views
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 Kudos
Reply
1 Solution
879 Views
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

View solution in original post

0 Kudos
Reply
1 Reply
880 Views
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 Kudos
Reply