Devicetree torizoncore-builder breaks usb


Apalis iMX8 Max
Torizon 6.6
Custom carrier board

We built the 6.6.0 torizon-core-docker image with Yocto and tested it in our custom carrier board. USB works, wifi works.
After this we apply our custom device tree and the usb’s do not work anymore.
lsusb output is

Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

We tested this with ixora and eval board DT. same problem
dmesg reports continuous

[ 1911.942209] usb usb1-port1: attempt power cycle
[ 1912.412149] usb 1-1: new high-speed USB device number 124 using ci_hdrc
[ 1912.852153] usb 1-1: device not accepting address 124, error -71
[ 1913.002154] usb 1-1: new high-speed USB device number 125 using ci_hdrc
[ 1913.442183] usb 1-1: device not accepting address 125, error -71
[ 1913.448291] usb usb1-port1: unable to enumerate USB device

With the 5.7.1 build we had no issues and everything worked. Are there any changes in the devicetree?

We also get PCIe PLL lock timeout as an error. Devicetree did not change from 5.7.1 to 6.6.0


Dear @c.gantner,

Thank you for reaching out. You are indeed correct in your assumption, that there might be changes in the devicetree. Especially with major version differences such as the ones you mentioned.
The following link mentions at the Torizon OS 6.5.0 version for the Apalis iMX8 (which is based on BSP 6.5.0) uses the linux kernel 5.15_2.2.0 while 5.7.2 uses linux kernel 5.4.70_2.3.7:

This means that both of them use different Kernels. As a result it is not possible to “simply” reuse the devicetree you wrote for previous versions, but rather you will have to take the devicetree of the new version and alter it according to your needs.

I hope this helps you along.
Best regards