Tool/software: Linux
Hi
I am working on usb enumeration (usb boot) as storage device at u boot level of AM571x idk.
To enable the usb as host the dts file dr_mod has been changed from "otg" to "host".
Also configured the usb2_drvbus and usb2_id pin as follows
DRA7XX_CORE_IOPAD(0x3684, PIN_OUTPUT_PULLUP | MUX_MODE0) /* usb2_drvvbus */
DRA7XX_CORE_IOPAD(0x36c8, PIN_INPUT | MUX_MODE0) /* USB2_ID */
But at u-boot level, when the micro usb is connected with USB Pendrive (FAT and EXT4 partition)
=> usb start
starting USB...
USB0: Register 2000140 NbrPorts 2
Starting the controller
USB XHCI 1.00
scanning bus 0 for devices... 1 USB Device(s) found
scanning usb for storage devices... 0 Storage Device(s) found
It is not detecting the mass storage usb.
no power is drawing at the micro usb connected USB pendrive.
When probed at U94(TPS2051BD, AM571X Industrial Development Kit (IDK) EVM schematic), pin 4, the pin is not going HIGH as set in the dts file.
At pmic (TPS6590377ZWSR), pin VUSB_VBUS2 is not getting the voltage.
Can you please help on this is there a dependecy on this usb2_drvbus to make it to HIGH?
Also how to drive the pmic (TPS6590377ZWSR) GPIO_1 to high at u-boot level? So that GPIO_USB2_VBUS_DET can get the voltage to drive the usb.
But, the above same (usb as storage) is detecting once the kernel and file system comes up properly (root prompt) on am571x idk.
Trying the above on ti sdk ti-processor-sdk-linux-am57xx-evm-04.01.00.06-Linux-x86-Install.bin
Thanks
Mahesh Muni J