Hello,
on an industrial board equipped with an i.MX6ULL processor, I have an inversion of eth0 and eth1 when I switch from version 4.14 to version 6.1 of Linux. The DTS file is the same in both cases.
for v4.14:
fec 2188000.ethernet: 2188000.ethernet supply phy not found, using dummy regulator
fec 2188000.ethernet eth0: registered PHC device 0
fec 20b4000.ethernet: 20b4000.ethernet supply phy not found, using dummy regulator
fec 20b4000.ethernet: Invalid MAC address: 00:00:00:00:00:00
fec 20b4000.ethernet: Using random MAC address: ea:19:01:69:6c:57
fec 20b4000.ethernet eth1: registered PHC device 1
for v6.1:
fec 20b4000.ethernet: Invalid MAC address: 00:00:00:00:00:00
fec 20b4000.ethernet: Using random MAC address: e6:ee:86:02:bc:af
fec 20b4000.ethernet eth0: registered PHC device 0
fec 2188000.ethernet eth1: registered PHC device 1
I don't understand why there's an inversion and as I'm only using eth0, the ethernet interface doesn't work.
thank you for your help
sincerely
已解决! 转到解答。
Hello,
Thanks for your reply, but I've found the origin of this inversion.
In version 4.14 of the Linux kernel, an inversion of the fec1 and fec2 declarations in the "imx6ul.dtsi" file had been made without my knowledge. So this inversion has to be redone for kernel 6.1 in order to remain compatible with the hardware. I know it's not elegant but I don't know how else to do it.
Thanks again for your support.
Sincerely
Hi,
Thank you for your interest in NXP Semiconductor products,
You only use ENET1 and not ENET2?
Why don't you disable ENET2 status?
Did your ENET u-boot enumeration also changed?
What about your ethprime and ethact?
Could we confirm that your porting files did not change in u-boot nor linux?
Regards
Hello,
Thanks for your reply, but I've found the origin of this inversion.
In version 4.14 of the Linux kernel, an inversion of the fec1 and fec2 declarations in the "imx6ul.dtsi" file had been made without my knowledge. So this inversion has to be redone for kernel 6.1 in order to remain compatible with the hardware. I know it's not elegant but I don't know how else to do it.
Thanks again for your support.
Sincerely