I followed instructions to build u-boot from source for apalis imx6 BSP 6.8.0 and network is not working.
I tested building u-boot from source for apalis imx6 BSP 7.5.0 and network is working.
U-boot boots correctly on both BSPs.
I did not flash an environment, so u-boot throws an error when it tries to load it from the MMC:
BSP 7.5.0: “Loading Environment from MMC… Reading from MMC(0)… *** Warning - bad CRC, us”
BSP 6.8.0: “Loading Environment from MMC… *** Warning - bad CRC, using default environment”
I think u-boot uses its hardcoded default environment.
I don’t think the network problem is associated with the missing environment, since on BSP 7.5.0 it works anyways.
I am testing network with the “dhcp” command from u-boot. On BSP 7.5.0 the dhcp server sees the requests from u-boot and assigns it an IP. On BSP 6.8.0 no requests are sent.
I am also capturing packets with wireshark and I see request packets on BSP 7.5.0 but I see no packets at all from BSP 6.8.0.
I have also tested u-boot BSP 6.x.y on several apalis imx6 SoMs, and it seems the issue only happens on SoMs with the KSZ9131RNXI transceiver.
- Apalis iMX6D 1GB IT V1.1A (KSZ9131RNXI transceiver): Network NOT WORKING
- Apalis iMX6Q 2GB IT V1.1C (KSZ9031RNXIC transceiver): Network WORKING
- Apalis iMX6D 1GB IT V1.1B (KSZ9031RNXIC transceiver): Network WORKING
- Apalis iMX6D 1GB IT V1.1C (KSZ9131RNXI transceiver): Network NOT WORKING
Is this a known issue? What is causing the problem? Is there a solution?