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.

AM3352: USB0 not attaching in kernel

Part Number: AM3352

Hi,

I am trying to integrate USB host functionality with linux kernel.

USB is detected in uboot prompt.

However, when the kernel boots, lsusb command does not list any devices.

Kernel Version : 5.10.100

uboot version: u-boot-2021.01

RFS : tisdk-default-image-am335x-evm

Following is the dts configurations being used.

&usb {
 status = "okay";
};

&usb_ctrl_mod {
 status = "okay";
};

&usb0_phy {
 status = "okay";
};

&usb0 {
 status = "okay";
 dr_mode = "host";
};

&cppi41dma {
 status = "okay";
};

Following is the defconfig configurations.

# MUSB
CONFIG_USB_MUSB_HDRC=y

CONFIG_USB_MUSB_DUAL_ROLE=y

CONFIG_USB_MUSB_OMAP2PLUS=y

CONFIG_USB_MUSB_DSPS=y

CONFIG_USB_TI_CPPI41_DMA=y

CONFIG_AM335X_PHY_USB=y
CONFIG_USB_MUSB_AM335X_CHILD=y

  • Hi,

    When you compile the kernel, please use the defconfig provided in the Processor SDK kernel - "make tisdk_am335x-evm_defconfig" - and do not modify any USB related kernel config options.

    Please attach the full kernel boot log, and the output of command 'lsmod'.