**** BEGIN LOGGING AT Wed Jul 17 02:59:59 2013 Jul 17 03:19:15 bradfa_: for what? Jul 17 03:19:19 beer money? Jul 17 03:20:45 mranostay, I like me a nice g&t Jul 17 03:29:02 bradfa_: nothing left over for a phone? Jul 17 03:31:51 mranostay, nope :) Jul 17 03:39:37 does anyone know how the kernel knows how much physical memory a board has? Jul 17 03:40:09 is the memory size passed from U-boot or does kernel have some mechanism to detect the size Jul 17 03:42:47 kernel read memory banks from atag parameters Jul 17 03:43:54 if kernel parameter passed by mem= , it will adjust the memory size and range after read atag parameters Jul 17 03:47:55 LesliLi: thanks, I found the same too. http://www.simtec.co.uk/products/SWLINUX/files/booting_article.html#ATAG_MEM Jul 17 03:47:57 thanks a lot Jul 17 04:04:13 beers Jul 17 04:06:31 hello Jul 17 04:06:54 i have a question Jul 17 04:06:58 if anyone can help Jul 17 04:07:11 Hi, i have beers Jul 17 04:07:52 hello someone say beer? Jul 17 04:08:09 not singular. PLural Jul 17 04:08:16 BEERS ! Jul 17 04:08:35 real beer? Jul 17 04:08:45 real beer in mah belly. Jul 17 04:09:07 forget the name brand just finished a "blonde citrus" Jul 17 04:09:18 not too bad Jul 17 04:09:35 sigh Jul 17 04:10:25 What does this error mean? Jul 17 04:10:27 Error: Cannot find module 'bonescript' at Function.Module._resolveFilename (module.js:338:15) at Function.Module._load (module.js:280:25) at Module.require (module.js:362:17) at require (module.js:378:17) at Object. (/var/lib/stickshift/51e4c1f5e0b8cd04e3000094/app-root/data/557617/myblink.js:1:71) at Module._compile (module.js:449:26) at Object.Module._extensions..js (module.js:467:10) Jul 17 04:11:21 means bonscript or one or many of it dependancies are missing. Jul 17 04:12:04 do you know are get it to work? Jul 17 04:12:13 how to get it to work* Jul 17 04:12:21 nope dont use it Jul 17 04:12:44 jkridner should know but seems hes not here Jul 17 04:12:57 might be a question best asked on the beagleboard google groups Jul 17 04:13:25 ok thank you Jul 17 04:17:58 the ph0rums Jul 17 04:27:19 "I wanna go home, I want my moogie !" Jul 17 04:37:44 * mranostay reads up on camera lenses Jul 17 04:38:09 looking for a 1600mm, F1 lense? Jul 17 04:39:52 ds2: what the hell am i spying on? :) Jul 17 04:40:43 the fabs Jul 17 04:41:03 we all know you are an ARM agent Jul 17 04:41:04 ;) Jul 17 04:41:10 heh i'm sure as hell no walking into Intel with any real cmaera Jul 17 04:41:13 *camera Jul 17 04:42:16 ds2: you assume i have clearance to the fabs :) Jul 17 04:42:21 i assure you i don't Jul 17 04:42:33 that is why you needed teh 1600mm lense :P Jul 17 04:43:03 does it go through buildings? Jul 17 04:44:44 didn't you pay the peons to setup an elaborate network of mirrors? Jul 17 04:47:08 ds2: fab is in a campus on the other side of town anyway Jul 17 04:53:42 hmm apparently device tree is broken. I read it on the groups so must be true. Jul 17 04:53:57 gnite all. Jul 17 04:54:25 * mranostay throws kiwis at mrpackethead Jul 17 04:54:32 the fruit and bird kind Jul 17 04:55:30 crap alan_o is here Jul 17 04:58:14 how is alan_o these days? Jul 17 04:59:25 hey man Jul 17 04:59:34 doing ok. really busy lately Jul 17 04:59:36 how's Intel? Jul 17 04:59:37 how's life as goofy at disneyworld? :D Jul 17 04:59:51 hey, that's just my day job Jul 17 05:00:03 alan_o: busy Jul 17 05:00:39 adjusting to the new city? Jul 17 05:00:51 you're kind of a mover anyway though, so moving is old hat by now I bet. Jul 17 05:01:04 yeah pretty much Jul 17 05:01:13 I've never really moved far away. Hard to imagine for me. Jul 17 05:01:21 Although there are plenty of places I'd like to live Jul 17 05:01:22 hope this is the last move for a few years Jul 17 05:01:50 next would only be back to bay area or overseas Jul 17 05:02:18 guess you'd be bummed to learn about tsmc.... Jul 17 05:02:57 ds2: what about it? Jul 17 05:06:29 ok, time for bed. Talk to you guys soon. Jul 17 05:09:48 sleep? what is that? Jul 17 05:18:33 ericb2: FGPA! Jul 17 05:19:56 hi Jul 17 05:20:05 mranostay: yes ? Jul 17 05:25:21 ericb2: wrong eric :) Jul 17 05:27:43 good moaning Jul 17 06:06:16 i am trying to update kernel on Beagleboard. i had cross compiled the kernel image and genrated uImage paste into /boot of fat partition and modules into /lib/modules but it is still showing older kernel version on running uname -r Jul 17 06:07:01 please anybody suggest me something onto it or i got miss someting Jul 17 06:14:39 evening folks Jul 17 06:15:01 anyone know if Adafruit's gpio python lib is 2.7 or 3 ? Jul 17 06:15:34 i've got python 3 installed on Arch and i can't get the Adafruit script to run (syntax errors everywhere). I'm a noob Jul 17 06:17:52 [kernel] koenkooi pushed 2 new commits to 3.11: http://git.io/AFJraQ Jul 17 06:17:52 kernel/3.11 d42033d Zubair Lutfullah: Adds continuous sampling ADC via /dev/iio... Jul 17 06:17:52 kernel/3.11 321a0c8 Koen Kooi: Merge pull request #50 from ZubairLK/3.11-continuous-adc-fixes... Jul 17 06:31:49 anyone? Jul 17 06:32:03 oh boy... Jul 17 06:33:37 number 37 Jul 17 06:33:44 your up Jul 17 06:33:50 paging customer 37 Jul 17 06:51:48 so.. anyone around? Jul 17 06:53:31 morning Jul 17 06:57:15 JIHADistic greetings, trolls and trollettes! Jul 17 06:57:29 :) Jul 17 06:57:33 nice to be among friends Jul 17 06:57:54 so how exactly is the world of embedded linux going about accessing the GPIO on the BB? Jul 17 06:58:06 is *everyone* using Adafruit's python (2) library? Jul 17 06:58:11 nope Jul 17 06:58:20 most people just use the sysfs interface directly Jul 17 06:58:36 could you elaborate on that please? Jul 17 06:59:30 http://www.google.com/search?q=gpio+sysfs Jul 17 06:59:40 already there Jul 17 07:00:16 then read the words of the DCT and be enlighted! Jul 17 07:00:27 DCT? Jul 17 07:00:39 delicious chocolate troll Jul 17 07:01:20 ahh Jul 17 07:01:50 since i prefer to write in ruby, couldn't i theoretically write a 'sysfs' wrapper of sorts? Jul 17 07:01:54 a gem Jul 17 07:02:08 and use that in my code (abstracted away) Jul 17 07:02:09 or you could write a kernel driver to do what you want Jul 17 07:02:42 a kernel driver? Jul 17 07:02:48 sounds complicated Jul 17 07:03:12 how would that work? Jul 17 07:07:55 ok well, lets forget that for a minute Jul 17 07:07:59 sticking to user space Jul 17 07:08:12 whats an example of sysfs commands Jul 17 07:14:30 Why would we use Adafruit Jul 17 07:15:29 moring KotH Jul 17 07:22:00 well Jul 17 07:22:11 frankly i'm grasping at straws at this piont Jul 17 07:22:13 point Jul 17 07:22:59 i'm very surprised that bb doesn't come with a language specific classes Jul 17 07:23:17 so far all i've managed to find is Adafruit's py2.7 lib Jul 17 07:23:32 and bb's javascript library (which I wouldn't even know how to implement) Jul 17 07:23:59 i'm in ruby mode =) Jul 17 07:25:04 i'm thinking its outrageous that everyone writes their own wrapper (or even more outrageous to think people actually do it manually each time) Jul 17 07:25:17 so what is out there? Jul 17 07:25:23 or doesn't anyone use the gpio Jul 17 07:26:26 * flufmnstr uses python and the Adafruit_BBIO module Jul 17 07:28:40 i was hoping (before i looked into it) that BBIO were executable scripts (command line utilities) which would by far make the most sense Jul 17 07:28:57 they could be involved through system calls Jul 17 07:29:01 in *any* language Jul 17 07:29:09 write/read stdi/o Jul 17 07:29:13 sysfs is just directories and files Jul 17 07:29:20 they are exactly what you describe Jul 17 07:29:23 but alas.. no. they are but python classes Jul 17 07:29:30 you're joking Jul 17 07:29:55 panto sorry? Jul 17 07:30:03 those 'classes' are just wrappers for simple file I/O Jul 17 07:30:09 yes yes i get that Jul 17 07:30:15 I just don't get you interpreted guys Jul 17 07:30:25 what's not to get? Jul 17 07:30:29 we're 'abstracted' Jul 17 07:30:32 you can't seem to be able to do anything if there's not a class to do everything Jul 17 07:30:40 no, you're almost useless Jul 17 07:30:40 hehe Jul 17 07:30:49 it's just files Jul 17 07:30:53 what can i say? i live in a state where we 'vote' for a living Jul 17 07:30:55 you can do it in bash Jul 17 07:31:10 you can do it with python, java, whatever Jul 17 07:31:20 why in the world would i want to come anywhere near bash if I write ruby code? Jul 17 07:31:23 it's infinitely portable Jul 17 07:31:30 ^ Jul 17 07:31:43 you ruby code has excellent file i/o capabilities Jul 17 07:31:46 *your Jul 17 07:31:56 indeed, if you know *how* to interract with stdio Jul 17 07:31:58 the 'class' you're talking about is 10min tops Jul 17 07:32:05 10 minutes tops? Jul 17 07:32:13 you're kidding right? Jul 17 07:32:22 no, I am not kidding Jul 17 07:32:38 you're talking about flipping the GPIOs directly? Jul 17 07:32:49 10 minutes to write a ruby wrapper for 60+ shared gpio pins, PWM, ADC along with iC2 and multiple UART ports Jul 17 07:32:58 i don't think we're speaking the same language Jul 17 07:33:42 at this point i'm thinking i'd have done better to hold on to my $100 Jul 17 07:33:46 10mins for gpio, PWM, ADC, uart Jul 17 07:34:06 i2c is just going to be used by some kind of driver Jul 17 07:34:12 if you're doing sysfs, it's just 'echo foo > bar' for most things Jul 17 07:34:14 well BBIO (adafruit) hasn't even done half of that Jul 17 07:34:25 yes, there's a reason for that Jul 17 07:34:39 no-one bothers with stupid wrapper classes for trivial stuff like that Jul 17 07:34:51 your abstraction is wafer thin Jul 17 07:34:55 you don't need it Jul 17 07:35:03 this touches on talking to GPIOs directly Jul 17 07:35:30 http://derekmolloy.ie/gpios-on-the-beaglebone-black-using-device-tree-overlays/ Jul 17 07:35:32 to say that abstraction isn't necessary is... wow Jul 17 07:35:32 spend your time solving real problems Jul 17 07:35:51 rpi has classes in pretty much every major language Jul 17 07:36:03 there's a rubygem that does exactly what bb *should* have available Jul 17 07:36:14 i don't mind learning new things, so i'll prob just take your advice and tough it out Jul 17 07:36:17 most people will not. Jul 17 07:36:17 well if thats the argument, someone had to write them Jul 17 07:36:20 so get to work. Jul 17 07:36:38 what exactly would an abstraction of an 'echo foo >/sys/bar' would provide Jul 17 07:36:57 I assure you I'm more familiar with abstraction that you'll probably ever be Jul 17 07:37:10 but abstraction has penalties Jul 17 07:37:19 for one thing, it abastracts linux (everything-is-a-file) from the guy trying to water his plants using ruby or javascript, and tweet about it. Jul 17 07:37:34 using a 5v relay + aquarium pump Jul 17 07:37:48 the linux kernel already provides that abstraction for you Jul 17 07:37:52 it's the damn sysfs interface Jul 17 07:37:56 sorry 5/12vdc Jul 17 07:38:10 what you're doing is pilling on another abstraction of your choosing - for no good reason Jul 17 07:38:42 which i have every intention of learning, so that i could take advantage of an otherwise very well conceived sbc. Otherwise i'd have to pair it up with an arduino, which completely defeats the purpose of having spent the $100 Jul 17 07:38:46 and get this, if you ever move away from an RPi or a beaglebone, the sysfs interface on a linux system will still be there Jul 17 07:39:23 so you take a perfectly fine portable abstraction layer (the sysfs interface) and pervert it into something rpi or bone specific Jul 17 07:39:23 look, i'm not saying it's a bad idea to learn linux systems -- i'm migrating from Mac to Arch Jul 17 07:40:14 no, you don't pervert it by writing a class (which I'm not saying I'll do) that targets the language/platform -- eg. rubygem's rpi-gpio Jul 17 07:40:16 echo 1 > pump/gpio, send.tweet(water plants. lol.) sleep(3 minuts), echo 0 > pump/gpio Jul 17 07:40:35 really, not that much of an hurtle Jul 17 07:41:11 flufmnstr how would you capture analog voltage (0-1024) ? Jul 17 07:41:18 someone will have to learn to use your class, when learning to use the standard linux interface would suffice Jul 17 07:41:36 cat /sys/devices/ocp*/adc_helper*/AIN5 Jul 17 07:41:45 if you're just flipping a relay for an aquarium pump, why do you need to? Jul 17 07:42:24 is the PR vs PRINC documented somewhere? Jul 17 07:42:33 you don't. but you don't spend $100 on a board just to flip a relay Jul 17 07:42:53 you could do that with a $0.12 pic Jul 17 07:42:53 i imagine something along the lines of cat /sys/classes/gpio/whateverADCpin Jul 17 07:43:19 i'm going to spend some time learning the linux standard interface Jul 17 07:43:19 suihkulokki: PRINC is deprecated and shouldn't be used anymore Jul 17 07:43:33 yes, and the bone is capable of much much more than flipping a relay Jul 17 07:43:36 any good tuts? Jul 17 07:43:50 dude, serously, this link helped me understand talking to the BB black GPIOs http://derekmolloy.ie/gpios-on-the-beaglebone-black-using-device-tree-overlays/ Jul 17 07:43:58 Hi, anyone knows a touchscreen/lcd solution for leopardboard(dm368)? Jul 17 07:44:01 panto - the reason i purchased this sbc is to replace rpi+arduino, which in priciple it should be more then capable of doing Jul 17 07:44:02 the last code table shows how it works Jul 17 07:44:13 it is infinitely more capable Jul 17 07:44:22 storm1 it is, you just have to set it up right Jul 17 07:44:30 suihkulokki: PRINC was supposed to make PR bumps in bbappends easier, but it backfired spectacularly Jul 17 07:44:33 just the two companion cores on it are 10 times faster than your arduino Jul 17 07:44:47 200Mhz if memory serves Jul 17 07:44:50 and you got a GHz class arm to play with Jul 17 07:44:53 i know mac taught you that everything gets handed to you on a silver platter, but you need to step out of your comfort zone and try something new Jul 17 07:44:54 yes Jul 17 07:45:17 flufmnstr - comfort is a social drug Jul 17 07:45:37 ...oh kay... Jul 17 07:45:44 koen: thanks Jul 17 07:45:45 believe me when i say installing Arch Linux on the SD card, starting from a mac, wasn't 'comfortable' Jul 17 07:46:11 ok, arch is definitely not a beginners distro Jul 17 07:46:23 no pretty colors =) Jul 17 07:46:24 point is, i have 3 RPis, and while i still use Adafruit_BBIO im starting to like this sysfs method. try it, instead of complaining about it Jul 17 07:46:30 or write the wrapper your self Jul 17 07:46:47 * storm1 only complains for 8 minutes Jul 17 07:47:22 panto - know of any good literature on the sysfs interface? Jul 17 07:47:55 suihkulokki: and FWIW, PR isn;t needed anymore, but it's nice to have in toolchain recipes Jul 17 07:48:05 storm1: try derek molloy's videos on youtube Jul 17 07:48:09 and his blog Jul 17 07:48:36 http://derekmolloy.ie/ Jul 17 07:48:38 thanks, will check that Jul 17 07:51:04 [kernel] koenkooi pushed 1 new commit to 3.8: http://git.io/JaFfFA Jul 17 07:51:04 kernel/3.8 8a908ca Koen Kooi: 3.8: add BeBoPr support... Jul 17 08:01:07 koen: seems you/Martin need a brainstorm wrt PRINC Jul 17 08:01:47 I don't understand why everybody now hates PRINC so much,... Jul 17 08:02:15 storm1: well... most of the people here come from c, where "do it yourself" is the credo Jul 17 08:02:34 storm1: we dont need no classes to get something done. it's enough if we have docu how to do it Jul 17 08:02:44 storm1: a couple of file access routines are very quick to write Jul 17 08:02:55 storm1: at least in c, dont know about ruby or python Jul 17 08:03:10 KotH, it's even faster Jul 17 08:03:17 all the files are text files Jul 17 08:03:20 storm1: but it isn't use perl instead, which is also a language where doing it yourself is very fast Jul 17 08:05:19 panto: yeah.. but i know that python is a beast to write. lots of white space you have to keep track and not mess up. then wrap your mind into classes, even if a simple imperative approach would fit a lot better Jul 17 08:05:48 panto: yes, i'm not a fan of do-it-ma-way languages Jul 17 08:05:54 python can do either approach (functional or classes) Jul 17 08:06:02 my point is not that abstraction is bad Jul 17 08:06:15 abstraction is essential, but also has penalties Jul 17 08:06:26 yes Jul 17 08:06:35 essentially it comes down to, don't abstract something that's already abstracted Jul 17 08:06:56 cause you're pilling on layers of fluff which do nothing Jul 17 08:06:56 that's why i like c an perl: you can have as many abstractions as you want, but if you need to do something by hand, it's not only possible, but it's quick to do too Jul 17 08:07:51 if we were accessing the gpios using something retarded like the rpi (using /dev/mem) yeah, abstract that sh*t away Jul 17 08:08:17 but we're not, we have standard linux interfaces to do so Jul 17 08:08:53 panto: you're kidding, they really use /dev/mem for gpios? Jul 17 08:09:22 they used to Jul 17 08:09:34 if they had to implement something like spi/i2c on userspace Jul 17 08:10:40 lol Jul 17 08:10:41 https://code.google.com/p/raspberry-gpio-python/source/browse/source/c_gpio.c Jul 17 08:10:43 observe Jul 17 08:10:53 * panto facepalms Jul 17 08:11:14 I can't even begin to list what is wrong with that Jul 17 08:12:35 rpi, quality engineering (tm) Jul 17 08:12:56 ant_work: PRINC would work if people weren't such idiots Jul 17 08:13:11 ant_work: having seperate layers means people can to stupid things and not get yelled at Jul 17 08:15:13 " /dev/pi/odd/things Jul 17 08:17:24 koen: I think people are misunderstanding .bbappends. The ones in BSP layers should just provide minimal configuration overrides. Any heavy change like PKGCONFIG should be sent to the layer of origin Jul 17 08:17:37 Or create a custom recipe Jul 17 08:23:36 afk Jul 17 08:41:50 so if i were to activate UART pins in a device tree overlay, do are they automatically associated with a ttyO or is there something else im missing? Jul 17 08:42:03 *are they Jul 17 08:53:37 flufmnstr: pinmuxing is just like switching railroad tracks Jul 17 08:54:03 flufmnstr: setting up the track doesn't mean there's a train going to run on it Jul 17 08:54:09 so you need to: Jul 17 08:54:13 1) activate uart Jul 17 08:54:17 2) set pinmux Jul 17 08:54:24 to the a working uart on the pins Jul 17 08:56:40 so setting up the overlay is step 1? Jul 17 09:00:27 im looking at the hipstercircuit tut on enabling serial uart. i get the pin mode stuff, but im not getting how it gets assigned to a ttyO in /dev Jul 17 09:03:05 oh, does UART5 always go to ttyO4? as such UART4 to ttyO3, UART3 to ttyO2.... Jul 17 09:04:22 I don't get why people want to do it the hard way Jul 17 09:04:39 there are capes pre included for that Jul 17 09:04:46 [koen@rrMBP beaglebone-3.8]$ ls kernel/firmware/capes/ | grep -i uart Jul 17 09:04:46 BB-UART1-00A0.dts Jul 17 09:04:46 BB-UART2-00A0.dts Jul 17 09:04:46 BB-UART4-00A0.dts Jul 17 09:04:47 BB-UART5-00A0.dts Jul 17 09:06:25 seeing as how im new to beaglebones and device trees and pin multiplexing, its not that easy to know whats a hard way and whats not Jul 17 09:08:52 I did a table for pinmuxing Jul 17 09:12:13 Hello Guys Jul 17 09:12:51 Is there anyone who worked with GPMC on OMAP3 Jul 17 09:23:52 * KotH guesses there is someone out there Jul 17 09:25:47 does anyone here know how the absorbtion of 433MHz on a body (or tissue in general) is? my google skills are failing me Jul 17 09:27:45 70cm is about where it starts to be important not to put your head into the antenna if the Pout > 10W Jul 17 09:28:00 but given you're talking ISM: harmless Jul 17 09:28:04 depends how much beer/chocolate is in the tissue Jul 17 09:30:10 KotH: http://www.irpa.net/irpa10/cdrom/01066.pdf Jul 17 09:30:46 http://en.wikipedia.org/wiki/Specific_absorption_rate Jul 17 09:31:23 http://www.fcc.gov/encyclopedia/specific-absorption-rate-sar-cellular-telephones Jul 17 09:32:44 domo! Jul 17 09:32:50 exactly what i was looking for! Jul 17 09:32:58 now, what did you google for that i didnt? :) Jul 17 09:33:07 SAR Jul 17 09:33:13 ^^' Jul 17 09:33:17 well, makes sense :) Jul 17 09:33:19 thanks! Jul 17 09:33:28 "specific absorption rate SAR 433" Jul 17 09:35:00 btw: there are thermal effects also at HF frequencies. the 27MHz ISM band used to be utilized for depth-warming of humans for therapeutical reasons Jul 17 09:35:30 also the first 'microwave' ovens where actually in that frequency range and built by the soviets Jul 17 09:35:53 macrowave Jul 17 09:35:57 you could say in russia everything is bigger, so they had macrowave ovens Jul 17 09:36:01 * dm8tbr snickers Jul 17 09:36:27 s/where/were/ Jul 17 09:38:50 dm8tbr: we have a customer who does that: use 433MHz 2*80W to warm muscle tissue.... Jul 17 09:39:06 ugh Jul 17 09:39:13 dm8tbr: they were always talking about "microwave generator" and thus i thought it would be 2.4GHz... Jul 17 09:39:22 now it turns out they are just using 70cm Jul 17 09:39:23 * dm8tbr would _not_ do that Jul 17 09:39:31 i wouldnt do either Jul 17 09:39:38 but they claim it's good for your health Jul 17 09:39:44 and they pay :) Jul 17 09:39:45 rrrrrright Jul 17 09:39:47 433MHz is uhf Jul 17 09:39:52 yup Jul 17 09:40:06 SHF starts at 3GHz actually Jul 17 09:40:33 who the hell invented those designations anyway? Jul 17 09:40:43 mru: yes, 70cm is in the range of microwave, but most people use RF for anything below 1GHz these days... if not DC :-) Jul 17 09:41:11 mru: engineers in the first half of the 20th century Jul 17 09:41:20 friend of mine did his phd on >100GHz stuff, he used to call everything below 1GHz 'DC' Jul 17 09:41:49 the uhf range covers some rather different characteristics Jul 17 09:42:04 dm8tbr: the guy sitting behind me used to do RF stuff at huber&suhner. his last big project was a 60GHz ethernet point to point link :) Jul 17 09:42:33 well known and respected name, indeed Jul 17 09:43:19 see what my beagle is controlling today Jul 17 09:43:23 I hate working in setup.c :-( Jul 17 09:43:32 stupid MMU Jul 17 09:43:39 you know those bright blue leds. Jul 17 09:43:50 XorA: could be worse, could be x86/setup.c Jul 17 09:43:52 they got nothign on my reworked beagle Jul 17 09:43:55 https://fbcdn-sphotos-a-a.akamaihd.net/hphotos-ak-prn1/1011977_10151735848247661_1714591632_n.jpg Jul 17 09:44:24 mru: don't suppose you know at what point the memory window of 2M set in head.S expands? Jul 17 09:44:54 no, never looked at the process in detail Jul 17 09:44:56 KotH: 60Ghz bandwidth? Jul 17 09:45:06 or at 60Ghz? Jul 17 09:45:33 at 60GHz Jul 17 09:45:41 would be a whole lot easier if you could ioremap ram on arm ;-) Jul 17 09:46:05 what would that do? Jul 17 09:46:25 open the hole I need Jul 17 09:47:17 at the moment the ACPI stuff only works if I tuck it in behind the FDT and basically re-use its mapping from head.S Jul 17 09:47:30 obviously this does not work on arbitrary bootloader world Jul 17 09:47:48 why would you ever have _both_ acpi and dt? Jul 17 09:48:38 mru: you won't in final system /HOPEFULLY/ Jul 17 09:49:05 actually, why would anyone want acpi at all? Jul 17 09:50:14 people making the hardware want ACPI, no interest in FDT Jul 17 09:50:30 it's working too well currently? Jul 17 09:50:34 they need more ways to fuck up? Jul 17 09:50:40 KotH: http://thecontinentalsuper.files.wordpress.com/2013/04/746pxtesla_colorado_adjusted.jpg Jul 17 09:55:52 ant_work: i dont subscribe to the tesla cult Jul 17 09:56:37 KotH: but you've got to admit tesla coils are rather fun Jul 17 09:56:40 I was just warning about RF antenna Jul 17 09:56:47 mru: that i do :) Jul 17 09:57:16 ant_work: RF is not dangerous, unless you touch the wrong wires ;) Jul 17 09:57:27 true for most things Jul 17 09:57:32 KotH: i work a much shorter wavelngths Jul 17 09:57:59 400-600nm is where i like to play Jul 17 09:58:37 mrpackethead: add 10um for additional fun ;) Jul 17 09:58:48 Micrometers Jul 17 09:59:00 nah, sorry we dont' have rulers that big Jul 17 10:01:28 but it rules! especilly if it's 10kW of power :) Jul 17 10:06:56 QRO! Jul 17 10:08:28 :-) Jul 17 10:09:45 back Jul 17 10:10:10 hey greek guy! Jul 17 10:11:19 hi turkish guy Jul 17 10:11:38 XorA, I have no idea why the hardware guys like ACPI Jul 17 10:11:46 maybe because they never deal with the fallout Jul 17 10:11:50 finding some fun today with the BBB Jul 17 10:12:04 audio, 3.8 kernel Jul 17 10:12:13 not entirely sure what the problem is yet Jul 17 10:12:20 define audio Jul 17 10:12:27 mcasp? or something else Jul 17 10:12:37 got a audio cape Jul 17 10:12:54 system worked flawlessly in 3.2 kernal on a BBW Jul 17 10:13:12 3.2 was a good one Jul 17 10:13:42 audio out is fine Jul 17 10:13:51 audio in, is problematic Jul 17 10:13:58 like vintage whine^wine Jul 17 10:14:26 define problematic Jul 17 10:14:26 indeed, whining ain't what it used to be Jul 17 10:15:02 * KotH whines about customers changing specs on a daily basis Jul 17 10:15:03 now they twist everything into a gender issue and brand you a misogynist if you disagree Jul 17 10:15:20 KotH: thats why you have a specification document Jul 17 10:15:24 and a change control process Jul 17 10:15:30 we allow changes Jul 17 10:15:38 each one, gets looked at Jul 17 10:15:40 panto: ASL does look like the sort of aweful C code hardware guys tend to write Jul 17 10:15:53 we reply with a $$$ and tiem figure Jul 17 10:16:11 does'nt take long to get your clients trained Jul 17 10:16:19 mrpackethead: i dont mind change, most stuff is easy to do and doesnt cost, if we'd knew at the beginning Jul 17 10:16:32 mrpackethead: customer is a startup, they need to be trained in a lot of things Jul 17 10:16:34 yes, exactly. Jul 17 10:16:46 yes. Jul 17 10:16:48 like "how to do a medical project" Jul 17 10:17:09 at least they used our Q docs template Jul 17 10:17:18 Q docs? Jul 17 10:17:21 instead of reinventing their own wheel Jul 17 10:17:26 quality assurance Jul 17 10:17:33 ahh Jul 17 10:17:44 if you do medical, every step of the design and production process has to be documented Jul 17 10:18:02 if you do enterainment industy Jul 17 10:18:05 we are rough cowboys Jul 17 10:18:10 we dont' document anything Jul 17 10:18:17 and we use gaffa tape Jul 17 10:18:26 and silicone Jul 17 10:18:39 at least you are not physicists, who use tin foil to fix everything Jul 17 10:19:03 KotH: a good hat fixes all Jul 17 10:19:04 KotH: oddly, physics is what i studied Jul 17 10:19:08 anways.. lunch time Jul 17 10:19:12 at uni-da-ver-city Jul 17 10:19:19 lunch? a chocolate muffin. Jul 17 10:19:24 mrpackethead: do you carry a rol of tin foil with you, wherever you go? Jul 17 10:19:34 XorA: what kind of hat? pointy, tin-foil, or red? Jul 17 10:19:42 youd' get arrested here if you did that Jul 17 10:19:46 they woudl think you are selling dope Jul 17 10:19:54 lol Jul 17 10:20:05 people smoke tin foil now? Jul 17 10:20:09 i have to say, when i visited .ch for the first time in 2000 Jul 17 10:20:13 mru: they are not neccessarluly mutually exclusive :-D Jul 17 10:20:18 dope was legal Jul 17 10:20:26 *shame* at spelling Jul 17 10:20:32 big plantations on the side of the road Jul 17 10:20:43 people had it growing in pots on the balcony Jul 17 10:20:44 actually, dope is not legal in .ch Jul 17 10:20:46 never was Jul 17 10:20:56 but it nearly would have been Jul 17 10:21:01 really, um, then ignored? Jul 17 10:21:25 unless you sell it big times, nobody cares Jul 17 10:21:38 anyways.. food awaits me! Jul 17 10:21:45 in 2000, in interlaken it was everywhere Jul 17 10:21:45 * KotH rides of into the sunset Jul 17 10:21:58 interlaken = swiss party town Jul 17 11:14:29 mrpackethead: zürich is much more party town Jul 17 11:14:36 mrpackethead: interlaken is mostly an expensive tourist town Jul 17 11:14:58 mrpackethead: and home of "the last puff before the jungfrau" :) Jul 17 11:15:40 I much perfer Lauterbrunnen; Jul 17 11:19:18 well, going up the mountains, of the beaten tourist tracks/traps is always a good idea Jul 17 11:30:17 I grabbed the SRM and am trying to see what pinmux settings I need to get hold of uSD BOOT/S2 - where's the *big* 1000+ page reference manual? Jul 17 11:30:33 I can't find it on the wiki or the main beagleboard.org site? Jul 17 11:34:42 Technical Reference Manual - Texas Instruments Jul 17 11:34:48 https://www.google.com/search?q=am335x+technical+reference+manual&oq=am335x+&aqs=chrome.1.69i57j0l3j69i62l2.2965j0&sourceid=chrome&ie=UTF-8# Jul 17 11:35:01 http://www.ti.com/lit/ug/spruh73h/spruh73h.pdf Jul 17 11:35:22 moaning, channel Jul 17 11:35:32 whining, bradfa Jul 17 11:35:33 panto, Thanks - I was googling like a boss and had found that but didn't know if that was the correct resource. Jul 17 11:35:35 mourning, bradfa Jul 17 11:35:37 morning, bradfa Jul 17 11:35:46 hi bradfa Jul 17 11:35:55 what are we mourning today? Jul 17 11:36:02 aren't we a friendly bunch today Jul 17 11:36:03 panto, lack of sleeps Jul 17 11:36:11 kidlet? Jul 17 11:36:14 yes Jul 17 11:36:17 screaming kidlet Jul 17 11:36:19 congrats Jul 17 11:36:25 why would anyone want one of those? Jul 17 11:36:33 well, she's turning 2 this weekend, still screams Jul 17 11:36:35 mru: for food? Jul 17 11:36:46 kfoltman, before bed and upon waking Jul 17 11:36:46 for benefits? Jul 17 11:37:07 mru, apparently there's reasons Jul 17 11:37:08 kfoltman: it takes years to train them in hunting Jul 17 11:37:12 hardly worth the effort Jul 17 11:37:18 mru: who said hunting? Jul 17 11:37:24 eat 'em while they're young Jul 17 11:37:28 I've got one of those kidlet things - messy little things that intrude in my geeking time Jul 17 11:37:55 * bradfa wishes he had more geeking time... Jul 17 11:38:19 bradfa: your only hope is turning the kid into a geek Jul 17 11:38:19 mine's 2.5 now. It gets better :D Jul 17 11:38:24 bradfa: my daughter is 7, so I *do* get some geeking time now Jul 17 11:38:38 kfoltman: is she a geek yet? Jul 17 11:38:45 mru, that's my plan, she already likes hitting things with a plastic hammer Jul 17 11:38:51 mru: no, she doesn't seem to be a geek material Jul 17 11:38:55 I might get a carpenter out of her, yet~ Jul 17 11:39:03 build me some nice furniture Jul 17 11:39:06 bradfa: get her a soldering iron Jul 17 11:39:18 mru, in a few years :) Jul 17 11:39:18 So she's gonna be a geek based on that... or a carpenter... or Misss Peter Sutcliffe? Jul 17 11:39:36 * mru remembers playing with discarded punch cards Jul 17 11:39:48 exosyst, she likes hammers and doctor kit toys more than dolls so we're headed in a good direction Jul 17 11:40:18 and running, lots and lots of running Jul 17 11:40:33 bradfa, Mine likes playing on the tablet and nerf guns and yes.. oh so much running and noise! Jul 17 11:40:48 exosyst, yes, tablets are toddler crack Jul 17 11:41:04 bradfa: I agree Jul 17 11:41:11 most fun is watching them try to swipe to unlock a big screen tv Jul 17 11:41:41 * bradfa goes to google proper age to introduce arduino... Jul 17 11:41:44 aaaah, the hand prints!!! Jul 17 11:41:52 my dad got so used to his iPhone, he tries that on normal non-touch laptops now... it's not just toddlers who have that expectation. It's the nigh on senile too Jul 17 11:42:05 mru, we have hand prints on EVERYTHING Jul 17 11:42:09 and food Jul 17 11:42:14 food on everything Jul 17 11:42:39 thankfully her car seat stays in my wife's car mostly, that car smells Jul 17 11:42:39 a friend of mine sometimes brings her ~6-month daughter over Jul 17 11:42:44 she's already getting dangerous Jul 17 11:42:45 bradfa: "a proper age to introduce BBB" :P Jul 17 11:42:56 Get the toilet training stuff done (2years, 4 months mine was good so start early!) and you get much more contiguous time for geeking Jul 17 11:43:20 exosyst, will keep in mind! Jul 17 11:43:49 potty/toilet training - as early as possible, really Jul 17 11:44:02 do shock collars work for that purpose? Jul 17 11:44:03 preferably before the baby starts walking Jul 17 11:44:12 mru, I'm sure they work fine :) Jul 17 11:44:19 kfoltman, that... that's a thing? Jul 17 11:44:37 exosyst: ? Jul 17 11:44:45 trained before walking? Jul 17 11:44:56 well, *started* training Jul 17 11:45:11 * bradfa enjoys #beagle-parent irc channel Jul 17 11:45:23 They walk early... in fact mine combined walking while crapping. It was.. uh... not good. Jul 17 11:45:32 exosyst: that was sorta my point Jul 17 11:45:58 kfoltman, I shall try that next time. Well, if there's a next time. Jul 17 11:46:06 these days, they make pampers up to like 4 years of age or so, but that's just for super-lazy/super-busy parents/unusually difficult children I suppose Jul 17 11:46:24 exosyst: A next time (or even a first time) is often a problem these days. Jul 17 11:47:00 Appropriately pointed camera to detect a 'movement' - and then sound a large alarm. Jul 17 11:47:09 Actually - that may not quite have the desired effect. Jul 17 11:47:25 kfoltman: 4y??? Jul 17 11:47:45 KotH: I'm not sure if I'm even exaggerating Jul 17 11:47:55 it's mad Jul 17 11:47:55 kfoltman: i'd say, if you cannot potty train your child by then, then they should take custody of that child away from you Jul 17 11:48:14 Some children unfortunately continue to require them up to adulthood. Jul 17 11:48:27 KotH, kfoltman mmm hmm, my friend has a wife who wants the kid to do it in her own time and absolutely goes over the top... 4 years old this March, still dumps her pants :-/ Jul 17 11:48:35 SpeedEvil: i'm not talking about ill children Jul 17 11:48:54 qualifier - there's nothing wrong with her. Apart from maybe being a bit clingy Jul 17 11:48:54 exosyst: oh.. these kind of parents... Jul 17 11:49:15 exosyst: probably "non-violence" parents too Jul 17 11:49:25 KotH: the parents of that particular child weren't... not that bright people (not junkies/white trash, just not that smart), so I suppose there may be some bad genetics involved Jul 17 11:49:29 http://theoatmeal.com/pl/minor_differences4/kids Jul 17 11:49:35 * KotH hates those non-violence types with passion Jul 17 11:49:51 * kfoltman is a non-XML parent Jul 17 11:49:58 KotH, I dont know about - my kid hasn't had a smack *ever* and she's golden. We do however have the naughty step. Jul 17 11:50:07 kfoltman: genetics is not involved. it's just socio-cultural background Jul 17 11:50:35 heh - smack is such a kiddish word Jul 17 11:50:40 exosyst: you dont need to hit your kid to educate it well, but you need to find a way to tell it that it went overboard Jul 17 11:50:46 exosyst: and sometimes that's a smack Jul 17 11:51:05 exosyst: also, some kids do not get it otherwise... Jul 17 11:51:16 KotH: well, they weren't trying early enough, so it may be parents' fault, but might not as well; it was... quite extreme, I'll spare you the stories Jul 17 11:51:25 KotH: have av500 shout at them Jul 17 11:51:36 if that doesn't work, nothing will Jul 17 11:51:40 mru: killing children is not ok either ;) Jul 17 11:51:50 raised voice time + naughty step works fine on mine. I hate to see kids that flinch whenever their parent goes near them Jul 17 11:52:23 getting whacked as a kid just taught me to avoid getting whacked - I was still a dick, just never got caught and hid stuff from my parents Jul 17 11:52:40 all kids hide stuff Jul 17 11:52:43 or so they believe Jul 17 11:52:44 it all depends on a child anyway, there are some kids that seem to be "unreformable", possibly a mental illness cooking in some instances Jul 17 11:52:58 exosyst: same here same here Jul 17 11:53:13 exosyst: i didnt get hit often, but when i did, i usally deserved it Jul 17 11:53:14 * mru would not attempt reforming KotH Jul 17 11:53:31 biology is a bitch Jul 17 11:53:35 mru: i'm not _that_ dangerous Jul 17 11:53:39 mru: mostly ;) Jul 17 11:54:32 if you try too hard, you might just get sent into space or something Jul 17 11:54:41 in a nice block of thick 98% chocolate Jul 17 11:55:18 kfoltman: i'm a nurture over nature guy, so imho children are not "unreformable", it's often just something that went wrong in their early childhood or using the wrong tool (every child is different) Jul 17 11:55:37 kfoltman: preferably: send to space in a nice block of thick 98% chocolate Jul 17 11:55:38 KotH: well, unfortunately, it's not either/or, it's nurture AND nature Jul 17 11:55:48 * KotH agrees Jul 17 11:56:26 but i will argue with anyone, who tells me that they couldn't do anything about their child, because it's in its nature Jul 17 11:56:33 KotH: as in, in rare instances a child with ideal parents grows up to be a sociopath just because of some viral infection wrecking some brain pathway or, say, being exposed to meth by accident Jul 17 11:56:42 My kid infuriates my ex and I find her incredibly easy to deal with - she's basically a clone of me though so I just talk to how her how I'd want to be talked to. I'd be screwed if she had her mums personality haha Jul 17 11:56:56 kfoltman, How do you get accidentally methed? Jul 17 11:57:20 exosyst: does she grow up with you? Jul 17 11:57:21 exosyst: say, at school in a bad area? Jul 17 11:57:56 KotH: my step-son, he's got a nasty case of ADHD and dyslexia, spent like 3 years trying to help him learn... IQ<90, his short term memory is almost non-existent, but he's likeable so he's somewhat coping with life Jul 17 11:58:04 *learn to read Jul 17 11:58:22 KotH, not overly these days but yeah, first two years but I worked a lot more Jul 17 11:58:30 KotH: but he's a fairly extreme case Jul 17 11:58:36 not a sociopath, luckily Jul 17 11:58:47 kfoltman, Ah - I thought you meant toddlers still. I was wondering how I meth proofed my house Jul 17 11:59:42 kfoltman: that would then be one of the rare real cases of ADHD Jul 17 11:59:48 exosyst: but, say, food factory-contaminated with some toxic industrial stuff might have similar effect, or even a medicine factory-contaminated with Desoxyn (if they still manufacture it) Jul 17 12:01:49 KotH: and people who are working with children with ADHD say that they've seen even more extreme cases Jul 17 12:02:07 bradfa, ping Jul 17 12:02:08 KotH: but, seriously, in his case, it's clearly hardware not working - I'm not talking behaviour, I'm talking cognitive skills Jul 17 12:03:44 kfoltman: yeah.. get that.. it's just that i've seen way too many normal children labled as ADHD, just because a teacher or a parent couldnt deal with a kid that is more active than others Jul 17 12:04:33 kfoltman: and then they give them ritalin to make them "behave" ^^' Jul 17 12:04:36 KotH: is it a common occurrence in .ch? I thought it was a mostly US-specific phenomenon Jul 17 12:05:12 kfoltman: i've seen it in .tr as well. i guess it's a common occurence everywhere in the world, where parents dont have enough time or too much money Jul 17 12:05:53 Koth: well, but ritalin is not so bad - he's been on Concerta (essentially, slow-release ritalin) and it seems to have helped him with homework and general concentration, expensive stuff though Jul 17 12:05:57 kfoltman: also because people (parents and teachers) fail at training proper respect to children, because of this non-violence BS Jul 17 12:06:04 mdp, pong Jul 17 12:06:27 KotH: I think it's more non-respect than non-violence Jul 17 12:06:39 kfoltman: i'm not saying ritalin is bad per se, but use it where it should be used Jul 17 12:06:42 sure Jul 17 12:06:55 It's not overused in Poland just because it's super-expensive Jul 17 12:07:18 kfoltman: i dunno... at some point, you have to teach your child that there are boundaries that should not be crossed, lest he/she wants to deal with the consequences Jul 17 12:07:19 (well, that's bad logical reasoning) Jul 17 12:07:32 KotH: sure Jul 17 12:07:35 kfoltman: and i dont see how you can do that without at least some form of violence Jul 17 12:07:41 KotH: depends on the child Jul 17 12:08:23 KotH: it's just that some people think "bruising the poor kid" as "some violence, meh" and the society over-reacted Jul 17 12:09:00 violence, like XML, should be used as last resort :P Jul 17 12:09:18 bradfa, dunno if you caught my brief update last night, but I solved my clearance issue here by dropping the BBB and Bacon Cape in the CCO Cape breakout board I have Jul 17 12:09:36 KotH, I think retreating to a threat to violence should be last resource. I could't imagine how disappointed my daughter would look if her daddy smacked her. Jul 17 12:09:40 that's a useful tool if you have one Jul 17 12:09:53 mdp, yes Jul 17 12:09:59 exosyst: i totally agree Jul 17 12:10:20 mdp, I have one, I'll give that a try to grab some logic scans Jul 17 12:10:29 http://beagleboardtoys.info/index.php?title=BeagleBone_Breakout for those following along at home Jul 17 12:10:53 mine gets almost daily use for our cape Jul 17 12:11:04 very worthwhile investment Jul 17 12:11:18 exosyst: on the other hand, i've seen turkish schools in the 90s, where the teacher used to throw a bundle of keys at you, if you didnt listen to his warnings Jul 17 12:11:22 bradfa, yeah, it was helpful when I had 3 different breadboards hooked up plus a cape and needed to probe stuff Jul 17 12:11:39 mdp, will also be very useful if I ever get around to doing my cc1101 driver... Jul 17 12:11:41 exosyst: and i dont think the people there turned into psychopaths or have mental problems because of that Jul 17 12:11:54 KotH true - then you just end up with kids like Bush who learn to dodge stuff that adults throw Jul 17 12:12:03 *g* Jul 17 12:12:25 ah.. and you had to follow that with the mental problems line lol Jul 17 12:13:27 KotH: well, but it kinda creates an acceptance for using violence as a general problem solver Jul 17 12:13:53 kfoltman: interestingly, imho turkish people are less violent than swiss Jul 17 12:14:12 kfoltman: knowing what violence does, is a good deterend against using it Jul 17 12:14:34 kfoltman: on the other hand, defending against a swiss who turns violent is a lot easier than defending against a turkish ;) Jul 17 12:14:51 I don't know many swiss *or* turkish people, alas Jul 17 12:16:38 kfoltman: hint: if a turkish goes berserk infront of you: run! Jul 17 12:16:40 :) Jul 17 12:17:14 KotH: I think that generally extends to $_ going berserk ;) Jul 17 12:18:47 kfoltman: nah... if it's a swiss, just hit him before he hits you Jul 17 12:20:16 paging felipebalbi Jul 17 12:23:54 where's the source code for BB-BONELT-HDMIN kept? I might be being really dumb but I'm trying to understand how I can get hold of S2 Jul 17 12:24:18 in the kernel Jul 17 12:24:21 firmware/capes Jul 17 12:24:24 and seeing as lcd_data2 is the same line it must be something kernelly Jul 17 12:24:43 git grep BB-BONELT-HDMIN Jul 17 12:24:51 using S2 is hard Jul 17 12:24:57 panto, Ah, the file name is different Jul 17 12:25:06 that switch is only useful as boot selector Jul 17 12:25:13 panto, I'm getting that vibe - why's that? Jul 17 12:25:14 anyway, lunch time is here Jul 17 12:25:33 gaddamit! Jul 17 12:25:52 do a 'git grep BB-BONELT-HDMIN' in the kernel source and the answer should become clear Jul 17 12:26:08 koen, doesn't your flasher use that switch tho? Jul 17 12:26:27 flasher doesn't use any switches Jul 17 12:26:47 panto: why is it only useful as boot selector? Jul 17 12:26:52 bugger - i must have misremembered Jul 17 12:27:04 The one switch on the board I thought I might be able to use :( Jul 17 12:27:29 I have a similar problem - need something to trigger device shutdown Jul 17 12:27:57 kfoltman: http://www.youtube.com/watch?v=YNXr67BplJM Jul 17 12:28:01 kfoltman, I wanted to be able to demonstrate a kernel driver grabbing an interrupt :( Jul 17 12:28:28 koen: which kernel version? Jul 17 12:28:36 3.8.x Jul 17 12:28:39 any? Jul 17 12:29:02 I might have missed it because I avoid the GUI at all cost ;) Jul 17 12:29:15 koen, Can I grab S1/S3 easier then? I don't mind which Jul 17 12:29:16 it sends a KEY_POWER event to userspace Jul 17 12:29:25 no GUI needed, just something to catch that event Jul 17 12:29:26 koen: so it can be captured via inittab or something? Jul 17 12:29:35 dunno Jul 17 12:29:38 I don't use inittab Jul 17 12:29:51 my use case doesn't warrant systemd really Jul 17 12:30:03 as in, could I grab it as an irq? I'm guessing something does that already right in order to gen the event? Jul 17 12:30:26 koen: anyway, I'll keep looking - perhaps I can handle it from within my app Jul 17 12:30:40 koen: at least I know what to look for, thanks! Jul 17 12:36:52 I've got a 3.8.13 kernel - is the setting done in the firmware blob as a grep doesn't reveal anything generating a KEY_POWER event that looks relevant to the BBB support? Jul 17 12:38:41 exosyst: the generic 3.8.13 kernel or the BBB 3.8.13 kernel? Jul 17 12:38:57 kfoltman, The BBB one from github Jul 17 12:41:57 Hi. How can I port forward to my BBB on my router without making my router's settings page (port 80 ) inaccessible? Jul 17 12:42:24 WILLschool: we don't know your router Jul 17 12:43:13 Hi all, what is the best choice for getting started with ARM architecture? BeagleBone, or BeagleBone black? Or maybe other choice? Jul 17 12:43:59 Piotr_: BBB is fine for getting started Jul 17 12:44:04 Shoulderboard ;-) Jul 17 12:46:18 kfoltman: I know how to port forward on it. I was just wondering if I try and set up a webserver, will it confilct with the router's web setup? Jul 17 12:46:33 put the server on port 81 Jul 17 12:46:56 WILLschool: from inside or outside? Jul 17 12:47:22 Well, from the inside I'd want access to the router. Jul 17 12:47:31 And from the outside the BBB Jul 17 12:47:56 It's just so I can write programs on it at school. Jul 17 12:48:22 I get very bbored in this library. Jul 17 12:52:42 [A Jul 17 12:54:16 That depends on the router, but it sounds like a typical scenario. Jul 17 12:54:32 It should be able to handle it. Jul 17 12:56:07 kfoltman, Did you see how the PWR_BUT event comes in btw? My understanding is it generates the interrupt which is handled by the TPS65217C part which is what handles creation of the KEY_POWER event Jul 17 12:56:23 Annoyingly I don't think that's something I can use :( Jul 17 12:56:28 exosyst: haven't looked at the schematic, no Jul 17 12:56:40 exosyst: but TPS65217 has a bunch of GPIOs on its own, maybe that's one of them Jul 17 12:57:12 I mean, there might be nothing special about it other than that it uses GPIO on a separate chip Jul 17 12:57:14 kfoltman, Well it goes to Pin 9 on the P9 header but doesn't seem to go anywhere else Jul 17 13:06:56 I was never able to get the interrupts to work on the TPS65910 on the phyCore-am335x. Not sure if anyone has interrupts working on the BB w/ TPS65217. Jul 17 13:08:35 I only want to use it as an example of how to request interrupts in the kernel using the device tree format - it works fine to add a pr_info("IT WORKS!\n") to :D Jul 17 13:25:39 georgem: tps interupts work, that's how the power button functions on BBB Jul 17 13:26:50 back Jul 17 13:26:53 georgem, Add a pr_info("I'm an interrupt\n"); to drivers/mfd/tps65217.c @ line 192 Jul 17 13:27:08 and watch in amazement at the interrupty goodness Jul 17 13:27:15 koen: oh, ok. good to know. not sure what problem I was having with the TPS65910. I got the RTC in it working with the exception of the alarms which were interrupt based. Jul 17 13:27:36 though - i'd love to have a better example for student that didn't involve a recompile of the kernel :( Jul 17 13:28:07 exosyst: you could probably do a simple kprobe to add a message like that Jul 17 13:29:39 georgem, True but I don't cover that on the course as it's long enough (5 days) as it is!. It would be nice to grab a GPIO, request_irq and allow them to insmod/rmmod as they wish. Very useful for understanding things. Jul 17 13:29:43 myself included haha Jul 17 13:34:14 Now that I think about, I don't recall seeing interrupt configuration for tps65217 in device tree for BBB. Jul 17 13:34:47 georgem, there's a bit in the am335x-bone-common.dtsi - have a look at the tps section Jul 17 13:36:10 exosyst: I don't see any, this kernel isn't up to date though. I'll pull koen's latest 3.8 down and check it. Jul 17 13:46:14 here's a quick one before I dig through the datasheets - GPIO1_7 - is anything using it by default? Jul 17 13:47:43 grep gpio1_7 firmware/capes/*.dts will tell you Jul 17 13:50:40 booooom, DVI Jul 17 13:50:42 dammit Jul 17 14:17:10 exosyst: your DVI port exploded? Jul 17 14:19:43 hmm.. someone killed them mru network Jul 17 14:20:53 KotH, Nah, just another pin I wanted to use that's being used by something else. Jul 17 14:21:14 Is the DVI a built-in (how do I check this?) and do I need to disable it from optargs? Jul 17 14:25:37 does anyone know how big a AM3359 is? Jul 17 14:25:42 imean size Jul 17 14:26:56 yes Jul 17 14:27:42 alexo: http://imgs.xkcd.com/comics/lojban_translated.png Jul 17 14:27:55 there are 2 sizes available ZCE and ZCZ Jul 17 14:28:38 whis is the smallest chip tera? Jul 17 14:28:57 ZCE Jul 17 14:29:31 how is the size of the chip? Jul 17 14:30:13 alexo: why dont you read the datasheet of the chip? Jul 17 14:30:13 20mm x 20mm Jul 17 14:30:22 alexo: it explains you all this and more! Jul 17 14:30:33 approx. Jul 17 14:31:00 additionally, you can have all ti chips also in bare die Jul 17 14:31:05 which is much smaller Jul 17 14:31:10 and also cheaper Jul 17 14:31:23 ZCZ is 15.10mm x 15.10mm x 1.4mm , ZCE is 13.10 x 13.10 x 1.3mm Jul 17 14:31:40 for some reason the package info on the ti site is well hidden, heh Jul 17 14:31:41 wow thats small enough for my project thanks for helping tera ;) Jul 17 14:31:50 don't pick the small one Jul 17 14:31:55 it's hairy to layout Jul 17 14:31:57 why? Jul 17 14:32:12 oh i see Jul 17 14:32:12 you need HDI and/or buried/hidden vias Jul 17 14:32:35 HDI? Jul 17 14:32:39 i doubt you need burried vias Jul 17 14:33:01 blind sorry Jul 17 14:33:05 yes its difficult to wire if its too small Jul 17 14:33:16 well... Jul 17 14:33:30 20 rows of 0.65mm pitch bga... Jul 17 14:33:39 you only need an 8 layer print for that Jul 17 14:33:50 er.. 9 layer Jul 17 14:34:24 well, ymmv Jul 17 14:34:35 * KotH has once seen a 36 layer board Jul 17 14:34:42 that would be a pain in the ass Jul 17 14:34:44 nothing has me shocked ever since Jul 17 14:35:03 alexo: read the datasheet before designing anything Jul 17 14:35:07 I just shipped a layout for the ZCZ, and I am greatfull I didnt have to do 0.65mm. Jul 17 14:35:16 alexo: if you dont read it, i will guarantee, that you'll fail Jul 17 14:35:36 :o i see Jul 17 14:35:56 teralaser: what pitch does that have? Jul 17 14:36:08 the balls ? 0.8mm Jul 17 14:36:36 luxury! Jul 17 14:36:39 :-) Jul 17 14:37:08 the two welshmen of EE design? Jul 17 14:38:15 nah, just making fun of noobs :) Jul 17 14:39:23 the guy who made the beaglebone white seemed to have been quite a noob Jul 17 14:39:27 but maybe that's just me Jul 17 14:39:38 at least the schematic Jul 17 14:39:42 =) Jul 17 14:40:04 * KotH never had a look at it Jul 17 14:54:02 so does anyone know where i can buy a am3359 Jul 17 14:54:29 the 'buy' button in ti is nt working Jul 17 14:55:43 alexo: try findchips.com Jul 17 14:57:12 thz koth Jul 17 14:57:29 alexo: it's _K_ot_H_ Jul 17 14:57:36 alexo: capitalization is important ;-) Jul 17 14:58:16 sorry ;-) Jul 17 14:59:04 fala galera! o/ Jul 17 14:59:08 KotH: King of the Hill? ;) Jul 17 14:59:10 i mean, hi! o/ Jul 17 14:59:41 Kernel of the Hill Jul 17 14:59:58 lol Jul 17 15:00:22 stop..KotH can't handle this verbal abuse Jul 17 15:00:38 * KotH runs away crying Jul 17 15:00:52 * jackmitchell there, there Hank, it's ok Jul 17 15:01:26 Kid of the 'Hood? Jul 17 15:02:02 it's pointless to keep this after he ran away Jul 17 15:02:08 Knee on the Head? Jul 17 15:02:16 https://www.verical.com/partID/513535#searchCriterion=mpnIDs&searchName=&landingPage=catalogItemView&searchTerm=513535&_i_=1 Jul 17 15:02:26 no origin? Jul 17 15:02:50 i mean country Jul 17 15:04:50 alexo: shurter? that's relais, or switches, not SoC's Jul 17 15:05:13 hello Jul 17 15:05:31 alexo: and schurter is swiss Jul 17 15:05:50 Where in the UK can I buy a BBB power adaptor? Jul 17 15:05:50 alexo: though i'd say production is mostly far east these days Jul 17 15:05:54 alexo : They (AM335x) are a little hard to come by, make sure you get Rev.B Jul 17 15:05:57 has anyone tried to boot OS from a USB? Jul 17 15:06:13 no, but I would like to try that Jul 17 15:06:14 hello Jul 17 15:06:17 WILLschool: next electronics shop Jul 17 15:06:28 WILLschool: I get mine from RS Jul 17 15:06:40 i was wondering if anyone could tell me how to edit a project page that I just uploaded to the beagleboard site Jul 17 15:06:48 explanationssaim: afaik you cannot directly boot from usb, you can load kernel and rootfs from there, but the boodloader must com from emmc or sdcard Jul 17 15:06:53 geez it's 20 quid Jul 17 15:06:54 WILLschool: GS18A05-P1J Jul 17 15:08:03 hello Jul 17 15:08:12 Just received a power supply with the wrong kinda connector. Jul 17 15:08:16 SO damn annoyed. Jul 17 15:08:31 Willdude123: the connector you need is PJ1 Jul 17 15:08:41 Willdude123: P1J, sorry Jul 17 15:08:43 God Ł16 is wayy expensive. Jul 17 15:08:53 Willdude123: use a USB and wall wart then Jul 17 15:09:01 ~5 Jul 17 15:09:53 jackmitchell: It didn't work over usb, not enough amps for the usb host. Jul 17 15:10:27 Willdude123: ah, yeah you have to get a power supply then, or power it via the header with a desktop power supply Jul 17 15:10:34 Willdude123: http://uk.rs-online.com/web/p/desktop-power-supply/6783919/?origin=PSF_430701|alt Jul 17 15:10:40 that one might be applicable too Jul 17 15:10:44 slightly cheaper Jul 17 15:11:16 I bought a usb hub with the right kind of plug on it. Jul 17 15:11:29 For like a fiver. Jul 17 15:11:44 So maybe I'll just buy another one. Jul 17 15:12:21 How would I go about booting from a USB instead of off the f2gb flash drive? Jul 17 15:12:37 just hit F2 or F12 when I start it up? Jul 17 15:12:54 Willdude123: well make sure the supply can give you enough amps Jul 17 15:13:17 I would expect most powered USB hubs to have a couple so you should be ok Jul 17 15:13:26 * KotH recomends one of these agilent power supplies Jul 17 15:13:34 they give you enough AMPS! Jul 17 15:13:42 ;) Jul 17 15:13:44 &&&&&& Jul 17 15:14:14 I got a 7 port Startech USB hub...it's the same size as the board maye a little wider Jul 17 15:14:17 was like 20 bucks Jul 17 15:14:41 I have read great reviews on it and supposedly no back feed....it was reduced from 49$ to like 18.99 plus shipping Jul 17 15:14:50 I think he's saying he's trying to buy a cheap USB hub, with the same power supply and connector that the beaglebone takes Jul 17 15:15:01 rather than buying a good USB hub Jul 17 15:15:11 there is a blue one that the raspberry guys are using Jul 17 15:15:29 does it have a P1J connector? Jul 17 15:15:44 don't know if it's cheap...sometimes cheap means it works cheap...then you have to buy another to replace it and have spent more money than if you just bought quality from the go Jul 17 15:16:22 Will this work? http://dx.com/p/5v-1a-wall-power-adapter-for-scanner-surveillance-camera-more-uk-plug-5-5-x-2-1mm-155579?tc=GBP&utm_source=GoogleshoppingUK&utm_medium=CPC&utm_content=155579&utm_campaign=1402&gclid=CIO-19botrgCFQKWtAodCEcAww Jul 17 15:18:03 if it's the right plug I would assume so, it's only 1A but it should be ok for powering an extra wifi/bluetooth dongle or something Jul 17 15:18:47 Ahh, Bluetooth... Dongle... You woke me up... Which should I use on the BBB Jack Jul 17 15:19:16 you want me to tell you if you should use a bluetooth or wifi dongle? Jul 17 15:19:27 Bluetooth.. :) Jul 17 15:19:42 Have you tried any or can you suggest Jul 17 15:20:03 I have not, any which work with Linux should work with the BBB Jul 17 15:20:20 Ok, will look for linux type.. Jul 17 15:20:53 BBB will have a Can-Bus cape and Bluetooth.. Figure dongle be the way.. Jul 17 15:21:20 Willdude123: http://www.ebay.co.uk/itm/5V-UK-DC-Power-Supply-2A-2-1mm-AC-100-240V-Plug-PSU-Adapter-CCTV-/350824599378?pt=LH_DefaultDomain_3&hash=item51aec68f52 Jul 17 15:21:41 you will have to double check the plug polarity but I think that one looks ok Jul 17 15:22:15 and it doesn't need to be shipped from china/korea Jul 17 15:22:48 it's also perfect for so many thing Jul 17 15:22:50 s Jul 17 15:23:04 "Perfect for so many things, powering LEDs, Controllers, CCTV Cameras, Commercial Electronics and so many other things." Jul 17 15:23:27 when i was in college, i built my own power supply Jul 17 15:24:13 when i was in college... wait, i never went to college ;-) Jul 17 15:24:33 * mru doesn't understand the 'college' thing Jul 17 15:24:36 you could say "when I was in college, I was a visitor" Jul 17 15:24:40 hey mru! Jul 17 15:24:52 back in the day... Jul 17 15:24:52 mru: did they sort our networking again? Jul 17 15:25:13 I was trying to fix the PSU in my router Jul 17 15:25:25 gave up and plugged in a differently broken one Jul 17 15:25:32 eh.. Jul 17 15:25:41 mru: you had a routing loop earlier Jul 17 15:26:05 loop how? Jul 17 15:26:46 pingpong between 64.214.174.45 and 64.214.174.46 Jul 17 15:27:06 sometimes involving 64.214.174.17 as well Jul 17 15:27:17 hmm Jul 17 15:27:29 must have been related somehow to my router being offline Jul 17 15:27:48 since it coincided precisely in time, apparently Jul 17 15:28:16 maybe Jul 17 15:28:59 * KotH leaves the battle field for greener pastures Jul 17 15:29:03 have a nice evening Jul 17 15:37:01 need some help for crosscompiling a library for beaglebone. I get following error during crosscompile:syslex.l:31:21: fatal error: sysinfo.h: No such file or directory compilation terminated. make[2]: *** [syslex.o] Error 1 Jul 17 15:37:16 following is the config.log file : http://pastebin.com/eezqmJ9d Jul 17 15:37:27 and following is the install script : http://pastebin.com/fAErAqSQ Jul 17 15:37:36 any pointers? Jul 17 15:40:03 its basically a msp430-gcc toolchain to be run on the beaglebone, Jul 17 15:47:11 OK, i'm being dumb - I figure I need to set gpio1_7 to mode 7 INPUT which by my reckoning means I need to add a line of 0x1c 0x2f to a pinctrl-single section in device tree? Jul 17 15:48:16 I boot up and get quite a sad backtrace from pin_request, pinmux_enable_settings and a few others. Ideas? Jul 17 15:50:39 also - that's hilariously bad to have it crash when trying to do a device tree lookup non? Jul 17 16:12:04 11h11 Jul 17 16:12:08 creepy Jul 17 16:17:53 gui_: yet another reason to live in EU Jul 17 16:21:54 why? Jul 17 16:22:18 it's beer'o clock here already :) Jul 17 16:22:36 isnt that reaon enough ? Jul 17 16:22:38 * XorA has finished his trip through zombie dos and ACPI for the day, time to bottle some beer Jul 17 16:22:44 it's guaraná 'o clock here Jul 17 16:22:45 ++ Jul 17 16:23:24 iguana o'clock? Jul 17 16:23:38 guan'o clock ? Jul 17 16:23:47 guaraná Jul 17 16:23:52 <_av500_> guam Jul 17 16:23:57 dafuq is that ? Jul 17 16:24:23 it's a soft drink made from a fruit that grows in the Amazon region Jul 17 16:24:27 how can I figure out if I am running the image Angstrom-Cloud9-IDE-GNOME-eglibc-ipk-v2012.12-beaglebone-2013.06.17.img.xz or Angstrom-Cloud9-IDE-GNOME-eglibc-ipk-v2012.12-beaglebone-2013.06.06.img.xz I cant remember if I allready installed the latest version. Jul 17 16:24:34 is there no alcohol ? Jul 17 16:24:44 nope Jul 17 16:24:51 what's the point then ? Jul 17 16:24:52 you can get it from amazon.com ? Jul 17 16:25:01 yes ogra_ Jul 17 16:25:08 i bought a couple of bottles for $9 Jul 17 16:25:14 <_av500_> amazomg! Jul 17 16:25:18 :) Jul 17 16:25:50 das__ point is that some people don't drink alcohol Jul 17 16:26:01 mormons ? Jul 17 16:26:08 <_av500_> -m Jul 17 16:26:09 not only Jul 17 16:26:15 they don't need alcohol they have romney Jul 17 16:27:09 and multiple wives Jul 17 16:27:29 besides, drinking guaraná is a way to keep me close to my country Jul 17 16:27:41 how would anyone cope with more than one wife? Jul 17 16:27:48 you mean you cant sit upright anymore after drinking it ? Jul 17 16:27:57 yeah, I barely cope with 0 so far ... Jul 17 16:28:00 <_av500_> mru: keep the physically separate Jul 17 16:28:04 mru, just like one who copes with wife + affairs Jul 17 16:28:16 Hey All Jul 17 16:28:19 gui_: that's different Jul 17 16:28:52 they usually dont meet each other ... Jul 17 16:29:20 are we talking about getting drunk? Jul 17 16:29:25 yes ogra_, just like wife + affairs Jul 17 16:29:27 * mranostay signs up Jul 17 16:29:47 mranostay, drinking guano to lie on teh country Jul 17 16:29:53 or some such Jul 17 16:29:59 bought at amazon Jul 17 16:30:14 Can anyone advise any issues against booting off uSD and dd'ing the Black eMMC to an IMG and then doing the process in reverse to restore it. Jul 17 16:30:33 <_av500_> no Jul 17 16:35:27 ogra_ http://www.amazon.com/gp/product/B006DQOXTY/ref=oh_details_o01_s00_i00?ie=UTF8&psc=1 Jul 17 16:35:43 you wont make me drink it :) Jul 17 16:35:49 * ogra_ is a coffee guy Jul 17 16:35:52 they were at $9 as add-on item, now they're 15 :( Jul 17 16:36:00 guaraná gives more energy than coffee Jul 17 16:36:15 coffee doesn't contain much, if any, energy Jul 17 16:36:22 unless you add sugar Jul 17 16:37:01 * ogra_ uses coffee for staying awake, beer for the energy Jul 17 16:37:53 <_av500_> +1 Jul 17 16:38:01 * _av500_ needs to send a kid to fecthc beer Jul 17 16:38:05 <_av500_> fetch Jul 17 16:38:43 by energy i don't mean calories Jul 17 16:38:54 _av500_: you should recruit some minions ;) Jul 17 16:38:56 ah, thats where the mormons come into play ... having more wives can result in more kids to fetch the beer Jul 17 16:38:58 i mean what keeps you awake, energetic Jul 17 16:39:10 <_av500_> the force Jul 17 16:39:23 <_av500_> dm8tbr: all at the beach Jul 17 16:39:32 * mru is an engineer Jul 17 16:39:50 when I say energy I mean something measured in joules Jul 17 16:40:29 http://www.gnu.org/ghm/2013/paris/ talk is one month from now and the schedule is empty ... Jul 17 16:41:35 <_av500_> ...Hurd recent developments — Samuel Thibault... Jul 17 16:41:44 no wonder it's empty Jul 17 16:41:51 <_av500_> I think that one is a constant Jul 17 16:42:05 mru, i didn't know this conversation had reached this nerdy level :P Jul 17 16:42:19 from now on, I'll be very careful regarding my units Jul 17 16:43:23 <_av500_> move all units into defensive positions Jul 17 16:48:56 move all units into SI Jul 17 16:49:23 <_av500_> no way Jul 17 16:49:57 yes Jul 17 16:50:04 mru: Don't discriminate, kilowatt hours are units of energy too. Jul 17 16:50:19 kilowatt is power energy Jul 17 16:50:26 kilowatt-hour is energy Jul 17 16:50:35 power unit* Jul 17 16:51:03 1 kWh = 3.6 MJ Jul 17 16:51:51 <_av500_> now, if I could get this yoghurt to power my cell phone Jul 17 16:54:43 not only we should all move to SI, i'd suggest using the proper word for current units in English Jul 17 16:54:59 people should say ampères and not amps Jul 17 16:55:10 move to slovenia? Jul 17 16:55:34 why slovenia? Jul 17 16:55:44 _av500_, apropos cellphone, did you stop using G+ completely ? Jul 17 16:56:01 * ogra_ misses the nice cultural touch in his stream Jul 17 16:56:02 ogra_: he's on a hiatus Jul 17 16:56:11 andrĂ© ampère was french, not slovenian Jul 17 16:56:12 dm8tbr, no reason :P Jul 17 16:56:25 gui_: .si Jul 17 16:58:08 i can cope with rebuilding the kernel 20 times in a day... but copying the files to the SD card takes friggin ages ¬¬ Jul 17 16:58:37 gui_: Copying the kernel doesn't, you rewriting the entire card? Jul 17 16:59:14 umm.. yes. now I suppose i'm being stupid Jul 17 16:59:44 <_SY_> hello Jul 17 17:00:07 gui_: and if you need rapid turn-around, load the kernel via UART or push it via USB Jul 17 17:01:45 i'm not nerd enough to do that yet :S Jul 17 17:01:46 gui_: depends what you're doing. If you're just making small changes you don't even need to do a full kernel build if you're build environment is setup right. Just copy uImage over each time or the kernel module file if the change is in a module. Jul 17 17:01:52 gui_, root nfs is your friend Jul 17 17:02:29 any bets how long before lennart kills it? Jul 17 17:02:34 meh, nfs is more trouble than its worth usually. Just scp your uImage Jul 17 17:02:41 mru, nfs ? Jul 17 17:02:48 nfsroot Jul 17 17:02:55 hasnt he already ? Jul 17 17:03:03 he has? Jul 17 17:03:15 it was supported in the last kernel I built Jul 17 17:03:19 replaced by cifsboot? ;) Jul 17 17:03:20 dunno, can you boot a systemd OS with nfsroot ? Jul 17 17:03:31 probably not Jul 17 17:03:35 but I don't care Jul 17 17:03:36 i'm just playing with spi dts files Jul 17 17:03:44 * ogra_ neither Jul 17 17:03:45 should be able to Jul 17 17:03:47 then I rebuild the kernel, which takes no more than 10 minutes Jul 17 17:04:14 ogra_, you can Jul 17 17:04:19 I do it all day long Jul 17 17:04:47 lucky you then ... so lennart didnt get to it yet Jul 17 17:05:34 * georgem shakes his head Jul 17 17:05:56 ogra_, the moment he does, I'm moving to something else pronto Jul 17 17:06:03 :) Jul 17 17:09:29 jezz, $15 for a pack of 2 guaranas? Jul 17 17:09:35 > Jul 17 17:09:49 rsalveti, yeah, guano is cheaper Jul 17 17:09:58 I pay $1.5 here Jul 17 17:10:04 and sounds largely the same Jul 17 17:10:24 guarana antarctica is kind of the 'original' one Jul 17 17:10:29 most common around here Jul 17 17:10:48 good stuff Jul 17 17:10:59 isn't guano bat shit Jul 17 17:11:00 bring some to the next sprint :) Jul 17 17:11:08 georgem, yeah Jul 17 17:11:31 right, the good stuff is for the antarctica one ;-) Jul 17 17:11:45 ogra_: yeah, can take some for sure Jul 17 17:11:54 doit :) Jul 17 17:16:03 good guaranás are antarctica and the long-gone brahma Jul 17 17:16:37 and dolly Jul 17 17:25:02 I drank guarana antarctica yesterday! Jul 17 17:27:23 <_av500_> isnt that penguin droppings? Jul 17 17:27:37 heh Jul 17 17:27:59 no that would be guano Jul 17 17:28:03 :P Jul 17 17:32:28 troololollololoolol Jul 17 17:59:26 hello guys, I'm running a opencv program on BBB and its outputing a string with location of the central light in image. I need to send this string to a arduino. Beagleboard is connected to a webcam Jul 17 18:01:31 So do. Jul 17 18:01:59 any ideas as to how to go about doing this Jul 17 18:03:33 Hi, I have proper SPI Device Tree setup. MOSI and CLK are good. How do I control the SPI1_CS0 in code? Jul 17 18:07:10 blip: 'uart' Jul 17 18:09:55 I was thinking of uart, but I do not know how to send information from c++ code to uart. Jul 17 18:11:07 szhao: try spidev first Jul 17 18:11:34 szhao do you like python? check this http://hipstercircuits.com/enable-spi-with-device-tree-on-beaglebone-black-copy-paste/ Jul 17 18:11:48 skip the enabling SPI part Jul 17 18:14:25 blip: you open the 'file' and write to it... there's documentation all over the net for this Jul 17 18:19:59 georgem: I am using spidev.c for testing. That's how I got MOSI and CLK running. During transfers, I don't see any changes in CS. It stays flat zero. Is that how it's supposed to behave? I am reading the structure spi_ioc_transfer and found a field called cs_change. Not sure if it's related. Jul 17 18:21:14 szhao: If you look at http://hipstercircuits.com/enable-spi-with-device-tree-on-beaglebone-black-copy-paste/ I think CS will change depending on whether you access spi1_0 or spi1_1 Jul 17 18:22:52 gui_: thanks for the link. I have read it before, but I haven't tried b/c of python code. Jul 17 18:23:29 georgem: I noticed that the source I am using is missing a line one cs. http://elinux.org/BeagleBone_Black_Enable_SPIDEV Jul 17 18:23:51 georgem: I will try to modify this line " cs-gpios = <&gpio4 17 0>, <&gpio1 7 0>;" Jul 17 18:24:37 georgem: I think that might be the reason. I will try it out and let you know. Really appreciate it. as well as gui_ Jul 17 18:25:24 I thought maybe just changing reg = <1>; to reg = <0>; would change it (or having two spidevs one with reg = <1> and one with reg =<0>. Jul 17 18:26:52 I only have one device on spi so I never tried... Jul 17 18:26:55 georgem: I don't really know what reg stands for or how it behaves. Do you mind give me a hint on that Jul 17 18:27:19 I am only trying to connect to one slave device as well Jul 17 18:27:45 but this slave requires CS behave a certain way Jul 17 18:31:55 georgem: I see what you mean about changing <1> to <0>. I thought it would just make spidev1.1 instead of spidev1.0. I will try both I guess Jul 17 18:33:27 szhao: I'm trying in the TRM and it looks like it should use CS0 for the first slave device connected and CS1 for the second. I think I was scoping on it earlier though and I didn't see it change. Jul 17 18:33:39 looking at it rather Jul 17 18:34:43 georgem: If I want to probe CS0, then I need to use spidev1.0? Jul 17 18:40:26 Interesting looks like GPIO3_17 and spi1_cs0 are on ball C12. GPIO0_7 and spi1_cs1 look like they are on ball C18 Jul 17 18:42:46 well... they're set in mode3 in the pinctl so I guess they are setup as spi1_cs0 and spi1_cs1. I'm not sure what the purpose of the cs-gpios parameter is. Maybe it just has to do with claiming those lines for the device. Jul 17 18:44:05 georgem: yes, GPIO3_17 and spi1_cs0 are muxed on the same pin. My guess is it "maps" spi1_cs0 to gpio3_17 Jul 17 18:48:23 szhao: I have mine setup similar to the link you sent (with no cs-gpios). I just scoped cs0 and it went low when I echod a character to spidev1.0 Jul 17 18:49:14 szhao: Is that what you need it to do or do you actually need to take control of it? Jul 17 18:50:12 georgem: My cs0 stays low all the time. I need cs0 stay high when it is idling. And cs0 needs to go low when I am sending data. Jul 17 18:50:33 szhao: Strange, mine is high when idling Jul 17 18:51:59 georgem: that's why i am struggling to get cs0 working. Could you send me a link for the device tree reference you used? I assume you used spidev_test for testing Jul 17 18:52:53 i need some help crosscompiling a library for the arm platform. I am getting errors while compiling the library I get following error during crosscompile:syslex.l:31:21: fatal error: sysinfo.h: No such file or directory compilation terminated. make[2]: *** [syslex.o] Error 1 following is the config.log file : http://pastebin.com/eezqmJ9d and following is the install script : http://pastebin.com/fAErAqSQ Jul 17 18:53:49 its basically a msp430-gcc toolchain to be run on the beaglebone, Jul 17 18:54:54 szhao: make sure have reg = <0> not reg = <1>. Other wise I think it will use cs1 Jul 17 19:02:10 georgem: you are a genius!!! That's the problem. reg=<0> instead of reg=<1>. Jul 17 19:02:49 georgem: now cs0 stays high idling. When I send a message, it drops to zero. Jul 17 19:15:51 szhao: cool, glad it worked for you Jul 17 19:18:27 georgem: Thank you very much for your help. Jul 17 19:18:57 georgem: Thank you very much for your help. Jul 17 19:21:45 szhao: You're welcome. Now I understand how it works better as well :) Jul 17 19:26:08 georgem: now shout more Jul 17 19:26:57 georgem: Ha, shout more? Jul 17 19:27:03 doh Jul 17 19:27:12 mranostay: Ha, shout more? Jul 17 19:29:37 poop has happened with me :( Jul 17 19:30:07 is it possible to recover files after a sudo rm? Jul 17 19:30:09 poop is bad, unless you're constipated then its good Jul 17 19:30:56 gui_: yes kind of sorta. on beaglebone or linux desktop? Jul 17 19:31:01 I accidentally removed my user folder Jul 17 19:31:05 ubuntu desktop Jul 17 19:31:21 not the folder itself, but everything inside it Jul 17 19:32:10 Do you know what file system it is? ext4? Jul 17 19:32:40 i believe so Jul 17 19:32:54 'mount' should tell you Jul 17 19:33:54 yes it is Jul 17 19:34:21 oh man... I thought I had a snapshot :/ Jul 17 19:34:33 (i'm running on virtualbox btw) Jul 17 19:34:46 well... make a snapshot now Jul 17 19:35:08 because if you try to recover it and it fails you may want to go back and try again Jul 17 19:35:46 done Jul 17 19:36:15 i have a fancy program to recover files on windows Jul 17 19:36:16 See if extundelete is installed. If not try sudo apt-get install extundelete Jul 17 19:36:22 but that doesn't work on linux Jul 17 19:37:04 http://extundelete.sourceforge.net/ Jul 17 19:37:09 isntalling Jul 17 19:38:49 Look on the link for usage instructions. Jul 17 19:39:16 <_SY_> hi Jul 17 19:39:21 hi Jul 17 19:40:04 <_SY_> could someone please take a look at this for me....its a C JNI library I put together for handling serial TX and RX...but for some reason whilst TX seems ok, RX blocks: http://pastebin.com/JLzwmw4N Jul 17 19:40:25 PRU Assembly programming for the BeagleBoneBlack - does anyone know if QBLE is comparing signed or unsigned binary values ? Jul 17 19:42:01 how do I remount sda1 in read only mode? Jul 17 19:42:30 <_SY_> you could do that in the fstab entry. Jul 17 19:42:47 stanto i think everything is unsigned Jul 17 19:43:09 Stanto, normally all ops are unsigned Jul 17 19:43:19 "normally" ? Jul 17 19:43:34 unsigned is good enough for anyone Jul 17 19:44:09 gui_: try, mount -oremount,ro /dev/sda1 Jul 17 19:44:47 i get / is busy Jul 17 19:44:54 you can do signed math with a some extra instructions Jul 17 19:44:55 _SY_: read will block unless you set O_NONBLOCK. or you can just use select Jul 17 19:45:17 gui_: Try: 'init 3' first Jul 17 19:45:35 <_SY_> ok, I'll try that, I'm a bit confused why it doesn't return, I'm sending data to the port Jul 17 19:45:40 or poll() Jul 17 19:45:57 same message, georgem Jul 17 19:46:34 g'night Jul 17 19:47:30 gui_: check if any of the suggestions here work: http://unix.stackexchange.com/questions/42015/mount-is-busy-when-trying-to-mount-as-read-only-so-that-i-can-run-zerofree Jul 17 19:49:13 <_SY_> tried O_NONBLOCK, no better... Jul 17 19:49:20 yeah, or poll. Or just get a book on unix programming like: UNIX Network Programming by Richard Stevens Jul 17 19:50:49 georgem, still busy :/ Jul 17 19:51:09 <_SY_> Is that to me? polling the port is the same as reading it with blocking, it should return as soon as data is received of the required length Jul 17 19:55:40 i guess I'll just download everything again :/ Jul 17 20:05:54 gui_: you can try booting to single user mode if you want to keep at it. http://askubuntu.com/questions/132965/how-do-i-boot-into-single-user-mode-from-grub Jul 17 20:06:28 too late, i'm formatting :P Jul 17 20:06:33 ok Jul 17 20:06:40 system was very dirty anyway Jul 17 20:06:44 clean install will be good Jul 17 20:07:21 and I'll promise myself to take snapshots more frenquently Jul 17 20:14:23 <_SY_> polling for 1 byte at a time doesn't help either: http://pastebin.com/YuJbdLXQ Jul 17 20:15:40 _SY_: This is how you use non-blocking http://stackoverflow.com/questions/1150635/unix-nonblocking-i-o-o-nonblock-vs-fionbio Jul 17 20:16:36 fcntl(fd, F_SETFL, flags | O_NONBLOCK); Jul 17 20:17:33 <_SY_> What I don't understand is blocking or non-blocking, when reading 1 byte at a time, it doesn't seem to return at all. Jul 17 20:17:47 <_SY_> and I know that data is being transmitted on the device Jul 17 20:17:59 _SY_: Something is wrong then Jul 17 20:18:05 Because it should Jul 17 20:18:16 <_SY_> :)....I guessed that... Jul 17 20:19:16 serial ports in linux can be kind of a pain. one sec. let me see if I can find you a link Jul 17 20:19:42 How do I access my sd card, and how can I move my programs to there? Jul 17 20:19:46 _SY_: http://www.tldp.org/HOWTO/Serial-Programming-HOWTO/x115.html Jul 17 20:19:58 <_SY_> ty, will look now Jul 17 20:21:53 So many questions today, I've got crap I gotta do so... someone else's turn for a while. Jul 17 20:25:17 Need to write an mfd driver Jul 17 20:26:11 My BBB is running out of hard drive space, what can I do? Jul 17 20:26:24 I have a lot of programs, so can I move them to sd? Jul 17 20:28:16 How do I use the micro sd as storage? Jul 17 20:30:23 <_SY_> I bought a micro 32Gb USB memory stick and use that for additional storage, works great! Jul 17 20:39:44 Willdude123: http://dev.gentoo.org/~armin76/arm/beagleboneblack/install_emmc.xml Jul 17 20:40:05 take a look at the Expanding storage with a microSD card. Jul 17 20:40:34 have not tried it though, so YMMV Jul 17 20:42:02 haksaw: lOOKS COMPLEX Jul 17 20:42:05 Sorry Jul 17 20:42:47 Willdude123: yeah, you got to have some linux chops to mess with these devices Jul 17 20:51:33 I have a beagleboard-xm and want to make sure that I get neon instructions with hardware floating point... (using Angstrom) Jul 17 20:51:52 Does it magically happen? How do I go about forcing it? Jul 17 20:54:07 i'm trying to compile the kernel, and I'm asked to install the dependency libncurses5-dev but it's already installed Jul 17 20:55:07 Willdude123, alternatively, boot linux from the microsd card and use a large microsd card Jul 17 20:55:33 It's 4gb Jul 17 20:56:29 Out of interest what programs are you filling it up with ? Jul 17 20:58:01 gui__: what does this give you: pkg-config --modversion ncurses Jul 17 20:58:02 ? Jul 17 20:58:17 5.9.20110404 Jul 17 20:59:13 gui_: and what version of the kernel are you building? 3.10? Jul 17 20:59:41 2.8 Jul 17 20:59:42 3.8* Jul 17 21:03:39 gui_: looks like the script scripts/kconfig/lxdialog/check-lxdialog.sh is looking for hard-coded paths. Jul 17 21:03:52 gui_: do you have a cureses header in the path that it's looking for? Jul 17 21:04:50 i don't have any sub-folder int scripts/ Jul 17 21:05:13 all I have is: bisect.sh error.sh gcc.sh git.sh Jul 17 21:06:17 I downloaded the source frim here: git://github.com/RobertCNelson/linux-dev.git Jul 17 21:06:26 checkout origin/am33x-v3.8 Jul 17 21:07:58 gui_: That's not actually a kernel. That's some kind of kernel build system. I don't remember how to use it. Jul 17 21:08:46 http://eewiki.net/display/linuxonarm/BeagleBone#BeagleBone-ARMCrossCompiler:GCC Jul 17 21:09:37 gui_: what's your OS? Jul 17 21:09:57 gui_: Looks like the check is in tools/host_det.sh Jul 17 21:10:11 gui_: looks at /etc/lsb_release and then tries to do a platform-specific check. Jul 17 21:11:19 Sorry... /etc/lsb-release Jul 17 21:11:42 gui_: If you're on Ubuntu > precise, you'll need to add your dist to the script. Jul 17 21:24:48 gabrbedd, i'm running 13.04 Jul 17 21:27:25 gui_: so you need to update the script. Jul 17 21:43:09 gabredd, which script exactly? Jul 17 21:46:45 well, switched from branch -bone24 to -bone23 and it's working now Jul 17 22:04:30 georgem: Now I have full SPI communication working. :) I am doing this for a design challenge, so I will make a guide on setting up SPI on BBB. Then people don't have to search all of the place to get SPI running Jul 17 22:13:03 szhao, does your spi work when you boot from flash? Jul 17 22:17:34 quick question--anyone know of a patch/workaround to enable DMA engine support on their beaglebone black? Jul 17 22:17:50 g'day, just a very very quick question: does holding the power button >8sec turn off the beaglebone black properly? (to avoid flash corruption) Jul 17 22:18:50 gui_: I did not boot from flash, so I am not sure if SPI works. I did however disable HDMI Jul 17 22:24:09 yeah, i know you have to disable HDMI Jul 17 22:24:24 my problem is that I could use all 3 SPI ports booting from SD card Jul 17 22:24:40 but they wouldn't get enabled when booting from eMMC Jul 17 22:25:28 changing the kernel seems to be the solution, and I'm still tweaking some adjustments to that Jul 17 23:34:42 hello Jul 17 23:34:45 i have a question Jul 17 23:34:48 anyone here? Jul 17 23:37:31 poor guy, why couldn't anyone answer his question in < 2 seconds??? Jul 17 23:44:14 joel-afk: we failed him! Jul 17 23:45:00 mranostay, i know! such a shame! Jul 17 23:45:22 now he will never return and go buy an r-pi Jul 17 23:45:23 or minnow board Jul 17 23:45:41 or, arduino Jul 17 23:49:56 joel-afk: how dare you sir! Jul 17 23:52:47 * joel-afk runs Jul 18 01:30:37 just saved myself $600 Jul 18 01:30:38 :D Jul 18 01:35:17 emocakes: Geico or Progressive? hehe Jul 18 01:35:34 prpplague something for my car Jul 18 01:35:35 :p Jul 18 01:36:21 climate control module went belly up, got a second hand one, but it needed to be reprogrammed for the different buttons i had, pulled out the smd rework station and swapped the flash chips Jul 18 01:36:24 all works now :) Jul 18 01:40:33 m_billybobm, you mentioned a cnc program for linux the other day, mind reminding me what it was? Jul 18 01:54:18 The contents of my /media/BEAGLEBONE/ directory keep disappearing Jul 18 01:54:42 On a reboot. Means that uEnv.txt disappears. Jul 18 01:55:23 Copying the files back doesn't seem to help; anything I put into a new uEnv.txt doesn't get processed Jul 18 01:56:08 This often (but not always) happens after I've disabled HDMI, and I have to reflash the eMMC to restore it. And then it happens again soon after. Has anyone else seen this? Jul 18 01:56:22 I'm using Angstrom 3.8.13 **** ENDING LOGGING AT Thu Jul 18 02:59:58 2013