Hi
I have android P running iMX8 board,The USB connector is USB type A. USB connector DP&DN connect to iMX8 USB_OTG1_DP&USB_OTG1_DN pins, iMX8 USB_OTG1_ID pin dangling. In the DTS file "&usbotg1" node add "dr_mode = "peripheral"; ". After the USB is inserted, board power on. I use command "adb devices" not found adb device, UART Debug "cat /sys/kernel/debug/ci_hdrc.0/role" is gadget. reinserted USB, use command "adb devices" can find adb device. If after the USB is inserted board power on can find adb device.
Do I need to modify anything?
已解决! 转到解答。
Hi
HW do not follow the official design. The HW official design of OTG1 is Type-C. OTG1 normally works in host mode only. I want to use SW to force OTG1 status,Because need ADB for the debug.