i asked a related question before and got some help and saw tens of times
and thought i can add fec2 but i failed
when i changed dts file ( see below) , fec1 ,fec2 could n’t get connect phy
here is log
[ OK ] Started Permit User Sessions.
[ OK ] Started Getty on tty1.
[ OK ] Started Serial Getty on ttymxc0.
[ 8.308979] Generic PHY 30bf0000.ethernet-1:01: attached PHY driver [Generic PHY] (mii_bus:phy_addr=30bf0000.ethernet-1:01, irq=POLL)
[ OK ] Reached target Login Prompts.
**8.328535] fec 30be0000.ethernet eth1: Unable to connect to phy
[ OK ] Started Avahi mDNS/DNS-SD Stack.
[ OK ] Reached target Multi-User System.
and i wonder fec1 in devicetree was registered as eth0 where could i change the loading order of fec1 and fec2
hi alvaro.tx
i forgot to update my issue and i figured out what was the problem
i followed the kernel source ( 5.4-2.3.x-imx) and add exclusive flag in devicetree
but still linux uses fec1 as eth0 , i change the order in devicetree but it doesn’t work
and Linux uses the only one mac address from- u-boot
about mac address issue any hints will be of great help
I have a similar issue about swapped eth0/eth1.
By working on old 2.8 BSP and I’ve never had ethernet issues.
Now, upgrading to BSP 5.7 I am experiencing this inversion.
How have you solved this issue?
Hello @lupo
Currently I can’t help you with your problem, but I am facing with related issue. Could you describe me how to get working fec2 on collibri-imx7d? my thread
I have problem with RMII clock in our design. It is not generated from Colibri board.
do you use external 50MHz oscillator to clock PHY ic?
which kernel do you use?
is your device-tree same as posted here by @hyoungki?