From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755566AbaJ1WM4 (ORCPT ); Tue, 28 Oct 2014 18:12:56 -0400 Received: from mho-03-ewr.mailhop.org ([204.13.248.66]:38328 "EHLO mho-01-ewr.mailhop.org" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1755219AbaJ1WMy (ORCPT ); Tue, 28 Oct 2014 18:12:54 -0400 X-Mail-Handler: Dyn Standard SMTP by Dyn X-Originating-IP: 104.193.169.186 X-Report-Abuse-To: abuse@dyndns.com (see http://www.dyndns.com/services/sendlabs/outbound_abuse.html for abuse reporting information) X-MHO-User: U2FsdGVkX19Ck076hRMVxXG6CBJ1by6x Date: Tue, 28 Oct 2014 15:11:25 -0700 From: Tony Lindgren To: Pavel Machek Cc: Pali =?utf-8?B?Um9ow6Fy?= , Aaro Koskinen , Felipe Balbi , sre@debian.org, sre@ring0.de, kernel list , linux-arm-kernel@lists.infradead.org, linux-omap@vger.kernel.org Subject: Re: USB Ethernet gadget on Nokia n900 Message-ID: <20141028221124.GT2542@atomide.com> References: <20141019090107.GA19132@amd> <201410262222.39892@pali> <20141026215548.GA9004@amd> <201410262323.17891@pali> <20141027195209.GP2560@atomide.com> <20141027223114.GU2560@atomide.com> <20141028220450.GA27667@amd> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20141028220450.GA27667@amd> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org * Pavel Machek [141028 15:06]: > Hi! > > > Here's a patch that should fix the issues for built-in USB > > gadgets. > > > > Pavel, care to see if this gets NFSroot over USB working again > > for you? > > It seems to have did the trick for me. (Plus I needed to add > > +CONFIG_ARM_ATAG_DTB_COMPAT=y > +CONFIG_ARM_ATAG_DTB_COMPAT_CMDLINE_FROM_BOOTLOADER=y > +# CONFIG_ARM_ATAG_DTB_COMPAT_CMDLINE_EXTEND is not set > > to be able to control the command line, that's why testing took me a > while.) Hmm I think I have a patch somewhere here to enable the standard bootz command for n900 mainline u-boot.. That way you can just do # bootz ${loadaddr} - ${fdtaddr} > Networking now works against 3.17-based kernel. Thanks! Right on! Ideally the gadget probe would be event driven and called after USB controller driver probe. But that would mean keeping a list of all the gadgets as Felipe told me. > Tested-by: Pavel Machek Thanks for testing, Tony