2012-11-08 00:02 viric_ has joined #qi-hardware 2012-11-08 00:02 viric has quit [Ping timeout: 256 seconds] 2012-11-08 00:10 wpwrak: The problem seams to be the GPT partition table. I reformatted the 2gb sdcard to ext4 with its msdos partition table. My NN could mount it and mount another 32gb sdcard formatted ext4, GPT 2012-11-08 02:00 dandon has quit [Quit: .] 2012-11-08 02:00 Freemor has left #qi-hardware [#qi-hardware] 2012-11-08 02:20 still do post any replies and I will look at them one day in the log. thanks bb 2012-11-08 02:47 panda|x201 has joined #qi-hardware 2012-11-08 02:48 arossDOTme has quit [Quit: Ex-Chat] 2012-11-08 03:04 arossDOTme: sounds a bit strange that the partition table would have such an effect. but then, i've never experimented with GPT so far, so maybe there's a world of fun waiting out there of which i don't know yet :) 2012-11-08 03:28 emeb has left #qi-hardware [#qi-hardware] 2012-11-08 03:37 fire_ has joined #qi-hardware 2012-11-08 03:52 fire_ has quit [Quit: WeeChat 0.3.9] 2012-11-08 04:03 DocScrutinizer05 has quit [Disconnected by services] 2012-11-08 04:03 DocScrutinizer05 has joined #qi-hardware 2012-11-08 04:14 antgreen has quit [Ping timeout: 240 seconds] 2012-11-08 05:21 panda|x201 has quit [Ping timeout: 252 seconds] 2012-11-08 05:21 panda|x201 has joined #qi-hardware 2012-11-08 06:35 pcercuei has quit [Quit: dodo] 2012-11-08 06:44 jekhor has joined #qi-hardware 2012-11-08 07:03 jluis_ has joined #qi-hardware 2012-11-08 07:10 xiangfu has joined #qi-hardware 2012-11-08 07:33 jluis_ has quit [Ping timeout: 246 seconds] 2012-11-08 07:40 xiangfu has quit [Read error: Connection reset by peer] 2012-11-08 07:49 viric_ is now known as viric 2012-11-08 08:05 jluis_ has joined #qi-hardware 2012-11-08 08:32 dandon has joined #qi-hardware 2012-11-08 08:36 codingenesis has joined #qi-hardware 2012-11-08 08:37 codingenesis is now known as nerd 2012-11-08 08:52 nerd has quit [Ping timeout: 248 seconds] 2012-11-08 09:02 jekhor has quit [Ping timeout: 246 seconds] 2012-11-08 09:41 jluis_ has quit [Ping timeout: 246 seconds] 2012-11-08 09:46 panda|x201 has quit [Ping timeout: 265 seconds] 2012-11-08 09:47 panda|x201 has joined #qi-hardware 2012-11-08 09:52 jluis_ has joined #qi-hardware 2012-11-08 10:01 kilae has joined #qi-hardware 2012-11-08 10:22 urandom__ has joined #qi-hardware 2012-11-08 10:22 xiangfu has joined #qi-hardware 2012-11-08 10:52 xiangfu has quit [Ping timeout: 246 seconds] 2012-11-08 11:47 jluis_ has quit [Ping timeout: 246 seconds] 2012-11-08 11:47 xiangfu has joined #qi-hardware 2012-11-08 12:21 panda|x201 has quit [Ping timeout: 246 seconds] 2012-11-08 12:22 panda|x201 has joined #qi-hardware 2012-11-08 12:24 jluis_ has joined #qi-hardware 2012-11-08 12:37 panda|x201 has quit [Ping timeout: 246 seconds] 2012-11-08 12:38 panda|x201 has joined #qi-hardware 2012-11-08 12:50 jekhor has joined #qi-hardware 2012-11-08 13:02 kilae_ has joined #qi-hardware 2012-11-08 13:05 kilae has quit [Ping timeout: 246 seconds] 2012-11-08 13:05 GNUtoo-desktop has joined #qi-hardware 2012-11-08 13:17 kilae_ has quit [Ping timeout: 268 seconds] 2012-11-08 13:24 arossDOTme has joined #qi-hardware 2012-11-08 13:30 kristoffer has joined #qi-hardware 2012-11-08 13:30 wej has quit [Ping timeout: 260 seconds] 2012-11-08 13:39 krispaul has joined #qi-hardware 2012-11-08 13:39 krispaul has quit [Client Quit] 2012-11-08 13:43 kilae has joined #qi-hardware 2012-11-08 13:48 wej has joined #qi-hardware 2012-11-08 14:04 pcercuei has joined #qi-hardware 2012-11-08 14:07 xiangfu has quit [Ping timeout: 246 seconds] 2012-11-08 14:10 GNUtoo has joined #qi-hardware 2012-11-08 14:10 panda|x201 has quit [Ping timeout: 256 seconds] 2012-11-08 14:11 panda|x201 has joined #qi-hardware 2012-11-08 14:24 Why the nanonote does not implement a usb-storage device? only usbnet 2012-11-08 14:24 or can I switch that easily? 2012-11-08 14:25 on the openmoko its just loading a different gadget driver, probably the same on other devices 2012-11-08 14:26 so, either one or the other 2012-11-08 14:26 can't the kernel do as if it was a hub with two devices? 2012-11-08 14:27 jluis_ has quit [Ping timeout: 246 seconds] 2012-11-08 14:31 viric, it can 2012-11-08 14:32 the problem of mass-storage mode is that you have to dedicate a full partition to it 2012-11-08 14:32 and the OS has to be apart 2012-11-08 14:33 now the problem is that the jz4740 USB driver seems to have problems with that gadget driver 2012-11-08 14:33 yes, clear. I remember seeing that setup in some devices 2012-11-08 14:34 ah really? meh 2012-11-08 14:37 viric: theres a composite usb device stuff in Linux but it is quite limited, even on Android you can't have usbnet plus adb at the same time 2012-11-08 14:42 erikkugel has joined #qi-hardware 2012-11-08 14:42 jluis_ has joined #qi-hardware 2012-11-08 14:43 woakas has quit [Ping timeout: 244 seconds] 2012-11-08 14:51 kilae_ has joined #qi-hardware 2012-11-08 14:52 wpwrak: Opps "My NN could mount it and mount another 32gb sdcard formatted ext4, GPT" I mean 32gb ext4 msdos sd card mounted but the one with GPT did not mount. 2012-11-08 14:53 ah, so GPT is what causes the trouble 2012-11-08 14:53 and not ext4 2012-11-08 14:53 yes 2012-11-08 14:53 2:** am for you 2012-11-08 14:54 kilae has quit [Ping timeout: 252 seconds] 2012-11-08 14:55 It would be awesome to by able to connect a usb flash drive(s) :D.So is it the case of some one having the time and will to fix this driver? 2012-11-08 14:57 "fixing" the driver may be a tad difficult. the hardware doesn't support usb host. you could perhaps write a sw-based usb host driver, but so far, nobody has done that. 2012-11-08 14:57 ok 2012-11-08 14:58 woakas has joined #qi-hardware 2012-11-08 14:58 (hw) that is, the chip would have a usb host interface. but it's not connected to the outside world. and connecting to it would be very difficult. 2012-11-08 15:11 kilae has joined #qi-hardware 2012-11-08 15:14 kilae_ has quit [Ping timeout: 260 seconds] 2012-11-08 15:20 paul_boddie has joined #qi-hardware 2012-11-08 15:20 I seem to recall that the combination gadget drivers can't reserve enough endpoints from the USB system, or something like that. 2012-11-08 15:22 They probably have to advertise multiple endpoints with their own descriptors, and the jz4740 won't let them. At least that's what my interpretation of the problem was. 2012-11-08 15:23 the composite gadget works on jz4740 2012-11-08 15:23 I tried it with networking + serial 2012-11-08 15:24 It didn't work for me when I tried it on the NanoNote. Maybe something has been fixed recently. 2012-11-08 15:27 the USB device controller has ... hmm ... manual says 5 or 16 EPs 2012-11-08 15:27 err, 6 or 16. let's see ... 2012-11-08 15:28 apparently it's 16 2012-11-08 15:31 Well, I don't know why it didn't work, then. I was sure that the driver mentioned some really small number like ep0, ep1 (in), ep1 (out) and ep2 (bulk), or something. 2012-11-08 15:32 the manual claims that "The core has up to 3 IN endpoints and/or up to 2 OUT endpoints in addition to Endpoint 0." 2012-11-08 15:32 but then happily goes on explaining how to use all those 16 (!) endpoints 2012-11-08 15:33 maybe there's an additional restriction i didn't spot when skimming the pages 2012-11-08 15:34 On the topic of USB Host, I was doing some stuff tunnelling USB/IP to a PC and also to a USB Host-capable Arduino device, but I became quite tired of (1) the Microsoft-level USB/IP protocol (it just bundles up kernel structures and sends them over the wire), (2) trying to issue ioctls from user-space on a Linux host, (3) debugging the driver (although I think I cracked that problem, mostly), (4) trying to get the USB controller on the other devi 2012-11-08 15:35 ...(5) dealing with the fact that USB hubs require the Frankenstein treatment to have "normal" out-of-the-box hub behaviour like what you'd have for any sane interconnectivity technology. 2012-11-08 15:37 ;-) 2012-11-08 15:37 I do know a lot more about USB now, however. ;-) 2012-11-08 15:38 usb is fun. gives you that warm fuzzy feeling that those doomsayers may have a point with hell and eternal damnation 2012-11-08 15:42 btw, a more straightforward approach could be to just do your own protocol, like i did with dirtpan 2012-11-08 15:45 16 EPs looks like a lot 2012-11-08 15:46 yeah. dunno why, at the same time, they say that we only have 1+2+3. 2012-11-08 15:47 I didn't know that could have a hardware limit. 2012-11-08 15:47 maybe more usb stuff can be delegated to the cpu? 2012-11-08 15:47 and then have as much EPs as wanted 2012-11-08 15:48 I guess it all comes down to buffers and latency. You could probably have a number limited only by the addressing, but the hardware would probably need to be capable of shoving the data in the right buffers in a timely fashion. 2012-11-08 15:49 viric: you don't have access to the lower levels. so you'd have to implement the whole USB device in software. kinda like v-usb. 2012-11-08 15:50 v-usb? 2012-11-08 15:56 if imgtfy worked better today, i'd give you a link ... 2012-11-08 16:01 if what? 2012-11-08 16:01 lmgtfy.com 2012-11-08 16:02 :) 2012-11-08 16:04 v-usb is that Atmel-based software-only implementation of USB 1.1, isn't it? 2012-11-08 16:07 ah I think I remember it 2012-11-08 16:09 GNUtoo-desktop has quit [Quit: [INFO] fsogsmd : received signal -11, exiting.] 2012-11-08 16:18 jluis_ has quit [Remote host closed the connection] 2012-11-08 16:49 paul_boddie has left #qi-hardware ["Kopete 0.11.3 : http://kopete.kde.org"] 2012-11-08 16:57 emeb has joined #qi-hardware 2012-11-08 17:07 GNUtoo-desktop has joined #qi-hardware 2012-11-08 17:18 Jurting_pc2 has joined #qi-hardware 2012-11-08 17:32 heberth has joined #qi-hardware 2012-11-08 17:37 LunaVorax has joined #qi-hardware 2012-11-08 17:45 heberth has quit [Quit: leaving] 2012-11-08 17:46 wpwrak: http://lmgtfy.com/?q=v-usb 2012-11-08 17:47 and I did not look up anything prior to posting this link. 2012-11-08 17:47 yeah, i'm too lazy to type it off the screen. for some reason, copy & paste doesn't want to work. 2012-11-08 17:49 hmm. now to get a cross-compilation environment for the ben with SDL and SDL_gfx in less than two hours ? 2012-11-08 17:50 let's see if building a single package works ... 2012-11-08 17:59 woakas has quit [Ping timeout: 240 seconds] 2012-11-08 18:10 guanucoluis has joined #qi-hardware 2012-11-08 18:12 woakas has joined #qi-hardware 2012-11-08 18:20 Jurting_pc2 has quit [Ping timeout: 248 seconds] 2012-11-08 18:23 jekhor has quit [Ping timeout: 245 seconds] 2012-11-08 18:23 hmm. but no way to make a static binary :-( 2012-11-08 18:27 erikkugel has quit [Ping timeout: 246 seconds] 2012-11-08 18:33 again? ( cross-compilatio env) 2012-11-08 18:33 it's an eternal struggle ... 2012-11-08 18:34 i have a working cross-compiler. now i tried to add SDL. that actually works, but ... i also need my binaries to be static (don't want to reinstall the whole ben) 2012-11-08 18:35 wpwrak: nix 2012-11-08 18:35 without SDL, static binaries are fine. SDL, on the other hand, depends on stuff that doesn't support static binaries. 2012-11-08 18:35 :) 2012-11-08 18:35 viric: the master of all niches ;-) 2012-11-08 18:36 I've been told that gcc from 4.5 to 4.7 has serious mips bugs 2012-11-08 18:36 https://www.linux-mips.org/cgi-bin/mesg.cgi?a=linux-mips&i=20120906140843.GA17068%40linux-mips.org 2012-11-08 18:37 hmm, fun :) 2012-11-08 18:38 I'm having lots of troubles with a mips64 kernel 2012-11-08 18:38 I'm building a 4.7.2 toolchain now 2012-11-08 19:02 kilae_ has joined #qi-hardware 2012-11-08 19:04 kilae has quit [Ping timeout: 252 seconds] 2012-11-08 19:06 lekernel_ has joined #qi-hardware 2012-11-08 19:06 lekernel has quit [Ping timeout: 255 seconds] 2012-11-08 19:26 LunaVorax has quit [Ping timeout: 260 seconds] 2012-11-08 19:38 LunaVorax has joined #qi-hardware 2012-11-08 19:43 jekhor has joined #qi-hardware 2012-11-08 19:52 LunaVorax has quit [Read error: Operation timed out] 2012-11-08 20:07 LunaVorax has joined #qi-hardware 2012-11-08 20:36 lekernel_ is now known as lekernel 2012-11-08 20:41 GNUtoo has quit [Quit: Program received signal SIGSEGV, Segmentation fault.] 2012-11-08 20:43 erikkugel has joined #qi-hardware 2012-11-08 20:49 pcercuei2 has joined #qi-hardware 2012-11-08 20:49 pcercuei has quit [Read error: Connection reset by peer] 2012-11-08 21:06 I refomated my 32gb card so its also msdos part tablet ext4 and it now mounts on my NN. BTW before it was GPT with protective MBR. in other words GParted defaults. 2012-11-08 21:07 wpwrak: ^ 2012-11-08 21:25 LunaVorax has quit [Ping timeout: 264 seconds] 2012-11-08 21:27 kewl. a reasonably happy ending then :) 2012-11-08 21:35 formatting sd cards? 2012-11-08 21:35 sd cards come with properly aligned partitions 2012-11-08 21:35 factory determined. For optimal performance. 2012-11-08 21:38 I only change the partition table to gpt becuase I like superor stuff but 1mb could not be used. With the msdos partion table I have no odd left over unused 1mb. 2012-11-08 21:39 I don't know: "sd cards come with properly aligned partitions" 2012-11-08 21:39 I assume that its nothing that can't be undone. 2012-11-08 21:40 kilae_ has quit [Quit: ChatZilla 0.9.89 [Firefox 16.0.2/20121024073032]] 2012-11-08 21:45 you could have noted where the partitions started :) 2012-11-08 21:45 and repeat that in msdos partitions :) 2012-11-08 21:45 The manufacturers place the fastest flash memory where the FAT tables reside, that require most modification. That, based on the from-factory partitions. 2012-11-08 21:46 (fastest, or that can be written more times, or with more extra blocks, ...) 2012-11-08 21:46 And the rest of the flash is expected to be written linearly. If you break that (and does not use FAT for example :) you may have a bad performance. 2012-11-08 21:47 Moreover, if you don't align the partitions to the flash page size or the erase block size, you may have a much higher performance penalty 2012-11-08 21:47 oh didn't know that. darn. I hate fat. oh dear 2012-11-08 21:48 that also depends on the quality of the card, of course. 2012-11-08 21:48 lwn had a good page about it 2012-11-08 21:49 https://lwn.net/Articles/428584/ 2012-11-08 21:50 umm when switching back to msdos part table I tried trying out gdisk to convert the table for gpt to msdos. that didn't seam to work. So I went for gparted change part table to msdos format ext4 and again disable the journal 2012-11-08 21:50 by not work I mean gparted moan about it. 2012-11-08 21:50 thanks for the article. I will read that :) 2012-11-08 22:01 erikkugel has quit [Quit: Leaving.] 2012-11-08 22:12 LunaVorax has joined #qi-hardware 2012-11-08 22:13 heberth has joined #qi-hardware 2012-11-08 22:16 So what command,app do I use to make a note partitions started? thanks for putting up with my newbieness. 2012-11-08 22:18 I guess formatting back to fat32 ant going to tell me where the original partition started... 2012-11-08 22:20 oh it took around 1hour to copy 15,16ish GB on to it. If I remember correctly :/. 2012-11-08 22:24 This would not have anything to do with my prev sd card getting files corrupted/errors? msdos ext4 disabled journal. 2012-11-08 22:24 kristoffer has quit [Quit: Leaving] 2012-11-08 22:25 re copying: I forget the numbers of what speeds to expect. should look them up, now I think of it... 2012-11-08 22:35 freespace has quit [Read error: Operation timed out] 2012-11-08 22:37 GNUtoo-desktop has quit [Quit: [INFO] fsogsmd : received signal -11, exiting.] 2012-11-08 22:44 freespace has joined #qi-hardware 2012-11-08 22:46 heberth has quit [Quit: leaving] 2012-11-08 23:19 LunaVorax has quit [Ping timeout: 246 seconds] 2012-11-08 23:28 jekhor has quit [Ping timeout: 246 seconds] 2012-11-08 23:58 pcercuei has joined #qi-hardware