**** BEGIN LOGGING AT Wed Aug 14 02:59:59 2013 Aug 14 03:43:06 sigh Aug 14 03:45:03 wassamatta? Aug 14 03:46:56 #beagle is becoming a catch all Aug 14 04:04:53 becoming? Aug 14 04:05:01 been for a while Aug 14 04:19:13 that's why there are professional places too ;) Aug 14 04:20:48 all the real work gets done in person @ ELC Aug 14 04:23:10 heheh Aug 14 04:23:13 stil could beworse Aug 14 04:23:25 beer / wine / alcohol makes everything ok :) Aug 14 04:24:29 ds2 exactsteps for rasbian on BBB now please thanks. Aug 14 04:24:47 goto the nearest cliff Aug 14 04:24:52 jump. Aug 14 04:24:53 * m_billybob chuckels just before he ducks Aug 14 04:25:02 too late. Aug 14 04:25:05 repeat til rasbian appears on BBB Aug 14 04:25:11 lol Aug 14 04:25:51 no cliff nearby please help ? Aug 14 04:25:56 will abridge work too ? Aug 14 04:27:27 no, must use a cliff. Aug 14 04:27:45 cannot abridge the process Aug 14 04:31:18 http://26-26-54.hardwarebug.org/140 Aug 14 04:31:27 @ emeb_mac Aug 14 04:34:42 dahm, guess ill have to relocate to complete my goal Aug 14 04:36:09 what we need for this channel is a cartoon for chat bot Aug 14 04:36:25 would like to see the explanation of rasbian on BBB illustrated Aug 14 04:37:04 ds2 head first right ? Aug 14 04:37:08 ;) Aug 14 04:43:03 av500: leave it to you to find the random rubber in frame... :P Aug 14 04:58:46 emeb_mac: are you about? Aug 14 05:00:12 RUN!!!!!!!!!!! Aug 14 05:00:29 * mranostay blocks mrpackethead the kiwi Aug 14 05:00:44 * ka6sox goes back to his layout... Aug 14 05:21:42 mrpacket_: you rang? Aug 14 05:22:16 * KotH yawns Aug 14 05:22:38 mranostay: do you even know how to handle a bomb belt? ;) Aug 14 05:23:03 emeb_mac: yeah Aug 14 05:23:09 hold a sec Aug 14 05:23:14 just pastebin somethign Aug 14 05:23:21 mranostay: google tagged it Aug 14 05:23:25 hiya emeb_mac Aug 14 05:23:31 hi ka6sox Aug 14 05:23:39 still up north? Aug 14 05:23:46 nope, home! Aug 14 05:23:50 yay! Aug 14 05:23:52 yay! Aug 14 05:23:59 https://gist.github.com/mrpackethead/446054b98aa443366680 Aug 14 05:24:11 emeb_mac: any idea what this might mean is faulty Aug 14 05:24:42 mrpacket_: odd Aug 14 05:24:56 generally means that the FPGA gave up on the bitstream Aug 14 05:25:19 I haven't seen that since debugging the streaming code Aug 14 05:25:48 dont parse the yellow bitstream Aug 14 05:26:29 i have four bccs Aug 14 05:26:31 two work fine Aug 14 05:26:33 two dont. Aug 14 05:26:38 ka6sox: how's the smoke? Aug 14 05:27:05 do U304 and U303 have much to do with things? Aug 14 05:28:03 yeah - if those aren't right you can't program Aug 14 05:28:51 304 controls the load mode - master spi vs slave serial Aug 14 05:29:36 i wonder if they are cuasing my problme Aug 14 05:29:43 303 selects data source - flash vs host Aug 14 05:29:48 could be Aug 14 05:30:29 either one hooked up wrong could cause what you're seeing Aug 14 05:32:53 emeb_mac: :-) your a genous! Aug 14 05:33:04 I coud'nt see a fault Aug 14 05:33:18 but i've hit them with the iron Aug 14 05:33:23 fault gone away Aug 14 05:33:41 yeah - those footprints are not ideal for hand soldering. Aug 14 05:33:51 if I were to lay that out all over those would change. Aug 14 05:34:36 no. Aug 14 05:34:36 :-) Aug 14 05:34:42 on the spartan 6 board Aug 14 05:34:43 :-) Aug 14 05:35:26 won't use those if/when I do an S6 Aug 14 05:35:33 no flash on that planned Aug 14 05:37:53 ds2, smoke? Aug 14 05:38:38 emeb_mac: if you work out out the schematic Aug 14 05:38:41 i'll do the board layout for you Aug 14 05:38:45 and select componetns Aug 14 05:38:49 and make it manufacturable Aug 14 05:39:27 mrpacket_: worth considering Aug 14 05:39:33 i'm suprized mranostay has'nt done somethign with FPGA's Aug 14 05:39:40 maybe hes too buzy drinking Aug 14 05:39:43 ok, i have to cook dinner Aug 14 05:39:45 back soon Aug 14 05:43:01 ka6sox: isn't there fires down ur way? Aug 14 05:43:30 130miles away Aug 14 05:45:37 the Silver fire is contained and I'm no longer worried about it. Aug 14 05:59:03 mrpacket_: not yet Aug 14 05:59:34 * mranostay checks tracker for his build system Aug 14 06:01:44 moaning Aug 14 06:02:24 panto: HEY SEXY Aug 14 06:02:35 barf Aug 14 06:02:40 living in calif. when is there *not* a fire nearby Aug 14 06:02:46 morning panto Aug 14 06:03:06 someone remind me gpios on the bone are at 20 mA max right? Aug 14 06:03:08 hi m_billybob Aug 14 06:04:24 so current limit on a LED is overkill Aug 14 06:06:28 mranostay that much ? i was always told that 6mA for any gpio is typical. perhaps i was told wrong Aug 14 06:06:48 well ~6mA but yeah idk Aug 14 06:08:20 emeb_mac: how much is invoved with putting a spartan6 on a cape Aug 14 06:09:57 mranostay: 4mA or so Aug 14 06:10:21 so just slap your random RED led and let it burn Aug 14 06:10:30 mranostay: are you suggesting that putting a currnet limiting resistor in series with a LED attached to a GPIO is a bad idea? Aug 14 06:10:46 no Aug 14 06:10:55 just that isn't needed Aug 14 06:11:08 i did'tn think so Aug 14 06:11:08 i was just checking Aug 14 06:11:08 huh? Aug 14 06:11:12 whats limiting the currnet then? Aug 14 06:11:20 the silicon Aug 14 06:11:27 the blue smoke Aug 14 06:11:46 excess current gets converted to smoke Aug 14 06:11:54 ahh. Aug 14 06:11:58 efficient CO2 production Aug 14 06:12:05 * m_billybob giggles Aug 14 06:12:41 mranostay: the 5V DCin is just a play to sell PSUs, just plug it into wall power directly..... Aug 14 06:13:03 just try with your finger which contact is grounded first Aug 14 06:13:19 why are my friends assholes and trolls : Aug 14 06:13:21 :) Aug 14 06:13:56 mranostay: because of the company you keep Aug 14 06:14:10 and recently, the company that keeps you Aug 14 06:16:47 where's cheech ? Aug 14 06:18:00 Hi, i have problems to use wifi on beaglebone version A6a Aug 14 06:18:50 kernel version 3.8.13,build follow http://beagleboard.org/linux Aug 14 06:19:43 dmesg errors Aug 14 06:19:45 [ 628.485754] usb 1-1: ath9k_htc: Firmware htc_9271.fw requested Aug 14 06:19:46 [ 628.496888] hub 1-0:1.0: state 7 ports 1 chg 0000 evt 0002 Aug 14 06:19:46 [ 628.497004] hub 1-0:1.0: port 1 enable change, status 00000503 Aug 14 06:19:49 [ 629.203581] usb 1-1: kworker/0:1 timed out on ep0out len=4096/4096 Aug 14 06:19:49 [ 629.203651] usb 1-1: ath9k_htc: Firmware - htc_9271.fw download failed Aug 14 06:19:52 [ 629.212349] usb 1-1: unregistering interface 1-1:1.0 Aug 14 06:19:55 [ 629.214973] usb 1-1: ath9k_htc: USB layer deinitialized Aug 14 06:19:59 [ 629.225197] usb 1-1: usb_disable_device nuking non-ep0 URBs Aug 14 06:20:19 do you have the /lib/firmware/htc_9271.fw file? Aug 14 06:20:38 panto: yes, i have checked Aug 14 06:21:16 no idea then Aug 14 06:21:23 there's nothing special about the beaglebone Aug 14 06:21:55 try to find some place that can help you with the specific wifi dongle Aug 14 06:22:02 It seems some crash on usb kernel driver Aug 14 06:22:23 i try to change another type wifi dougle, still not work Aug 14 06:22:40 I don't know Aug 14 06:22:50 why don't you try with one of the known-working wifi dongles Aug 14 06:23:05 if i put a red led directly on a GPIO, will opencv work under ubuntu Aug 14 06:23:18 heh heh heh Aug 14 06:23:38 mrpacket_ ok that made me giggle irl Aug 14 06:23:40 panto: maybe 3.8 kernel is not stable enough Aug 14 06:24:03 or maybe USB dongle support is not staticall ycompiled into the kernel Aug 14 06:24:32 m_billybob: maybe a red led, 4.1 kernal, usbwifi, no resitor and ubutun we can make opencv work Aug 14 06:25:59 mrpacket_, maybe but you still may need an arduino connected to UART2 Aug 14 06:27:52 takign a good long look at node, something ive been meaning to do for some time. pretty nifty Aug 14 06:30:05 pastebin pastebin Aug 14 06:31:54 panto, i thought atheros was well supported on Linux + ARM Aug 14 06:32:02 m_billybob, it is Aug 14 06:32:18 but there are a gazillion usb wifi dongles out there Aug 14 06:32:46 who really knows what corners the .cn shop that's pumping them out cut Aug 14 06:32:48 and usb stuff on beagles are not the best Aug 14 06:32:56 woglinde, I know Aug 14 06:33:02 oh, how I know Aug 14 06:33:09 *g* Aug 14 06:33:32 I did notice while compiling my wn kernel a while back many drivers are not even compiled to modules so . .yeah idk where im going with that except perhaps that might be the first place id check if i had issues. Aug 14 06:33:52 right, it's pretty hard Aug 14 06:34:13 it's an embedded board, but not sold as such Aug 14 06:34:26 people expect it to work like a desktop Aug 14 06:34:37 and then stuff happens that they have no idea how to fix Aug 14 06:35:54 learn to debug the kernel!$!@$!@#$#@!#!@$@#!$@!!@!@#@!# Aug 14 06:37:03 atheros doesn't mean atheros Aug 14 06:37:17 they acquired another company and a lot of those dongles floating around are the other chipset Aug 14 06:37:22 and it uses a different driver Aug 14 06:38:32 ds2, I'm a little behind on wifi chipset minutiae Aug 14 06:38:41 but it is ath9k Aug 14 06:38:58 but yeah, buying something for $10, expect corners to be cut Aug 14 06:39:00 panto: this was a few years ago before qcom got them Aug 14 06:39:28 you might be better off with a Ralink Aug 14 06:40:32 buy BCM Aug 14 06:40:49 *g* use TI wifi Aug 14 06:40:51 ds2, they're crappy too Aug 14 06:41:04 wifi has been a race to the bottom Aug 14 06:41:08 i use ethernet / wifi bridges Aug 14 06:41:17 transparent to the kernel Aug 14 06:41:19 and it just works Aug 14 06:41:22 mrpacket_, +1 Aug 14 06:41:33 but your product can afford the cost Aug 14 06:41:52 i dont' make any products with wifi Aug 14 06:41:59 panto: they have gotten worse? the mfg was reasonable about stuff a few years ago Aug 14 06:42:29 but what i've used at home for the watertank project is a bridge Aug 14 06:42:49 ds2, lots of problems with ralink usb dongles on the list Aug 14 06:43:03 blah Aug 14 06:43:10 Intel wifi works on my laptop Aug 14 06:43:20 av500 its pci Aug 14 06:43:23 had the realtek stuff improved over ralink? Aug 14 06:44:06 woglinde: so? Aug 14 06:44:27 10 yrs ago I used to work on ISIL wifi chipsets. then they sold that to connexant and it all went pffft. Aug 14 06:44:37 av500 problem here is usb Aug 14 06:44:56 emeb_mac: those were not USB Aug 14 06:45:08 USB wifi blows...just some blows less Aug 14 06:45:14 UBS is fine, there is no problem with USB, please move along Aug 14 06:45:31 I would think a cape that used mini pci wifi modules would be nice Aug 14 06:45:34 musb for the win Aug 14 06:45:42 grrrr Aug 14 06:45:43 panto sell one Aug 14 06:45:47 So now im curious, why is USB not the best on beagle ? Aug 14 06:45:51 * m_billybob lost connection again Aug 14 06:45:51 ...Head of Animal Nutrition Research (Ref. EU-5618)... Linkedin is so good at targetting job ads Aug 14 06:45:56 you can do that with a CF WiFi Aug 14 06:46:08 av500, keep saying that, eventually will be true Aug 14 06:46:10 m_billybob: because musb Aug 14 06:46:20 software issue then ? Aug 14 06:46:22 panto: I have an endless tape on my walkman Aug 14 06:46:25 m_billybob: no Aug 14 06:46:29 yes Aug 14 06:46:31 maybe Aug 14 06:46:33 hm, pci on BBB? Aug 14 06:46:34 all of the above Aug 14 06:46:41 PRUCI Aug 14 06:46:56 that's nasty Aug 14 06:46:57 That's why you use the BBC/BBX Aug 14 06:46:57 probably would be fine for low speed PCI Aug 14 06:47:02 you can avoid MUSB there ;) Aug 14 06:47:11 wifi doesn't need that much bandwidth Aug 14 06:47:25 SDIO baby! Aug 14 06:47:27 ds2: how about a BBX cape for the BBB? Aug 14 06:47:31 ds2: +1 Aug 14 06:47:36 heh Aug 14 06:49:19 mahlzeit Aug 14 06:49:48 just connect carambola2 over ethernet, done Aug 14 06:49:59 or that Aug 14 06:50:03 * mranostay sleeps 3600 *8 Aug 14 06:50:03 carambocape Aug 14 06:50:22 * av500 interrupts mranostay with -EAGAIN Aug 14 06:51:19 kernel 3.8 opened hungup task detect on my beaglebone Aug 14 06:51:22 mahlzeit Aug 14 06:51:24 bite me old man Aug 14 06:51:46 frequntly usb driver hung up detected Aug 14 06:51:48 [ 541.953724] ath: phy0: Unable to remove station entry for: 6c:e8:73:fc:ea:50 Aug 14 06:51:48 [ 600.221328] INFO: task kworker/0:2:73 blocked for more than 60 seconds. Aug 14 06:51:49 [ 600.228357] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. Aug 14 06:51:51 [ 600.236611] kworker/0:2 D c0378cc1 0 73 2 0x00000000 Aug 14 06:51:55 more! Aug 14 06:52:08 heading out for a bit Aug 14 06:52:22 keep calm and keep trolling in the meantime Aug 14 06:52:58 who can tell me how to debug which function was blocked in kernel? Aug 14 06:53:44 mr. printk Aug 14 06:54:02 ynezz: more fast way? Aug 14 06:54:23 ds2: some of our ISIL wifi stuff had USB, but I don't know if any of it ever made it to market Aug 14 06:54:48 like the P3 stuff? Aug 14 06:54:52 those sucked Aug 14 06:55:07 pretty much everything back then sucked Aug 14 06:55:10 no on board flash, it didn't really support AP mode Aug 14 06:55:24 duh .. yet another driver without of support .. Aug 14 06:55:29 the P2 (i.e. the CF/PCMCIA) ones worked decently Aug 14 06:56:20 yeah. Aug 14 06:56:57 but the only linux drivers were those crazy 3rd-party ones Aug 14 06:57:25 for the P2's or P3? Aug 14 06:57:44 P2 IIRC Aug 14 06:57:56 there were at least 3 different drivers for the P2 Aug 14 07:03:21 heh more wifi drama on the groups now too . . . Aug 14 07:04:17 I think if i needed wifi that much id connect my BBB via ethernet to a wifi router wired. Aug 14 07:05:00 bluetooth seems equaly troublesome . . . ah well Aug 14 07:09:25 a lot of the "problems" are standard PEBKAC Aug 14 07:10:21 you're probably right Aug 14 07:12:01 http://dilbert.com/fast/2013-08-14/ Aug 14 07:12:10 maybe that hung task problem pasted here few minutes ago might be USB related issue, but who knows Aug 14 07:13:30 usb, the bane or scapegoat for all kind of faults and failures Aug 14 07:13:35 idk USB works fine for me, but im not using a wifi dongle on it. Aug 14 07:14:00 i sometimes boot from the host USB port Aug 14 07:14:19 do you also fork your usb dongle? Aug 14 07:14:58 i dont use a dongle. had a BT dongle early one for testing but meh our BT songles all hae the same MAC . . . Aug 14 07:15:22 bought 4 for less than $8 USD go figure. Aug 14 07:15:37 ( shipping included ) Aug 14 07:45:01 Hello! Aug 14 07:45:27 hello Aug 14 07:46:05 can anybody test my beagle bone black? Doesnt show any display on screen, leds are lightning tough Aug 14 07:46:18 doesnt boot?! Aug 14 07:46:40 hook serial up to it? Aug 14 07:46:58 that'd tell you what's going on Aug 14 07:47:21 or check what shows up via USB Aug 14 07:48:22 m_billybob: mac adresses cost $$$ Aug 14 07:48:24 i can connect it to pc but ....and i can access the documents... Aug 14 07:49:02 serial? i tried to boot from micro sd but it didnt work... then nomral trial to boot.. Aug 14 07:49:27 having a microsd in there messes up boot order. Try taking it out to boot. Aug 14 07:50:10 i did and used a new hdmi adapter no success Aug 14 07:50:59 the linux cant be deleted? Aug 14 07:51:28 anybode interested in buying it? Aug 14 07:51:52 Just put an auto-update image on the sd card, and it'll flash it Aug 14 07:52:04 could take a good 45 minutes though. Aug 14 07:52:42 yes i made a new image but no update it was another linux and i waited about 30 minutes... Aug 14 07:53:02 can i use simple or cheap micro sd cards? Aug 14 07:53:07 yep Aug 14 07:53:23 you have to wait until all the lights are on after it finishes flashing though. Aug 14 07:53:34 It's easier to hook up a usb-to-serial to the serial port to listen in on what it's doing Aug 14 07:53:48 ok an update image is no new image? Aug 14 07:54:56 I don't follow Aug 14 07:55:09 http://beagleboard.org/Getting%20Started#update Aug 14 07:55:40 thanks, i´´ll try another image on micro sd then..... Aug 14 07:55:50 http://beagleboard.org/latest-images the one specified for the BBB will flash itself onto the BBB over the course of about 45 minutes Aug 14 07:57:22 hope that helps Aug 14 07:57:54 also, I got a usb-to-serial adapter off ebay for $2-3. It makes debugging all kinds of things easier :) Aug 14 07:58:05 hope that helps. I'm off. G'nite! Aug 14 09:32:08 ah man, there is an _infuriating_ bloke on the oe-core mailing list, I would love to say he trolling but I genuinely think he's not Aug 14 09:33:05 they should make troll head stress balls Aug 14 09:33:25 I patent that by the way, if I see it on kickstarted I'll come hunting Aug 14 09:35:31 jackmitchell: lpapp? Aug 14 09:35:38 oh lpapp Aug 14 09:35:39 koen: yes Aug 14 09:35:45 * av500 heads over to that ml Aug 14 09:39:19 jackmitchell: the root cause of his problem is that CSL partially applied a kernel patch and generate their linux-libc-headers from that Aug 14 09:39:40 jackmitchell: due to that things like busybox, udev and various networking tools won't compile Aug 14 09:40:50 jackmitchell: http://kickstarter.com/projects/new/trollheadstressball Aug 14 09:41:18 mrpackethead: arghhH! where's my trollhead stress ball when I need it! Aug 14 09:41:32 mrpackethead: so many backers, the site is overloaded Aug 14 09:41:52 av500: i'm just counting my money now Aug 14 09:42:56 hi Aug 14 09:43:12 dmn connection today Aug 14 09:43:54 hi navaati Aug 14 09:44:35 mrpackethead: sounds very swiss Aug 14 09:45:30 gm koth Aug 14 09:46:22 KotH: Swiss only count chocolate Aug 14 09:47:59 and for my fifth order to DK this week Aug 14 09:48:01 gah. Aug 14 09:50:12 *g* Aug 14 09:50:26 life of ceo Aug 14 10:04:01 I wish someone made a BBB proto cape that either has a stacking header for the debug serial or a hole in it to plug in a cable.. Aug 14 10:04:32 Spirilis: ^^^ Aug 14 10:04:49 Vaizki: solder a 90 degree 6 pin header to the bottom Aug 14 10:05:11 why does a serial header need 6 pins anyway? Aug 14 10:05:17 it doesn't Aug 14 10:05:58 but I'm not going to bitch about the header on the board, it is what it is Aug 14 10:09:02 vaiziki make a cape yourself Aug 14 10:09:25 exit Aug 14 10:09:26 q Aug 14 10:09:52 woglinde: if I start making capes I don't need the proto cape ;) Aug 14 10:10:29 [12:04:49] Vaizki: solder a 90 degree 6 pin header to the bottom Aug 14 10:11:00 yea it's a valid option but I like the bottom clean because.. well because :) Aug 14 10:11:25 solder a 90 degree header to the top then Aug 14 10:15:38 or a 2x 54 degree header Aug 14 10:30:24 How can I increase Booting time of Beagle bone black with ubuntu OS? Aug 14 10:30:51 add some sleep commands? Aug 14 10:31:09 Can u give me a example? Aug 14 10:31:31 why do you want to _increase_ the boot time anyway? Aug 14 10:32:25 Actualy I want to run my application on BBB within 3-4 seconds. Aug 14 10:33:11 init=/bin/application doesn't work? Aug 14 10:33:21 Currently I reached upto 11 sec by some optimizing technique Aug 14 10:33:52 when I start BBB I want to execute my application. Aug 14 10:35:09 did you understand that I've answered your question? Aug 14 10:35:30 Any help would be appritiated. Aug 14 10:36:19 @panto No I didnt get that Aug 14 10:36:48 the linux kernel has a facility where you can run any application as init Aug 14 10:37:08 init=/bin/application on the kernel command line means your application will run instead of /bin/init Aug 14 10:37:11 which file need to edit?? Aug 14 10:37:28 you need to read about what you're trying to do first Aug 14 10:37:36 it appears you don't quite understand the tradeoffs Aug 14 10:37:42 go to google Aug 14 10:37:44 download the internet Aug 14 10:37:47 read it Aug 14 10:37:49 all of it Aug 14 10:37:55 Hi, My beaglebone has just arrived, appears to work fine but I cannot get a 32GB microSD to work.... Aug 14 10:38:14 when inserting when powered on nothing appears to happen (cannot mount) Aug 14 10:38:44 http://youtu.be/KeFoGo3N_4g Aug 14 10:38:45 When already inserted when powering up the 4 LED turn on, BBB does not boot Aug 14 10:39:51 Can it be the power supply? I am currently using the microUSB Aug 14 10:39:59 miniusb that is... Aug 14 10:41:57 @panto I can understand what you are saying. But I think you didn't get my question. Aug 14 10:42:22 you're looking for a switch that says: 'make my app load faster' Aug 14 10:42:25 there isn't any Aug 14 10:42:36 if it were we'd be using it already Aug 14 10:42:54 you can greatly reduce the startup time of an application in linux Aug 14 10:43:06 but you have to understand what is the boot sequence and how it works Aug 14 10:43:24 left boot, right boot Aug 14 10:43:27 thats how I do it Aug 14 10:43:37 the init=/bin/application is the fastest way to do it Aug 14 10:43:40 pay someone who knows to make it faster Aug 14 10:43:43 panto: understanding requires effort Aug 14 10:43:57 but what you have is not what you consider as unix Aug 14 10:44:25 hell, you can even create an angstrom build that only has your application in it Aug 14 10:44:38 hm I even think he did not measure how long his app needs to start Aug 14 10:44:42 didnt koen show it boot in 0.1s? Aug 14 10:44:47 if you want a proper system running as well, you can do things with inittab Aug 14 10:44:47 av500 no Aug 14 10:44:52 I am using mono framework. My application's binary is locatted as /usr/bin/mono. For that I am using xsession. After power On I am getting my xsession within 15 sec, in which 11sec is booting time and 4 sex to load frame. Aug 14 10:45:00 then, you never mentioned what this application is, what it does, and what services it uses Aug 14 10:45:04 av500 it was 1 second Aug 14 10:45:11 and you're using mono on top of that Aug 14 10:45:15 lol Aug 14 10:45:23 mono alone starts in 3-4 seconds Aug 14 10:45:41 why mono needs an xsession? Aug 14 10:45:49 stereo takes 8s? Aug 14 10:46:01 av500 yes 5.7 hdtv Aug 14 10:46:02 woglinde, wanna guess? Aug 14 10:46:27 panto nope Aug 14 10:46:34 It is mono-framework which is cross compiled on Ubuntu-12.04. Which is used to run .Net application on linux. Aug 14 10:46:39 it's what MS does (requires GUI) Aug 14 10:47:03 panto its like java you can run it without gui Aug 14 10:47:04 and you know what the desktop linux people do right? Aug 14 10:47:13 woglinde, I know Aug 14 10:47:26 but who knows what kind of libs he uses Aug 14 10:47:48 hm he should buy windows xp embedded Aug 14 10:48:10 anyway, you're trying to run an abandoned MS derived project (mono) on an opensource board Aug 14 10:48:17 I want to run .exe on Linux Aug 14 10:48:25 I want a pony Aug 14 10:48:39 http://26-26-54.hardwarebug.org/210 Aug 14 10:48:40 I want the pony to slaughter Aug 14 10:48:55 looks like this pony requires mono Aug 14 10:49:16 kishor, so, you got two options Aug 14 10:49:27 a) learn how to optimize the boot sequence (we already covered that) Aug 14 10:49:34 b) pay someone to do it for you Aug 14 10:49:48 there's a c) option that says port your app to something saner Aug 14 10:49:54 panto b) was my solution Aug 14 10:50:16 panto hm he already said it is not his app Aug 14 10:50:16 a+b) pay someone to learn how to do it Aug 14 10:50:28 only some .net which he wants to run on bbb Aug 14 10:50:30 d) pay someone to 'port' the app Aug 14 10:50:33 a+b+c) pay someone to learn how to rewrite it Aug 14 10:50:43 e) buy faster hardware Aug 14 10:50:54 f is my favorite Aug 14 10:50:58 mru, doubt it will help with the startup Aug 14 10:50:59 f) let it be Aug 14 10:51:05 Leave it if you cant help, I will prefer a) option Aug 14 10:51:25 panto: buying something that starts faster will Aug 14 10:51:30 already i have optimized 37 sec to 11 sec Aug 14 10:51:45 11 is fast enough Aug 14 10:51:48 it's kind of hard asking the community to help you with problems with a MS bastard technology Aug 14 10:52:05 we're all open source zealots here Aug 14 10:52:12 I am not satisfied with 11 sec Aug 14 10:52:17 he even have our own jihadists Aug 14 10:52:23 are you here KotH Aug 14 10:52:32 hm I am not satisfied with that I will die Aug 14 10:52:36 how do I change it Aug 14 10:52:57 encase yourself in carbonite Aug 14 10:52:58 woglinde, you can try religion and all that eternal life idea Aug 14 10:53:15 yes carbonite is cool Aug 14 10:53:21 http://26-26-54.hardwarebug.org/161 Aug 14 10:53:39 Can you help or I leave ? Aug 14 10:53:55 we already did - learn how the boot sequence works Aug 14 10:54:18 I know that. Aug 14 10:54:33 you didn't know about init=.. on the command line Aug 14 10:54:47 I don't know how much of linux you do know Aug 14 10:55:02 I tried for 2 days to decrease below 11sec, so I am here. Aug 14 10:55:02 I'm guessing about this -><- much Aug 14 10:55:26 have you tried a minimal distro? Aug 14 10:55:40 hm 2 days of wasted time Aug 14 10:55:41 nice Aug 14 10:55:41 you're using angstrom? Aug 14 10:55:42 have you tried minimal effort? Aug 14 10:55:45 you're using ubuntu? Aug 14 10:55:45 currently I am using the same. Aug 14 10:55:49 you're using debian? Aug 14 10:55:57 you didn't tell Aug 14 10:55:59 panto ubuntu he already told Aug 14 10:56:12 12.04 Aug 14 10:56:15 I am using ubuntu-12.04-armhf Aug 14 10:56:30 ok, so that's a general ubuntu problem Aug 14 10:56:41 how? Aug 14 10:56:58 there's absolutely nothing special about the ubuntu running on the bone Aug 14 10:57:34 since the kernel loads in what? 4-5 seconds till userspace takes over that's where you have to look Aug 14 10:57:43 Thats my projects requirement. Aug 14 10:57:44 have you tried asking the ubuntu people for help? Aug 14 10:57:46 mono even works on arm? Ive never got beyong SEGFAULT Aug 14 10:57:54 xora *g* Aug 14 10:58:20 panto maybee he can reduce u-boot time Aug 14 10:58:24 Yeah Aug 14 10:58:34 or has it no timeout anymore Aug 14 10:58:41 setenv bootdelay 0 Aug 14 10:58:45 but I tried all there tweaks. Aug 14 10:58:51 it has a 2-3 second timeout iirc Aug 14 10:58:52 yes Aug 14 10:59:06 so 11 seconds is the best you get Aug 14 10:59:16 with ubuntu Aug 14 10:59:23 which is pretty amazing come to think of it Aug 14 10:59:29 ubuntu is a dog after all Aug 14 10:59:32 panto for bbb yes Aug 14 10:59:38 yes Aug 14 10:59:59 Which is the best distro? Aug 14 11:00:12 there is no best distro Aug 14 11:00:18 the one that works like you want it for the application you're working on Aug 14 11:00:45 panto but I guess angstroem with systemd will not make it faster Aug 14 11:01:04 your problem is that you're using a bloated development environment (mono) on a bloated distro (ubuntu) Aug 14 11:01:04 maybee when he reduce kernel size to the minimum Aug 14 11:01:28 woglinde, yeah, you'll shave off a couple of seconds Aug 14 11:01:29 ok. Aug 14 11:01:51 on a very cheap dev board Aug 14 11:01:56 x needs to long and mono too Aug 14 11:02:02 so 11 seconds is really good Aug 14 11:02:33 so if the application's requirements was 'fast boot time in less than 11 seconds' someone screwed up there Aug 14 11:02:48 Same here.... Aug 14 11:03:05 I still can;t figure out why the microSD card does not work... sigh Aug 14 11:03:19 blaaa serial console for the win Aug 14 11:03:37 Are there known issues? I have found similar issues, but no solution Aug 14 11:03:53 woglinde: what should I do? Aug 14 11:04:03 * KotH JIHADs back in Aug 14 11:04:07 panto: you called? Aug 14 11:04:09 blaaa looking at the kernel log? Aug 14 11:04:19 as I said if fast boot time is what's important a) don't use a MS jit environment, b) don't use a bloated distro Aug 14 11:04:35 blaaa asking a crystal ball to forsay the kernel log? Aug 14 11:04:37 Thank you Panto for the discussion.. Aug 14 11:04:40 KotH, I summoned an open source jihadist Aug 14 11:04:44 have a nice day Aug 14 11:04:45 kishor, you're welcome Aug 14 11:04:47 c) don't boot Aug 14 11:04:48 bye... Aug 14 11:04:50 ciao kishor Aug 14 11:05:07 thank you woglinde Aug 14 11:05:10 bye Aug 14 11:05:17 Vaizki: https://www.tindie.com/products/spirilis/beaglebone-black-ftdi-friction-fit/ Aug 14 11:06:35 koen: anything important changed I should know before I push aarch64 change to angstrom? Aug 14 11:06:39 * KotH JIHADs for more open source! Aug 14 11:06:42 woglinde: inserting the SDcard does absolutely nothing in the log Aug 14 11:07:00 woglinde: booting with card already inserted fails with 4 leds on Aug 14 11:07:40 XorA: not really, I had to remove meta-aarch64 because it broke the build due to duplicate recipes in v2013.06, but meta-angstrom/master should work Aug 14 11:07:46 damnit, today I need to clean up the old server and install F19 and use it as an auto builder for angstrom Aug 14 11:07:59 koen: it does, I built an image for the model machines Aug 14 11:08:00 or ride my bike Aug 14 11:08:18 Crofton|work, I'd take the #2 option Aug 14 11:08:23 +2 Aug 14 11:08:28 maybe do both? Aug 14 11:08:45 ride bike in a red hat Aug 14 11:09:00 koen: but eglibc 2.18 currently doesnt work so need to hold eglibc back Aug 14 11:09:29 crofton f19 are you sure? Aug 14 11:09:30 I see Aug 14 11:09:43 crofton you have to reinstall for f20 Aug 14 11:10:00 Crofton|work: F19 works as a buildmachine, v2012.12 and v2013.06 have all the needed texinfo 5.x and gcc 4.8 backports Aug 14 11:10:02 XorA: have you poked the toolchain team on it? Aug 14 11:10:18 I already have F19 running on this machine Aug 14 11:10:26 suihkulokki: AFAIK they are aware, I found the info from linaro bug Aug 14 11:10:44 toolchain team, hah Aug 14 11:11:14 Spirilis: that is nice. good work there, and.. Shipping not available to Finland. The seller has been notified and asked to create a rate for your country. Aug 14 11:11:56 blaaa hm than try another sdcard Aug 14 11:19:18 learnign a new IDE sucks Aug 14 11:19:28 why learn any at all? Aug 14 11:20:27 because writing code for a PIC micro without it Aug 14 11:20:36 woudl be almost impossible. Aug 14 11:20:41 emacs? Aug 14 11:22:51 hm I thougt its all eclipse Aug 14 11:23:04 which one? Aug 14 11:23:15 they all have their own bastardised version of it Aug 14 11:23:32 I think that's what keeps hard disk makers in business these days Aug 14 11:25:55 * XorA used to write PIC code in vim, no IDE needed Aug 14 11:26:13 maybe it needs to written right to left? Aug 14 11:26:40 little endian? Aug 14 11:28:10 arab endian Aug 14 11:28:31 14bit instruction memory and 8 bit data memory Aug 14 11:30:50 it's only real little endian when you write bit 0 first Aug 14 11:32:00 av500: and iee758 if you would write 1 first, but leave that out to save space Aug 14 11:33:13 I always leave out 54 zeroes at the start Aug 14 11:33:41 two 26-bit words Aug 14 11:35:31 115200 26n26 Aug 14 11:42:12 woglinde: yes, good idea, the card works perfectly fine in other devices (card reader, phones...) though Aug 14 12:21:15 hi. a little confused on the boot process on beaglebone black. Is x-loader still used or is it replaced by u-boot SPL? Aug 14 12:21:29 it's spl Aug 14 12:21:38 not that it really matters Aug 14 12:21:40 they do the same thing Aug 14 12:21:51 I know they do the same. Just confused.. Aug 14 12:22:38 seeing lots of x-loader references on the net, but no traces of it when booting. Aug 14 12:22:50 well, xloader was a hacked up uboot anyway Aug 14 12:22:58 so its all the same Aug 14 12:23:53 Is the SPL support for beaglebone black all in mainline u-boot, or is some other things needed? Aug 14 12:24:46 mainline Aug 14 12:25:32 which mainline do you recommend? Aug 14 12:25:46 because all images I have says the u-boot is a dirty (i.e. patched) build. Aug 14 12:26:13 what is the correct board type in u-boot? Aug 14 12:26:20 well you have to "patch" in the default environment at least.. I think.. Aug 14 12:26:29 so if there is no uEnv.txt the thing will still boot Aug 14 12:26:41 no Aug 14 12:27:00 default env did boot for me Aug 14 12:27:12 the only thing I patched was to tell the PMIC to draw >500mA from USB Aug 14 12:27:12 ok well that's nice Aug 14 12:27:35 default mainline uboot that you compiled yourself? Aug 14 12:27:41 av500, which board name in u-boot? There is no exact match from what I can tell. Aug 14 12:28:18 because I patched the PMIC power draw in uEnv.txt Aug 14 12:28:32 am335x Aug 14 12:28:34 something Aug 14 12:28:35 I didn't see a reason to compile uboot myself just for that Aug 14 12:28:44 i'm trying to read encoders with BBB. in arduino there is a special lib for that called encoder.h . is there sonething like that for BBB? Aug 14 12:29:01 rotatary encoders? Aug 14 12:29:21 same lib will work on BBB, if you change the low level access to GPIO reading Aug 14 12:29:21 special lib called encoder.h ... Aug 14 12:29:34 for dc motors Aug 14 12:29:53 Vaizki: c is hard, lets go python Aug 14 12:30:07 Vaizki: python is hard, lets go node.js Aug 14 12:30:22 node.js is hard, let's go scratch? Aug 14 12:30:29 oe_: https://plus.google.com/104712705716996155416/posts/PLHFv62P6ht Aug 14 12:30:32 like that? Aug 14 12:30:42 am335x_evm? Aug 14 12:30:47 yes Aug 14 12:31:03 Surfin'! Aug 14 12:31:56 av500: so the mainline uboot includes a ready made am355x section that has mmc probing and kernel / rd / flat dt loading stuff in it to boot the BBB? Aug 14 12:32:19 no.. like that: Aug 14 12:32:20 http://www.mayankits.com/index.php?id_product=21&controller=product Aug 14 12:33:39 oe_: like for reducing stepper motor error? Aug 14 12:33:44 looks awfully rotary to me Aug 14 12:33:52 Vaizki: yes Aug 14 12:34:06 I think so Aug 14 12:34:09 for dc motor speed control Aug 14 12:34:20 I bet it rotates Aug 14 12:35:15 ok so rotary... i just want to read the frequency of the signal from the encoder Aug 14 12:35:20 right Aug 14 12:35:21 so Aug 14 12:35:22 I wouldn't buy from anyone using that tacky typeface Aug 14 12:35:38 on arduino you can do that from a lib since you can access interrupts directly Aug 14 12:35:51 on the BBB, running linux, you would need to have a kernel driver Aug 14 12:35:56 and I think there are some Aug 14 12:36:57 is it a quadrature encoder? Aug 14 12:37:03 Ok, found http://www.eewiki.net/display/linuxonarm/BeagleBone+Black#BeagleBoneBlack-Bootloader:U-Boot which seems up to date. And there is a patch for updated env + some HW tuning. Aug 14 12:37:14 Vaizki: yes Aug 14 12:37:18 quad + index Aug 14 12:37:55 https://www.kernel.org/doc/Documentation/input/rotary-encoder.txt Aug 14 12:37:58 env changes also include gpio settings. Aug 14 12:38:24 did someone write a kernel driver for the am335x quadrature encoder pulse modules? Aug 14 12:38:34 does it have any? Aug 14 12:38:38 sure Aug 14 12:38:47 well, you project for the weekend Aug 14 12:38:51 your Aug 14 12:38:55 or oe_ 's Aug 14 12:39:13 :D Aug 14 12:39:18 https://github.com/Teknoman117/beaglebot/tree/master/encoders Aug 14 12:39:20 something there Aug 14 12:40:43 it even assumes you have a BBW or BBB Aug 14 12:40:50 just roll with it Aug 14 12:40:58 Thanks! I'll check.. probably be back soon with more questions.. Aug 14 12:43:36 now we just need the patch in mainline ;) Aug 14 12:43:47 btw how long does it take to compile the kernel on the BBB itself? Aug 14 12:44:00 no idea Aug 14 12:44:05 never felt the need for it Aug 14 12:44:07 I don't have buildbox at least not yet Aug 14 12:44:19 haven't even looked into how much hassle that would be Aug 14 12:44:23 is that a special PC for biold ing kernels? Aug 14 12:44:35 building.. Aug 14 12:44:46 no I mean crosscompiling stuff on a x86 for aem Aug 14 12:44:48 arm Aug 14 12:45:01 ARCH=arm CROSS_COMPILE= ... Aug 14 12:45:04 done Aug 14 12:45:26 http://26-26-54.hardwarebug.org/167 Aug 14 12:46:50 av500: hmmh you mean my arch gcc should cross compile to arm out of the box? Aug 14 12:47:07 I thought I need a whole toolchain set up Aug 14 12:48:15 Vaizki: you need an ARM toolchain, these are readily available, even from the repo's if you run Ubuntu Aug 14 12:48:22 right Aug 14 12:48:44 or grab a linaro prebuilt one if you're lazy Aug 14 12:49:46 Vaizki: you need a toolchain Aug 14 12:49:53 but not a whole "buildbox" Aug 14 12:50:04 like you dont need an "excel" box Aug 14 12:50:35 but you pretty much do need a "ccs" box Aug 14 12:50:49 :) Aug 14 12:57:03 I might as well have ubuntu vm for cross compiling if they have the toolchain in the repos Aug 14 13:00:39 Vaizki: you can download a prebuilt toochain from here: https://launchpad.net/linaro-toolchain-binaries/+download Aug 14 13:01:29 Vaizki: there are docs in share/docs within the downloaded archive for help on using it, esentially adding /opt/toolchain/bin to the path AFAIK Aug 14 13:01:52 so gcc-linaro-arm-linux-gnueabihf-4.8-2013.07-1_linux.tar.xz is probably the right one? Aug 14 13:02:13 Vaizki: if you run Linux, then yes, Armv7 linux is what you're looking for Aug 14 13:02:33 yea .. there is no mac packages ;) Aug 14 13:02:49 mac is hell Aug 14 13:02:59 Vaizki: not even Linaro steeps to that level ;) Aug 14 13:03:07 *stoops Aug 14 13:03:44 hmpf Aug 14 13:04:38 Vaizki: hey, you use macosx mountain lion? Aug 14 13:05:33 sure Aug 14 13:05:47 well I have SL on one or two macs still Aug 14 13:05:59 ah, just be aware with that ftdi board, it uses the FT230X chip and a coworker had trouble finding drivers from FTDI for mountain lion Aug 14 13:06:05 not sure if that's changed but I thought it was very odd Aug 14 13:06:10 FTDI's official drivers only supported up to Lion Aug 14 13:06:14 alas, it works great with snow leopard Aug 14 13:06:19 and I added a shipping rate for Finland. Aug 14 13:06:26 hit me? Aug 14 13:06:31 or do I have to go check? :) Aug 14 13:06:34 oh, $7 Aug 14 13:06:52 if I order 5, it's still $7 for all of them? Aug 14 13:07:17 uhm, let me calculate that :) I didn't account for that Aug 14 13:07:56 oof, no, then it jacks up to like $15 Aug 14 13:08:01 dang Aug 14 13:08:12 ok :) Aug 14 13:08:50 anybody know how many device connect with bluetooth at same time Aug 14 13:08:59 just changed the rate in tindie to reflect that Aug 14 13:09:01 roughly 0.3 Aug 14 13:09:24 it's basically $1 extra for every 1oz extra I guess (28g) Aug 14 13:11:01 7 comes to mind but it's hard. Aug 14 13:11:01 ok thanks, I'll check it out in the evening when I have a BBB handy, see how it would work Aug 14 13:12:07 during my j2me days it was hard to get any device to connect to an other Aug 14 13:12:24 keesj: hence the 0.3 figure Aug 14 13:14:17 does anyone knows a way to read rotary encoder frequency (up to 2KHz) without developing and installing a new kernal? Aug 14 13:14:21 kernel Aug 14 13:14:27 no Aug 14 13:14:32 dude Aug 14 13:14:39 maybe dude knows Aug 14 13:14:50 the dude is a windows program Aug 14 13:15:01 the dude abides Aug 14 13:15:22 2khz from users space wont work Aug 14 13:15:39 ? Aug 14 13:16:02 ! Aug 14 13:16:13 someone else? Aug 14 13:16:30 the bbb has a quadrature encoder unit built in Aug 14 13:16:45 just get that working (even if it involves a new kernel) Aug 14 13:16:47 yea and I even pointed oe at the kernel patch Aug 14 13:16:53 not good enough Aug 14 13:17:00 it has to work without oe_ doing anything Aug 14 13:17:06 other than whining on IRC Aug 14 13:17:19 well he could whine here until it's in mainline kernel Aug 14 13:17:34 then he still has to install it Aug 14 13:17:39 which he does not want to do Aug 14 13:17:42 [15:14:17] does anyone knows a way to read rotary encoder frequency (up to 2KHz) without developing and installing a new kernal? Aug 14 13:18:07 have chad write you a kernal Aug 14 13:18:16 then kang it Aug 14 13:19:29 maybe av500_ can write me a new kernel.. i bet he knows how Aug 14 13:19:47 install TI-RTOS Aug 14 13:19:53 betcha it has a quadrature encoder driver Aug 14 13:20:17 and then he can install it for me.. so that i wouldn't have to do anything Aug 14 13:22:21 I am almost afraid to dig in and look at what TI-RTOS is, but somehow I feel like I should Aug 14 13:23:55 hello all Aug 14 13:24:01 oe_: that can be negotiated Aug 14 13:25:05 Has anyone else noticed RNC builds (debian specifically) for the BBB filling up the drive via logs? Aug 14 13:25:27 oe_: Also - PRU programs do not require a new kernel Aug 14 13:25:28 I thought only journald did that on angstrom Aug 14 13:27:43 Spirilis: TI RTOS looked like a half-assed attempt at vendor lock in via a free ready-config'd RTOS Aug 14 13:30:19 of course you could just run bare metal with starterware libs Aug 14 13:30:24 who needs an OS anyway Aug 14 13:31:19 Vaizki: ah k, that was my suspicion. Aug 14 13:34:55 I have been out of linux kernel dev stuff after like 2.2 or something.. there must be a way to compile something like the QE module without recompiling the whole kernel? Aug 14 13:35:26 there is Aug 14 13:35:46 not too versed in it myself but there's probably some way to finagle that eQEP driver into a module Aug 14 13:36:30 yea I'm guessing you'd have to just make a module out of it and put in a dto .. hmm Aug 14 13:39:12 you can always /dev/mem the driver Aug 14 13:39:18 aka, do an arduino Aug 14 13:39:24 I like how you think Aug 14 13:39:42 finally Aug 14 13:40:26 isn't that do a samsung? Aug 14 13:40:27 actually it looks like that driver already has module support Aug 14 13:44:39 ah, there ya go Aug 14 13:47:12 [kernel] clacey09 opened pull request #56: Fix for HDMI Not Working With Some Monitors (3.8...3.8) http://git.io/iYkDsw Aug 14 14:03:14 [kernel] koenkooi pushed 8 new commits to 3.8: http://git.io/CwqlyA Aug 14 14:03:14 kernel/3.8 2b8f0cd Cody Lacey: Remove Whitelist Blacklist Modes Patch and DT Bindings... Aug 14 14:03:14 kernel/3.8 9f2dada Cody Lacey: Fix for drm initialization before i2c probe... Aug 14 14:03:14 kernel/3.8 fe151a2 Cody Lacey: Increase Allowable Supported Resolutions... Aug 14 14:07:46 fun fact, a certain chinese supplier of wifi modules does not own a frequency counter Aug 14 14:07:46 reassuring Aug 14 14:08:05 but they do check for solder bridges.... Aug 14 14:08:30 what good is a frequency counter if your solder is bridged, right? Aug 14 14:08:50 right Aug 14 14:15:15 http://www.youtube.com/watch?v=3Jaf5ILvVmQ Linaro LMP looks good for testing Aug 14 14:50:49 Hi Guys, do you know if there is any chance to connect USB host to some GPIO pins on the expansion header for BBB? Aug 14 14:53:47 I have heard of people bit-banging USB 1.0 with microcontrollers. You’ll probably have to use a level-shifter for the voltage. Aug 14 14:54:42 what !? Aug 14 14:54:43 connect USB to GPIO o nthe header ? Aug 14 14:54:45 Why not use the actual USB controller it has, though? Aug 14 14:54:54 too practical Aug 14 14:55:02 krix: can you please restate your question in a way that makes sense? Aug 14 14:55:55 so we need our own expansion PCB on top BBB Aug 14 14:56:16 and we need USB host connected to this PCB Aug 14 14:56:45 TI data sheet says this: "The internal USB PHY can be configured to multiplex the UART3_TX or UART3_RX signals to this terminal. For more details refer to USB GPIO Details section of the AM335x Technical Reference Manual." Aug 14 14:56:52 8: ff:P-O-L Override Board Name,00A0,Override Manuf,bone_eqep0 Aug 14 14:57:01 encoder driver loads nicely btw Aug 14 14:57:18 now for that barndoor tracker mount... Aug 14 14:57:42 UART3 is connected to the BBB header, but I'm not sure how to multiplex USB to it under linux Aug 14 14:58:46 mru, know anything abou that ? first ive heard of it Aug 14 15:04:11 krix: you can wire a standalone usb host controller to the BBB Aug 14 15:04:13 on a cape Aug 14 15:04:18 SPI connected or so Aug 14 15:04:48 http://www.maximintegrated.com/datasheet/index.mvp/id/3639 Aug 14 15:06:25 https://www.sparkfun.com/products/9947 Aug 14 15:06:26 if arduino can drive it, so can the BBB Aug 14 15:08:34 av500: we could do that, but it'd be nice to use native USB host if possible Aug 14 15:10:06 krix: then use it Aug 14 15:10:13 its all wired up already Aug 14 15:10:13 ah... Aug 14 15:10:25 he wants to pinmux the usb wires onto the header pins Aug 14 15:10:32 s/wires/pins/ Aug 14 15:11:24 KotH: yep, that's the ideal solution Aug 14 15:11:54 krix: read the TRM / datasheet, if it says you can do it, then DT all things Aug 14 15:12:11 krix: and next time state your question in a way that makes sense :) Aug 14 15:14:35 krix: btw: the uart wires are not impedance controlled an probably also not wired in parallel. using them for usb would be a bad idea Aug 14 15:16:48 you cannot Aug 14 15:16:56 pinxmux USB there Aug 14 15:16:59 -x Aug 14 15:17:21 you can mux uart3 onto the usb pins Aug 14 15:17:24 not the other way round Aug 14 15:17:36 e.g. in order to debug a production device that has only usb exposed Aug 14 15:18:24 right ok, I have to look for the other solution Aug 14 15:18:31 thanks for help :) Aug 14 15:18:35 wires Aug 14 15:18:37 soler Aug 14 15:18:40 solder* Aug 14 15:18:42 soldering iron Aug 14 15:18:50 and some slaves Aug 14 15:19:10 do infidels make good slaves? Aug 14 15:19:54 they get converted Aug 14 15:21:08 yep, we were thinking of wires & soldering iron, maybe this'd be our solution for the prototype Aug 14 15:21:26 slave are almost always infidels Aug 14 15:22:21 if it's for a harem, you have to physically prepare the slaves for the job first, though Aug 14 15:23:08 cards Aug 14 15:23:11 tons Aug 14 15:24:24 anyone have experience running these with a BBB? http://www.amazon.com/Channel-External-Sound-Laptop-Notebook/dp/B001LIMH6U Aug 14 15:25:07 flufmnstr: research if it works with Linux, if the answer is yes, then it should be ok on the BBB Aug 14 15:26:12 chinese noname Aug 14 15:26:17 find out what chipset Aug 14 15:26:20 thats what i figured. im looking that up now. i was jsut hoping for first hand feedback Aug 14 15:26:23 or buy something proper Aug 14 15:27:12 mrpacket_: FYE http://www.ipblox.com/pubs/Ferrite_beads/Understanding%20Ferrite%20Beads%20and%20Applications.pdf Aug 14 15:27:40 from the stellar amazon reviews, it does not even seem to work with drivers Aug 14 15:27:59 flufmnstr: these usually are recognized as ubs sound devices, so you have a good chance they work. but you get what you pay for Aug 14 15:28:15 flufmnstr: "generic" usb sound device Aug 14 15:46:28 anybody there??please reply Aug 14 15:47:24 It works better if you ask a question. Aug 14 15:48:04 Hi, i want to know whether angstrom linux is real time operating system or not?? Aug 14 15:48:14 it's not Aug 14 15:48:16 it's linux Aug 14 15:48:31 http://26-26-54.hardwarebug.org/157 Aug 14 15:48:53 YOu could however get an RT kernel to run it, like RT_PREEMPT. Aug 14 15:48:58 which real time OS does beaglebone black support?? Aug 14 15:49:05 qnx should work Aug 14 15:49:20 I've run it without problem on the whitebone Aug 14 15:50:01 RT kernal Aug 14 15:50:13 is it a linux kernal?? Aug 14 15:50:32 Yes, RT_PREEMPT is a Linux mostly-realtime kernel. Aug 14 15:50:45 so it's realtime except when it's not Aug 14 15:50:49 If you need actual, hard realtime, look at QNX and other real RTOSen. Aug 14 15:51:00 mru: Right, which can be useful. Aug 14 15:51:08 I didn't say otherwise Aug 14 15:51:18 actually i want linux Aug 14 15:51:21 but it won't help if you happen to be in one of the except cases Aug 14 15:51:24 which is real time Aug 14 15:51:27 OK, then go RT_PREEMPT. Aug 14 15:51:31 linux is not realtime Aug 14 15:51:34 end of story Aug 14 15:51:50 vinay_: What are you trying to accomplish? Aug 14 15:51:58 RT_PREEMPT gives better realtime performance in some cases but not all Aug 14 15:52:07 i want to develop quadcoptor using beaglebone Aug 14 15:52:24 and i want RT linux kernal for that Aug 14 15:52:53 Yeah, the RT_PREEMPT kernel will probably be OK for that. Aug 14 15:52:59 so how to install RT preempt on beaglebone?? Aug 14 15:53:30 vinay_: I suggest praying to the almighty Google. Aug 14 15:53:36 how to install it to make it work for beaglebone?? Aug 14 15:54:13 does beaglebone.org provide any support for that?? Aug 14 15:55:03 does beaglebone.org provide any support for RT_PREEMPT?? Aug 14 15:55:59 No. Aug 14 15:56:10 But neither does it provide much support for anythign else. Aug 14 15:56:27 can you suggest something to get support for it?? Aug 14 15:56:49 Like any computer, what you do with it is your own business--there are numerous guides online on how to use RT_PREEMPT, and there are probably ones specific for the bone. Aug 14 15:58:23 can you suggest any RTOS that beaglebone.org supports for beaglebone black?? Aug 14 15:58:46 No, because beaglebone.org does not support RTOSen for the bone. Aug 14 15:58:51 I suggest using Google. Aug 14 15:59:41 kk thanx Aug 14 16:07:05 lol Aug 14 16:07:13 elderberries eh Aug 14 16:07:32 morning btw Aug 14 16:07:41 monty python insult Aug 14 16:07:43 hey old trolls Aug 14 16:07:58 yeah forgot about that mru Aug 14 16:08:29 think my favorite quote from that movie would be "bring us a shubbery!" Aug 14 16:08:36 denix: why you hate cats? Aug 14 16:09:31 mranostay: why not? Aug 14 16:10:09 because cats rock Aug 14 16:10:29 our dogs think so too mranostay Aug 14 16:10:38 tasty i think the word would be Aug 14 16:11:10 unfortunately cats look too much like rabbits, and rabbits dont last logn here :/ Aug 14 16:11:43 evil dogs Aug 14 16:12:03 what crime against humanity dogs you have? Aug 14 16:12:17 we dont keep cats here nor would we allow one Aug 14 16:12:29 because of our dogs, but i personally like cats Aug 14 16:12:42 * m_billybob likes all animals Aug 14 16:12:54 well, most anyway Aug 14 16:12:55 even trolls? Aug 14 16:13:09 sure why not Aug 14 16:13:27 feed them a few beers and they pass out ;) Aug 14 16:13:33 few? Aug 14 16:13:45 a few kegs Aug 14 16:13:46 yeah the few part is "subjective" Aug 14 16:13:48 if 8 is a few then yes Aug 14 16:14:28 I had a teacher once who insisted that "a few" was 3-5 Aug 14 16:14:32 no more, no less Aug 14 16:14:35 heh Aug 14 16:14:50 more than one or two ( couple ) but not a whole lot Aug 14 16:14:59 exactly Aug 14 16:16:10 i know some people who would definately consider 8 "a few" in terms of beer Aug 14 16:16:51 that depends on the time period Aug 14 16:16:52 over an 8-hour period it's no problem Aug 14 16:16:58 for me 8 is too much lol Aug 14 16:17:06 even over a week? Aug 14 16:17:09 well now days when i was in the army 8 wasnt enough Aug 14 16:17:10 <_av500_> depends on the glass size too Aug 14 16:17:23 pints of course Aug 14 16:17:30 16oz Aug 14 16:17:35 whatever that works out to Aug 14 16:17:44 no no, imperial pints Aug 14 16:17:47 though here in the US 12oz is typical Aug 14 16:18:29 mru imperial pint ? what does that work out to ? half a keg ? lol *honestly doesnt know* Aug 14 16:18:49 1 imperial pint is about 1.2 us pints Aug 14 16:19:17 it's 20 imperial ounces, which are a bit smaller than us ounces Aug 14 16:19:42 hello Aug 14 16:19:50 just under 20oz stadard oz yikes thats good sized Aug 14 16:19:57 standard* Aug 14 16:20:03 whats up sam_ Aug 14 16:20:18 568 ml for you metric people Aug 14 16:20:29 * m_billybob nods Aug 14 16:20:46 we have something here slightly larger 24oz standard Aug 14 16:20:47 <_av500_> you could be drinking beer in Cologne from 200ml glasses Aug 14 16:20:49 is beaglebone black take one hour to boot from new custom SD card image ? Aug 14 16:20:51 <_av500_> there, 8 is nothing Aug 14 16:21:07 sam_ bbb takes one hour to flash appproimetly Aug 14 16:21:20 err appproximetly* Aug 14 16:21:42 _av500_: you can do that in belgium too Aug 14 16:21:45 sam_ you downloaded a flasher image it seems was that intentional ? Aug 14 16:22:48 That mean if we want to learn customized embedded linux then beagleboard-xm is better than BBB beacause it take very short time,right ?? Aug 14 16:22:56 no Aug 14 16:23:57 sam_ there are two types of angstrom images availible from circuitco, one flashes an updated angstrom to the internal eMMC, and the other is just boot. it seems like to methat you downloaded an flasher image Aug 14 16:24:22 1 hour to boot is faaaaar too long Aug 14 16:25:28 sam_ is your native tongue english ? Aug 14 16:25:46 No Aug 14 16:26:30 German ? Aug 14 16:26:46 he seems to be in india Aug 14 16:27:11 ok i dont speak hindi at all :/ Aug 14 16:27:23 I want to buy beagle board and confuse in between BBB and BB-xm.So I thought longer boot time is drawback of BBB from sd card . Aug 14 16:27:32 <_av500_> no Aug 14 16:27:37 m_billybob: there are a few words in english of hindi origin Aug 14 16:27:47 <_av500_> sam_: the BBB boots as fast as the XM Aug 14 16:28:15 perhaps even faster from the eMMC ? or does that XM have onboard flash too ? Aug 14 16:28:30 we don't talk about the ones that do Aug 14 16:28:37 that means we configure BBB to boot from SD card like BB-xm ? Aug 14 16:28:50 <_av500_> you can, yes Aug 14 16:29:02 <_av500_> no flash on the XM Aug 14 16:29:23 _av500_: I have one with flash Aug 14 16:29:33 but bad ram instead Aug 14 16:29:34 <_av500_> jaja Aug 14 16:31:17 I also make arm-unknown-linux-uclibcgnueabi based toolchain using crosstool-ng for BB-xm.Can it also work with BBB? Aug 14 16:31:32 <_av500_> yes Aug 14 16:31:41 <_av500_> armv7 for both Aug 14 16:32:53 Thanks a lot !! Aug 14 16:34:47 i wonder where he got the impression the bbb takes one hour to boot Aug 14 16:34:58 somone spreading FUD ? Aug 14 16:35:23 <_av500_> boot != boot Aug 14 16:35:27 <_av500_> I guess it flashes Aug 14 16:35:32 or maybe updating emmc instructions didnt translate well Aug 14 16:40:03 no one from the PRU/JTAG? **** BEGIN LOGGING AT Wed Aug 14 16:42:31 2013 Aug 14 16:59:27 Is there a thing you can add to a dts file that exposes a GPIO pin that does the equivalent of echo N >/sys/class/gpio/export, echo in >/sys/class/gpio/gpioN/direction? Aug 14 17:10:29 how to erase eMMC image with uSD image in beaglebone Black ? Aug 14 17:13:59 Hi all Aug 14 17:18:18 how to boot beaglebone black from uSD card without erasing eMMC image ? Aug 14 17:20:08 Just put a uSD card image on the card, and boot. Aug 14 17:20:19 Make sure it ius not the image that erases the eMMC. Aug 14 17:22:06 "who" does swtich on the user leds when the bbb boots? Aug 14 17:23:02 the blue led fairy Aug 14 17:23:53 and where does the fairy live? in some bootloader? Aug 14 17:30:22 from where I get non-eMMC erase kernel image ? Aug 14 17:31:01 holy spamming G+ Aug 14 18:30:23 action Aug 14 18:32:30 how to force beaglebone black to boot from sd card insteaf of eMMC ? Aug 14 18:32:35 skipped the lights, camera... Aug 14 18:33:10 or was thaqt while my computer was rebooting due to a shitty ups here at the office... Aug 14 18:34:58 ram_: It does by default. Just put a properly-formatted card with image into the bone. Aug 14 18:35:52 umm.. does and does not. you can make sure by disconnecting the power, putting in SD card, pressing boot and keeping it pressed, then connect power Aug 14 18:36:21 But in manual it mentioned that BBB select eMMC for booting. Aug 14 18:36:33 Yeah, if there is no card available to boot from. Aug 14 18:36:45 If there is a card with an image, it will boot from it. Aug 14 18:36:46 if you don't press the boot button at power on (note: reset is not enough, must be power on), then it will load SPL and uboot from eMMC. but the default uboot on eMMC will load kernel from uSD if it's present Aug 14 18:38:06 so that's why I said yes and no.. uboot will come from eMMC and kernel from uSD .. IF you have default stock uboot on eMMC Aug 14 18:41:07 Vaizki: Does it really matter where u-boot is loaded from if the end result is that the system installed on the uSD card is botted and fuinctioning? Aug 14 18:42:08 well it happens to work for now. which is kind of a bug on the stock image. nothing guarantees they won't change the stock ångström tomorrow so that if spl+uboot come from eMMC then kernel will also Aug 14 18:42:15 which would be much more logical Aug 14 18:42:26 but I find there are two images one for flashing eMMC and one for booting directly from uSD.Is that true ? Aug 14 18:42:45 are you talking about ångström? Aug 14 18:42:56 yes Aug 14 18:43:54 could be. I don't know Ångström really Aug 14 18:44:06 #angstrom guys might know better Aug 14 18:44:29 And what if I used everything is customized including kernel,bootloader,rootfs ? Aug 14 18:45:06 ram_: ...if everything is customised, then I suggest you ask the person who customised it. Aug 14 18:45:10 ? Aug 14 18:45:30 And if you are the one who customised it, then I suggest reading the documentation harder. Aug 14 18:46:17 for the am3559 on the board it doesn't matter if you are booting from uSD or eMMC, the partition scheme and contents are basically the same Aug 14 18:46:45 the flasher image is just a convenient card image that will boot from uSD and overwrite the eMMC with a prepared image Aug 14 18:47:28 am3359 even :) Aug 14 18:47:39 how to make custom image which is boot directly (without erasing eMMC) and first as mentioned above ? Aug 14 18:48:01 * agmlego gives up. Aug 14 18:48:30 <_av500_> take the emmc flash image and delete the flasher Aug 14 18:48:34 <_av500_> emm.sh Aug 14 18:48:36 <_av500_> emmc.sh Aug 14 18:48:58 http://downloads.angstrom-distribution.org/demo/beaglebone/ Aug 14 18:49:09 I would assume those instructions work Aug 14 18:58:45 go insane Aug 14 18:59:17 always sound advice Aug 14 18:59:31 http://26-26-54.hardwarebug.org/189 Aug 14 18:59:35 heh Aug 14 19:00:44 if I delete emm.sh and emmc.sh ,then is there any problem arises when booting from eMMC ? Aug 14 19:02:02 now I give up Aug 14 19:02:11 how about reading what's in them :D Aug 14 19:02:16 oh new junk? 2013-07-31 Aug 14 19:04:26 * mranostay dances in Aug 14 19:04:50 http://26-26-54.hardwarebug.org/125 Aug 14 19:07:32 hm he was from india? Aug 14 19:08:22 aren't they all? Aug 14 19:09:00 Kind of figured as much from the nick. Aug 14 19:09:21 figures from the ip address too Aug 14 20:05:11 and this is why Opensource is so well.. Aug 14 20:05:12 http://dangerousprototypes.com/2013/08/14/open-source-diy-cellphone/ Aug 14 20:38:04 Russ: how do you store your flux? Aug 14 20:38:26 in a syringe, somewhere in a box Aug 14 20:38:30 paste goes in the fridge though Aug 14 20:38:55 Russ: speical fridge? Aug 14 20:40:14 nope Aug 14 20:40:23 is that safe? Aug 14 20:40:36 i assume that toaster isn't ever used for food right? Aug 14 20:40:39 its lead free, even if it was, lead isn't a volatile substance Aug 14 20:40:51 yes, it is its own toaster Aug 14 20:41:20 Hello! Aug 14 20:41:23 isn't it loaded with cadmium? Aug 14 20:41:32 the toaster? Aug 14 20:41:39 solder paste Aug 14 20:41:42 I have been trying to get my BBB to do npm install but keep getting a odd error http://pastebin.com/gjvX8jyC Aug 14 20:41:46 I use sac305 Aug 14 20:41:59 96.5% tin, 0.5% copper and 3% silver Aug 14 20:41:59 google has not been a friend today Aug 14 20:42:09 I'm not sure what solder contains cadmium Aug 14 20:43:12 I dont' keep my paste in teh fridge Aug 14 20:43:19 its fine. Aug 14 20:43:33 keeps fora few weeks Aug 14 20:43:36 then i go and get some more Aug 14 20:43:40 from teh factory Aug 14 20:43:42 :-) Aug 14 20:43:42 yes, for a few weeks its fine Aug 14 20:43:56 I'm forutnate that i can do that Aug 14 21:36:41 Hello Aug 14 21:37:00 http://pastebin.com/gjvX8jyC Aug 14 21:40:33 em_pleh you can read or? Aug 14 21:40:35 gyp: binding.gyp not found Aug 14 21:46:58 node crap? Aug 14 21:47:26 * mranostay hides from jonmasters Aug 14 21:52:22 mranostay no chance Aug 14 21:52:24 and gn Aug 14 21:56:21 Has anyone successfully hooked up a DS18B20 to their beaglebone black? Aug 14 21:58:19 jrover: yes, standard hookup. Aug 14 21:58:24 jrover is that dallas 1-wire ? dont know abotu that particular one assumign it is but people have talked about / done 1-wire on the groups Aug 14 21:58:28 ah ok nvm Aug 14 21:58:48 yeah it works Aug 14 21:59:25 Ah ok. I have it working on an arduino with C code, but didn't know how to move over to a beaglebone, whether to use Bonescript, or compile C code, or what Aug 14 21:59:35 jrover: it was the 3-wire setup, not the 2-wire. Aug 14 22:00:02 jrover: I just read it from the SPI device file, whose name I can't recall. Aug 14 22:00:42 death to nodejs people! Aug 14 22:01:03 * m_billybob is currently setting up a node.js development vm Aug 14 22:01:05 jrover: you can use the weathercape overlay Aug 14 22:01:15 * mranostay loses respect for m_billybob Aug 14 22:01:47 mranostay will be outside world abstraction. all my bits and bobs internally will still be C/C++ Aug 14 22:02:41 http://26-26-54.hardwarebug.org/105 Aug 14 22:02:48 mranostay, however, if you have a better suggestion i am all ears. seriously. this is my first fortay into the linux appliance arena Aug 14 22:02:59 have you considered fortran? Aug 14 22:03:14 uh, not since the 60's ? Aug 14 22:03:33 Ok I'll check out the weathercape as well. Ideally I'd like to plug in directly to the beaglebone black and run some software to grab the temp. I don't think I need additional hardware / capes to do that... Aug 14 22:03:40 m_billybob: Algol 60 forever! Aug 14 22:03:44 but seriously not since i was in JRhigh in the early 80's Aug 14 22:03:47 hey, since we're talking about spi. is anyone familiar with the FIFO's in the new mcspi driver? Aug 14 22:03:51 jrover: no my point is the setup for the one wire is there Aug 14 22:03:54 good example Aug 14 22:04:03 Ah ok - great! Aug 14 22:04:06 we are talking about SPI? Aug 14 22:04:15 1wire != SPI Aug 14 22:04:16 well i thought it was mentioned a few times Aug 14 22:04:23 m_billybob: http://www.nag.com/sc22wg5/ Aug 14 22:04:25 jrover: no, you don't. You need one pin, a sensor, a 4.8K pullup, and a shell script to read the result. Aug 14 22:04:28 (2:59:35 PM) seckford: jrover: it was the 3-wire setup, not the 2-wire. Aug 14 22:04:28 (3:00:02 PM) seckford: jrover: I just read it from the SPI device file, whose name I can't recall. Aug 14 22:04:32 fortran is live and well Aug 14 22:04:33 dropped in too late and was out of context Aug 14 22:04:43 ah ok Aug 14 22:04:47 mru, are you being serious or ... ? Aug 14 22:04:52 * m_billybob is reading . . . Aug 14 22:04:56 seckford - I have that setup and working with my arduino Uno, Aug 14 22:05:05 m_billybob: I don't even know what you're doing Aug 14 22:05:06 just want to move over to the beaglebone to get network Aug 14 22:05:06 haha okay Aug 14 22:05:15 but fortran has to be better than javascript Aug 14 22:05:25 well jrover, you should be able to use the existing linux spi driver to talk to it without a problem Aug 14 22:05:28 jrover: once again I'm typing too late - it is of course 1wire not SPI. However, everything else is correct. Aug 14 22:05:33 i rather code in brainfuck than javascript :) Aug 14 22:05:38 ahhh! Aug 14 22:05:57 this is horrible, i'm sorry for dropping in and confusing everything Aug 14 22:06:03 http://26-26-54.hardwarebug.org/155 Aug 14 22:06:10 http://26-26-54.hardwarebug.org/198 Aug 14 22:06:16 mru, id use snorkle if it was well supported on ARM but unfortunately it doesnt seem to be yet. and seems semi stale in that regard Aug 14 22:06:39 the ARM framework been beta for quite a while now Aug 14 22:06:40 mru: wow there are a lot of javascript quotes Aug 14 22:06:50 well on a side note, back to my original question, is anyone intimately familiar with the mcspi? Aug 14 22:07:12 no i'm not in sexual relationship with mcspi Aug 14 22:07:18 louiz9201: ask your question Aug 14 22:08:22 jrover: I use a two-wire setup on Arduino's, but the BBB needs a 3-wire. Aug 14 22:08:45 whats this 3-wire stuff ? Aug 14 22:08:51 we talkign SPI ? Aug 14 22:08:54 I have a three wire. I wired it to work in parasite mode for my arduino example but can unbridge the 2-wire to become 3-wire Aug 14 22:09:50 m_billybob: no, 1Wire, power, data, ground => 3 wire. Pulled-up data, ground => 2 wire. Aug 14 22:09:54 i'm writing a interface driver for some code using starterware. In my ISR that is triggered on TXFFE (based on XFER Level) i fill the TX fifo while polling TXFFF. When i get full, i notice that 70 bytes have been transferred as opposed to the 64 that was reported as it's size. I am not seeing any data loss though. The next time through the isr it appears the fifo is disabled and i am only able to write into the shift register directly. I am i Aug 14 22:10:54 I also have DS18B20 working great on my BBB Aug 14 22:11:23 so now im leftign wondering whats the difference between 1-wire and spi lol Aug 14 22:11:31 im left wondering* Aug 14 22:11:34 they have nothing in common Aug 14 22:11:39 except that SPI can also be 4-wire Aug 14 22:12:13 m_billybob: well, spi is what, four wire? Aug 14 22:12:14 haha 1-wire is asynchronous. the data is clocked and sampled asychronously (like uart). SPI has a clock and data line Aug 14 22:12:23 one wire is also addressed, while spi has chip selects Aug 14 22:12:23 jrover: why can't you do that on a bbb? Aug 14 22:12:41 1wire is dallas (maxim) proprietary sensor "bus".. all devices are active on it at the same time Aug 14 22:12:43 yeah was jus tthinking abotu that 1-wire also has no CS line ? Aug 14 22:12:46 ah ok yeap Aug 14 22:12:56 each device has ID burned into it Aug 14 22:13:30 you absolutely can, the pru's are great for this kind of thing. however most one-wire devices i have seen are relatively slow so to dedicate a 200mhz to only talk 1-wire is a shame. you should be able to write a simple driver to toggle a gpio to get data Aug 14 22:14:02 (i work on the bare-metal and would be absolutely useless for helping you integrate that into linux) Aug 14 22:14:08 yeah SPI is pretty fast Aug 14 22:14:11 there is a ready made driver Aug 14 22:14:11 wel lcan be Aug 14 22:14:18 [root@alarm etc]# cat /sys/bus/w1/devices/28-000004240267/w1_slave Aug 14 22:14:18 4e 03 4b 46 7f ff 02 10 a3 : crc=a3 YES Aug 14 22:14:18 4e 03 4b 46 7f ff 02 10 a3 t=52875 Aug 14 22:14:25 louiz9201: well, there's already a 1Wire driver if you want it. Aug 14 22:14:32 52.875°C in my water heater Aug 14 22:14:47 no that's fine. i was hoping someone could shed some light on fifo management in the mcspi peripheral Aug 14 22:15:14 how did you water proof the sensor? Aug 14 22:15:34 epoxy? Aug 14 22:15:51 WD40 ;) Aug 14 22:15:52 my water is sensor-proof Aug 14 22:17:17 heh Aug 14 22:18:22 oh it's actually surface mounted to the boiler.. on a blind brass plug that blocks one of the holes in the stainless steel tank Aug 14 22:18:59 not the best setup but I don't require great accuracy :) Aug 14 22:19:45 debian.org repo seems to be gettign hammered atm Aug 14 22:19:57 1byte/s lovely Aug 14 22:20:00 and if you want them waterproof, might as well order something like this Aug 14 22:20:01 http://www.ebay.co.uk/itm/10pcs-DS18b20-Waterproof-Temperature-Sensors-Temperature-Transducer-T1K-/380617471460?pt=UK_BOI_Electrical_Components_Supplies_ET&hash=item589e91b5e4 Aug 14 22:20:10 I have a few of those and they work fine Aug 14 22:20:35 basically they are epoxy potted inside Aug 14 22:21:51 actually here's a good writeup on 1wire access in BBB Aug 14 22:21:52 http://hipstercircuits.com/dallas-one-wire-temperature-reading-on-beaglebone-black-with-dto/ Aug 14 22:39:24 grrr typi ruining my day Aug 14 22:39:28 typo too Aug 14 22:40:43 address 192.168.x.x \ netmask 255.255.255.0 \ gatway 192.168.x..x gee why is google.com destination unreachable ? Aug 14 22:42:02 Hello Aug 14 22:42:15 hi Aug 14 22:42:41 I am having a issue doing npm install time Aug 14 22:43:28 is there a known issue? Aug 14 22:43:33 Em_pleh so at the risj of sounding like a smart ass why are you askign here and not in #node Aug 14 22:43:36 m_billybob: can i ruin your day instead? Aug 14 22:43:58 risk but yeah Aug 14 22:44:01 well its running a linux build that came with BBB Aug 14 22:44:08 mranostay isnt that you're job ? Aug 14 22:44:25 your<---- Aug 14 22:44:35 m_billybob: Ok so a more direct BB question, can I flash the emmc via usb? Aug 14 22:44:54 shouldnt be a problem Aug 14 22:45:17 m_billybob: can you direct me to a tutorial as I have not been able to find one. Aug 14 22:45:24 ive never actually done it myself but i hjave booted from USB Aug 14 22:46:07 Em_pleh well thats more of a general linux question / use case Aug 14 22:46:28 not really as its beagle board capability in question here Aug 14 22:46:36 m_billybob: now your sounding like a smart ass Aug 14 22:46:43 not really Aug 14 22:46:59 thats liek askign me if you can instal debian on a pc from USB Aug 14 22:47:16 USB or USB Drive Aug 14 22:47:39 theres a difference when your connected via a usb/serial connector and a usb drive boot Aug 14 22:47:47 what is npm? Aug 14 22:47:57 npm is a node package manager Aug 14 22:48:03 Vaizki node package manager Aug 14 22:48:24 oh. great. does anyone use node.js here? Aug 14 22:48:32 I do Aug 14 22:48:34 I don't know anyone Aug 14 22:48:52 well you're the one asking questions so it doesn't really count does it? :) Aug 14 22:48:59 Em_pleh ok so what is it exactly that you want to do, do you want to flash the onboard flash via the usnet interface or do you want to flash the onboard flash via the hsot USB Aug 14 22:49:11 host USB* Aug 14 22:49:24 I want to flash the onboard EMMC via usb Aug 14 22:50:01 ok, so you would boot via SD card, network, or USB, and then its a matter of running the flasher from USB Aug 14 22:50:31 or you could do it all manually Aug 14 22:50:38 ok so I dont have a sd card, that my problem. So i am trying to find instructions on how to flash from usb Aug 14 22:51:15 when I say usb meaning usb/serial/network connector on BBB Aug 14 22:51:24 p4 port Aug 14 22:51:41 you can't boot from usb stick Aug 14 22:51:49 sure can Vaizki Aug 14 22:52:14 well ok if you have SPL+uboot on eMMC or uSD Aug 14 22:52:14 perhaps not into angstrom ive never done that but it will work for debian ARCH or busybox Aug 14 22:52:46 but im still not sure what Em_pleh is talkign about Aug 14 22:52:52 ko Aug 14 22:52:54 ok Aug 14 22:52:57 me neither. I'm going to sleep now. Aug 14 22:53:00 USB/Serial/Network connector <---- what is this ? Aug 14 22:53:07 m_billybob: p4 port Aug 14 22:53:28 help me out here what is a p4 port ? Aug 14 22:53:36 you talkign about UART4 ? Aug 14 22:53:52 you talkign about the mini USB ? Aug 14 22:53:58 mini usb Aug 14 22:54:05 its designated as p4 Aug 14 22:54:09 i do not think that is possible. Aug 14 22:54:19 ok can i via usb drive? Aug 14 22:54:33 the normal connector on the other side it is possible Aug 14 22:54:35 yes Aug 14 22:54:38 the host side Aug 14 22:54:42 ok Aug 14 22:54:52 so do i flash the drive with a armstrong image? Aug 14 22:55:35 assuming you mean angstrom, you can I believe but i have not personally tested it Aug 14 22:55:43 i know this is possible with debian Aug 14 22:55:55 angstrom is a bit differnt but *should* work Aug 14 22:56:00 ubuntu maybe? Aug 14 22:56:25 maybe. again i have not tested it. here is the deal let me give you where i am comming from Aug 14 22:57:03 ive written some instructions to do netboot, and USB boot for debian. i had one of my readers tellign me the netboot instructions do not work with ubuntu fedora or angstrom Aug 14 22:57:33 i assumed it would work. here again I am assume the USB boot instructions woudl work too, but perhaps they may not Aug 14 22:57:50 where are your instructions Aug 14 22:57:57 what i do know that does work is booting angstrom from sd card Aug 14 22:58:14 http://www.embeddedhobbyist.com/ Aug 14 22:58:59 anyhow read the USB boot instruction they're generic and should giveyou an idea how to acomplhish what you want Aug 14 22:59:15 accomplish ? Aug 14 22:59:25 * m_billybob gives up typing reasonbly well today Aug 14 22:59:34 m_billybob: ill try it now Aug 14 23:00:46 beagleboard.org RMA form seems to be non-functional... Aug 14 23:00:59 oh? Aug 14 23:01:07 It just generates an email Aug 14 23:01:25 jkridner: hey json! Aug 14 23:01:30 Clicking submit didn't appear to actually do anything Aug 14 23:01:42 It should create an email... Aug 14 23:01:52 your browser might not have a mailer configured. Aug 14 23:02:01 hey mranostay! Aug 14 23:02:18 I'll view source and just email directly then... Aug 14 23:02:29 Guest73233: If you just create an e-mail specifically with those fields, you should be fine. Aug 14 23:02:44 k, thanks Aug 14 23:02:54 under Firefox, you can use the instructions at http://support.mozilla.com/en-US/kb/Changing%20the%20e-mail%20program%20used%20by%20Firefox to setup a mailer. Aug 14 23:03:30 Em_pleh anyhow im going ot be in and out, i have company so if you have any questions ill try to answer but may not be at the keyboard for logn periods of time Aug 15 00:10:09 fixed Aug 15 00:10:09 total used free shared buffers cached Aug 15 00:10:09 Mem: 498 23 475 0 0 7 Aug 15 00:24:36 now im compiling asterisk let's see how well this works Aug 15 00:42:42 JFK911, let me know how it works Aug 15 00:42:47 what distro are you using? Aug 15 00:53:08 well i have to reload the bone again because i broke connman, disabled the gadget and dont want to wire a uart Aug 15 00:54:56 * prpplague thinks JFK911 must be one of those people that try to use blade screw driver with a philips head screw Aug 15 00:55:33 that can actually work Aug 15 00:55:43 angle it just right Aug 15 00:55:52 now the other way around...that's a true challenge Aug 15 00:56:14 if the blade is the right width, you don't even need to angle it Aug 15 00:58:00 right tool for the right job Aug 15 00:58:13 the right tool is the one you have at hand Aug 15 00:58:20 (unless you are in the middle of a zombie apocalypse) Aug 15 00:58:36 then shotgun is the right tool Aug 15 00:58:53 hehe Aug 15 01:22:09 goddamn im having some performance issues with the bbb that i really hoped wouldn't exist Aug 15 01:22:57 I have an interrupt going on one pin, (literally all that does is count++;), and then a timer once a second displaying count and resetting it to zero Aug 15 01:23:00 really basic freq counter Aug 15 01:23:22 best i can get out of that is 2k interrupts/sec Aug 15 01:23:32 any suggestions on increasing that Aug 15 01:24:52 (for the record that's one interrupt every 500,000 clock cycles... i feel like surely i oughtta be able to do better) Aug 15 01:25:31 Stoob: so why do think you should be doing better? Aug 15 01:25:59 Stoob: You are running this on the bare metal, right, or at least on an RTOS? Aug 15 01:26:04 because 500,000 clock cycles is a buttton Aug 15 01:26:22 I'm running this on node.js through the only beaglebone black ide i can seemingly find Aug 15 01:26:35 If I could do it on an RTOS that'd be great Aug 15 01:26:47 Oh, fuck that shit nthen. Aug 15 01:26:53 ^ Aug 15 01:26:56 YOu realise how much other stuff is running? Aug 15 01:26:59 any suggestions on an RTOS for the BBB? Aug 15 01:27:13 Get a real OS and language if you want performance. Aug 15 01:27:15 I'm asking for suggestions on how to do this better, not reasons why it isn't Aug 15 01:27:21 a real OS such as? Aug 15 01:27:24 Stoob: Sure, I hear good things about QNX. Aug 15 01:27:26 Stoob, what are your timing requirements? Aug 15 01:27:38 Stoob: well first node.js is not the best of choices Aug 15 01:27:42 Russ: even 20khz would be great for me Aug 15 01:27:45 Stoob: You might even get OK results from RT_PREEMPT. Aug 15 01:27:57 prpplague: and yet that's the only apparent supported IDE for the BBB Aug 15 01:27:59 hence my frustration Aug 15 01:28:00 linux without js crap would do much better Aug 15 01:28:03 Stoob, so gpio changes 20khz, what action do you need to take, just a counter? Aug 15 01:28:05 Stoob: ide? Aug 15 01:28:10 yeah Russ Aug 15 01:28:12 Stoob: uh why do you need an ide? Aug 15 01:28:14 integrated design env Aug 15 01:28:17 I don't necessarily Aug 15 01:28:21 but I'm just saying Aug 15 01:28:32 Stoob: Or, honestly, just using a compiled langauge. Aug 15 01:28:35 The beagleboard.org has zero support for anything other than the cloud9 node.js Aug 15 01:28:37 Stoob: and no that isn't the only one, it's just that no one uses them Aug 15 01:28:46 hence >supported Aug 15 01:28:54 Stoob: What support do you need? Aug 15 01:28:58 It is a generic Linux box. Aug 15 01:29:01 Stoob: that's just it, it has nothing to do with "beagleboard" it has to do with linux Aug 15 01:29:10 Stoob: ANYTHING that works with linux works with beagle Aug 15 01:29:13 Anything you can do on any other Linux box, you can do on the bone. Aug 15 01:29:19 see, shipping the boards with software is a bad idea Aug 15 01:29:22 So, vim + gcc + C. Aug 15 01:29:38 Stoob, If you just need a counter, use eCAP Aug 15 01:29:39 it has everything to do with beagleboard, because I'm doing beagleboard specific stuff, toggling specific GPIO pins and working PWMs and such. Yes I know other linux boxes tend to have those things Aug 15 01:29:47 (see the PWMSS chapter in the TRM) Aug 15 01:29:56 but they're not necessarily implemented the same way as in the BBB Aug 15 01:30:07 They pretty much are actually. Aug 15 01:30:14 This is the point of DT. Aug 15 01:30:32 Stoob: gpio and pwm are not specific to beagle Aug 15 01:30:42 Stoob: same functions are available on any linux system Aug 15 01:30:44 (looking into even the C++ source of the bonescript library, it effectively just uses wrappers around the sysfs implementation of them) Aug 15 01:30:54 Stoob: Basically, ditch the interpreted language, and try again. Aug 15 01:31:21 And if you still need better performance, try a kernel-level driver, and then look at RT systems. Aug 15 01:31:30 another option is to just use gpio key to a assign an interrupt to the gpio Aug 15 01:31:32 Do you have any resources on using a compiled language with (ideally) the BBB's GPIO interrupts, or less ideally, any linux GPIO work Aug 15 01:31:34 then you can count the interrupts Aug 15 01:31:45 Russ: that's basically what i'm trying to do Aug 15 01:31:46 another option is to use the PRU Aug 15 01:31:51 cat /proc/interrupts? Aug 15 01:32:10 Russ: you read my mind Aug 15 01:32:13 * Stoob writes that down Aug 15 01:32:42 but at 20kHz, there is certainly a possibility of losing interrupts Aug 15 01:33:14 latencytop can tell you what your maximum latency is, it'd need to be below 50uS Aug 15 01:34:15 if all you care about is counting, run it through an external counter Aug 15 01:34:20 Well there are several ~2khz interrupts Aug 15 01:34:30 mru, bah, love on the PRU Aug 15 01:34:31 would that make it more or less likely to lose em Aug 15 01:34:57 Stoob, if you have a lot of rtos requirements, the PRUs are your friend Aug 15 01:35:13 I'll look into them too Aug 15 01:35:16 and eCAP and PWM are also handy for specific applications Aug 15 01:35:29 prpplague: if the blade is small enough why not? that's not as wrong as using a phillips driver on a pozidriv fastener head Aug 15 01:35:41 (and possibly eQEP) Aug 15 01:36:30 Russ: any resources on using eCAP/PWM with C/C++? Aug 15 01:36:31 JFK911: or phillips on torx Aug 15 01:37:08 I've been trudging through https://git.kernel.org/cgit/linux/kernel/git/stable/linux-stable.git/tree/Documentation/gpio.txt?id=refs/tags/v3.8.11 < this for the past couple of days Aug 15 01:37:19 JFK911: point is if you are going to do that level of development, spend $10USD and get the right tools Aug 15 01:37:34 Stoob, start with the TRM Aug 15 01:37:48 then checkout the PWM subsystem in kernel Aug 15 01:38:01 Stoob: what is it you are trying to count on the gpio? Aug 15 01:38:14 I don't think there is any kernel support for eCAP right now, that's why PRUs might be a good option Aug 15 01:38:15 Stoob: what is the input from? Aug 15 01:38:35 prpplague: it's the effort. I have a um232 module and jumper wires here. Aug 15 01:38:45 crankshaft position sensors/ hall effect sensors / rotary encoders and the like Aug 15 01:38:57 prpplague: besides i took a bunch of bong rips while it was reflashing Aug 15 01:39:04 Stoob, ya, you should read the pwm chapter, you might get happy Aug 15 01:39:10 * prpplague 's point has been made Aug 15 01:39:17 Russ: I'm not sure what the TRM is Aug 15 01:39:20 mru: torx in hex socket! Aug 15 01:39:34 Stoob: technical reference manual Aug 15 01:39:45 JFK911: hex in torx works in a pinch Aug 15 01:39:46 Uses for eCAP include ... "Speed measurements of rotating machinery (for example, toothed sprockets sensed via Hall sensors)" Aug 15 01:39:50 thank you, is it the same thing as the SRM? Aug 15 01:39:59 Same thing, new name. Aug 15 01:40:15 Stoob: no Aug 15 01:40:28 http://www.ti.com/general/docs/litabsmultiplefilelist.tsp?literatureNumber=spruh73h Aug 15 01:40:34 Ahhhhhhhh thank you muchly Aug 15 01:40:47 <3 all ya'll Aug 15 01:40:54 * Stoob gets a lot of reading on Aug 15 01:41:04 mru: ruined one of my driver ends :( Aug 15 01:41:11 Stoob, the docs on PRUs on are wikis elsewhere (google) Aug 15 01:41:22 yeah I Found some PRU docs Aug 15 01:41:35 does gcc support the pru yet Aug 15 01:41:37 JFK911: how about flat blade jammed into a torx with centre pin? Aug 15 01:41:43 but googleing beaglebone black TRM wasn't getting me anywhere :p Aug 15 01:41:49 * Russ finally updates from spruh73f to spruh73h Aug 15 01:41:49 mru: that's how you break the center pin out :) Aug 15 01:42:37 spruh73c ftw Aug 15 01:42:48 mru, is that the one with a PRU chapter? Aug 15 01:42:54 yes Aug 15 01:43:02 Stoob: two things to remember: 1) beaglebone black is JUST another linux system and anything that works under linux works the same on black 2) you are running an operating system which does have a lot of hardware abstraction which means you don't get the same performance as running baremetal Aug 15 01:43:16 Nah, I absolutely understand that Aug 15 01:43:23 but I don't feel like 20khz is anywhere near unreasonable Aug 15 01:43:31 (at least for simple counting) Aug 15 01:43:46 prpplague, yes, but that's what all the handle IP is for on the am335x Aug 15 01:44:08 Stoob, like I said, a simple interrupt handler might be able to do it, you'd have to run latencytop to find out Aug 15 01:44:08 computers don't care about feelings Aug 15 01:44:36 human.getFeels(); Aug 15 01:44:48 question, what do these commands, optargs=quiet drm.debug=7, do? Aug 15 01:44:54 Russ: sorry i did not understand your statement Aug 15 01:45:18 that linux has limitations when it comes to being able to do bare metal stuff Aug 15 01:45:42 but the am335x has PRUs, PWM, eCAP, etc Aug 15 01:46:39 Russ: ahh right Aug 15 01:47:15 Russ: understood, but my comment was to the fact that Stoob was using node.js to base his performance evaluation on Aug 15 01:47:21 god yes the eCAP looks like everything I ever wanted... now to figure out how to make it work Aug 15 01:47:32 prpplague: nah I totally understood that node was likely limiting me in a huge way Aug 15 01:47:37 prpplague, if node.js had eCAP support, he'd have it on easy street Aug 15 01:48:15 but it's just I couldn't seem to find any way to make it faster within the linux ecosystem i'd been given on the bbb :p Aug 15 01:48:20 actually, just optargs Aug 15 01:48:49 XFaCE, most u-boot scripts stuff optargs into the kernel command line Aug 15 01:48:54 and I still may end up having to write my own kernel mode hijinks, but I can deal with that if it makes everything wonderful Aug 15 01:49:00 thx Aug 15 01:49:05 I' Aug 15 01:49:27 I am willing to sacrifice in order to keep my USB wifi/bluetooth/etc and microSD and ethernet support :p Aug 15 01:49:48 m trying to boot SD-card by default without button, and I think if I copy the uenv.txt from the Arch Linux ARM to the MMC, it should work Aug 15 01:50:29 XFaCE: my BBB tends to boot from SD without button, just flashing the images I found from Beagleboard.org Aug 15 01:50:50 well, following links from beagleboard.org Aug 15 01:51:23 Stoob: with the stock OS? Aug 15 01:51:33 The default environment on the u-boot on the eMMC will look for a something to boot on the uSD. Aug 15 01:51:34 thanks again Russ BTW, I'm now all sorts of excited again :p Aug 15 01:51:37 I updated to the latest and it doesn't boot to SD card Aug 15 01:51:49 it stops at 3 lights Aug 15 01:52:11 if the eMMC has a valid boot image, but that image doesn't try to boot from uSD, that's when you need to hold the button to force it to boot first from uSD. Aug 15 01:52:50 jkridner: What if it's a sort of half-way situation, where it stops at 3 lights without button? Aug 15 01:53:36 if you pull the uSD card, does it boot? Sounds like it is hanging on loading the kernel. Aug 15 01:53:46 hello Aug 15 01:53:47 * jkridner looks at when each LED is lit Aug 15 01:54:06 jkridner: yes Aug 15 01:54:16 if it's not plugged in, it boots Aug 15 01:54:27 if it's plugged in and button is pressed, also boot Aug 15 01:54:28 anyone know a script to keep trying to connect to wifi? Aug 15 01:59:59 LED turn-ons are here: https://github.com/beagleboard/meta-beagleboard/blob/master/common-bsp/recipes-bsp/u-boot/u-boot-denx/0011-am335x_evm-HACK-to-turn-on-BeagleBone-LEDs.patch Aug 15 02:00:17 if 'loaduimage' fails, then the last LED won't turn on. Aug 15 02:01:22 XFaCE: do you have a serial cable? Aug 15 02:01:39 depends Aug 15 02:01:49 3.3V cable. Aug 15 02:02:13 you mean AC Adaptor? Aug 15 02:03:06 if so, yes Aug 15 02:03:13 5V Aug 15 02:03:31 no, I mean a serial cable to read the output from the bootloader. Aug 15 02:03:54 I don't think so Aug 15 02:04:06 where does that plug in on the BBB? Aug 15 02:05:46 http://circuitco.com/support/index.php?title=BeagleBone_Black_Accessories#Serial_Debug_Cables Aug 15 02:05:55 it is the male pins on the top of the board. Aug 15 02:10:05 booting up to an SD card on BBB - how do i expand the FS to full size? Aug 15 02:11:09 I do not have one that converts to usb Aug 15 02:11:57 funkster: Same way you do it onany Linux machine--with the filesystem unmounted, use parted to expand the partition, then the filesystem utility to grow it. Aug 15 02:12:29 funkster: For common filesystems, gparted knows how to do both of these, so it is probably your easiest bet. Aug 15 02:16:16 dressed to kill Aug 15 02:16:31 oops Aug 15 02:16:34 wrong channel Aug 15 02:20:25 how can i tell if i am booted into SD card ot internal emmc? would fdisk show /dev/sdX if i was? Aug 15 02:33:43 funkster: look at the LEDs Aug 15 02:40:50 funkster `df -h` should tell you the size of the rootfs if nothing else works Aug 15 02:41:15 well.. i think its not expanded Aug 15 02:45:52 Yeah I tried using a pl2303, couldn't figure out which pin was what at first, then i just decided the whole thing wouldn't work Aug 15 02:45:57 don't think I had the pinout right Aug 15 02:45:59 ohwell Aug 15 02:46:36 Stoob: why not spend $10 and get one that has the correct pinout? Aug 15 02:46:48 because I had this one laying around :p Aug 15 02:47:02 I'd used it in the past to un-brick a seagate HDD Aug 15 02:48:11 and it's only got 3 pins, easy enough to figure out which one's ground, shorting the other two gave me a good echo, but when i plugged it into the BBB as a certain wiki told me to didn't work with or without the rx/tx swapped around Aug 15 02:49:06 so im guessing the wiki i used was wrong or i had the pinout of the bbb's serial backwards. the cable was old and fragile and one of the pins broke off when I pulled it off the bbb to try again so I just left it at that Aug 15 02:49:13 wasn't something i required anyway Aug 15 02:49:55 * prpplague has never understood that kind of attitude... Aug 15 02:50:31 well it was just like "huh supposedly the bbb has a serial coming off there, maybe i'll try it" Aug 15 02:50:44 thing breaks off "eh, I have more important stuff to work on" Aug 15 02:51:25 I'll crimp a new pin on it some other day Aug 15 02:51:36 (the cable, that is) Aug 15 02:52:18 The plan for my BBB is to become somewhat of an electronic dashboard + datalogger for my motorcycle Aug 15 02:53:03 So I don't terribly need HDMI, serial, or even usually USB, it should be standalone save for downloading said data **** ENDING LOGGING AT Thu Aug 15 02:59:59 2013