Re: USB Ethernet gadget on Nokia n900

Pali Rohár
2015-07-06T13:24:55Z

[-- Attachment #1: Type: Text/Plain, Size: 1466 bytes --]

On Tuesday 28 October 2014 23:26:41 Tony Lindgren wrote:
> * Pavel Machek <pavel@ucw.cz> [141028 15:22]:
> > On Tue 2014-10-28 23:04:50, Pavel Machek wrote:
> > > 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.)
> > >
> > > Networking now works against 3.17-based kernel. Thanks!
> >
> > It works on 3.18-rc1 kernel, too. (I had to hand-modify patch to
> > apply to 3.17, no changes needed for 3.18-rc1.)
> >
> > Tested-by: Pavel Machek <pavel@ucw.cz>
>
> Whatever we decice to do to fix this regression, it should probably
> be backported to at least v3.16 stable for distro use, maybe earlier
> too. I'd assume this is broken on multiple platforms currently.
>
> Regards,
>
> Tony

Hi Tony,

it looks like this patch was not included into any kernel version... I'm
still using it on top of 4.x kernels. Are you going to send this patch
into upstream? Or do you have another fix for this problem?

--
Pali Rohár
pali.rohar@gmail.com

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 198 bytes --]