Hello team,
Does the AM335x support configuring USB0 in “gadget” mode, while simultaneously configuring USB1 in “host” mode?
USB0 needs to allow RNDIS (similar to the AM335x boot ROM), while USB1 needs to support the cellular module on our custom board.
The plan is to use USB0 with an NFS root filesystem. Because of this, USB0 cannot use on loadable modules, but instead be use built-in modules.
So far, I can only get either “gadget” mode or “host” mode for both ports.
The custom board defconfig has the following:
CONFIG_USB_USBNET=y
CONFIG_USB_NET_CDC_NCM=m
CONFIG_USB_NET_CDC_SUBSET=m
CONFIG_USB_MUSB_HDRC=y
CONFIG_USB_MUSB_GADGET=y
CONFIG_USB_MUSB_DSPS=y
CONFIG_USB_TI_CPPI41_DMA=y
CONFIG_USB_OTG=y
CONFIG_USB_GADGET=y
CONFIG_USB_CONFIGFS=y
CONFIG_USB_CONFIGFS_ECM=y
CONFIG_USB_CONFIGFS_ECM_SUBSET=y
CONFIG_USB_CONFIGFS_RNDIS=y
CONFIG_USB_CONFIGFS_EEM=y
CONFIG_USB_CONFIGFS_F_LB_SS=y
CONFIG_USB_CONFIGFS_F_FS=y
CONFIG_USB_CONFIGFS_F_HID=y
CONFIG_USB_ETH=y
CONFIG_USB_ROLE_SWITCH=m
Thanks in advance for any information you can provide!
Errol