Re: USB Ethernet gadget on Nokia n900

2015-07-07 Thread Pali Rohár
On Monday 06 July 2015 06:53:18 Tony Lindgren wrote: * Pali Rohár pali.ro...@gmail.com [150706 06:27]: On Tuesday 28 October 2014 23:26:41 Tony Lindgren wrote: * Pavel Machek pa...@ucw.cz [141028 15:22]: On Tue 2014-10-28 23:04:50, Pavel Machek wrote: Networking now works

Re: USB Ethernet gadget on Nokia n900

2015-07-07 Thread Tony Lindgren
* Pali Rohár pali.ro...@gmail.com [150707 00:48]: On Monday 06 July 2015 06:53:18 Tony Lindgren wrote: * Pali Rohár pali.ro...@gmail.com [150706 06:27]: On Tuesday 28 October 2014 23:26:41 Tony Lindgren wrote: * Pavel Machek pa...@ucw.cz [141028 15:22]: On Tue 2014-10-28 23:04:50,

Re: USB Ethernet gadget on Nokia n900

2015-07-06 Thread Pali Rohár
On Tuesday 28 October 2014 23:26:41 Tony Lindgren wrote: * Pavel Machek pa...@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

Re: USB Ethernet gadget on Nokia n900

2015-07-06 Thread Tony Lindgren
* Pali Rohár pali.ro...@gmail.com [150706 06:27]: On Tuesday 28 October 2014 23:26:41 Tony Lindgren wrote: * Pavel Machek pa...@ucw.cz [141028 15:22]: On Tue 2014-10-28 23:04:50, Pavel Machek wrote: Networking now works against 3.17-based kernel. Thanks! It works on 3.18-rc1

Re: Nokia n900 problems in 3.18-rc1 (was Re: USB Ethernet gadget on Nokia n900)

2014-10-31 Thread Pavel Machek
Hi! I tried enabling audio. It works ...sometimes... after fixing kconfig. But I'm getting WARN_ON, about 50% of time. Ideas welcome. Pavel [2.398681] rx51-audio n900-audio: GPIO lookup for consumer speaker-amplifier [

Re: Nokia n900 problems in 3.18-rc1 (was Re: USB Ethernet gadget on Nokia n900)

2014-10-31 Thread Pali Rohár
On Friday 31 October 2014 21:03:18 Pavel Machek wrote: Hi! I tried enabling audio. It works ...sometimes... after fixing kconfig. But I'm getting WARN_ON, about 50% of time. Ideas welcome. Pavel I see same problem with

Nokia n900 problems in 3.18-rc1 (was Re: USB Ethernet gadget on Nokia n900)

2014-10-29 Thread Pavel Machek
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

Re: Nokia n900 problems in 3.18-rc1 (was Re: USB Ethernet gadget on Nokia n900)

2014-10-29 Thread Tony Lindgren
* Pavel Machek pa...@ucw.cz [141029 01:48]: Speaking of testing: I'm not sure what is omap_l3_smx neccessary for, but it does not work. [0.223297] omap_l3_smx omap_l3_smx.0: couldn't request debug irq [0.223419] omap_l3_smx: probe of omap_l3_smx.0 failed with error -22 Hmm this

Re: Nokia n900 problems in 3.18-rc1 (was Re: USB Ethernet gadget on Nokia n900)

2014-10-29 Thread Tomi Valkeinen
On 29/10/14 16:09, Tony Lindgren wrote: omapfb reports problems, but seems to work ok: [0.990386] omapfb omapfb: cannot parse default modes [1.004791] Console: switching to colour frame buffer device 100x30 [1.073150] omapfb omapfb: using display 'lcd' mode 800x480 Tomi, is

Re: Nokia n900 problems in 3.18-rc1 (was Re: USB Ethernet gadget on Nokia n900)

2014-10-29 Thread Pavel Machek
On Wed 2014-10-29 16:18:46, Tomi Valkeinen wrote: On 29/10/14 16:09, Tony Lindgren wrote: omapfb reports problems, but seems to work ok: [0.990386] omapfb omapfb: cannot parse default modes [1.004791] Console: switching to colour frame buffer device 100x30 [1.073150]

