From: "Peter A. Bigot" <pab@pabigot.com>
To: meta-ti@yoctoproject.org
Subject: Re: BeagleBoard C4 with USB
Date: Thu, 04 Sep 2014 21:30:58 -0500 [thread overview]
Message-ID: <54092062.9060006@pabigot.com> (raw)
In-Reply-To: <CA+gsK-pU+dm61c9WXHUXp7diratVD3-ArJbOudXemsiSLLH=4A@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 7736 bytes --]
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
> <rstreif@linuxfoundation.org <mailto:rstreif@linuxfoundation.org>> 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 <fabio@bertux.com
> <mailto:fabio@bertux.com>> wrote:
>
> Try to install the packages bellow:
>
> kernel-modules
> usbutils
>
>
> On 08/31/2014 04:00 PM, meta-ti-request@yoctoproject.org
> <mailto:meta-ti-request@yoctoproject.org> wrote:
>
> Send meta-ti mailing list submissions to
> meta-ti@yoctoproject.org <mailto:meta-ti@yoctoproject.org>
>
> 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
> meta-ti-request@yoctoproject.org
> <mailto:meta-ti-request@yoctoproject.org>
>
> You can reach the person managing the list at
> meta-ti-owner@yoctoproject.org
> <mailto:meta-ti-owner@yoctoproject.org>
>
> 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 <denys@ti.com <mailto:denys@ti.com>>
> To: <meta-ti@yoctoproject.org
> <mailto:meta-ti@yoctoproject.org>>
> 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 <rstreif@linuxfoundation.org
> <mailto:rstreif@linuxfoundation.org>>
> To: "meta-ti@yoctoproject.org
> <mailto:meta-ti@yoctoproject.org>"
> <meta-ti@yoctoproject.org <mailto:meta-ti@yoctoproject.org>>
> Subject: [meta-ti] BeagleBoard C4 with USB
> Message-ID:
>
> <CA+gsK-okuyjWuEp+3bm6++ojWrDfaCPwXtXEOswu7Xikxg8jfA@mail.gmail.com
> <mailto:CA%2BgsK-okuyjWuEp%2B3bm6%2B%2BojWrDfaCPwXtXEOswu7Xikxg8jfA@mail.gmail.com>>
> 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
> meta-ti@yoctoproject.org <mailto:meta-ti@yoctoproject.org>
> https://lists.yoctoproject.org/listinfo/meta-ti
>
>
>
>
>
>
>
[-- Attachment #2: Type: text/html, Size: 16447 bytes --]
next prev parent reply other threads:[~2014-09-05 2:31 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <mailman.3.1409511601.29045.meta-ti@yoctoproject.org>
2014-08-31 20:07 ` BeagleBoard C4 with USB Fabio Berton
2014-09-01 4:41 ` Rudolf Streif
2014-09-01 6:34 ` Rudolf Streif
2014-09-01 6:40 ` Michael Trimarchi
2014-09-05 2:30 ` Peter A. Bigot [this message]
2014-09-05 3:18 ` Denys Dmytriyenko
2014-09-01 6:37 ` Michael Trimarchi
[not found] <mailman.22627.1409553652.26702.meta-ti@yoctoproject.org>
2014-09-01 11:58 ` Fabio Berton
2014-08-31 14:48 Rudolf Streif
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=54092062.9060006@pabigot.com \
--to=pab@pabigot.com \
--cc=meta-ti@yoctoproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.