This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM3354: Kernel hangs when USB is used

Part Number: AM3354

Hi all.

We have RTSP server based on AM3354.

Linux kernel:  5.12, booting from nand. 

Build environment: Yocto, Poky Warrior.

Video source: webcam connected to usb (v4l2, python-gst-1.0)

Issue: after couple of hour (not predictible) linux get into freez state( cpu usage 0.0%, memory usage normal, no any logs, no any messages, all processes stucked), nothing can be done with os, just reboot left.

After weeks of searching and testing, we think it can be related with usb usage. When usb webcam is not used (fake videotestsrc from gestreamer) linux working properly and not hanging at all, rtsp server streaming stable. The same situation was with linux kernel 4.19, Yocto Poky Morty.

My question is, can someone look into my DTB file, especially in usb related part and maybe point me to some issue?
I am newbie in embedded linux.

Thanks.