USB Gadget not working

I built the Linux OS from scratch with your yocto environment to customize the device tree for my carrier board. I don’t use an evaluation board from Toradex. I designed my own one but used the USB circuit from your Colibri Evaluation board.

I uploaded the output of dmesg and lsusb

  • dmesg.log shows the dmesg output after booting the device without USB connection
  • dmesg_connected.log shows the dmesg after I connected the USB cable and USB gadget is not working
  • dmesg_working.log shows the dmesg output when booting the device already with the USB connection (in this case USB gadget is working)
  • lsusb.log is the lsusb output when no USB cable is attached
  • lsusb_connected.log is the error which is shown when the USB cable is attached

Thanks,
Andreas