For people from the future searching for clues:

In meta-ti the USB-enabling configuration options come from the connectivity.cfg fragment. From inspection that's added to all the boards supported by meta-ti's linux-ti-staging_3.14 recipe, though I didn't look to see whether there's a problem with it on beagleboard. It doesn't look like it'd be incorporated into linux-mainline, though, so perhaps that's why it wasn't present in the original problem report.

For beaglebone (and presumably beagleboard), you can also get the lsusb error -99 because the musb modules that support host USB are not installed by default. Easiest way to get those (along with everything else you might need) is to install the kernel-modules roll-up package. That's in MACHINE_EXTRA_RRECOMMENDS for beaglebone in meta-yocto-bsp, but not in meta-ti.

The 3.14.17-based ti-staging branch has a lot of really neat stuff in it; it's going to take quite a while to explore and figure out how to use it.

Peter

On 09/01/2014 01:34 AM, Rudolf Streif wrote:
I found the issue. Configuring CONFIG_USB_EHCI_HCD_OMAP, CONFIG_USB_OHCI_HCD and CONFIG_USB_OHCI_HCD_OMAP3 in the kernel configuration finally enabled the USB host controller.

However, I don't exactly understand why that is not the default for a board support package.

:rjs



On Sun, Aug 31, 2014 at 9:41 PM, Rudolf Streif <[email protected] <mailto:[email protected]>> wrote:

    Thank you, Fabio.

    However, that is not the reason. The modules phy_omap_usb2 and
    phy_omap_usb3 are built into the kernel but yet the hardware does
    not seem to be recognized. That is the case we two different
    BeagleBoard C4 boards.

    :rjs



    On Sun, Aug 31, 2014 at 1:07 PM, Fabio Berton <[email protected]
    <mailto:[email protected]>> wrote:

        Try to install the packages bellow:

        kernel-modules
        usbutils


        On 08/31/2014 04:00 PM, [email protected]
        <mailto:[email protected]> wrote:

            Send meta-ti mailing list submissions to
            [email protected] <mailto:[email protected]>

            To subscribe or unsubscribe via the World Wide Web, visit
            https://lists.yoctoproject.org/listinfo/meta-ti
            or, via email, send a message with subject or body 'help' to
            [email protected]
            <mailto:[email protected]>

            You can reach the person managing the list at
            [email protected]
            <mailto:[email protected]>

            When replying, please edit your Subject line so it is more
            specific
            than "Re: Contents of meta-ti digest..."


            Today's Topics:

                1. [nightly] Distroless meta-ti/master minimal build
                   2014-08-30_21-00-30 (Denys Dmytriyenko)
                2. BeagleBoard C4 with USB (Rudolf Streif)


            
----------------------------------------------------------------------

            Message: 1
            Date: Sat, 30 Aug 2014 21:58:30 -0400
            From: Denys Dmytriyenko <[email protected] <mailto:[email protected]>>
            To: <[email protected]
            <mailto:[email protected]>>
            Subject: [meta-ti] [nightly] Distroless meta-ti/master
            minimal build
                    2014-08-30_21-00-30
            Message-ID:
            <1330147917.535.1409450310755.JavaMail.jenkins@puget>
            Content-Type: text/plain; charset="us-ascii"

            An HTML attachment was scrubbed...
            URL:
            
<http://lists.yoctoproject.org/pipermail/meta-ti/attachments/20140830/406dab3a/attachment-0001.html>

            ------------------------------

            Message: 2
            Date: Sun, 31 Aug 2014 07:48:09 -0700
            From: Rudolf Streif <[email protected]
            <mailto:[email protected]>>
            To: "[email protected]
            <mailto:[email protected]>"
            <[email protected] <mailto:[email protected]>>
            Subject: [meta-ti] BeagleBoard C4 with USB
            Message-ID:
<ca+gsk-okuyjwuep+3bm6++ojwrdfacpwxtxeoswu7xikxg8...@mail.gmail.com
            
<mailto:ca%2bgsk-okuyjwuep%2b3bm6%2b%[email protected]>>
            Content-Type: text/plain; charset="utf-8"


            I have a BeagleBoard C4 laying around that I want to use
            for a project that
            has USB devices connected to it. I built a core-image-base
            with YP from
            master and meta-ti from master with this configuration:

            Build Configuration:
            BB_VERSION        = "1.23.1"
            BUILD_SYS         = "x86_64-linux"
            NATIVELSBSTRING   = "Fedora-18"
            TARGET_SYS        = "arm-poky-linux-gnueabi"
            MACHINE           = "beagleboard"
            DISTRO            = "poky"
            DISTRO_VERSION    = "1.6+snapshot-20140831"
            TUNE_FEATURES     = "arm armv7a vfp thumb neon
            callconvention-hard cortexa8"
            TARGET_FPU        = "vfp-neon"
            meta
            meta-yocto
            meta-yocto-bsp    =
            "master:c16795477ea7e2159b5d3808268912b572887e2d"
            meta-ti           =
            "master:d2c40099cd219493e4a6d9a6218f88f1b9f3f8fb"
            meta-oe           =
            "master:1513d0e31f609ffcde9a116a50bfb0360b9e7ecf"

            It builds fine. I am installing u-boot, kernel and the
            device tree on the
            SSD card.

            I use this u-boot script to boot the board:

            setenv bootcmd 'mmc init; fatload mmc 0:1 0x80300000
            uImage; fatload mmc
            0:1 0x815f0000 beagle.dtb; bootm 0x80300000 - 0x815f0000'
            setenv bootargs 'console=tty0 console=ttyO2,115200n8
            root=/dev/mmcblk0p2
            rootwait rootfstype=ext3 ro'
            boot

            In the above beagle.dtb =
            uImage--3.14.8-r0-omap3-beagle-<date>.dtb which
            I assumed to be the correct one for the C4 because the
            other dtb created
            has xM explicitly in its name.

            The system boots fine but USB is not working. None of the
            typical USB host
            controller initialization is in the dmesg output and lsusb
            responds with
            'unable to initialize libsub: -99'.

            I am not sure if I am doing anything wrong or if there is
            an actual issue.
            Help appreciated.

            Cheers,
            Rudi
            -------------- next part --------------
            An HTML attachment was scrubbed...
            URL:
            
<http://lists.yoctoproject.org/pipermail/meta-ti/attachments/20140831/fc724dcd/attachment-0001.html>

            ------------------------------


-- _______________________________________________
        meta-ti mailing list
        [email protected] <mailto:[email protected]>
        https://lists.yoctoproject.org/listinfo/meta-ti








-- 
_______________________________________________
meta-ti mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-ti

Reply via email to