**** BEGIN LOGGING AT Fri Jun 21 02:59:58 2013 Jun 21 06:54:12 panto, the current pru_loader then transfers data via uio_pruss? Jun 21 08:42:31 ka6sox-away, no Jun 21 08:42:40 uio_pruss is not used at all Jun 21 08:42:45 uio_pruss is a horrible hack Jun 21 08:43:14 you get a remote proc loader, and virtio devices Jun 21 08:43:49 and you implement the other side of the virtio device end at PRU Jun 21 10:28:24 jkridner_: have received my package. BBB+bacon cape. no issues with the customs/duties etc :) Jun 21 10:31:13 good Jun 21 10:31:24 enjoy the bacon Jun 21 10:50:31 av500: vegan here :-) Jun 21 10:58:36 good going. BBB arrived at my desk (no problem with customs etc) Jun 21 15:39:55 av500: ping Jun 21 15:44:05 jj2baile, ping Jun 21 15:46:08 ka6sox: have java experience ? Jun 21 15:46:44 only the kind that is in my Morning Cup. Jun 21 15:47:22 i am trying to figure out if class respects some memory alignment from C :) Jun 21 15:47:25 speaking of which...#2 is about to happen. Jun 21 15:47:40 but a bit lazy to test with a real hexdump Jun 21 15:47:42 vvu, some people say I have NO class... Jun 21 15:48:27 GSoC is so nice, learned s**tload of stuff until now Jun 21 15:48:41 and still have s**tload to learn from now on about android stuff Jun 21 15:57:07 ka6sox: Good morn Jun 21 16:00:47 howdy, how are things going? Jun 21 16:33:34 ka6sox: alright. Excited that the 'bone has arrived. Jun 21 16:33:41 Also pretty sure my google package has as well Jun 21 16:34:56 okay so we are ready to start in earnest Jun 21 16:36:01 Yeah Jun 21 16:39:07 okay, what help do you need right away? Jun 21 16:54:25 hm, I guess i need to form a more concrete design of what is to be done. Jun 21 16:55:08 Im a little fuzzy on how and what openocd will be saying to my program, since i haven't looked into it in a while. so after I verify that I have everything set up properly with respect to the hardware Jun 21 16:55:39 I might look into that a bit to see if I can solidify the design. Jun 21 16:56:03 Well, unless you already had the design in mind. Jun 21 17:15:25 * ka6sox looks to jj2baile to form this :) Jun 21 17:15:36 alrighty then. Jun 21 19:01:46 woohoo, I've got enough of a driver written that I can read the magic number and board id on the eeprom of the BBB :) Jun 21 19:17:37 <_av500_> nice Jun 21 20:08:20 !! Jun 21 20:20:47 _av500_: ping Jun 21 20:31:34 keesj: I just pushed the changes to github. The read function still needs some work, but it's enough to read from the eeprom. http://tomcort.com/gsoc/bbb-i2c-basic.png Jun 21 20:49:44 I am a little busy right now http://www.flickr.com/photos/57762795@N02/9101627013/ Jun 21 20:50:00 but I will take a look tomorrow! Jun 21 20:51:16 this is on the BBB? Jun 21 20:53:01 yes, I haven't tried it on the xM yet. Jun 21 20:53:27 the 3d printer looks great. Jun 21 20:57:29 also it should now be possible to upload over zmodem BTW Jun 21 20:58:02 awesome! that'll save a lot of time. Jun 21 20:58:03 or do you have a tftp setup? Jun 21 20:58:41 using picocom it's really just issuing control-a -s (the minix side starts by itself) Jun 21 20:59:32 I setup the tftp server, but I haven't tried it yet. With netboot will it just load the filesystem off of the SD card or is that transfered somehow too? Jun 21 20:59:33 I have something like picocom -b 115200 /dev/ttyMyTTyUsb --send-cmd "sz -vv -y" to allow overwriting files. Jun 21 21:00:49 Also it should not take long before we have gcc on the target and all you need it a serial to write your drivers :p Jun 21 21:03:17 gcc on the target will also make it easier to get pkgsrc going on Minix/arm. Though, I don't even want to think about how long perl will take to build on a BBB or xM. Jun 21 21:34:48 * vvu starts to hate android studio...takes 10 seconds to make a project when i modify a single line Jun 21 21:35:08 seconds or minutes? Jun 21 21:36:10 seconds, small project modify a single line and wait and wait and wait Jun 21 21:42:06 ds2: ping Jun 21 22:02:27 @s2@s Jun 21 22:06:42 keesj: busy or have 5 min to take a look on smth ? Jun 21 22:20:45 smth? Jun 21 22:20:58 somthing... Jun 21 22:21:00 ? Jun 21 22:21:04 yep Jun 21 22:21:07 some java things Jun 21 22:21:25 I can have a quick look Jun 21 22:22:01 i`m curious about https://github.com/ungureanuvladvictor/BeagleDroid/blob/master/BeagleDroid/src/main/java/com/vvu/beagledroid/Ether2.java Jun 21 22:22:12 this is how i did ethernet 2 header in java Jun 21 22:22:44 and this is the C struct http://pastebin.com/JqLKL3LH Jun 21 22:23:08 i did some hexdumps and they seem to be compatible from those, but any idea how can i hexdump a full object in java? Jun 21 22:23:42 i just hexdump the attributes, but i want full object to convert it to byte array...looked at serialisation but does not work as expected Jun 21 22:23:56 it gives in my hexdump some extra data about the class Jun 21 22:24:00 ? Jun 21 22:24:20 you don't NEED android studio Jun 21 22:24:28 it can all be done on the commandline Jun 21 22:24:51 ds2: i wanted to ask the stuff i pointed up about the hexdump Jun 21 22:25:02 the paste bin? Jun 21 22:26:13 I think you want to print the hex values of the bytes it that right? Jun 21 22:26:20 oh how to Jun 21 22:26:27 about how to hexdump an object but without serialization Jun 21 22:26:29 there isn't a good way from what I can tell Jun 21 22:26:30 keesj: yep Jun 21 22:26:48 tried with class ether2 implements Serialization Jun 21 22:27:13 but my hexdump looks like http://pastebin.com/eDDVHBCq Jun 21 22:27:30 it puts some thingies about my class in the byte[] Jun 21 22:27:31 do you care if this only works on ARM? Jun 21 22:27:44 are you dumping the actuall class?? Jun 21 22:28:09 cuz if not (and if your official assigned mentor is good with it), look at JNI Jun 21 22:28:29 that way you'll just have to deal with locking objects down Jun 21 22:28:31 just write a method to conver it to a hex string Jun 21 22:29:04 i have a method to convert each attribute field to a hex string, but i was curious if my memory alignment is kept as i wish for the full object Jun 21 22:30:56 certainly no guarantees in that area. in Java you need to think move in terms of Streams/conversion. Jun 21 22:31:40 but what's the point indeed if you already have the c code Jun 21 22:31:49 that is why i am asking, convert full object to byte[] do hexdump and check. on usb i`m sending byte[] Jun 21 22:32:05 (but it's been a while I did some serious java programming) Jun 21 22:33:03 vvu: no just dump you data , dont' go into dumping your class or other weird stuff Jun 21 22:33:56 i was thinking to do a method that takes all my attributes in the order i want them to be sent and just make a big byte[] Jun 21 22:35:00 so you either would need to allocate a buffer and fill it (bytes are one of the few native types) or use streams and serialize them Jun 21 22:35:25 the buffer method i think i will use Jun 21 22:35:46 you might also be able to use Arrarys methods to copy over bytearrays. Jun 21 22:35:58 yep, was looking at them Jun 21 22:36:52 From What I remember from this is that bytes in java are a pain because they are all signed (and act weird) Jun 21 22:37:19 yeah...already have some awkward printing to strings, but hexdumps look ok Jun 21 22:41:31 try searching for something like java networking. It it the kind of messing around you want to do Jun 21 22:42:04 now need to see how to do htonl and htons Jun 21 22:42:29 if you keep it c it will also be usefull for others (e.g. simple tool to flash , not only on Anroid) Jun 21 22:42:44 hence look at JNI Jun 21 22:42:52 after i finish a bit with the Android thingie i will make the C code cleaner Jun 21 22:43:11 it is a full mess there and very specific to my board *mac address, hardcoded IPs* Jun 21 22:43:33 i've written that kind of code Jun 21 22:43:40 jni to get c code, good ! Jun 21 22:43:51 and bosses have asked for that to be put into production :( Jun 21 22:44:24 they ask? Jun 21 22:44:35 1st i want to try my luck with normal java stuff, want to do it myself a bit. Jun 21 22:45:01 the asking part is - can you commit and have it in the build :D Jun 21 22:45:37 I am off now but I can give you help in that area if you want. Jun 21 22:46:04 ds2: the hard thing it to explain is why it's not good enough Jun 21 22:46:36 that's where you hint at letters of resignation and who should get them Jun 21 23:33:43 hello Jun 21 23:34:21 I just realized the board file has been superseded by the DTS thing.. Jun 21 23:34:32 why is life so complicated.. Jun 21 23:34:52 anyways. can somebody here help me figure out a thing? Jun 21 23:35:00 or do I have to ping a specific guy :p Jun 21 23:40:20 http://elinux.org/BeagleBone_and_the_3.8_Kernel so this is what happened.. **** ENDING LOGGING AT Sat Jun 22 02:59:58 2013