**** BEGIN LOGGING AT Mon Jul 29 02:59:58 2013 Jul 29 08:14:20 av500 ping Jul 29 17:17:02 jj2baile, ping Jul 29 20:12:25 mluckham: pong Jul 29 21:03:18 jj2baile, still there? Jul 29 21:21:21 hey Jul 29 21:21:55 hi, did you get the video done? Jul 29 21:23:08 Not quite... Jul 29 21:23:17 I must say that has been the most troublesome part of this project so far. Jul 29 21:23:37 I built panto's kernel though by the way. Haven't loaded it unto my bone yet though, need to get a 4gb sdcard Jul 29 21:23:48 Thanks again for your instructions, they were quite good. Jul 29 21:23:57 let's look on the bright side - I'm glad you built the kernel Jul 29 21:24:09 I'm using 8 gb cards Jul 29 21:24:24 mluckham: I started writing slides for the video, but trying to figure out diagrams, or presentation style, etc. is difficult for me. Jul 29 21:24:27 Never really made a video before. Jul 29 21:25:01 yah, i thought you were running yourself out of time Jul 29 21:25:35 you can load the kernel using u-boot and tftp, do you know how to do that? Jul 29 21:26:45 Oh, actually yes. some of the csc systems work in such a manner. Jul 29 21:26:53 Although never set up the tftp server itself Jul 29 21:27:23 I could just use the one at school, so I may do that later Jul 29 21:27:47 easy to do Jul 29 21:27:59 but you should buy yourself an sd card or two Jul 29 21:28:12 hello there people! Jul 29 21:28:20 vvu, hi Jul 29 21:28:35 how is it going? Jul 29 21:28:49 just asking jj2baile that Jul 29 21:29:14 jj, have you studied the testpru0/testpru1 to see how they work? Jul 29 21:29:24 the C code, I mean Jul 29 21:29:26 mluckham: have any experience with usb gadgetFS ? Jul 29 21:29:37 not really, having a problem? Jul 29 21:29:54 not now, just spoke with av500 and we need to change the serial communication to gadgetFS Jul 29 21:30:00 serial is not really reliable with big data Jul 29 21:30:22 kernel has a 4096 bytes buffer and it gets full really fast with g_serial...fills up faster than i can read from it Jul 29 21:30:42 and making the sending slower on the android is not an option, takes 2h to flash eMMC from the phone :)) Jul 29 21:31:25 you need a handshake and a protocol Jul 29 21:32:27 only time I used gadget drivers is the Windows drivers for BBB (RNDIS) Jul 29 21:33:03 * vvu runs when hears RNDIS, especially with Android Jul 29 21:33:13 lol Jul 29 21:33:26 it didn't reliably detect the BBB, I ran also to Ubuntu Jul 29 21:33:37 we were just speaking of tftp, could you use that? Jul 29 21:33:53 i want to get rid of RNDIS Jul 29 21:34:09 remind me, what is your project? Jul 29 21:34:14 the android kernel is really bugged when it comes about RNDIS Jul 29 21:34:26 Android Based Boot System Jul 29 21:34:34 to boot/flash eMMC of BBB/BBW Jul 29 21:35:08 at this point i have booted a small ramdisk on the board Jul 29 21:35:08 you are direct-wiring BBB to an Android device, with usb cable? Jul 29 21:35:12 yep Jul 29 21:35:20 BBB device and Android host Jul 29 21:35:38 and you tried writing a protocol, like zmodem? Jul 29 21:36:04 i have a self made protocol like tftp Jul 29 21:36:12 send, wait for ack and so on Jul 29 21:36:20 so, what's wrong with that? Jul 29 21:36:21 but over serial is not so good Jul 29 21:36:53 i can't send more than 4k chunks at once Jul 29 21:37:02 because it overflows the serial driver buffer on the BBB Jul 29 21:37:12 and it gives me some corrupt data at some point Jul 29 21:37:27 and that is why i was asking for gadgetFS, av500 told me it works with big data Jul 29 21:37:31 why don't you send 1K chunks, or 2K? Jul 29 21:37:50 will take really long to finish the transfer Jul 29 21:37:51 walk first, then run Jul 29 21:38:00 tried both ways Jul 29 21:38:15 is there a 'time limit'? Or just get it working first? Jul 29 21:38:33 time limit in a normal manner Jul 29 21:38:58 would gadgetFS run on the Android side, with BBB side requesting data [address+length]? Jul 29 21:38:58 i don't think there is a normal guy that will stay more than 1h with his android device hooked with the BBB just to flash the eMMC Jul 29 21:39:13 well it takes 45 minutes from an SD card! Jul 29 21:39:18 i don't really know how gadgetFS works Jul 29 21:40:05 IMHO you have already invested time with a serial protocol, that approach will work you just need to iron out the bugs Jul 29 21:40:27 sorry, gtg eat Jul 29 21:40:41 i have a good example to send the .img compressed then extract it on the BBB and pipe to /dev/mmcblkX Jul 29 21:41:25 mluckham: bon apetit Jul 29 21:56:53 as long as it's less than 4K? Jul 29 21:57:26 jj2baile, I asked if you had looked at the C code for testpru1/testpru0 - to see how it works Jul 29 22:18:52 vvu, http://www.tldp.org/HOWTO/PPP-HOWTO/direct.html - get a PPP-over-serial connection up, you could access any service on Android side from BBB Jul 29 22:18:55 or vice versa Jul 29 22:19:11 then use ftp to transfer your file Jul 29 22:34:59 mhmh i'm kinda restricted on the Android. need to use only the USB Host API Jul 29 22:35:02 no root access Jul 29 22:42:31 sucks Jul 29 22:43:11 usb tethering? Jul 29 22:46:13 the project is designed for people that take the android device right out of the box and flash the BBB Jul 29 22:46:27 usb communication, not tethering Jul 29 22:47:01 i see Jul 29 22:53:31 anyway i will get it to work Jul 29 22:53:35 but need to read a bit Jul 29 23:14:31 mluckham: got my serial thingie to work, fully automated process to flash the eMMC Jul 29 23:14:46 open the Android app click one button and wait for the magic to happen Jul 29 23:14:49 :) Jul 29 23:15:45 congrats - you were one edit away from success? Jul 29 23:16:27 mhmh not kinda, i'm sending the .img in a xz format Jul 29 23:16:31 to keep it small Jul 29 23:16:47 then on the baord xz -cd flasher.img.xz > /dev/mmcblk0 Jul 29 23:16:52 kinda hacky but works Jul 29 23:16:59 it works Jul 29 23:17:43 works, is good Jul 29 23:20:12 now need to push all my hacks to github and write a biga$$ tutorial on how to do things Jul 30 00:45:18 mluckham: I skimmed over it but did not do the indepth look **** ENDING LOGGING AT Tue Jul 30 02:59:58 2013