Hi folks! I am working on a Yocto build pipeline for a project targeting the Beaglebone Black device and have been having some trouble getting the kernel to detect USB devices attached to the USB port. I have a suspicion this is somehow related to an incorrect configuration on my end related to what kernel modules are loaded, but this is is a relatively new field of development for me and am at a bit of a loss. I have been able to confirm that the physical usb port itself is functioning properly by printing the `usb tree` from a u-boot prompt, where I am able to see some user-friendly information about the vendor and product printed out.
I haven't included much beyond what is provided out of the box by the kirkstone branches of meta-ti, poky, meta-rauc, meta-oe, and meta-arm layers; the majority of my build so far has been changes to `u-boot` to help facilitate A/B update through rauc. I've uploaded the output of some of what I believe are the best places to help figure out what might be the problem to this gist: https://gist.github.com/dadleyy/d47b9254a92285a4ab1472749e21d303 The output there includes specific versions of the layers I have pulled in, as well as the log output of the kernel boot, and the log output of an interactive session in u-boot where I inspect the usb device tree. It looks like this thread - https://www.yoctoproject.org/pipermail/meta-ti/2018-September/011316.html <https://www.yoctoproject.org/pipermail/meta-ti/2018-September/011316.html> - might be related to this issue but I wasn't exactly sure how to go about adding modules. I have tried creating a `linux-ti-staging_%.bbappend` file with the following contents: ``` FILESEXTRAPATHS:append := "${THISDIR}/files:" SRC_URI += " \ file://local_extra_config.cfg \ " KERNEL_CONFIG_FRAGMENTS += " ${WORKDIR}/local_extra_config.cfg" ``` where the `local_extra_config.cfg` file contains: ``` CONFIG_USB=y CONFIG_USB_STORAGE=y CONFIG_USB_MASS_STORAGE=y CONFIG_USB_ANNOUNCE_NEW_DEVICES=y CONFIG_USB_OTG=y CONFIG_USB_XHCI_HCD=y CONFIG_USB_EHCI_HCD=y CONFIG_USB_OHCI_HCD=y CONFIG_USB_SERIAL=y CONFIG_USB_SERIAL_CP210X=y CONFIG_USB_SERIAL_FTDI_SIO=y CONFIG_USB_SERIAL_PL2303=y CONFIG_USB_SERIAL_OPTION=y CONFIG_USB_GADGET=y CONFIG_USB_ETH=y CONFIG_USB_G_NCM=y CONFIG_USB_GADGETFS=y CONFIG_USB_FUNCTIONFS=y CONFIG_USB_FUNCTIONFS_ETH=y CONFIG_USB_FUNCTIONFS_RNDIS=y CONFIG_USB_FUNCTIONFS_GENERIC=y CONFIG_USB_MASS_STORAGE=y CONFIG_USB_G_SERIAL=y CONFIG_USB_MIDI_GADGET=y CONFIG_USB_G_PRINTER=y CONFIG_USB_CDC_COMPOSITE=y CONFIG_USB_G_ACM_MS=y CONFIG_USB_G_MULTI=y CONFIG_USB_G_MULTI_CDC=y CONFIG_USB_G_HID=y CONFIG_USB_G_DBGP=y CONFIG_USB_G_WEBCAM=y ``` But this did not solve my problem. I would be happy to provide any additional information! Thank you! - Danny
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#15846): https://lists.yoctoproject.org/g/meta-ti/message/15846 Mute This Topic: https://lists.yoctoproject.org/mt/96973628/21656 Group Owner: [email protected] Unsubscribe: https://lists.yoctoproject.org/g/meta-ti/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
