Hi,
I am working on i.MX8M nano board with ddr4. We changed the default phy from AR8031 to AR8035.
I think linux driver for both phy is at803x.c is common. Now I am getting below error while making the ethernet interface up.
root@imx8mnevk:~# ifconfig eth0 up
[ 41.388469] fec 30be0000.ethernet eth0: Unable to connect to phy
ifconfig: SIOCSIFFLAGS: No such device
root@imx8mnevk:~#
I could see 1 functional block, 1 chip select register as differences between AR8031 and AR8035.
Please find the pictures attached. What are the changes required in kernel or uboot to make the ethernet interface up? Any suggestions would help a lot.
Thank you
Sandeep Raj
Hi Igor,
I tried to add node like in imx6dl-riotboard.dts in imx8mn.dtsi. my probe function is failing with error 'Unable to connect to phy'. But with same image I could see 8031 phy attached successfully in dmesg log in another board. This seems my node is not triggering the 8035, but my node is still triggering the 8031 in the driver, is it?
one can look at AR8035 initialization in
Best regards
igor
Hi Sandeep
some i.mx boards used AR8035, one can look at its configurations:
https://github.com/Freescale/linux-fslc/blob/5.9.x%2Bfslc/arch/arm/boot/dts/imx6dl-riotboard.dts
https://github.com/ARM-software/u-boot/blob/master/board/embest/mx6boards/mx6boards.c
Best regards
igor