I am using the IMX6SX chip with 800M frequency and yocto to build the file. The uboot version number is 2020.04-5.4.24-2.1.0.Because we don't need a gigabit network, the AR8031 network chip is replaced with a KSZ8081 chip, using the RMII interface.But no matter how I modify the two files git/board/freescale/mx6sxsabresd/mx6sxsabresd.c and git/include/configs/mx6sxsabresd.h, they have no effect.What should I do to make KSZ8081 work properly?In addition, we use an external crystal oscillator as the clock source.
I found that the network used the device tree and entered the function fecmxc_probe.I want to ask if this function initializes the RMII/RGMII interface?How can I modify this file and the device tree file to achieve my function?
Thank you very much for your reply.Now my board can communicate with ksz8081, but the network is unavailable. I guess it is related to changing RGMII to RMII and providing clock source through external crystal oscillator, but I am not sure how to modify this.