On Sunday 19 October 2014 22:50:36 Pavel Machek wrote: > On Sun 2014-10-19 16:58:45, Pali Rohár wrote: > > On Sunday 19 October 2014 12:07:39 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...? > > > > Can you try tree > > https://gitorious.org/linux-n900/linux-n900/ ? > > > > I think with rx51_defconfig from above tree it worked fine > > for 3.10 - 3.13 versions. > > From your tree, I am trying > 815039686baffff6432b45028dd405b1981a9112 (3.16 based). I > attempted to make gadget drivers build-in and enabled > nfsroot. I could not detect nokia on USB after bootup. > > Are you sure about defconfig? AFAICT defconfig will always be > unsuitable for nfsroot, as it will not contain nfs support > built-in... > > I am trying c089e5f8ba2d44afd2db2c2042d43ca70205c536 (3.13 > based). Same result :-(. > > Do you have any tree where usb gadget works for you? > > Thanks, > Pavel My N900 can boot kernel from v3.12-rc5-n900 branch compiled with arch/arm/configs/rx51_defconfig. Also it can boot full Maemo5 system (with CSSU and some minor system changes) and usb network via g_nokia.ko gadget working fine... So if it does not working for you then kernel usb subsystem could have problems with using gadgets directly from zimage. -- Pali Rohár pali.rohar@gmail.com