we are currently using Yocto-based image based on Linux-BSP 5.3 and a custom Kernel 4.9.87 with rt-patches (based on Kernel toradex_4.9-1.0.x-imx) on custom hardware with Colibri-iMX6DL 512MB IT (V1.1Y).
The plan is to switch to Kernel 5.15.x (based on toradex_5.15-2.2.x-imx) because of some drivers, that are only fully supported in the newer Kernel.
So it possible to change only the Kernel for our Yocto-build or what steps are needed to get the 5.15-Kernel running?
At our first tests we see for example problems with ethernet where the FEC is detected but no link up is possible (after boot no ifup, no link/traffic-LEDs active)
Hi, I’m the Toradex AI Assistant. The Toradex Support team will follow up with you shortly!
Did you like my answer?
To switch from Kernel 4.9.87 to Kernel 5.15.x on your Colibri-iMX6DL 512MB IT, you need to consider several steps beyond just changing the kernel in your Yocto build. Here are the recommended steps:
Device Tree Adjustments: Review and potentially modify your device tree entries. The device tree configuration from Kernel 4.9 may not be directly compatible with Kernel 5.15. Pay special attention to the pinctrl settings and PHY configurations. Ensure that the phy-mode and other settings are correctly defined for the new kernel.
Driver Compatibility: Verify that all necessary drivers are included and configured correctly in your Yocto build. The newer kernel may have different driver requirements or configurations.
Ethernet Configuration: Since you are experiencing issues with the Ethernet link, ensure that the PHY driver is correctly attached and configured. The boot log indicates that the PHY driver is attached, but there might be a misconfiguration in the device tree or kernel settings that prevents the link from coming up.
Testing and Debugging: After making the necessary changes, test the hardware functionality thoroughly. Use tools like ethtool to diagnose and debug Ethernet issues. Check for any additional kernel messages that might indicate what is going wrong.
Consult Documentation: Refer to Toradex documentation for any specific instructions or patches needed for the transition to Kernel 5.15.x. There might be known issues or additional steps documented that are specific to your hardware and kernel version.
By following these steps, you should be able to address the compatibility issues and successfully transition to Kernel 5.15.x.
Please, also check if these links can help you solve your problem:
I would advise against using different kernel versions from the ones provided in the BSP you are using.
We do extensive testing to ensure compatibility between the components of our BSPs.
As you want to use a newer kernel, I would recommend that you use the newly released BSP 7, which has Kernel 6.6 (mainline) for the Colibri iMX6.
The instructions on how to build it are very similar to the documentation for BSP6, you just need to initialize the build environment with the following command:
Thank you for your answer and explanation. We discussed your advises and we are going to rebuild our image so that we use newer BSP versions. It is too expensive to keep the old versions alive.