Re: fec driver works on linux-imx, not linux-fslc+use-mainline-bsp (imx6dl)


Fabio Estevam
 

Hi Christian,

On Mon, Aug 17, 2020 at 9:32 AM Christian Betz <christian.betz@...> wrote:

Hi,

I'm porting a custom MX6DL board from linux-imx to linux-fslc (along with use-mainline-bsp in FEATURES). The primary reason for this choice was for etnaviv support and a general preference for a mainline kernel. I'm pleased to say that the etnaviv is working ok!

Problem: The ethernet connection does not work correctly. It seems to accept pings and I can login via SSH. However, any scp or http transfer fails. Ifconfig shows TX errors. None of these issues happen on linux-imx. btw, i have an imx6qsabresd demo board running linux-fslc with use-mainline-bsp and the ethernet works fine on it.

There are no errors/warnings in dmesg. If I use "ping -s 1500 $DEVICE_IP", I definitely notice pings being lost, so this seems related to packet size somehow.

I'm looking for some suggestions on next steps to troubleshoot this issue, or some idea of what is different between linux-imx and linux-fslc when it comes to the fec driver. Note: i'm running kernel 5.4.46 based on revision 38d6c352 (Otavio's merge on June 15th).

As far as can tell, our ethernet-related customizations are minimal, basically these changes to 'pinctrl_enet' imx6qdl-sabresd.dtsi. Again, these changes seem to work fine on linux-imx but not linux-fslc with use-mainline-bsp.
What is the Ethernet PHY on your board? Is it getting detected by
looking at the dmesg log?

Could you share the schematics and device tree?

Join meta-freescale@lists.yoctoproject.org to automatically receive all group messages.