Re: USB Ethernet gadget on Nokia n900

2014-10-28 Thread Pavel Machek
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

Re: USB Ethernet gadget on Nokia n900

2014-10-28 Thread Tony Lindgren
* Pavel Machek pa...@ucw.cz [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

Re: USB Ethernet gadget on Nokia n900

2014-10-28 Thread Pavel Machek
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

Re: USB Ethernet gadget on Nokia n900

2014-10-28 Thread Tony Lindgren
* Pavel Machek pa...@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

Re: USB Ethernet gadget on Nokia n900

2014-10-27 Thread Tony Lindgren
* Pali Rohár pali.ro...@gmail.com [141026 15:24]: On Sunday 26 October 2014 22:55:48 Pavel Machek wrote: I have root prepared on /dev/mmcblk0p6. I tried 3.17 with rx51_defconfig, but no, it refuses to mount it. VFS: Cannot open root device mmcblk0p6 or : error -19.

Re: USB Ethernet gadget on Nokia n900

2014-10-27 Thread Tony Lindgren
* Tony Lindgren t...@atomide.com [141027 12:55]: * Pali Rohár pali.ro...@gmail.com [141026 15:24]: On Sunday 26 October 2014 22:55:48 Pavel Machek wrote: I have root prepared on /dev/mmcblk0p6. I tried 3.17 with rx51_defconfig, but no, it refuses to mount it. VFS: Cannot

Re: USB Ethernet gadget on Nokia n900

2014-10-26 Thread Pavel Machek
Hi! On Sun, Oct 19, 2014 at 09:19:37PM +0200, Pavel Machek wrote: I am trying to use nfsroot, so I can't use modules. Why not? (I am attaching full config, in case I missed something important). I'm using the below config with 3.17 and g_ether works OK. (My initramfs modprobes

Re: USB Ethernet gadget on Nokia n900

2014-10-26 Thread Pali Rohár
On Sunday 26 October 2014 12:08:25 Pavel Machek wrote: Hi! On Sun, Oct 19, 2014 at 09:19:37PM +0200, Pavel Machek wrote: I am trying to use nfsroot, so I can't use modules. Why not? (I am attaching full config, in case I missed something important). I'm using the below

Re: USB Ethernet gadget on Nokia n900

2014-10-26 Thread Pavel Machek
On Sun 2014-10-26 12:12:46, Pali Rohár wrote: On Sunday 26 October 2014 12:08:25 Pavel Machek wrote: Hi! On Sun, Oct 19, 2014 at 09:19:37PM +0200, Pavel Machek wrote: I am trying to use nfsroot, so I can't use modules. Why not? (I am attaching full config, in case I

Re: USB Ethernet gadget on Nokia n900

2014-10-26 Thread Pavel Machek
On Sun 2014-10-26 12:12:46, Pali Rohár wrote: On Sunday 26 October 2014 12:08:25 Pavel Machek wrote: Hi! On Sun, Oct 19, 2014 at 09:19:37PM +0200, Pavel Machek wrote: I am trying to use nfsroot, so I can't use modules. Why not? (I am attaching full config, in case I

Re: USB Ethernet gadget on Nokia n900

2014-10-26 Thread Pali Rohár
On Sunday 26 October 2014 22:17:21 Pavel Machek wrote: On Sun 2014-10-26 12:12:46, Pali Rohár wrote: On Sunday 26 October 2014 12:08:25 Pavel Machek wrote: Hi! On Sun, Oct 19, 2014 at 09:19:37PM +0200, Pavel Machek wrote: I am trying to use nfsroot, so I can't use modules.

Re: USB Ethernet gadget on Nokia n900

2014-10-26 Thread Pavel Machek
I have root prepared on /dev/mmcblk0p6. I tried 3.17 with rx51_defconfig, but no, it refuses to mount it. VFS: Cannot open root device mmcblk0p6 or : error -19. And then it proceeds to list mmcblk0p6 as one of available options :-(. Ideas welcome. Try to add

Re: USB Ethernet gadget on Nokia n900

2014-10-26 Thread Pali Rohár
On Sunday 26 October 2014 22:55:48 Pavel Machek wrote: I have root prepared on /dev/mmcblk0p6. I tried 3.17 with rx51_defconfig, but no, it refuses to mount it. VFS: Cannot open root device mmcblk0p6 or : error -19. And then it proceeds to list mmcblk0p6 as one of

Re: USB Ethernet gadget on Nokia n900

2014-10-21 Thread Pavel Machek
Hi! After some hand-bisecting and real-bisecting, I found two commits that cause problems for 3.13: With these reverted, I get usb networking back in 3.13 on nokia n900. (Pali, if you revert these, you should get working usb networking in your 3.13 branch, too.)

Re: USB Ethernet gadget on Nokia n900

2014-10-20 Thread Pavel Machek
Hi! 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

Re: USB Ethernet gadget on Nokia n900

2014-10-20 Thread Tony Lindgren
* Pavel Machek pa...@ucw.cz [141020 06:10]: Hi! 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...

Re: USB Ethernet gadget on Nokia n900

2014-10-20 Thread Aaro Koskinen
Hi, On Sun, Oct 19, 2014 at 09:19:37PM +0200, Pavel Machek wrote: I am trying to use nfsroot, so I can't use modules. Why not? (I am attaching full config, in case I missed something important). I'm using the below config with 3.17 and g_ether works OK. (My initramfs modprobes g_ether, runs

Re: USB Ethernet gadget on Nokia n900

2014-10-20 Thread Aaro Koskinen
Hi, On Tue, Oct 21, 2014 at 12:35:18AM +0300, Aaro Koskinen wrote: On Sun, Oct 19, 2014 at 09:19:37PM +0200, Pavel Machek wrote: I am trying to use nfsroot, so I can't use modules. Why not? (I am attaching full config, in case I missed something important). I'm using the below config

Re: USB Ethernet gadget on Nokia n900

2014-10-20 Thread Pavel Machek
On Mon 2014-10-20 09:45:42, Tony Lindgren wrote: * Pavel Machek pa...@ucw.cz [141020 06:10]: Hi! 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

Re: USB Ethernet gadget on Nokia n900

2014-10-20 Thread Tony Lindgren
* Pavel Machek pa...@ucw.cz [141020 15:04]: On Mon 2014-10-20 09:45:42, Tony Lindgren wrote: * Pavel Machek pa...@ucw.cz [141020 06:10]: Hi! 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

Re: USB Ethernet gadget on Nokia n900

2014-10-20 Thread Pavel Machek
Hi! On Sun, Oct 19, 2014 at 09:19:37PM +0200, Pavel Machek wrote: I am trying to use nfsroot, so I can't use modules. Why not? I'm trying to put root filesystem on nfs, without initrd/initramfs. Thus no modules for me. (I am attaching full config, in case I missed something important).

Re: USB Ethernet gadget on Nokia n900

2014-10-19 Thread Pavel Machek
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

Re: USB Ethernet gadget on Nokia n900

2014-10-19 Thread Pali Rohár
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?

Re: USB Ethernet gadget on Nokia n900

2014-10-19 Thread Felipe Balbi
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.

Re: USB Ethernet gadget on Nokia n900

2014-10-19 Thread Pavel Machek
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

Re: USB Ethernet gadget on Nokia n900

2014-10-19 Thread Pavel Machek
On Sun 2014-10-19 21:19:37, Pavel Machek wrote: 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.

Re: USB Ethernet gadget on Nokia n900

2014-10-19 Thread Pavel Machek
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

Re: USB Ethernet gadget on Nokia n900

2014-10-19 Thread Pali Rohár
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

Re: USB Ethernet gadget on Nokia n900

2014-10-19 Thread Pavel Machek
Hi! 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