1862714_en-US

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

1862714_en-US

1862714_en-US

iMX93 Network Interface

Hello,

I believe this issue can be easily resolved from userspace. Currently, when booting up the iMX93 EVK using "NXP i.MX Release Distro 6.1-mickledore imx93evk," the left Ethernet port is labeled (ENET2) and the right Ethernet port is labeled (ENET1) on the board. However, upon booting into Linux, eth0 is assigned to ENET2 and eth1 to ENET1.

[275870.178004] fec 42890000.ethernet eth0: Link is Up - 1Gbps/Full - flow control off
[275870.185699] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready

[275895.075584] imx-dwmac 428a0000.ethernet eth1: Link is Up - 1Gbps/Full - flow control off
[275895.083801] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready

What would be the best approach to ensure that upon Linux boot, ENET1 is eth0 and ENET2 is eth1? Should we consider changing the order in which drivers load, renaming the interface using systemd, or implementing a simple bash script?

Any help will be highly appreciated. 

Cheers,
Nitesh

 

i.MX 8 Family | i.MX 8QuadMax (8QM) | 8QuadPlusLinuxYocto ProjectRe: iMX93 Network InterfaceMuch appreciated for the solution.Re: iMX93 Network Interface

@Chavira 

Never mind... I see what you mean and I just noticed device tree "imx93-11x11-evk.dts" includes "#include "imx93.dtsi"". 

Let me edit "imx93.dtsi" and test. 

Cheers, 
Nitesh

Re: iMX93 Network Interface

Hello @Chavira 

Thank you for your prompt response. 

For my prototype I'm using https://github.com/nxp-imx/linux-imx/blob/lf-6.1.y/arch/arm64/boot/dts/freescale/imx93-11x11-evk.dts... device tree. 

How can I modify the above dts?

Cheers, 
Nitesh

Re: iMX93 Network Interface

Hi @pilotnite!

Thank you for contacting NXP Support!

 

I think that can be solved in the device tree.

 

By default is defined in the following way:

 

ethernet0 = &fec;

ethernet1 = &eqos;

 

You have to change that with:

 

ethernet0 = &eqos;

ethernet1 = &fec;

 

Please try it and share your results.

 

https://github.com/nxp-imx/linux-imx/blob/lf-6.1.y/arch/arm64/boot/dts/freescale/imx93.dtsi#L33

 

Best Regards!

Chavira

标记 (1)
无评分
版本历史
最后更新:
‎11-22-2025 07:38 AM
更新人: