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.

Linux/AM3358: Problem to get OTG mode working in linux

Part Number: AM3358


Tool/software: Linux

Hi

We are designing a customized board based on AM3358 using Beaglebone Black as reference. We now encounter problem in getting the OTG mode working for USB0. Note the USB1 is fixed as Host mode in our code and working well.

1. We are using the following Uboot and kernel version
U-Boot: 
From git://git.ti.com/ti-u-boot/ti-u-boot.git Base on 2017/05/02 version
Kernel:
From git://github.com/beagleboard/linux.git Base on 2017/05/03 version
2. If we fix USB0 to be host in uEnv.txt, USB0 works well as a host
3. if we fix USB0 to be peripheral in uEnv.txt, it does not seems to work as peripheral (i.e. thumb drive) when plug into to PC USB port
4. if we fix USB0 to be OTG in uEnv.txt, it does not work as peripheral when plugging into PC USB port, nor it work as the host successfully when attaching an thumb drive.
For comparison purpose, we compiled our kernel to load it in BeagleBone Black, the OTG mode does not seem to work as well. But I know the Beaglebone Board with original factory firmware has working OTG mode. Is there anything that is missing here to have the OTG working. Thanks in advance for any advice.