All of lore.kernel.org
 help / color / mirror / Atom feed
From: Pavel Machek <pavel@ucw.cz>
To: Felipe Balbi <balbi@ti.com>
Cc: pali.rohar@gmail.com, sre@debian.org, sre@ring0.de,
	kernel list <linux-kernel@vger.kernel.org>,
	linux-arm-kernel@lists.infradead.org, linux-omap@vger.kernel.org,
	Aaro Koskinen <aaro.koskinen@iki.fi>
Subject: Re: USB Ethernet gadget on Nokia n900
Date: Sun, 19 Oct 2014 21:19:37 +0200	[thread overview]
Message-ID: <20141019191937.GA6438@amd> (raw)
In-Reply-To: <20141019152414.GB5189@saruman>

[-- Attachment #1: Type: text/plain, Size: 1513 bytes --]

Hi!

On Sun 2014-10-19 10:24:14, Felipe Balbi wrote:
> Hi,
> On Sun, Oct 19, 2014 at 12:07:39PM +0200, Pavel Machek wrote:
> > On Sun 2014-10-19 11:01:07, Pavel Machek wrote:
> > > Hi!
> > > 
> > > From 3.6 to 3.10, USB networking works on Nokia N900. With 3.11, it
> > > fails with messages on the host. I also tried to get it to work on
> > > 3.14 and 3.17, with no luck.
> > > 
> > > Any ideas? Does it work for you? Any config options to watch for?
> > 
> > With 3.17, I get
> > 
> > omap_musb_mailbox: musb core is not yet ready
> > 
> > message. It looks related...?
> 
> is musbmhdrc.ko loaded ? Do you have a gadget driver loaded ?
> 
> + Aaro

I am trying to use nfsroot, so I can't use modules. I can't find
musbmhdrc.ko; did you mean drivers/usb/musb/musb_hdrc? Yes, that
should be build-in:

CONFIG_USB_MUSB_HDRC=y
CONFIG_USB_MUSB_GADGET=y
CONFIG_USB_MUSB_OMAP2PLUS=y
CONFIG_MUSB_PIO_ONLY=y

Gadget options are:

CONFIG_USB_ULPI=y
CONFIG_USB_GADGET=y
CONFIG_USB_GADGET_DEBUG=y
CONFIG_USB_GADGET_VERBOSE=y
CONFIG_USB_GADGET_DEBUG_FILES=y
CONFIG_USB_GADGET_DEBUG_FS=y
CONFIG_USB_GADGET_VBUS_DRAW=2
CONFIG_USB_GADGET_STORAGE_NUM_BUFFERS=2

CONFIG_USB_LIBCOMPOSITE=y
CONFIG_USB_U_ETHER=y
CONFIG_USB_F_ECM=y
CONFIG_USB_F_EEM=y
CONFIG_USB_F_SUBSET=y
CONFIG_USB_F_RNDIS=y

(I am attaching full config, in case I missed something important).

Best regards,
									Pavel

-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 23072 bytes --]

WARNING: multiple messages have this Message-ID (diff)
From: pavel@ucw.cz (Pavel Machek)
To: linux-arm-kernel@lists.infradead.org
Subject: USB Ethernet gadget on Nokia n900
Date: Sun, 19 Oct 2014 21:19:37 +0200	[thread overview]
Message-ID: <20141019191937.GA6438@amd> (raw)
In-Reply-To: <20141019152414.GB5189@saruman>

Hi!

On Sun 2014-10-19 10:24:14, Felipe Balbi wrote:
> Hi,
> On Sun, Oct 19, 2014 at 12:07:39PM +0200, Pavel Machek wrote:
> > On Sun 2014-10-19 11:01:07, Pavel Machek wrote:
> > > Hi!
> > > 
> > > From 3.6 to 3.10, USB networking works on Nokia N900. With 3.11, it
> > > fails with messages on the host. I also tried to get it to work on
> > > 3.14 and 3.17, with no luck.
> > > 
> > > Any ideas? Does it work for you? Any config options to watch for?
> > 
> > With 3.17, I get
> > 
> > omap_musb_mailbox: musb core is not yet ready
> > 
> > message. It looks related...?
> 
> is musbmhdrc.ko loaded ? Do you have a gadget driver loaded ?
> 
> + Aaro

I am trying to use nfsroot, so I can't use modules. I can't find
musbmhdrc.ko; did you mean drivers/usb/musb/musb_hdrc? Yes, that
should be build-in:

CONFIG_USB_MUSB_HDRC=y
CONFIG_USB_MUSB_GADGET=y
CONFIG_USB_MUSB_OMAP2PLUS=y
CONFIG_MUSB_PIO_ONLY=y

Gadget options are:

CONFIG_USB_ULPI=y
CONFIG_USB_GADGET=y
CONFIG_USB_GADGET_DEBUG=y
CONFIG_USB_GADGET_VERBOSE=y
CONFIG_USB_GADGET_DEBUG_FILES=y
CONFIG_USB_GADGET_DEBUG_FS=y
CONFIG_USB_GADGET_VBUS_DRAW=2
CONFIG_USB_GADGET_STORAGE_NUM_BUFFERS=2

CONFIG_USB_LIBCOMPOSITE=y
CONFIG_USB_U_ETHER=y
CONFIG_USB_F_ECM=y
CONFIG_USB_F_EEM=y
CONFIG_USB_F_SUBSET=y
CONFIG_USB_F_RNDIS=y

(I am attaching full config, in case I missed something important).

Best regards,
									Pavel

