**** BEGIN LOGGING AT Thu Jul 11 02:59:58 2013 Jul 11 14:09:43 panto: can you provide hatguy with the url to download the bacon edu dts as well as info on the access the i/o Jul 11 14:09:53 panto: you test script might be helpful too Jul 11 14:10:02 prpplague, yes, I'll be ready in a few minutes Jul 11 14:10:17 hatguy: sync up with panto asap Jul 11 14:10:25 prpplague, sure Jul 11 14:10:47 hatguy: and make sure you forward the info to anuj Jul 11 14:10:56 das_plague, sure thing Jul 11 14:11:02 hatguy, ok, hold on to your horses and in a little while I'll have you all setup Jul 11 14:11:19 panto, no rush... Jul 11 14:24:35 hatguy: http://dominion.thruhere.net/koen/angstrom/beaglebone/test-BBB-eMMC-flasher-2013.07.11.img.xz Jul 11 14:25:48 koen, thanks :) is the dts inside the image? Jul 11 14:28:06 yes Jul 11 14:28:12 and a simple tarball: http://dominion.thruhere.net/koen/angstrom/beaglebone/Angstrom-Cloud9-IDE-GNOME-eglibc-ipk-v2012.12-beaglebone.2013.07.11.rootfs.tar.xz Jul 11 14:30:53 koen, great! will it work ok if I simply extract the bacon overlay from the image and copy it to my BBB without re-flashing the emmc? Jul 11 14:31:28 the overlay you're looking for is named BB-BONE-BACONE-00A0.dts Jul 11 14:31:36 and .dtbo Jul 11 14:31:57 panto, thanks Jul 11 14:32:08 anujdeshpande, ^^ Jul 11 14:32:15 +1 Jul 11 14:34:54 copying over the dtb should work Jul 11 14:36:13 koen, cool! Jul 11 15:03:05 mourning Jul 11 15:03:34 jj2baile, we should get in line for Panto's help with getting a DTB in the mainline :) Jul 11 15:03:58 ka6sox, let me finish up with the bacon and I'll do it Jul 11 15:06:43 panto, no pressure...don't burn the Bacon... Jul 11 15:09:16 hatguy, prpplague, koen, http://pastebin.com/KVq7tyqn Jul 11 15:09:21 something is a bit off with the pwms Jul 11 15:11:37 * prpplague looks Jul 11 15:12:03 panto: i haven't notice anything dramatic with the bacon using BS Jul 11 15:12:20 looks like it's a problem of the sysfs pwm interface Jul 11 15:12:22 panto: but i'll load the new image and look at the duty cycles under the scope Jul 11 15:12:28 panto: ahh Jul 11 15:12:33 the non-E bacon cape with the pwm assigned as leds work fine Jul 11 15:12:40 panto: interesting Jul 11 15:13:03 it is strange, since they use the same driver and interfaces Jul 11 15:13:11 panto: thanks for the quick work on this Jul 11 15:13:27 prpplague, that's what you pay me for right? :) Jul 11 15:13:51 the test script also has a 7-segment driver example Jul 11 15:13:57 panto: yep Jul 11 15:14:19 panto: we'll need to update it with the i2c accelerometer once we have the new boards in Jul 11 15:14:25 panto: i'll send you one asap Jul 11 15:14:36 np Jul 11 15:15:00 you might hate DT, but notice how the whole thing didn't require any kernel hacking Jul 11 15:15:08 panto: we will mainly be testing using the new libarduino stuff, but the script serves as a good example Jul 11 15:15:39 sure Jul 11 15:15:46 panto: i never said i hated DT, i said it was a mistake Jul 11 15:16:00 'mistakes have been made' Jul 11 15:16:11 speaking of which I have to submit something for ELCE Jul 11 15:16:55 * prpplague will not be submitting anything for any conferences for some time Jul 11 15:18:47 the normal BB-BONE-BACON is the cape with the real Linux drivers Jul 11 15:18:59 if someone wants to use it for a normal application Jul 11 15:19:10 panto: how do you have the edu version labeled? Jul 11 15:19:11 ok, back to the grind Jul 11 15:19:20 it's BB-BONE-BACONE Jul 11 15:19:28 E=edu Jul 11 15:19:39 hehe Jul 11 15:20:00 thank $DEITY no-one asks me to name ships or anything Jul 11 15:20:12 amen Jul 11 15:20:12 "I name thy... BoatE" Jul 11 15:23:16 prpplague, panto the edu version uses sysfs while the non-edu version uses drivers? Jul 11 15:23:43 hatguy, not exactly Jul 11 15:24:02 panto, then? Jul 11 15:24:12 the normal version uses a gpio-keys driver for the button Jul 11 15:24:25 and leds-pwms for the pwms Jul 11 15:24:35 panto, ahh... understood.. so we don't have to poll and stuff? Jul 11 15:24:46 the 7-segment display and the potentiometer are unchanged on both Jul 11 15:24:56 hatguy, the kernel deals with most Jul 11 15:25:22 panto, hmm... ok... Jul 11 15:26:04 you could ask students to write a proper linux driver for the 7-segment display Jul 11 15:27:27 panto, if anyone, that would be us... but we are primarily focusing on getting a userspace library up atm Jul 11 15:27:47 panto, I no longer complain about DT... Jul 11 15:28:48 even your user-space library could possibly use a driver to access 7 segment displays Jul 11 15:29:05 so instead of doing the gpio toggling in user-space the kernel would do it for you Jul 11 15:29:22 and other people that use those kind of components would benefit too Jul 11 15:31:12 panto, hmm.... could be added as an alternative... we also want people to "learn" this stuff so they can do it themselves... I guess gpio toggling would be a good example Jul 11 15:31:31 right Jul 11 15:31:47 but what's good for arduino is not always right on a linux environment Jul 11 15:32:26 panto, hehe true... we are experiencing that in varied ways :) Jul 11 15:34:16 panto, we try to get as much of the "arduino experience" without compromising in a linux system Jul 11 15:44:34 panto: the userspace library is intended to be as generic as possible and use only the sysfs entries when available Jul 11 15:44:53 panto: hehe it's something _you_ would never use, hehe Jul 11 15:44:59 prpplague, hehe, ok then :) Jul 11 15:52:23 hatguy: you'll need to use the edu version for the libarduino work Jul 11 15:54:29 prpplague, yep... got that Jul 11 16:15:40 prpplague, where as jkridner disappeared to...since the launch of BBB he has been AWOL...and the rest of the community has been taking up the slack for his not being there. Jul 11 17:16:11 ok, the new adc patchset completely breaks all capes Jul 11 17:20:13 the AINx attributes are gone... Jul 11 17:20:14 meh Jul 11 18:15:58 panto: can we please use gpio-keys for the button? Jul 11 18:52:51 panto, anujdeshpande says the script worked perfectly! thanks for the help :) Jul 11 18:53:13 koen, yes, the normal bacon cape version uses that Jul 11 18:53:15 hatguy, np Jul 11 18:53:32 koen, I fixed the adc driver Jul 11 18:53:40 pushed in the usual place+1 Jul 11 18:54:40 hatguy, I've seen some problems with the pwms Jul 11 18:54:47 have you noticed something similar? Jul 11 18:55:08 anujdeshpande, ^^ Jul 11 18:55:14 i.e. either the green, or blue led not turning off Jul 11 18:55:33 He told me earlier the PWMs were fine Jul 11 18:55:38 I guess we will wait for his reply Jul 11 18:55:48 panto: nope. nothing like that . all the states worked fine Jul 11 18:56:05 anujdeshpande, could be a problem on my board Jul 11 18:56:17 panto: I'll check again to be sure Jul 11 18:57:16 anujdeshpande, have you tested the bacon demo from the bonescript? It did seem to be having problems with pwms Jul 11 18:57:33 hatguy: haven't tried that one Jul 11 18:57:39 hmm Jul 11 18:58:27 something is a bit off with the sysfs pwm interface it seems Jul 11 18:58:36 try to find out Jul 11 18:58:44 panto: will do Jul 11 18:58:47 panto, sure Jul 11 18:59:01 the pwm-leds interface seems just fine Jul 11 19:04:10 Ceriand, is there something you needed from me from yesterday's gsoc meeting (which I was not present for)? Jul 11 20:08:49 bradfa: nope Jul 11 20:09:07 Ceriand, ok, just wanted to make sure :) Jul 11 21:06:07 Ka6sox, my bbb has arrived, which linux distro to use? Jul 11 21:42:41 lets use the one that came with it Jul 11 21:42:46 but on a uSD Jul 11 21:42:50 that is Angstrom Jul 11 21:43:31 I know it pretty well and it works fine for our apps :) Jul 11 21:46:30 Ok Jul 11 21:48:34 Ok Jul 11 21:49:23 Won't get to it until tomorrow Jul 11 21:50:10 mluckham-mobile, np... Jul 11 21:50:25 hello here! Jul 11 21:50:26 BMP is only for things like m3/m0 etc Jul 11 21:50:37 but it does do BS Jul 11 21:50:46 hiya vvu Jul 11 21:51:07 how is it going ? Jul 11 22:01:06 exhausted...13hrs yesterday and 11hrs today so far Jul 11 22:04:01 okay, abandoning this location and heading to vittles Jul 11 22:46:08 Hmmmm Jul 11 22:48:50 * vvu is tired of gziping ramdisks Jul 11 23:00:12 ds2: ping Jul 11 23:09:26 vvu: pong Jul 11 23:09:48 ds2: any special things i need to set up in order to have networking support in my ramdisk? Jul 11 23:09:59 include network utilities? Jul 11 23:10:35 now if i do ifconfig i get nothing Jul 11 23:10:44 for starters my /etc is empty Jul 11 23:11:08 what about ifconfig -a? Jul 11 23:12:05 i have my eth0 and loopback Jul 11 23:12:48 do you have /proc mounted? Jul 11 23:12:49 and /sys? Jul 11 23:13:04 yep Jul 11 23:13:07 my init mounts them Jul 11 23:13:18 /bin/mount -t proc none /proc Jul 11 23:13:19 /bin/mount -t sysfs sysfs /sys Jul 11 23:13:22 does usb0 show up if you do cat /proc/net/dev? Jul 11 23:13:43 I assume you are looking for usb0, right? Jul 11 23:13:53 this is my magic init Jul 11 23:14:00 nop, i want to use eth0 Jul 11 23:14:07 usb is anyway with g_serial stuff Jul 11 23:14:25 then what is the problem? Jul 11 23:14:27 i am tired of crosscompiling my stuff on a remote machine then pack it in the ramdisk then ramdisk into android then boot again Jul 11 23:14:47 how do i set an ip for eth0, need to populate /etc/network/interfaces ? Jul 11 23:14:53 AHHHHHHH Jul 11 23:15:05 ifconfig eth0 IPADDRESS netmask NETMAKS Jul 11 23:15:16 you might need to add a default route - Jul 11 23:15:18 i.e. Jul 11 23:15:24 route add default gw IPADDRESSOFROUTER Jul 11 23:15:30 mhmh lemme test Jul 11 23:15:35 replace the all caps with the appropriate ip addresses Jul 11 23:16:10 yep Jul 11 23:16:28 /etc/network/interfaces is just crap used by some script Jul 11 23:16:36 ok got ping to router Jul 11 23:16:40 the traditional way of doing stuff is route and ifconfig Jul 11 23:16:47 you can also do it with the ip command but that is a bit trickier Jul 11 23:16:50 perfect! thx : Jul 11 23:17:12 now need to pack this in my init script to have it there Jul 11 23:22:45 ds2: and to add a dns need to do it in /etc/resolv.conf or same used by a script? Jul 11 23:26:01 do it in /etc/resolv.conf Jul 11 23:26:06 you might also need a /etc/host.conf Jul 11 23:26:24 host.conf depends on the library/resolver you are using **** ENDING LOGGING AT Fri Jul 12 02:59:58 2013