2013-08-21 01:21 dandon has quit [Remote host closed the connection] 2013-08-21 01:23 Textmode has joined #qi-hardware 2013-08-21 02:01 _whitelogger has joined #qi-hardware 2013-08-21 02:04 _whitelogger has joined #qi-hardware 2013-08-21 05:02 pcercuei has quit [Ping timeout: 264 seconds] 2013-08-21 05:15 kyak has quit [Read error: Operation timed out] 2013-08-21 05:31 wolfspraul has joined #qi-hardware 2013-08-21 05:53 viric has quit [Ping timeout: 240 seconds] 2013-08-21 05:58 viric has joined #qi-hardware 2013-08-21 06:06 lindi-_ is now known as lindi- 2013-08-21 06:10 wej_ has joined #qi-hardware 2013-08-21 06:14 wej has quit [Ping timeout: 245 seconds] 2013-08-21 06:22 kyak has joined #qi-hardware 2013-08-21 06:55 jekhor has joined #qi-hardware 2013-08-21 07:09 viric has quit [Ping timeout: 240 seconds] 2013-08-21 07:30 wej_ has quit [Read error: Connection reset by peer] 2013-08-21 07:33 wej has joined #qi-hardware 2013-08-21 07:35 ffio has joined #qi-hardware 2013-08-21 07:35 dandon has joined #qi-hardware 2013-08-21 07:52 wej has quit [Ping timeout: 264 seconds] 2013-08-21 07:54 panda|x201 has quit [Remote host closed the connection] 2013-08-21 07:54 wej has joined #qi-hardware 2013-08-21 07:58 panda|x201 has joined #qi-hardware 2013-08-21 08:11 freespace has quit [*.net *.split] 2013-08-21 08:12 rozzin has quit [*.net *.split] 2013-08-21 08:12 freespace has joined #qi-hardware 2013-08-21 08:22 rozzin has joined #qi-hardware 2013-08-21 08:23 panda|x201 has quit [Quit: Leaving] 2013-08-21 08:23 panda|x201 has joined #qi-hardware 2013-08-21 08:37 rz2k has joined #qi-hardware 2013-08-21 09:02 lekernel has joined #qi-hardware 2013-08-21 09:26 porchao has joined #qi-hardware 2013-08-21 09:27 jekhor has quit [Ping timeout: 276 seconds] 2013-08-21 09:59 wolfspraul has quit [Ping timeout: 245 seconds] 2013-08-21 10:01 wolfspraul has joined #qi-hardware 2013-08-21 10:19 ffio_ has joined #qi-hardware 2013-08-21 10:20 ffio has quit [Ping timeout: 248 seconds] 2013-08-21 10:36 pcercuei has joined #qi-hardware 2013-08-21 10:59 Textmode has quit [Quit: Ex-Chat] 2013-08-21 11:18 lekernel has quit [Read error: Operation timed out] 2013-08-21 11:33 lekernel has joined #qi-hardware 2013-08-21 12:12 FDCX has joined #qi-hardware 2013-08-21 12:39 viric_ has joined #qi-hardware 2013-08-21 12:43 jekhor has joined #qi-hardware 2013-08-21 12:44 viric_ has quit [Ping timeout: 240 seconds] 2013-08-21 13:28 jekhor has quit [Ping timeout: 264 seconds] 2013-08-21 13:33 jekhor has joined #qi-hardware 2013-08-21 14:36 jekhor has quit [Ping timeout: 268 seconds] 2013-08-21 14:51 wej has quit [Ping timeout: 245 seconds] 2013-08-21 14:53 viric_ has joined #qi-hardware 2013-08-21 14:54 Freemor has quit [Remote host closed the connection] 2013-08-21 15:08 jekhor has joined #qi-hardware 2013-08-21 15:25 viric_ is now known as viric 2013-08-21 15:33 Freemor has joined #qi-hardware 2013-08-21 16:41 jekhor has quit [Read error: Connection reset by peer] 2013-08-21 16:46 kilae has joined #qi-hardware 2013-08-21 17:38 kilae has quit [Quit: ChatZilla 0.9.90.1 [Firefox 23.0.1/20130814063812]] 2013-08-21 17:54 wej has joined #qi-hardware 2013-08-21 18:20 _ffio_ has joined #qi-hardware 2013-08-21 18:21 ffio_ has quit [Ping timeout: 264 seconds] 2013-08-21 19:06 rz2k has quit [] 2013-08-21 19:40 Hello 2013-08-21 19:40 larsc: are you there ? 2013-08-21 19:40 yes 2013-08-21 19:40 Hi 2013-08-21 19:41 hi 2013-08-21 19:41 I'm trying to test the musb glue layer skeleton I' ve written: http://seketeli.fr/git/~apelete/qi-kernel.git/commit/?h=jz4740-udc 2013-08-21 19:41 when I load it nothing happens 2013-08-21 19:42 did you create a platform device for it in qi_lb60.c? 2013-08-21 19:43 no, should I ? 2013-08-21 19:44 yes, or better just change the name of the jzudc device 2013-08-21 19:45 in arch/mips/jz4740/platform.c 2013-08-21 19:46 I don't get it. qi_lb60.c seems to be asoc related, why should I create a platform device there ? 2013-08-21 19:47 board-qi_lb60.c, sorry 2013-08-21 19:58 in board-qi_lb60.c, I found: 2013-08-21 19:58 static struct platform_device *jz_platform_devices[] __initdata = { 2013-08-21 19:58 &jz4740_udc_device, 2013-08-21 19:58 which correspond to the following in arch/mips/jz4740/platform.c: 2013-08-21 19:58 struct platform_device jz4740_udc_device = { 2013-08-21 19:58 .name = "jz-udc", 2013-08-21 19:58 2013-08-21 20:00 yes, replace "jz-udc" with "musb-jz4740" 2013-08-21 20:02 okay, so I don't need to modifiy drivers/usb/musb/Makefile and drivers/usb/musb/Kconfig to add rules for musb-jz4740 ? 2013-08-21 20:03 because all the musb glue layers seem to have some sort of configuration options in those latter files 2013-08-21 20:05 and they (the other musb glue layers) all depend on the USB_MUSB_HDRC kernel config parameter 2013-08-21 20:10 I compiled musb-jz4740 out of tree and loaded it, but nothing happened. so I think I'm missing the corresponding USB_MUSB_HDRC driver in the kernel: I think musb-jz4740 should be used by USB_MUSB_HDRC driver 2013-08-21 20:10 larsc: am I mistaking here ? 2013-08-21 20:16 yes, you need to load the musb module as well 2013-08-21 20:17 pcercuei has quit [Read error: Operation timed out] 2013-08-21 20:19 ok. so I need to modify drivers/usb/musb/Makefile and drivers/usb/musb/Kconfig as well, because the musb module cannot be activated in the menuconfig without a platform glue layer 2013-08-21 20:23 larsc: I do not know what to put in the drivers/usb/musb/Kconfig for musb-jz4740 exactly, I explain: 2013-08-21 20:24 let's take for instance the platform glue layer config section of a TI controller in drivers/usb/musb/Makefile and drivers/usb/musb/Kconfig: 2013-08-21 20:24 choice 2013-08-21 20:24 2013-08-21 20:24 prompt "Platform Glue Layer" 2013-08-21 20:24 config USB_MUSB_DAVINCI 2013-08-21 20:24 tristate "DaVinci" 2013-08-21 20:24 depends on ARCH_DAVINCI_DMx 2013-08-21 20:24 2013-08-21 20:24 2013-08-21 20:25 larsc: it depends on ARCH_DAVINCI_DMx. what should musb-jz4740 depends on ? 2013-08-21 20:26 I'm thinking of something like ARCH_MIPS maybe, but not sure about that 2013-08-21 20:28 s/ config section of a TI controller in drivers/usb/musb/Makefile and drivers/usb/musb/Kconfig / config section of a TI controller indrivers/usb/musb/Kconfig / 2013-08-21 20:31 pcercuei has joined #qi-hardware 2013-08-21 20:40 jekhor has joined #qi-hardware 2013-08-21 20:42 viric has quit [Ping timeout: 240 seconds] 2013-08-21 20:43 viric has joined #qi-hardware 2013-08-21 20:53 depends on MACH_JZ4740 should work 2013-08-21 21:01 ok thanks 2013-08-21 21:02 larsc: I won't bother you longer, will try those modifications first and see what happens :) 2013-08-21 21:02 thanks a lot for your time 2013-08-21 21:04 wolfspraul has quit [Quit: leaving] 2013-08-21 21:05 no problem 2013-08-21 21:11 _ffio_ has quit [Quit: WeeChat 0.4.1] 2013-08-21 21:29 porchao has quit [Quit: Leaving...] 2013-08-21 21:40 wej has quit [Ping timeout: 245 seconds] 2013-08-21 21:47 wej has joined #qi-hardware 2013-08-21 21:53 MUSB WAAAAAH!!! 2013-08-21 21:55 don't tell me JZ4740 is using the fsckdup mentalgrafucks musb core 2013-08-21 21:56 had my year of torture trying to fix stuff in drivers for that crap 2013-08-21 21:56 ask PaulFertser what he thinks about musb-hdrc ;-P 2013-08-21 21:58 ARCH_DAVINCI is OMAP36xx, no? 2013-08-21 21:59 actually Nokia's idea of a OMAP36xx platform 2013-08-21 21:59 afaik 2013-08-21 22:00 davinci is davinci 2013-08-21 22:00 anyway DAVINCI been the codename for the N9(50) prototypes at Nokia 2013-08-21 22:01 they sometimes share IP cores between davinci and omap though 2013-08-21 22:04 so what's the "top" meaning of davinci term? A SoC, a platform, a project, a son of flying spaghetti monster? 2013-08-21 22:05 family of SoCs 2013-08-21 22:05 mhm 2013-08-21 22:05 thanks 2013-08-21 22:06 right, I seem to recall something at TI's website 2013-08-21 22:06 might be wrong though 2013-08-21 22:09 lekernel has quit [Quit: Leaving] 2013-08-21 22:10 thought as much: http://www.ti.com/sitesearch/docs/universalsearch.tsp?searchTerm=DAVINCI%20PROCESSORS&linkId=1 2013-08-21 22:16 http://processors.wiki.ti.com/index.php/Category:DaVinci_Linux looks actually not too bad 2013-08-21 22:23 pcercuei has quit [Ping timeout: 240 seconds] 2013-08-21 22:45 pcercuei has joined #qi-hardware 2013-08-21 23:02 Textmode has joined #qi-hardware 2013-08-21 23:16 apelete: we've got a JZ4770 kernel here that uses the musb driver: https://github.com/gcwnow/linux 2013-08-21 23:16 the 4770 version can do OTG, which I guess the 4740 version cannot, so it's probably not exactly the same 2013-08-21 23:17 the glue is slightly cleaned up compared to Ingenic's code, but it's not great yet 2013-08-21 23:17 it does work reliably though