-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: .config.gz
Type: application/gzip
Size: 23072 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20141019/830aff75/attachment-0001.gz>

  reply	other threads:[~2014-10-19 19:19 UTC|newest]

Thread overview: 89+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-19  9:01 USB Ethernet gadget on Nokia n900 Pavel Machek
2014-10-19  9:01 ` Pavel Machek
2014-10-19 10:07 ` Pavel Machek
2014-10-19 10:07   ` Pavel Machek
2014-10-19 14:58   ` Pali Rohár
2014-10-19 14:58     ` Pali Rohár
2014-10-19 20:50     ` Pavel Machek
2014-10-19 20:50       ` Pavel Machek
2014-10-19 20:50       ` Pavel Machek
2014-10-19 21:00       ` Pali Rohár
2014-10-19 21:00         ` Pali Rohár
2014-10-19 22:30         ` Pavel Machek
2014-10-19 22:30           ` Pavel Machek
2014-10-20 13:08         ` Pavel Machek
2014-10-20 13:08           ` Pavel Machek
2014-10-20 16:45           ` Tony Lindgren
2014-10-20 16:45             ` Tony Lindgren
2014-10-20 22:03             ` Pavel Machek
2014-10-20 22:03               ` Pavel Machek
2014-10-20 22:29               ` Tony Lindgren
2014-10-20 22:29                 ` Tony Lindgren
2014-10-21 21:52                 ` Pavel Machek
2014-10-21 21:52                   ` Pavel Machek
2014-10-19 15:24   ` Felipe Balbi
2014-10-19 15:24     ` Felipe Balbi
2014-10-19 15:24     ` Felipe Balbi
2014-10-19 19:19     ` Pavel Machek [this message]
2014-10-19 19:19       ` Pavel Machek
2014-10-19 19:29       ` Pavel Machek
2014-10-19 19:29         ` Pavel Machek
2014-10-20 21:35       ` Aaro Koskinen
2014-10-20 21:35         ` Aaro Koskinen
2014-10-20 21:37         ` Aaro Koskinen
2014-10-20 21:37           ` Aaro Koskinen
2014-10-20 22:42         ` Pavel Machek
2014-10-20 22:42           ` Pavel Machek
2014-10-26 11:08         ` Pavel Machek
2014-10-26 11:08           ` Pavel Machek
2014-10-26 11:12           ` Pali Rohár
2014-10-26 11:12             ` Pali Rohár
2014-10-26 12:00             ` Pavel Machek
2014-10-26 12:00               ` Pavel Machek
2014-10-26 12:00               ` Pavel Machek
2014-10-26 21:17             ` Pavel Machek
2014-10-26 21:17               ` Pavel Machek
2014-10-26 21:22               ` Pali Rohár
2014-10-26 21:22                 ` Pali Rohár
2014-10-26 21:55                 ` Pavel Machek
2014-10-26 21:55                   ` Pavel Machek
2014-10-26 22:23                   ` Pali Rohár
2014-10-26 22:23                     ` Pali Rohár
2014-10-27 19:52                     ` Tony Lindgren
2014-10-27 19:52                       ` Tony Lindgren
2014-10-27 22:31                       ` Tony Lindgren
2014-10-27 22:31                         ` Tony Lindgren
2014-10-28 22:04                         ` Pavel Machek
2014-10-28 22:04                           ` Pavel Machek
2014-10-28 22:11                           ` Tony Lindgren
2014-10-28 22:11                             ` Tony Lindgren
2014-10-29  8:46                             ` Nokia n900 problems in 3.18-rc1 (was Re: USB Ethernet gadget on Nokia n900) Pavel Machek
2014-10-29  8:46                               ` Pavel Machek
2014-10-29 14:09                               ` Tony Lindgren
2014-10-29 14:09                                 ` Tony Lindgren
2014-10-29 14:18                                 ` Tomi Valkeinen
2014-10-29 14:18                                   ` Tomi Valkeinen
2014-10-29 21:34                                   ` Pavel Machek
2014-10-29 21:34                                     ` Pavel Machek
2014-10-31 20:03                                 ` Pavel Machek
2014-10-31 20:03                                   ` Pavel Machek
2014-10-31 20:30                                   ` Pali Rohár
2014-10-31 20:30                                     ` Pali Rohár
2014-10-28 22:21                           ` USB Ethernet gadget on Nokia n900 Pavel Machek
2014-10-28 22:21                             ` Pavel Machek
2014-10-28 22:26                             ` Tony Lindgren
2014-10-28 22:26                               ` Tony Lindgren
2015-07-06 13:24                               ` Pali Rohár
2015-07-06 13:24                                 ` Pali Rohár
2015-07-06 13:53                                 ` Tony Lindgren
2015-07-06 13:53                                   ` Tony Lindgren
2015-07-07  7:46                                   ` Pali Rohár
2015-07-07  7:46                                     ` Pali Rohár
2015-07-07 11:46                                     ` Tony Lindgren
2015-07-07 11:46                                       ` Tony Lindgren
2016-01-19 20:58                                       ` Pali Rohár
2016-01-19 20:58                                         ` Pali Rohár
2016-02-11 14:43                                         ` Pali Rohár
2016-02-11 14:43                                           ` Pali Rohár
2016-02-11 14:50                                           ` Pali Rohár
2016-02-11 14:50                                             ` Pali Rohár

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=20141019191937.GA6438@amd \
    --to=pavel@ucw.cz \
    --cc=aaro.koskinen@iki.fi \
    --cc=balbi@ti.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-omap@vger.kernel.org \
    --cc=pali.rohar@gmail.com \
    --cc=sre@debian.org \
    --cc=sre@ring0.de \
    /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.