**** BEGIN LOGGING AT Sun Jun 02 02:59:58 2013 Jun 02 03:19:17 Is there a way to adjust the brightness level of the LEDs? They're kinda blinding as they are. =) Jun 02 03:19:42 For the beaglebone black, that is. Jun 02 03:35:14 haha. Jun 02 03:35:22 cib0, black shapie pen Jun 02 03:35:23 :-) Jun 02 03:35:36 they are going to change them for the next release Jun 02 03:35:55 Alright =P Jun 02 03:36:03 lots of complaints about that Jun 02 03:36:12 sriously, i used a marker pen Jun 02 03:41:37 Have someone here support BBB? Jun 02 03:42:39 Have someone here tried to make BBB CPU Running at 1GHz? I have tried to do so, every time it fails! Jun 02 03:43:07 so I think the CPU on this BBB just support 800MHz, not 1GHz? Am I right? Jun 02 04:04:16 Guest22604: the black does 1GHz, I'm using Debian and it steps up the speed as required, but with Angstrom it would run at 1GHz whenever I plugged it in via AC adapter Jun 02 04:26:14 Hi Folks. I am having a lot of trouble getting the script setup_sdcard.sh to run. Jun 02 04:27:02 I am getting the error Partiotn on /dev/mmcblk0 have been written but we have been unable to inform the kernel of this Jun 02 04:27:33 I have tried 3 sd cards, I can format them under windows.. Jun 02 04:31:24 what distro? Jun 02 04:31:26 what hardware? Jun 02 04:31:47 marcwolf: can you past your complete command line that you use for setup_sdcard.sh ? Jun 02 04:34:29 Beagblebone Black. Debian wheezy 7.0.0 Jun 02 04:35:22 ./setup_sdcard.sh --mmc /dev/mccblk0 --boot bone-dtp Jun 02 04:35:53 marcwolf: if you want to try a less stressful method.. http://www.armhf.com/index.php/boards/beaglebone-black/ Jun 02 04:38:47 Thanks.. I'll give that a try. I want to run from the SD card as I need the space. Also looking to install Gnome as I will be doing simleCV Jun 02 04:38:50 marcwolf: I installed ubuntu 13.04 on a BBB with no issue. I think I used the autodetect for the mmc, but you need to be careful to make sure you are writing to the right device. Jun 02 04:39:09 marcwolf: and i'm running it from the SD card too Jun 02 04:39:21 marcwolf: the eMMC still has angstrom Jun 02 04:39:52 same for me re ubuntu 1304 Jun 02 04:39:53 No - the eMMC is running Debian.. Just trying to get the SD Card all set up Jun 02 04:40:04 nbd either way Jun 02 04:40:15 the image is the lazy / easy way Jun 02 04:40:17 ndb?? sorry Jun 02 04:40:19 no big deal Jun 02 04:43:13 Ah I understand Jun 02 04:45:50 I've been writing the images onto a USB stick and mounting it as tmp to get the working space Jun 02 04:49:22 After (if) In get the image running then putting chome on should be fairly simple Jun 02 04:56:25 if you want fancy graphics, then why are you using a BBB Jun 02 04:56:31 it just doe'sntmake sense Jun 02 05:01:35 plenty of graphs power on the omap Jun 02 05:01:37 graphics* Jun 02 05:02:29 I need the graphics to run SimpleCV for some experiments. Jun 02 05:05:42 After the BBB becomes basically a dedicated processor to plot the XY cord of blobs Jun 02 05:21:19 Hi all Jun 02 05:22:53 hey Jun 02 05:25:51 So.. whats the omap? Jun 02 05:26:28 the cpu on the bbb Jun 02 05:26:33 ti omap4 Jun 02 05:27:13 maybe not omap4 Jun 02 05:27:14 but omap Jun 02 05:27:18 think 4.. i forget Jun 02 06:01:16 Hi risc Jun 02 06:02:02 hi marcwolf Jun 02 06:02:54 Not sure how to paste private messages on irc yet Jun 02 06:03:33 you mean how to message someone? /msg username MESSAGE or /query username Jun 02 06:03:37 depends on your client Jun 02 06:03:40 Anyway - finally getting img on sd-card Jun 02 06:03:48 glad to hear it Jun 02 06:03:51 working as expected? Jun 02 06:04:45 Well - just created 4gb card.. and mow trying for the 8gb one. If that works then I'll try installing gnome etc Jun 02 06:14:20 Is there an alternative jtag header I can use instead of the Samtec FTR-110-03-G-D-06 connector? Jun 02 06:19:11 Just wondering.. how do I check WHAT the beaglebone has booted on Jun 02 06:23:06 marcwolf: you could just type "mount" and that should give you a run down Jun 02 06:23:17 hello, when I open the browser, my board does not connect Jun 02 06:23:21 <_av500_> that does not show where is boots from Jun 02 06:23:30 <_av500_> only whre the rootfs is mounted from Jun 02 06:23:48 <_av500_> yklgdsik756io: more details please Jun 02 06:24:24 It tells me to enter the ip address Jun 02 06:24:28 ok.. I believe my debian is running from the SD card.. but I need to be sure. Jun 02 06:24:58 <_av500_> wipe the emmc Jun 02 06:25:01 <_av500_> then you are sure Jun 02 06:25:11 ok.. how can I do that Jun 02 06:25:29 I know its prob dd but devices? Jun 02 06:25:46 <_av500_> remove the sdcard Jun 02 06:25:48 <_av500_> boot Jun 02 06:25:56 <_av500_> then moiunt the fat partition and delete MLO Jun 02 06:26:04 <_av500_> then it wont boot from emmc Jun 02 06:26:06 <_av500_> any more Jun 02 06:27:23 If I do that have I totslled everything i.e I annot ever boot on emmc again? Jun 02 06:27:34 <_av500_> ever Jun 02 06:27:42 <_av500_> until the heath death of the universe Jun 02 06:27:47 <_av500_> of course you can Jun 02 06:28:22 pleaese - I am looking for help here.. Not some joker waiting to get a thrill from hearing other destroy their systems. Jun 02 06:28:27 <_av500_> on your PC if you wipe the hard disk, is it bricked? Jun 02 06:28:49 <_av500_> if you reinstall to emmc, it will boot from emmc again Jun 02 06:28:50 No.. But the step to get a system back on it are much different from a PC. Jun 02 06:28:56 <_av500_> not really Jun 02 06:29:01 <_av500_> you boot from something else Jun 02 06:29:09 <_av500_> a SW that installs to HDD/emmc Jun 02 06:29:16 <_av500_> here the else is sdcard Jun 02 06:29:49 <_av500_> so far the only guy that managed to destroy his system was using a hammer Jun 02 06:30:12 <_av500_> so dont fear Jun 02 06:30:19 * mranostay can't hear Jun 02 06:31:56 Ok.. I've deleted MLO and rebooting without card just to check Jun 02 06:32:29 it still boots... Jun 02 06:35:41 _av It still boots from the eMMC Jun 02 06:36:24 <_av500_> then you did not delete it Jun 02 06:36:31 <_av500_> no MLO, no boot Jun 02 06:37:03 when I browse to my board (bone101) my beaglebone ip address is not recognized. Any ideas? Jun 02 06:40:17 Ok.. I have rebooted again with the SD card in.. and it's not booting at all Jun 02 06:40:49 unplug beagle, hold user2, plug beagle in Jun 02 06:42:16 Nope.. Light turn on.. and then turn off Jun 02 06:47:11 If I look in the sd card under windows I cann see MLO u-boot.img uEnv.txt should there be more? Jun 02 06:47:56 nope Jun 02 06:48:55 a wonderfull sunday JIHAD everyone! Jun 02 06:49:55 Ok.. I'm now goint to extract the debian image under windows and then image it onto the SD card. If this does nto work then I might have a damaged beagle Jun 02 06:51:04 <_av500_> no Jun 02 06:51:09 <_av500_> you cannot damage it that way Jun 02 06:52:22 marcwolf: i know you are old and have been doing computer since the dawn of time, but actually learning how the system works, would be in order Jun 02 06:54:16 Koth. I understand the principle. You take a compressed image. You extract it. You write int as raw data onto a blank SD card. you boot. Jun 02 06:54:42 marcwolf: knowing the technique is not the same as understanding the system Jun 02 06:54:51 However I have had ever error from scrips saying that it cannot write the lable onto SD cards (all 3 of my sd cards) Jun 02 06:55:42 well.. i you had understanding, you could figure out what that means and how to debug it.... Jun 02 06:56:20 at the moment, you sound like a monkey who follows a script and struggles at every step that doesnt work exactly as it should Jun 02 06:56:36 sure seems that people in here could learn 'tact' Jun 02 06:56:48 though, this is admitdely not #beaglehelp Jun 02 06:56:55 maxinux: i'm not very tactfull with people who insult me Jun 02 06:57:04 Koth - I have even put breakpoints and echo in the scripts and tracked it all to one command - writing the fs label.. which is why I am wondering if it is HW rather than software Jun 02 06:57:05 ok, i'm not very tactful most of the time ^^' Jun 02 06:57:37 KotH: ok the last one makes more sense Jun 02 06:58:00 marcwolf: sounds like issue with writing to partition v disk.. win32diskimager will work fairly reliably.. Jun 02 06:58:06 i tend to use dd Jun 02 06:58:14 marcwolf: you do know what a filesystem lable is and where it is written? Jun 02 06:58:16 though everything being xz'd makes that more interesting Jun 02 06:58:50 maxinux: xzcat blah |dd of=... ? Jun 02 06:58:51 Yes - it is the same as labelling an partition under dos. Jun 02 06:58:59 ^^; Jun 02 06:59:04 i give up... Jun 02 06:59:16 KotH: more _interesting_ not harder .. most people have enough issues with dd ... Jun 02 06:59:24 unless labelling say what kind of partition structure it will be Jun 02 06:59:26 maxinux: hmm.. ok... Jun 02 06:59:51 maxinux: what's difficult about dd? it's just a characterset converter :) Jun 02 07:00:06 hmm.. s/characterset/encoding/ Jun 02 07:00:57 if of bs count Jun 02 07:01:10 yes? Jun 02 07:01:19 people get overwhelmed and you know it Jun 02 07:01:26 not saying anything about those people Jun 02 07:01:28 just ... it happens Jun 02 07:01:29 * KotH sighs Jun 02 07:01:33 yeah.. i know Jun 02 07:05:19 Ok.. earlier I copyed and IMG onto an usb dive, mounted the USB drive on the Beagle, and then DD the IMG ontp /dev/mmcblk0 which is the sd card. I understand that to be the same as copying a disk image Jun 02 07:06:27 yeah thats not the best method Jun 02 07:06:39 from some other computer do the image writing Jun 02 07:07:26 Max.. I have just done that with another image onto a SD card.. and plugged it into the Beagle, and all I get is 2 leds that come on.. and go off and the board powers down Jun 02 07:07:43 that sounds like power Jun 02 07:07:49 got ethernet or anything plugged into it? Jun 02 07:08:35 KotH: i just looked up 'tact' in the dictionary, and there was a picture of you. Jun 02 07:08:47 tactless maybe Jun 02 07:09:16 marcwolf: just to check it out last night, i followed the instuctions for putting debian on a beagle's emmc Jun 02 07:09:19 Ok.. hmm - I have unpluged the ethernet and kb and it's not booting - so why was it booting on the Emmc before with no problems Jun 02 07:09:22 it worked as desribed first time Jun 02 07:09:37 you mean now or not? Jun 02 07:09:50 i think you mean now this time :D Jun 02 07:12:01 maxinux: just for refernece: marcwolf told me yesterday, that he doesnt give a damn about my help, because he has been doing xenix and cp/m before i was even born... Jun 02 07:12:37 KotH: how was your chocolate dreams? Jun 02 07:12:44 maxinux: so my temper with him is rather short... especially as he is struggling with the same things over and over while being told to take a step back and try to understand what he is doing Jun 02 07:12:44 is it like chocolate rain? Jun 02 07:13:09 mranostay: sweet enough, with lots of slowly melting delicious stuff :) Jun 02 07:13:49 mranostay: how was the beer? found a better bar this time? :) Jun 02 07:14:12 KotH: well, that sucks and would be rather lame of him to do :( im jaded a bit at this point due to the state of docs on bb and by some people in channels actions at first, it was a bit efnet ish at first, but whatever i got through that crap Jun 02 07:14:23 * mranostay about to head to a bar Jun 02 07:14:42 * mranostay got back from a Lamb of God show and hearing is shot Jun 02 07:14:55 hah nice Jun 02 07:15:04 maxinux: well.. the reaction depends highly on how you ask. everyone was a n00b once, but a lot of people who come here demand instant solutions for their problems Jun 02 07:15:17 like any irc channel Jun 02 07:15:30 Koth.. I did not say that I did not give a damd.. But rather I have been repeating the same steps as are on the web pages again and again.. and still not finding suceess.. To clarify - if one buys a car you can be failry certain that you can turn the key and it will start. However if all you hear are 'clunks' and someone tells you to keep turning the key or to buy a mechanic's manual then you will get short. Jun 02 07:15:34 yes and no. it got a lot worse after the release of the bbb Jun 02 07:16:03 more people saw more interesting non standard uses for the equip Jun 02 07:16:11 it seems like it should just kick the shit out of raspi for doign odd thing Jun 02 07:16:12 marcwolf: that's the point: you didnt buy a car. you bought an embedded linux development system Jun 02 07:16:14 things* Jun 02 07:16:25 marcwolf: that's like a kit to build a car, not a car in itself Jun 02 07:16:38 I am not looking to become an expert in linux system admin. I mearly wat to load an image onto the SD ram so I can then use the op system for running programs on Jun 02 07:16:56 marcwolf: wrong expectations Jun 02 07:17:12 maxinux: yes, the bbb beats the rpi in a lot of aspects Jun 02 07:17:24 but is not there in terms of software yet Jun 02 07:17:53 people also have to learn a lot going from x86 to arm with only experience being hacking an iphone or android device prior Jun 02 07:18:03 My specification were - very small form linux board with capability of running from batteries and having enought power to work with simplecv and a webcam so I can check positions of blobs Jun 02 07:18:04 it's nod dau-proof, yes Jun 02 07:18:32 maxinux: understanding how linux actually works would help a lot. but a lot of people dont even bother to get that... see marcwolf Jun 02 07:18:51 I had a test case running on a Raspberry Pi in less than a day but the speed was too slow. Oh - yes - I also installed the Linux on the Pi Jun 02 07:19:14 marcwolf.. so, whatst he problem Jun 02 07:19:21 you can easily install debian on teh bbb Jun 02 07:19:28 either on an SD-card Jun 02 07:19:33 or on the emmc Jun 02 07:19:39 i dont' get what the issue is Jun 02 07:19:59 marcwolf: as i said, the bbb is not dau proof yet Jun 02 07:20:17 KotH: lol.. yeah... i dunno though, i kept running into dumb issues with the bbb over the first few days Jun 02 07:20:40 stupid stuff that i dont think anything other than getting through them once was going to fix... Jun 02 07:21:00 juup Jun 02 07:22:12 good morning _Sy_ Jun 02 07:22:27 _Sy_: did you get any further with your nss probs? Jun 02 07:23:41 the one thing i did'nt do, was use the windows sd card thing Jun 02 07:24:10 i just used dd from another debian machien to write to the sd-card Jun 02 07:24:17 <_Sy_> trying again this morning, just started the download for nss going again, I did a bit more searching last night and one of the headers it was missing pk11 is also part of the nss lib Jun 02 07:24:38 _Sy_: uh.. Jun 02 07:25:07 _Sy_: i hope you dont have to set up a whole pkcs11 thingy.. because that will be tiresome Jun 02 07:25:42 <_Sy_> me2...really would like to resolve this today, once the set-up is complete I have a ton of work to get on with Jun 02 07:25:54 * KotH knows the feeling Jun 02 07:26:13 Re the techical specs of a BBB... Does it detect wether is if running from the usb for power.. or from the 5V power socket. Jun 02 07:26:32 <_Sy_> Would like to get it all working with Angstrom as that looks like the most complete distribution so far. Jun 02 07:26:37 I do have a powered USB hub that it attaches to Jun 02 07:27:09 _Sy_: apropos: why didnt you add your app in the anström build system and let it compile for you? Jun 02 07:27:16 angsträm* Jun 02 07:27:19 er.. Jun 02 07:27:20 damn Jun 02 07:27:26 * KotH blames the keyboard Jun 02 07:28:20 <_Sy_> because to be 100% honest, I'm not that confident or knowledgeable with regard to linux Jun 02 07:28:35 hmm.. Jun 02 07:28:49 i thought angström had some pretty decent docs on how to setup the buildsystem Jun 02 07:29:20 <_Sy_> it may have, I'll take a look l8r, just wanted to get up and running fast Jun 02 07:29:32 ah.. ok Jun 02 07:31:41 marcwolf: the BBB runs slower when connected via USB if that's what you're asking Jun 02 07:32:07 hi , is it possible to run QNX on beaglebone black? Jun 02 07:34:37 should be Jun 02 07:35:02 QNX runs on arm and definitly on a couple of TI's processors Jun 02 07:35:11 we do not speak of that Jun 02 07:35:17 i dont know, whether they have the complete driver set for the AM3359 though Jun 02 07:35:44 mranostay: come on! there are worse things than QNX... like running out of beer, or windowsCE Jun 02 07:36:03 i rather go to AA than do WinCE crap :P Jun 02 07:36:03 mranostay: and weren't you heading for a bar? ;) Jun 02 07:36:13 <_Sy_> I use QNX at work on PC104 platform Jun 02 07:36:45 mranostay: AA? Jun 02 07:37:48 KotH: http://en.wikipedia.org/wiki/Alcoholics_Anonymous Jun 02 07:37:48 yogi__: best is to send qnx a mail and ask them directly Jun 02 07:38:07 mranostay: and there i thought, you were already a member ;-> Jun 02 07:39:38 thanks Jun 02 07:39:45 i will do so Jun 02 07:47:04 i'm just waiting for someone to come and ask how to install windows Jun 02 07:47:38 <_av500_> we had that Jun 02 07:47:41 <_av500_> windows CE Jun 02 07:49:23 more than once Jun 02 07:59:08 i'm still trying to figure out a reason to use angstrom Jun 02 07:59:28 there must be a compelling reason to use it Jun 02 07:59:34 i just dont' know what it is. Jun 02 07:59:40 <_Sy_> this seems hopeless....so frustated by lack of progress, one thing after another, can't build corosync due to dependance on nss, got nss I think but this is also a can of worms....whilst I consider myself a very good software engineer, the foundations of which I normally work are pretty solid....this is painful. Jun 02 07:59:45 once you get it tamed, it does a lot of stuf for you Jun 02 08:00:17 _Sy_: welcome to the world of cross compilation Jun 02 08:00:34 _Sy_: and yes, security libs are especially a pain..even when not cross compiling Jun 02 08:01:43 <_Sy_> So much to learn, not familiar with the syntax of so many of these files. Jun 02 08:02:00 The software is designed to operate on UDP/IP and InfiniBand networks natively. <- sounds like enterpriseware Jun 02 08:02:41 <_Sy_> build for nss looks incomplete...missing plarena.h Jun 02 08:03:21 _Sy_: see it from the bright side: by the time you are finished, you are an expert in linux and cross compilation :) Jun 02 08:04:13 <_Sy_> frustrating thing is the project I had in mind for this platform is not progressing...there is an option to disable nss but it doesn't work Jun 02 08:04:29 how about trying to fix that? Jun 02 08:04:35 it might be faster Jun 02 08:04:40 <_Sy_> just thinking the same Jun 02 08:11:28 <_Sy_> looking at the configure script there are both --disable- and --without- switches, I've found posts that say you can use either --disable-nss or --without-nss, however the configure script says unrecognised command Jun 02 08:12:36 <_av500_> mrpackethead: simple. its a cross compiled distro Jun 02 08:12:44 _Sy_: is it autoconf generated or is it a handwritten configure script? Jun 02 08:12:48 <_av500_> so you do not need a huge native compile cluster Jun 02 08:12:55 _Sy_: ie is there a configure.in file? Jun 02 08:12:58 <_Sy_> ./autogen.sh Jun 02 08:13:06 <_av500_> mrpackethead: for BBB users that might not be a reason Jun 02 08:13:15 _Sy_: you do want to have a look at autoconf and the configure.in file Jun 02 08:13:19 <_av500_> but for BBB makers it is Jun 02 08:13:20 <_Sy_> No configure.in Jun 02 08:13:27 thanks, thats the 1st time, i've heard a straight forward simple answer that makes sense Jun 02 08:13:29 <_av500_> since it does not rely on a 3rd party distro Jun 02 08:13:33 <_Sy_> there is a configure.ac Jun 02 08:13:54 and i've obviously missed it Jun 02 08:13:55 _Sy_: ah.. right.. .ac not .in ^^' Jun 02 08:14:01 <_av500_> its easiest to support all the hw if the SW is under your control Jun 02 08:14:35 <_av500_> also, 3-4 ys ago, ubunut and debian et all were nowhere near Jun 02 08:14:38 <_av500_> in terms of arm Jun 02 08:19:16 yes, thats for sure Jun 02 08:19:17 the x-compile thing is a bit of an issue for us actually Jun 02 08:19:55 <_av500_> ? Jun 02 08:20:14 just sometimes it takes a long tome to compile Jun 02 08:20:32 <_av500_> well, cross is way faster than native Jun 02 08:20:38 yes. Jun 02 08:20:54 when you can give the cross a lot of CPU grunt Jun 02 08:21:25 <_Sy_> ok, small step forward, have removed dependancy on nss, by commenting out PKG_CHECK_MODULES([nss],[nss]) Jun 02 08:21:34 <_av500_> mrpackethead: all the cores I have Jun 02 08:21:36 <_Sy_> now configure runs without error Jun 02 08:21:59 fortuantly 98% of the code we are writing can be written on other platforms Jun 02 08:22:01 _Sy_: does it build ? :) Jun 02 08:22:03 <_Sy_> make now complains, fatal error: pk11pub.h: No such file or directory Jun 02 08:22:04 compiled and tested Jun 02 08:22:07 <_av500_> mrpackethead: sure Jun 02 08:22:10 <_av500_> I do the same Jun 02 08:22:13 and if it works, then we can move it over Jun 02 08:22:30 we have been discussing trying to set up a x-compiler Jun 02 08:22:54 <_av500_> you make it sound scary Jun 02 08:23:15 <_Sy_> there are 3 Makefile's (Makefile, Makefile.am and Makefile.in) is 'in' the tempate? Jun 02 08:23:17 the discussion, or doign it? Jun 02 08:23:23 <_av500_> both Jun 02 08:23:33 <_av500_> _Sy_: automake hell is well documented Jun 02 08:23:44 _Sy_: grab yourself a tutorial on automake Jun 02 08:23:49 _Sy_: skim trough it Jun 02 08:23:54 <_av500_> or follow flameeyes Jun 02 08:23:55 _Sy_: you will need that knowlege Jun 02 08:24:08 _av500_: i think that' might be a bit over the top :) Jun 02 08:24:15 <_av500_> :) Jun 02 08:24:23 <_Sy_> ok, will take a look Jun 02 08:24:29 <_av500_> KotH: he now has 150mbit Jun 02 08:24:34 <_av500_> he will write 10x as much Jun 02 08:24:38 lol Jun 02 08:24:45 did he already move? Jun 02 08:24:52 <_av500_> yes Jun 02 08:25:08 <_av500_> dublin Jun 02 08:25:13 * KotH knows Jun 02 08:25:21 <_av500_> got himself new loyalty cards too Jun 02 08:25:26 hehe Jun 02 08:25:30 <_av500_> so he is settled Jun 02 08:25:34 the evil empire swallowed his soul Jun 02 08:28:06 <_Sy_> Is there a good tutorial that explains the syntax of variables in make files and scripts, it looks similar to php in the way variables are prefixed with $, but I'd like to get this clear in my mind Jun 02 08:28:36 yes, google for "gnu make manual" Jun 02 08:28:56 <_Sy_> ty Jun 02 08:30:46 hhmm. i think amazon is onto me... they recomeneded me the book "Wie man mit Fundamentalisten diskutiert, ohne den Verstand zu verlieren: Anleitung zum subversiven Denken Wie man mit Fundamentalisten diskutiert, ohne den Verstand zu verlieren Jun 02 08:30:50 " Jun 02 08:38:01 <_av500_> lol Jun 02 08:40:26 so _av500_ other than angstrom, are there any other systems that were designed for x-compile from the ground up? Jun 02 08:40:45 mrpackethead: a couple Jun 02 08:40:46 i guess most systems started their lives being cross compiled to some extent Jun 02 08:40:50 mrpackethead: buildroot, t3, ... Jun 02 08:40:57 chicken and egg thing Jun 02 08:41:03 nope Jun 02 08:41:25 once you had a working system, you rather try to work on that instead of doing your own Jun 02 08:42:05 slackware started on yigdrasil. rh, suse and debian started on slackware Jun 02 08:42:30 funny, my first linux expereicen we slackware Jun 02 08:42:37 then debian Jun 02 08:42:50 never was a big fan of RH Jun 02 08:43:00 porting to a new machine is usually just a tiny bit of cross compile.. once you get a kernel up, you pull in everything else and compile on the machine itself Jun 02 08:43:32 so, really the only reason for sticking with debian, was that (a) it works and (b) its what i know and are most expereicned with Jun 02 08:43:51 and most of the supporting packages we need already exisit Jun 02 08:43:58 so, it was all about work reduction Jun 02 08:44:16 debian is not a bad choice Jun 02 08:44:39 it's fairly complete, and still sports a simplicity that neither fedora nor suse can match Jun 02 08:45:15 OTOH you need to know better what you are doing on debian than on other "user friendly" distros Jun 02 08:46:10 "user freindly Jun 02 08:46:16 aka poobuntu Jun 02 08:46:22 <_av500_> mrpackethead: debian is fine if it suits your need Jun 02 08:46:37 _av500_: it works for this current project Jun 02 08:46:49 <_av500_> as said, when bb.org started 4ys ago, incumbent distros were poor on arm support Jun 02 08:47:07 <_av500_> back then it was angstrom or buildroot or not much Jun 02 08:47:25 <_Sy_> From what I've read so far, it looks like the make files themselves in this case are pretty generic in that they just deal with c files, but the dependancy nss would seem to be in the C file itself... Jun 02 08:47:34 <_av500_> indeed Jun 02 08:47:44 _av500_: there a couple of other cross compile distros back than.. and a few meta-meta-meta distros... but most of those disapeared again Jun 02 08:47:47 <_av500_> _Sy_: what sw again do you try to build? Jun 02 08:47:52 <_av500_> KotH: sure Jun 02 08:47:53 <_Sy_> corosync Jun 02 08:48:05 <_av500_> but with koen being mr. angstrom, his choice was rather easy Jun 02 08:48:23 <_av500_> anybody is free to step up and offer something else Jun 02 08:48:35 <_av500_> like rcn does for ubuntu on bb Jun 02 08:48:46 _Sy_: compile, see where it fails, go into the code, look at what it does, fix it, compile again Jun 02 08:49:17 <_Sy_> yep, will do that now Jun 02 08:50:50 im going to make the effort to get my head around angstrom at some stage Jun 02 08:51:07 theres enough good brains using it Jun 02 08:52:46 so, at the least, it needs a good looking at Jun 02 08:53:05 its what separates ubuntu 'embedded', from real embedded. ;) Jun 02 08:53:07 heh.. Jun 02 08:53:11 i did that too, when i was still young Jun 02 08:53:32 today, i dont have the time and leasure to have a look at everything other "bright" people are using Jun 02 08:53:34 well, ubuntu is not somethign i'll look too hard at Jun 02 08:53:35 :-) Jun 02 08:53:53 KotH: hense i had to run with debian Jun 02 08:54:02 KotH: if you spent less tme here Jun 02 08:54:03 .... Jun 02 08:54:11 :-) Jun 02 08:54:15 mrpackethead: xkcd 303 Jun 02 08:54:23 can someone change the topic Jun 02 08:54:55 if your project involves opencv, you need to get past the trolls first Jun 02 08:55:01 lol Jun 02 08:55:19 mrpackethead: "try bribing them with good swiss chocolate" :) Jun 02 08:55:26 <_Sy_> I use to work in Oil and Gas industry, started back in 87 up to 2011...still do bits and pieces in O&G...helped to design and build Master Control Status back in the 90's for sub-sea well head control Jun 02 08:55:48 _Sy_: i jsut make leds blink now Jun 02 08:56:07 <_Sy_> back then the systems were based on dual redundant GE-Fanuc PLC's with VME PC's running in the RAC's to handle sub-sea communications... Jun 02 08:56:34 _Sy_: i used to be a bright and successfull young engineer, once upon a time... nowadays i just have a big mouth ;) Jun 02 08:56:48 <_Sy_> a typical MCS back in the 90's would cost around £250,000 GBP....now I recon I could do it all with a couple of BBB's. Jun 02 08:56:59 and KotH is on a swiss chocolate jihad Jun 02 08:57:56 _Sy_: heh.. same here. many of the projects we are doing wouldn't be possible earlier.. sometimes just a year ago, because the parts weren't available yet Jun 02 08:58:49 but you can't use a BBB! There is an X in the SoC part number! Someone think of the little innocent children!!!eleven! Jun 02 08:59:22 <_Sy_> yep, getting this bit working is abosolutely key....there are platforms and companies operating in the North sea on technology that is over 20 years old and they are asking for a modern upgrade/replacement as most of the kit is now obsolete. Jun 02 08:59:43 dm8tbr: coworker build a 400V 3phase to 24VDC power supply earlier this year. customer had some weird specs and requirements Jun 02 09:00:11 dm8tbr: when we deliverd, they told us the whole thing will be placed on a submerged plattform in 1000m depth Jun 02 09:00:21 interesting Jun 02 09:00:37 dm8tbr: if we would have known previously, we would have choosen some different parts ^^' Jun 02 09:00:47 'oops' Jun 02 09:00:47 sigh Jun 02 09:00:55 KotH: must be odd, i'd just buy that off the shelf Jun 02 09:01:11 ok... Jun 02 09:01:15 1000m underwater Jun 02 09:01:21 sometimes you run out of shelf. Jun 02 09:01:39 mrpackethead: not if you have to get to 95% efficiency and have some fast decharge features required Jun 02 09:02:00 i'm working on somethign that will be 1000mm underwater Jun 02 09:02:08 :-) Jun 02 09:02:10 :) Jun 02 09:02:17 already tough enough Jun 02 09:02:24 yes in deed Jun 02 09:02:26 but at least, you can fish it out of the water if it doesn twork Jun 02 09:02:35 yes, can go and visit in a tin boat Jun 02 09:02:36 :-) Jun 02 09:02:57 controlling about 80 kW of pumps Jun 02 09:03:07 actually, thats not quite directly true Jun 02 09:03:24 i am sending control signals to "off the shelf" motor drives Jun 02 09:03:48 water + lights + pryo.. its lots of fun Jun 02 09:03:50 * KotH does not think that a 80kVA motor drive is "off the shelf" Jun 02 09:03:50 :-) Jun 02 09:03:56 yeah, they are Jun 02 09:03:57 sounds quite fun Jun 02 09:04:03 Seimmens makes them Jun 02 09:04:05 mrpackethead: i know "they are" Jun 02 09:04:11 mrpackethead: i worked on some at ABB Jun 02 09:04:28 and the biggest pumps are not even that big Jun 02 09:04:44 the collective power is about 80kW per raft Jun 02 09:04:44 mrpackethead: ok.. they werent that small.. i was in the midlevel drive busines.. which were ~1MVA :) Jun 02 09:05:03 oh, we can do much bigger Jun 02 09:05:07 but don't need them for this app Jun 02 09:05:25 are the motor drives above the waterline? Jun 02 09:05:30 i guess they are Jun 02 09:05:35 the guys i'm woring with, build windmill gearbox testers Jun 02 09:05:42 they are 8MW Jun 02 09:05:43 oh.. Jun 02 09:05:58 motor drives are below the water Jun 02 09:06:03 hmm.. Jun 02 09:06:05 so are all the electronics Jun 02 09:06:11 and all the pumps Jun 02 09:06:29 only just below the surface Jun 02 09:06:30 <_Sy_> whats a .lo file ? Jun 02 09:06:31 * KotH doesnt want to know what happens if a bit of water comes into that rig Jun 02 09:06:36 it woudl be bad Jun 02 09:06:38 :-) Jun 02 09:06:40 _Sy_: libtool'ified .o file Jun 02 09:06:46 so, its not an option Jun 02 09:06:47 _Sy_: or something like that Jun 02 09:06:53 the enclosures a $$$$$$ Jun 02 09:07:04 you have to fill them with nitrogen when you are done Jun 02 09:07:05 as well Jun 02 09:07:32 so there is 0 water vapour Jun 02 09:07:44 just trying to find the box Jun 02 09:08:50 box is made by Pepperl & Fuchs Jun 02 09:10:23 http://www.pepperl-fuchs.com <- these guys? Jun 02 09:10:59 oh..they do cases for explosion protected zones Jun 02 09:11:01 * KotH takes notes Jun 02 09:12:21 <_Sy_> so far found two files in corosync/exec that include headers nss.h, pk11pub.h, pkcs11.h and prerror.h, I've commented these out and remade, it didn't complain. Jun 02 09:21:00 KotH: yes Jun 02 09:21:27 they are really good Jun 02 09:21:34 but come at very big $$$$$ Jun 02 09:49:12 mrpackethead: good stuff always costs money Jun 02 09:49:36 yes, it does. Jun 02 09:49:45 "If you think it's expensive to hire a professional to do the job, wait until you hire an amateur." Jun 02 10:03:17 morning. Jun 02 10:05:18 <_av500_> damn, another speaker foam disintegrated Jun 02 10:07:03 morning! Jun 02 10:07:10 <_Sy_> I think I'm progressing...nspr built and installed, nss building now Jun 02 10:21:54 hello. I am running Debian on a beagleboardblack and booting from the sd card. I have noticed that although my card is 8gb I am only using 4gb on it. How can I use the full 8gb as in what tool is best Jun 02 10:22:36 Guest48887: you could expand the root partition with gparted Jun 02 10:23:37 I am not running a grphical interface as yet. I have looked at parted but that does not extents ext4 file systems yet Jun 02 10:23:51 I wonder how that happened Jun 02 10:24:20 -Filesystem Size Used Avail Use% Mounted on Jun 02 10:24:20 -/dev/root 15G 812M 13G 6% / Jun 02 10:24:33 * m_billybob is also running debian Jun 02 10:24:45 Guest, you used an image ? Jun 02 10:24:58 Yes I did. Jun 02 10:25:02 ah Jun 02 10:25:09 Debian 7.0.0 Jun 02 10:25:09 well, the image woudl have been built for a 4GB card Jun 02 10:26:33 I know I can delete the partion with fdisk, extend it, and save it. Reboot and fdisk shows that it is larger. But etending the file system Jun 02 10:26:56 12:22 < Defiant> Guest48887: you could expand the root partition with gparted Jun 02 10:27:38 fdisk can only delete+create, gparted can actually expand a partition Jun 02 10:27:43 same thing Jun 02 10:27:55 you just have to be a little more careful with fdisk Jun 02 10:27:55 gparted is not on my imahe, and I am insure of the apt-get package to install it from Jun 02 10:28:17 could always use teh live cd Jun 02 10:28:19 and once you've saved it, you run resize2fs or whatever Jun 02 10:28:39 mru: fdisk does a lot of stuff automated these days.. like creating filesystems when you dont want it to Jun 02 10:28:49 fdisk? Jun 02 10:28:51 no way Jun 02 10:28:53 mru: not sure whether you can switch that off.. didnt care enough to find out Jun 02 10:29:04 which fdisk are you using? Jun 02 10:29:17 * KotH blinks Jun 02 10:29:22 the wrong one Jun 02 10:29:24 heh Jun 02 10:29:27 * KotH is mixing up something Jun 02 10:29:34 dont mind the weird swiss guy in the corner Jun 02 10:29:36 if anything, I'd suspect gparted of doing such crazies Jun 02 10:31:18 is gparted a graphical partion toll. Of can in install it on a console based system Jun 02 10:31:29 toll is the word Jun 02 10:31:42 (tool) sorry Jun 02 10:31:57 Guest48887: do it on your host, not on the beagle itself Jun 02 10:32:29 I have only one linux system and it is the Beagleboard Jun 02 10:32:49 use partitionmagic then Jun 02 10:32:57 or get a linux live cd Jun 02 10:33:05 KotH: that still exists? Jun 02 10:33:40 I can get partionion magic. Will that work on sd cards. Jun 02 10:34:04 and wold it work on ext4 Jun 02 10:34:20 this is why i dont' like using images Jun 02 10:34:29 i liek systems that actually build themselves Jun 02 10:34:32 mru: undead cannot die Jun 02 10:34:55 <_av500_> mrpackethead: thus angstrom Jun 02 10:35:03 and debian Jun 02 10:35:08 mrpackethead: which requires even more understanding, which is hard, as we have seen earlier Jun 02 10:35:23 netinstall Jun 02 10:35:35 rather than just copying a prebuilt image Jun 02 10:35:49 KotH: like kostya said about realplayer: that is not dead which can eternal buffer Jun 02 10:36:44 <_av500_> mrpackethead: thats like buying at ikea because you like to "build" your own furniture Jun 02 10:36:57 mru: lol Jun 02 10:37:49 if I do a netinstall for debian will I get full 8gb? Jun 02 10:38:33 <_av500_> you get what you ask for Jun 02 10:38:45 whu? why not juts resize? Jun 02 10:40:28 <_Sy_> I think I'm very close, I've built nspr and nss, both have succesfully compiled and installed, when I make corosync it fails to find pk11pub.h which is present in /usr/include/nss Jun 02 10:40:44 <_Sy_> Can anyone help me resolve why its not finding this file? Jun 02 10:45:06 _Sy_: where are you compiling? directly on the beagle or in a cross compilation environment? Jun 02 10:45:15 <_Sy_> on the beagle Jun 02 10:45:35 _Sy_: add a -I/usr/include/nss at the apropriate place Jun 02 10:46:25 * KotH wonders, whether it would be possible to build BVA oscillators at home, these days Jun 02 10:46:39 it's just um precision after all... Jun 02 10:48:16 <_Sy_> Which file do I insert that into Makefile, Makefile.am or Makefile.in ? Jun 02 10:48:41 BVA? Jun 02 10:48:43 no idea.. Jun 02 10:48:53 _Sy_: wherever CFLAGS is defined Jun 02 10:48:57 on the end a of a cluebat Jun 02 10:49:05 with which you whack the authors Jun 02 10:49:12 SpeedEvil: special type of quartz crystal oscillator Jun 02 10:49:42 Well, the easy way for anything really precise these days is to buy a rubidium oscillator from ebay for 50 quid Jun 02 10:49:52 Or, of course a GPS frequency standard. Jun 02 10:50:25 SpeedEvil: a BVA beats an Rb and GPS in terms of phase noise and stability up to a couple 1000s Jun 02 10:51:29 Ah. Jun 02 10:51:54 http://www.leapsecond.com/museum/osa8607/ Jun 02 10:52:13 SpeedEvil: the ADEV below 2s is limited by the H-maser, not the BVA Jun 02 10:52:46 * SpeedEvil has been wondering about this sort of thing for interferometric tracking of beacons. Jun 02 10:52:47 SpeedEvil: aka, tom didnt have any equipment with which he could measure that Jun 02 10:53:15 Over in ##highaltitude, we fly GPS+ radio beacons which transmit their position. Jun 02 10:53:41 It would be kinda nice for some things if we could fly dumb beacons, and still track them. Jun 02 10:53:56 Clearly for this, you need very good clocks of some form. Jun 02 10:54:28 SpeedEvil: get an 8663 and an FE5860 from ebay, lock the 8663 to the FE with a loop time constant >1s and you have a very stable and quite low noise frequency source Jun 02 10:54:51 SpeedEvil: but you will need more than one receiver station with exactly known positions Jun 02 10:55:09 SpeedEvil: and you will have to compensate for atmospheric phase shift Jun 02 10:55:10 KotH: GPS is easy for position, or even google maps. Jun 02 10:55:36 And the idea was to get it fairly cheap. Jun 02 10:55:58 buy a gps receiver and put it into the balloon...nothing beats that Jun 02 10:56:30 anything else involves electronics not available off the shelf Jun 02 10:56:31 KotH: Well, no. Jun 02 10:56:36 Sure. Jun 02 10:56:46 Problem is GPS is heavy and uses a lot of power. Jun 02 10:57:11 - people are talking of payloads with a CR2032 as the only power source. Jun 02 10:57:19 eh.. Jun 02 10:57:33 with that you will not be able to power an RF transmitter to get any signal down to earth Jun 02 10:57:43 you'd be surprised. Jun 02 10:57:51 Guess what range we get with 10mW/433MHz Jun 02 10:58:08 KotH: you jsut got the wrong shelf again Jun 02 10:58:09 up to the next hill... so below 10km in .ch ;) Jun 02 10:58:15 500km Jun 02 10:58:21 Line of sight is a wonderful thing. Jun 02 10:58:22 I wonder how high we can float a beagle Jun 02 10:58:34 mrpackethead: Over 38km or so gets tricky Jun 02 10:58:41 mrpackethead: i'm working with the time-nutty shelf :) Jun 02 10:58:44 mrpackethead: Are you in the UK? Jun 02 10:58:49 New Zealand Jun 02 10:58:58 Ah. Jun 02 10:59:12 just need a long stick Jun 02 10:59:19 I don't think we've had anyone launch from NZ. Several australians. - over on ##highaltitude Jun 02 10:59:21 and keeppushing. Jun 02 10:59:40 do you do ballons or rockets Jun 02 10:59:47 Cost is typically about £150 or so per launch. There is a good predictor to find out where it'll land. Jun 02 10:59:55 Balloons. Jun 02 11:00:00 Though anything is welcome. Jun 02 11:00:28 why is over 38k high? Jun 02 11:00:31 Some have been thinkign of rockoons with a couple of simple stages. Jun 02 11:00:31 tricky Jun 02 11:00:47 SpeedEvil: powering a 10mW transmitter requires something in the range of 20-50mW of power... a cr2032 is somewhere in the range of 200mAh.. so <600mWh Jun 02 11:00:48 mrpackethead: the atmosphere gets very thin, and available ballons won't give you any lift. Jun 02 11:00:54 ahh Jun 02 11:01:06 SpeedEvil: how long does a balloon fly? 2h? 5h? Jun 02 11:01:12 how high was that parachute jump Jun 02 11:01:26 KotH: It can be >>12h in some cases. Jun 02 11:01:33 if we launched it in NZ, it would certainly land in teh sea Jun 02 11:01:34 KotH: One flight went a little off course. Jun 02 11:01:34 :-) Jun 02 11:01:43 SpeedEvil: so two cr2032 might do it... Jun 02 11:02:01 It was meant to takeoff from california, and land in the same state after cutting down. Jun 02 11:02:08 It ended up in the Med. Jun 02 11:02:15 med? Jun 02 11:02:20 Mediteranian. Jun 02 11:02:23 oh.. Jun 02 11:02:26 half a planet away Jun 02 11:02:28 caught on the slipstream? Jun 02 11:02:40 if we launched in NZ, we'd probaby see it arrive in chile Jun 02 11:02:42 Yes. Jun 02 11:03:10 <_Sy_> SUCCESS !!!! Jun 02 11:03:23 <_Sy_> corosync now built and installed Jun 02 11:03:25 * KotH gratulates _Sy_ and gives him one of mrpackethead's cookies Jun 02 11:03:29 <_Sy_> next pacemaker Jun 02 11:03:51 <_Sy_> Ty vmuch for all the help and advice Jun 02 11:03:53 get your hands of the hobbit cookies Jun 02 11:04:06 <_Sy_> dwarves already eaten them Jun 02 11:04:14 _Sy_ you have debian running now? Jun 02 11:04:36 http://habhub.org/predict/#!/uuid=e43fc06240d57598d63d0e9dc9c83949aded7f88 - the track of a 'standard' launch - from christchurch Jun 02 11:04:41 Launching now Jun 02 11:05:06 <_Sy_> Nah, tried it then went back to Angstrom, so far it seems to be the most complete of the distributions Jun 02 11:05:06 Plops into the sea 300km out. Jun 02 11:05:18 is that a "scnerio builder" Jun 02 11:05:46 * KotH wonders how many permits he would need to launch a balloon Jun 02 11:06:08 usually it's only ATC notification IIRC Jun 02 11:06:12 mrpackethead: It's based off live weather data, and computes based on the forecast weather and the balooon track. Jun 02 11:06:19 ahh Jun 02 11:06:24 KotH: Where are you - the permissions vary dramatically with country Jun 02 11:06:50 <_Sy_> once I get this build the way I need it, is there a simple way to create an image from this build so I can use it on other BBB's ? Jun 02 11:07:11 im just launcing one from home now Jun 02 11:07:24 http://habhub.org/predict/#!/uuid=a356f06d2aa7d75d239b65963218887b4c141223 - another launch - from Egmont national park - that lands in a 'tricky' spot Jun 02 11:07:41 mmm, 182km in the sea Jun 02 11:08:28 dm8tbr: .ch is a bit more severe than .de as .ch is a flight route node. there are only a few spots deep in the mountains that are not covered with flight routes Jun 02 11:09:01 KotH: still shouldn't be much harder than radar reflector and ATC Jun 02 11:09:03 * SpeedEvil is unsure on .ch. I know we've had someone from .de launch Jun 02 11:09:17 .de launches are quite frequent Jun 02 11:09:27 we certianly woudl have to get ATC Jun 02 11:09:40 dm8tbr: It varies dramatically by country. In general, you need permission for your launch from the FAA/CAA or similar body. Jun 02 11:09:49 It's generally not only contacting your local ATC. Jun 02 11:09:49 my house is under a TMA Jun 02 11:09:51 dm8tbr: dont know..never tried to get the permissions Jun 02 11:10:03 dm8tbr: but i'm sure i wont get any start permission near zürich :) Jun 02 11:10:10 ;) Jun 02 11:10:17 so, unlikely to get much joy Jun 02 11:10:26 though the TMA here is at 7000' Jun 02 11:10:33 mrpackethead: TMA? Jun 02 11:10:48 a TMA is essentially the area around an airport Jun 02 11:10:59 its like an upside down wedding cake Jun 02 11:11:01 mrpackethead: ah... Jun 02 11:11:16 mrpackethead: half of .ch is within a TMA Jun 02 11:11:31 TMA's are nto that big Jun 02 11:11:35 mrpackethead: we have 3 big TMAs, one is zürich, the other one is basel and the third is altenrhein Jun 02 11:11:44 mrpackethead: which neatly cover .ch from east to west Jun 02 11:11:59 they normally are only about 20km out Jun 02 11:12:01 mrpackethead: .ch isnt that big either Jun 02 11:12:36 mrpackethead: basel to altenrhein are iirc 200km, Jun 02 11:13:05 anyway these ballons dont' go far Jun 02 11:13:20 what can we get that doesnt explode Jun 02 11:16:37 SpeedEvil: i think you can do better with a GPS receiver Jun 02 11:17:02 SpeedEvil: use a modern, low power one, get a fix every minute, and you are down in the average power consumption to 1-10mA Jun 02 11:17:25 SpeedEvil: it'll be hard to beat that with a transmitter that has to be constantly on Jun 02 11:18:40 KotH: The transmitter doesn't need to be always on. Jun 02 11:18:44 Cost is another large issue. Jun 02 11:18:52 The idea is to get payloads under a fiver. Jun 02 11:19:09 SpeedEvil: if you want to use it for location, you need to be able to detect its carrier and know what phase it has Jun 02 11:19:27 SpeedEvil: either you use an always on transmitter, or some modulation scheme Jun 02 11:19:28 And yes, I know. Jun 02 11:19:52 SpeedEvil: but with the modulation scheme you cannot use of the shelf ism band transmitters anymore Jun 02 11:19:59 We're currently looking at 'TV' dongles used for SDR, with a hack to couple PPS GPS pulses into them Jun 02 11:20:16 why couple pps pulses into them? Jun 02 11:20:26 To act as a time reference. Jun 02 11:20:34 Cheaply. Jun 02 11:20:44 hmm... Jun 02 11:21:10 why not use a trimble thunderbold or similar? Jun 02 11:21:18 they give you 10MHz for free Jun 02 11:21:25 You can get a timestamped signal with a time resolution of several nanoseconds for a budget of 50 quid all in. Jun 02 11:21:31 and are available for <200usd Jun 02 11:21:43 uhmm.. Jun 02 11:21:46 carefull there Jun 02 11:22:01 Sure - but the 10MHz isn't directly useful - you have to then build your sampler. Jun 02 11:22:01 standard gps receivers give you a precision of >1us Jun 02 11:22:16 if you want to go to a couple of ns, you need a timing receiver Jun 02 11:22:17 Quite - I mean over and above whta the GPS receiver can do Jun 02 11:22:19 and these cost money Jun 02 11:22:43 1us is still 'only' 300m. Jun 02 11:23:07 the 10MHz is usefull.. feed it into an SRD or avalanche transistor and you get an 10MHz comb, which you can track with your SDR Jun 02 11:23:18 Oh - quite. Jun 02 11:23:36 SpeedEvil: 300m position uncertainty of the _reciever_ position Jun 02 11:23:49 SpeedEvil: it gets multiplied if you use it to track a signal Jun 02 11:24:04 Yes, I know. Jun 02 11:24:11 SpeedEvil: keep in mind that you have a very skewed constellation. all your receivers are on one side Jun 02 11:24:14 I was glossing over lots of stuff. Jun 02 11:24:39 I do actually understand this in detail, it's just I've moved a lot of paving slabs this morning. Jun 02 11:24:51 ah.. ok Jun 02 11:25:09 :) Jun 02 11:25:23 * SpeedEvil has a half-designed GPS receiver stuck in his head. Jun 02 11:25:34 ouch, that must hurt! Jun 02 12:03:20 <_Sy_> I'm getting some warnings that terminate pacemaker build as warnings are treated as errors: Jun 02 12:03:32 <_Sy_> error: cast increases required alignment of target type [-Werror=cast-align] Jun 02 12:03:55 that one should be taken seriously Jun 02 12:07:31 <_Sy_> I think I'm going to write my own package to do this, all I wanted is a floating IP between two devices, this looks like a hell of a lot of code to do something that should be quite simple. Jun 02 12:10:01 * KotH wonders Jun 02 12:10:18 for as long as i can remember, there have been HA solutions for linux Jun 02 12:11:08 yes, plenty Jun 02 12:19:10 <_Sy_> Going to take a break, be back l8r Jun 02 12:40:27 Hi,Where can I find the documentation for beaglebone ADC? in the user guide for AM335x i can see only ADC related to touch screen Jun 02 12:43:15 vol-up: AM3359 TRM Jun 02 12:43:36 they should be in /sys anywas :) Jun 02 12:48:32 KotH: thanks, i will look for it Jun 02 12:48:56 spruh73c Jun 02 12:57:21 mru: that's for the PRU :) Jun 02 12:57:43 KotH: spruh73 is for everything Jun 02 12:57:57 and rev c is the best one Jun 02 12:57:58 yeah, but the c revision is for PRU users Jun 02 12:58:11 and everything else Jun 02 12:59:00 bbiab Jun 02 12:59:02 bbiab Jun 02 13:00:30 heh, oops Jun 02 13:00:38 * wmat gets more coffee Jun 02 13:01:25 wmat is a machine that turns coffee into wikis Jun 02 13:02:11 heh Jun 02 13:02:16 what does it mean when led #2 and led #4 are lighting up and the device wont boot? Jun 02 13:02:29 (I connected the camera cape to the BBB) Jun 02 13:42:16 Hi Jun 02 13:42:42 can someone tell me what u-bbot sourec should I use for BBB ? Jun 02 13:42:52 *sources Jun 02 13:43:46 see here: http://eewiki.net/display/linuxonarm/BeagleBone+Black Jun 02 13:43:51 21 Jun 02 13:43:56 oops Jun 02 13:48:04 mhaberler: yeah, i try it Jun 02 13:48:08 it does not boot Jun 02 13:48:37 well... actually it is, but could not start u-boot shell Jun 02 13:48:52 <_Sy_> How to I create a backup of the eMMC ? Jun 02 13:49:00 all the time "OMAP SD/MMC: 0" is repeating Jun 02 13:51:58 <_Sy_> Hello, has everyone gone outside to enjoy the sun? Jun 02 13:52:33 the sun is a myth you tell your kids Jun 02 13:53:01 <_Sy_> :) Jun 02 13:53:13 yeah... it is rainy today Jun 02 13:53:25 <_Sy_> not here, lovely for a change Jun 02 14:10:08 sun here as well Jun 02 14:10:26 <_Sy_> finally :) Jun 02 14:10:37 we've had sun all weekend Jun 02 14:10:42 since friday even Jun 02 14:14:43 <_Sy_> Is there any way to create a backup of the eMMC once I have it set-up the way I want it? Jun 02 14:14:57 hello, does anyone have a plan how to activate a devicetree-overlay on boot on bbb? Jun 02 14:15:00 of course there is Jun 02 14:16:19 <_Sy_> how ? Jun 02 14:16:35 depends on what you want Jun 02 14:16:48 how would you normally make a backup of a system? Jun 02 14:17:24 <_Sy_> What I would ideally like is to create a new img file that I can restore from if need be Jun 02 14:17:39 so do that Jun 02 14:18:24 <_Sy_> How tho? I'm not familiar with the commands to do this. Jun 02 14:18:28 _Sy_: man dd Jun 02 14:18:37 or cat for that matter Jun 02 14:18:52 meow Jun 02 14:18:54 <_Sy_> ok, will do Jun 02 14:33:00 Hello, I noticed that the BBB PRU demos use DDR at address 0x80001000 but it doesn't specify the size of DDR space that is allocated. I'd like to use about 128kbytes of space, but I get a spectacular crash, so clearly less than 128kbyte is currently allocated :-) How do I see how much space is allocated, and how do I increase it? I saw on some site someone using "cat /sys/class/uio/uio0/maps/map2/addr" Jun 02 14:33:01 but that doesn't work on the BeagleBone Black. Jun 02 14:34:03 allocated to what? Jun 02 14:34:16 ah, PRUs, sorry Jun 02 14:36:01 yes, because then I will be able to use mmap in the ARM application side code, to populate a large image (so I can use the PRU to custom drive LCDs). See http://www.element14.com/community/community/knode/single-board_computers/next-gen_beaglebone/blog/2013/05/28/bbb--connecting-up-an-lcd Jun 02 14:36:49 128kbyte is a bit excessive, but wanted to try it for a proof-of-concept before slimming things down Jun 02 14:38:12 currently I suspect it is just a few kbyte reserved on the BBB, guessing at the point the board crashed I think (I don't want to do that too many times! :-) Jun 02 14:38:43 i thought you were limited to 12k of shared memory with the PRUs? Jun 02 14:40:35 See: second comment in the link Jun 02 14:40:35 Hi Rickta59, that's correct on the shared mem. However, PRU can access any part of the address space. 12k was too low for me, so unless I pass data in chunks I would need to use DDR space. I may well use the chunk method, but I think it would be good to have a way to use larger space elsewhere too Jun 02 14:40:59 so you are trying to figure out how to allocate 128k of memory using mmap? Jun 02 14:42:02 might be hard, due to physical vs virtual address space Jun 02 14:42:17 well, allocating wouldn't be too hard Jun 02 14:43:33 and you're probably looking for a way that doesn't include writing a kernel-level driver? (-: Jun 02 14:46:03 http://hipstercircuits.com/beaglebone-pru-ddr-memory-access-the-right-way/ might be applicable or not that is for the BBW Jun 02 14:46:08 The example code has this command: ddrMem = mmap(0, 0x0FFFFFFF, PROT_WRITE | PROT_READ, MAP_SHARED, mem_fd, DDR_BASEADDR); so I didn't change that, and just did DDR_regaddr = ddrMem + OFFSET_DDR+xxx and then *(unsigned int*) DDR_regaddr = pixelcolor but if xxx is large enough, then it crashes. Basically I can't go beyond a few kbyte, which leads me to suspect that only a small amount of space Jun 02 14:46:08 was allocated somewhere. Because the example PRU apps actually only use values of 0, 4 and 8 for xxx Jun 02 14:47:19 hehe correct, not done a kernel driver before (always time to start I suppose :-) Jun 02 14:48:20 anyone here ?? Jun 02 14:48:39 which is the best os to put on beageboard Black for a beginner Jun 02 14:48:53 the one that comes with it Jun 02 14:48:57 angstrom linux Jun 02 14:49:14 how to ho with GPIO programming in that Jun 02 14:49:20 in python Jun 02 14:49:21 ? Jun 02 14:49:28 #to go Jun 02 14:50:15 aadi: try google Jun 02 14:50:22 Means do you guys have any idea how to with GPIO programming with BB ... tried google Jun 02 14:50:22 aadi: there are tons of tutorials out there Jun 02 14:50:25 No help Jun 02 14:50:30 not much Jun 02 14:50:32 you should find tutorials that mention 3.8 kernel and device tree and gpio aadi Jun 02 14:51:00 aadi: gpio stuff is the same with any linux system Jun 02 14:51:12 aadi: there is even a file in Documentation that describes how to do it Jun 02 14:51:17 aadi: soo... search again Jun 02 14:52:07 I know how to do in raspbian .... but same stuff dont work with this Jun 02 14:52:16 ^^' Jun 02 14:52:29 now we have the proof: rpi corrupts people! Jun 02 14:52:34 and secondly i tried doing it in bash using the online tutorials but dont think they are working or upto date Jun 02 14:52:46 :D Jun 02 14:52:51 KotH: but is it confirmed? Jun 02 14:52:59 thats y i shifted to BB Jun 02 14:53:13 but having a hell of problems Jun 02 14:53:22 any good place to start learning Jun 02 14:53:29 any link ??? Jun 02 14:53:41 Hi Rickta59, yeah that BBW method doesn't seem to work on BBB unfortunately. I changed the path as appropriate but still couldn't see how to do that. Might have to resort to chunks to stay within shared RAM size, but would be nice to have enough space writable for a full LCD image cos I'm curious what kind of frame rate I get Jun 02 14:53:54 mru: we have one sample. according to the laws of social siences, this is proof and confirmation in one. this phenomena has been prooven beyond doubt! :) Jun 02 14:54:11 now fix your grammar Jun 02 14:54:26 any good tutorial links that you guys have ??? Jun 02 14:54:32 google.com Jun 02 14:54:37 mru: social sciences dont need no grammar ;) Jun 02 14:54:39 :) Jun 02 14:55:02 try this one aadi http://elinux.org/EBC_Exercise_10_Flashing_an_LED Jun 02 14:55:04 @Koth : do u know any good place to start with ?? Jun 02 14:55:13 google.com Jun 02 14:55:17 than you Rickta59 Jun 02 14:55:27 really appreciate your help Jun 02 14:55:33 sure if you find some better ones come back and let us know Jun 02 14:55:48 Sure Jun 02 14:56:00 what does it mean when leds in user1 and user3 are lighting up and the device wont boot after I connected the camera cape to the BBB? voltage issues? (i'm connected via USB) Jun 02 14:58:23 Guser: does it boot w/o the cape? Jun 02 14:58:39 Guser: do you use usb or an external power supply? Jun 02 15:08:17 @Rickta59 : you there ?? Jun 02 15:08:42 yes Jun 02 15:08:45 tried your link ... its good ... atleast now i know how to blink LED using bash ... thanks Jun 02 15:09:27 tw Jun 02 15:09:29 yw Jun 02 15:10:45 (sorry if this is a double my IRC crashed) Jun 02 15:10:54 Rickta59 : you know anything like this using C or Python Jun 02 15:10:55 beaglebone camerawhat does it mean when leds in user1 and user3 are lighting up and the device wont boot after I connected the camera cape to the BBB? voltage issues? (i'm connected via USB). the documentation is lacking... does anyone have the boot error led sequences? Jun 02 15:10:56 ? Jun 02 15:11:16 Rickta59 : you know anything like this using C or Python ? Jun 02 15:11:17 it is all the same .. file access to toggle io Jun 02 15:12:01 did you look athe kernel doc about gpio at the bottom of that page? Jun 02 15:12:30 https://www.kernel.org/doc/Documentation/gpio.txt Jun 02 15:12:56 ohhh .. ok will try that Jun 02 15:12:59 thank you Jun 02 15:14:40 aadi: that's one of the first documents that turn out when you google for gpio... Jun 02 15:14:47 aadi: so much for using google... Jun 02 15:14:58 what terms did you use? Jun 02 15:15:07 i always get crap from the hipster site Jun 02 15:16:31 hipster site? Jun 02 15:17:18 http://hipstercircuits.com/enable-spi-with-device-tree-on-beaglebone-black-copy-paste/ Jun 02 15:17:25 articles like that .. that don't actually work Jun 02 15:19:33 although it looks like he fixed some of the problems Jun 02 15:19:42 but in general i've found examples there don't work Jun 02 15:19:58 Working on GPIO on BBB, I've got my LED toggling, but am not able to recognize switch input. Jun 02 15:20:00 they are good for only helping you find the right place to look in the docs Jun 02 15:20:59 should be able to setup a GPIO pin with: echo 40 > /sys/class/gpio/export Jun 02 15:21:40 then: echo in > /sys/class/gpio/gpio40/direction Jun 02 15:22:17 and read the GPIO with: cat /sys/class/gpiogpio40/value Jun 02 15:22:51 value isn't changing with switch, but I verified with multimeter voltage switches from 0 to 3.3V Jun 02 15:31:29 eric, posted this a few minutes ago, any idea what I'm doing wrong? Working on GPIO on BBB, I've got my LED toggling, but am not able to recognize switch input. Jun 02 15:31:42 should be able to setup a GPIO pin with: echo 40 > /sys/class/gpio/export Jun 02 15:31:52 then: echo in > /sys/class/gpio/gpio40/direction Jun 02 15:32:03 and read the GPIO with: cat /sys/class/gpiogpio40/value Jun 02 15:32:09 value isn't changing with switch, but I verified with multimeter voltage switches from 0 to 3.3V Jun 02 15:44:53 last try: Jun 02 15:44:59 leds user1 and user3 are lighting up and the device wont boot after connecting the camera cape to the BBB. voltage issues? I tested with USB and 5v@1A DC adapter. same result. tested 2 camera capes. any ideas? :-\ Jun 02 15:46:31 Will it still boot without the camera cape? Jun 02 15:46:46 mastiff: yes. with usb and with 5v adapter. Jun 02 15:47:50 ok, so nothing is fucked, but clearly the camera cape is interfering with boot somehow Jun 02 15:48:35 maybe the cam cape is taking the eemc pins somehow? Jun 02 15:48:55 I would bet it has something to do with the device tree pin mapping, but as to the specifics and how to fix it, I'm not there yet either Jun 02 15:49:59 I didn't realize I was going to have to learn linux core development just to read some sensors and control motors, etc on a beaglebone black Jun 02 15:50:40 mstiff: the cam cape is not changing the BBB pin mux on its own right? if it does, it might use the pins that are used for the eMMc, I need to verify it somehow. maybe boot with an SD Jun 02 15:51:14 check to see if the pin mapping the cam cape uses changed from BBW to BBB Jun 02 15:51:15 mastiff: the linux core is the easy part :) the rest is... *ugh*. Jun 02 15:52:30 mastiff: what it also could be is, that you are off by one Jun 02 15:52:41 Guser, do you have spi and I2C working on your BBB? Jun 02 15:52:43 mastiff: maping of gpio pins to kernel gpio numbers is not always trivial Jun 02 15:53:04 I'll double check that. Jun 02 15:53:17 mastiff: havn't tested them yet. but why does it matter? Jun 02 15:53:32 depends on what you are doing Jun 02 15:53:40 mastiff: the kernel prints what gpio numbers it uses at startup, check whether those have the ranges you expect Jun 02 15:53:54 a lot of sensors and device controllers communicate using those interfaces Jun 02 15:54:01 mastiff: at this point, I just want a booting system with the camera cape connected. I'll take it from there Jun 02 15:54:22 mastiff: and embedded development is always very near to the core of things Jun 02 15:54:26 mastiff: no matter what you do Jun 02 15:54:41 mastiff: I dont think that should mess up the boot process. Jun 02 15:55:35 right now I'm hoping its a pin problem and not a compatibility issue... fingers crossed. I'll try to boot from SD soon. Jun 02 15:56:32 http://www.elinux.org/BeagleBone_Black_Capes Jun 02 15:56:33 also, if anyone has led sequence boot error codes I'd be greatful. Jun 02 15:56:42 Functional but requires boot from microSD card Jun 02 15:56:47 KotH: yeah hopefully when some of the new documentation is released, it will clear up some of the confusion some of us newer to embedded dev are having Jun 02 15:56:56 do you have the Camera Cape mentioned there Guser ? Jun 02 15:57:32 Rickta59: yes. my guess was right then Jun 02 15:57:52 mastiff: the problem here is that there are no good docs about that Jun 02 15:57:58 Rickta59: thanks Jun 02 15:58:14 KotH: we're all working on making it better ;) Jun 02 15:58:15 mastiff: the only book of some quality i know is "linux embedded primer" but that's getting long in the tooth Jun 02 15:58:41 mastiff: it had outdated sections back 2007 when i first got it, and never saw any updates ever since Jun 02 15:58:43 KotH: by Hallinan? I have that book :) Jun 02 15:58:57 I'm more interested in automating my sailboat with various sensors and controllers than writing basic linux device drivers, but I'm willing to learn what I have to so long as I can find the correct material. Jun 02 15:59:17 Guser: are you writing a new book? ;) Jun 02 15:59:24 seems like and arduino would fit that bill mastiff Jun 02 15:59:33 I use those also Jun 02 15:59:50 do you blog about aht mastiff ? Jun 02 15:59:55 mastiff: I don't see it as embeded at all. its all very nice and highlevel. you have plenty of ram, cpu and many other devices you might need. as long as you're not developing your own drivers its not that complicated. just takes some linux knoledge and elbow grease :) Jun 02 15:59:55 But I need the BBB for doing more powerful stuff. Jun 02 16:00:08 KotH: one tutorial at a time :) Jun 02 16:00:27 Guser: good! :) Jun 02 16:00:44 Guser: but please do yourself a favor and let them check by one of the knowledgable guys here Jun 02 16:00:55 Guser, yeah my issues at the moment are just figuring out how to interface with my spi, i2c and serial devices. Jun 02 16:01:03 KotH: ofcourse. Jun 02 16:01:48 Rickta59, I'll have articles about my boat in Good Old Boat magazine. Jun 02 16:02:04 mastiif: this blog might help you out a bit if you havn't seen it yet. http://hipstercircuits.com/ Jun 02 16:02:24 Yup, looking at that one at also Derek Mollloy's page. Jun 02 16:02:29 i've found that blog useless Guser Jun 02 16:03:05 helped me a bit Rickta59. I guess I could have found the same help in other places but I found it rather comfortable. Jun 02 16:03:06 try that latest article of May 30th about spi Jun 02 16:03:17 it just doesn't work Jun 02 16:03:30 Rickta59: didn't try that one yet :-' Jun 02 16:03:40 I was planning on trying that after I get GPIO input to work. Jun 02 16:03:55 he fixed a few of the problems that were there on the first day posted Jun 02 16:03:59 but it still doesn't work .. Jun 02 16:04:03 dts is bogus Jun 02 16:04:06 It shouldn't be that complicated to read a damn pin, so why can't I find simple instructions that work for the BBB? Jun 02 16:04:13 and it conflicts with other stuff in the angstrom pinmux Jun 02 16:04:42 mastiff: when you use 'cat' to dump the data from the pin does it work? Jun 02 16:05:27 Rickta59: I'll stay away from that one then. thanks for the tip. Jun 02 16:05:50 yes, but the value stays the same Jun 02 16:06:18 mastiff: maybe there's an issue with the input? Jun 02 16:06:26 using GPIO_51 for the output which is working Jun 02 16:07:02 tried using GPIO_40 and GPIO_5 for input, but the value doesn't change even though voltage does Jun 02 16:07:37 I found some forum posts with people having similar problems, but still haven't found a definitive solution. Jun 02 16:07:59 mastiff: hmmf did you change the pin mux? (just making sure) Jun 02 16:09:07 mastiff: also, did you use any bonescript yet? Jun 02 16:10:17 I think so, I did echo 5 > /sys blass/gpio/export && echo in > /sys/class/gpio/gpio5/direction && cat /sys/class/gpio/gpio5/value Jun 02 16:12:16 Guser: I tried a little bonescript on first bootup, and tried the Cloud9 IDE with on the Getting Started page. It was buggy and didn't execute the code correctly in the debug mode, and bonescript is very limited so I decided it's garbage. Jun 02 16:12:33 debug mode is broken Jun 02 16:12:37 just put it in run mode Jun 02 16:13:41 That's how I got it to work, but now I've got a C/C++ cross compiling setup in Eclipse so I'd rather just use that at this point. Jun 02 16:15:22 I'm trying to finish getting GPIO working at least rudimentarily, and then start using I2C and SPI, or serial to communicate with the sensors and arduinos I already have. Jun 02 16:15:58 mastiff: try reading this, it might help. http://www.gigamegablog.com/2012/01/05/beaglebone-coding-101-blinking-an-led/ Jun 02 16:16:11 mastiff: some basic gpio info there Jun 02 16:17:04 mastiff: as for serial, the UART post in the blog mentioned ealier helped me a lot. Jun 02 16:17:08 I was hoping to use one of my bluetooth dongles in the BBB usb host port to communicate wirelessly with my arduinos, but no luck so far getting the BBB to recognize the bluetooth dongle Jun 02 16:17:22 yes, I'm planning on going through that UART post next Jun 02 16:17:49 mastiff: I think you'll need the driver for the BT enabled in your kernel. not sure its enabled by default Jun 02 16:17:55 maybe I should just skip to that, I'll double check that blinking led post, but I'm pretty sure that's what I'm already doing Jun 02 16:18:37 bluetooth has been in the kernel since 2.6 I believe, but from reading last night people are having problems with bluetooth on the 3.8 even on desktop machines let alone BBB Jun 02 16:19:21 mastiff: notice that with leds the dirction is output, you need input. Jun 02 16:20:13 yup, I did: echo in > /sys/class/gpio/gpio5/direction Jun 02 16:20:24 mastiff: there are a lot of things in the kernel. it depends on weather its enabled or disabled. again, I'm not sure if BBB's default kernel has BT enabled by default. Jun 02 16:21:58 mastiff: if the relevant driver is enabled a BT dongle should raise an event and you'll be able to see it with dmsg. Jun 02 16:22:44 it's recognized with lsusb Jun 02 16:23:01 but it seems like the drivers aren't enabled Jun 02 16:23:47 mastiff: into the kernel sources you go. or to the BT dongle manufacturer for drivers. should do the work. Jun 02 16:24:16 Reading the BBB manual, do ALL the gpio pins have internal configurable pull up/down resistors? Jun 02 16:25:28 <_av500_> I think so Jun 02 16:26:43 That will save me a ton of work on my project. I didn't know that! Jun 02 16:26:48 How do I enable them at the CLI? Jun 02 16:43:47 could DT help here? Jun 02 16:44:49 delerium tremens? Jun 02 16:47:15 it's a good beer Jun 02 16:50:25 bakers: those are weak pull-ups, take that in account Jun 02 16:51:56 <_av500_> give them a stern look and they stop pulling Jun 02 16:57:21 _av500_: lol. shouting works better Jun 02 16:58:21 a stern look from _av500_ is equivalent to 10 normal men shouting Jun 02 16:59:07 dwery: I'm just running door sensors, I shouldn't need much Jun 02 16:59:14 How do I enable them at the CLI? Jun 02 16:59:33 I see documentation on how to do it via boneScript Jun 02 16:59:39 but I want to use a perl script Jun 02 17:00:33 bakers: http://elinux.org/EBC_Exercise_10_Flashing_an_LED Jun 02 17:00:36 bb security system? Jun 02 17:00:38 :P Jun 02 17:01:04 ketas: Exactly... right now it's an arduino security system Jun 02 17:01:10 I want to upgrade it to a BBB Jun 02 17:02:35 trying to do beaglebone gpio? Jun 02 17:03:07 read/write sys files, or use an existing library... Jun 02 17:03:09 bakers: perl? what's wrong with python? Jun 02 17:03:19 syntax Jun 02 17:03:51 i can say the same thinga 'bout perl.. well.. nvm Jun 02 17:03:52 http://www.impulseair.com.au/site/?p=215 Jun 02 17:04:20 there is also PerlBone Jun 02 17:04:47 but but... -_-". i'll shut up now. Jun 02 17:05:00 I don't think a Perl programmer is in the right position to criticise syntax of any language, well, maybe apart from whitespace. Jun 02 17:05:41 hah python whitespace is obnoxious Jun 02 17:05:54 i think about python as "if i really have to" Jun 02 17:06:01 but but but my terminal emulation is shit from my phone:D Jun 02 17:06:05 sometimes indeed you need it Jun 02 17:06:30 Guser: I don't know Python, but I'm fluent in Perl Jun 02 17:07:01 bakers: you mean you can _read_ it, not just write it? Jun 02 17:07:11 hahaha Jun 02 17:07:19 bakers: allright then :) I'd recommend python but not force it. Jun 02 17:07:20 can you speak it Jun 02 17:07:38 victor borge probably could Jun 02 17:07:40 ketas: can you speak c++? Jun 02 17:07:41 well, different languages are there for a reason... Jun 02 17:07:50 with his phonetic punctuation Jun 02 17:07:51 ketas: true true Jun 02 17:07:51 Guser: no Jun 02 17:08:00 i can do c Jun 02 17:08:01 mru:!! Jun 02 17:08:21 Are the pullup/pulldown functions broken in the 3.8 kernel? Jun 02 17:08:27 Docs say "under development" Jun 02 17:08:46 hm Jun 02 17:09:33 * _troll_ looks sternly at mranostay Jun 02 17:09:59 * Guser pokes _troll_ in the eye. Jun 02 17:10:14 that isn't nice Jun 02 17:10:17 * _troll_ eats Guser Jun 02 17:10:26 just pay your toll and move along :P Jun 02 17:11:11 bakers: what does your security system use for detecting loop intactness? Jun 02 17:11:22 :P Jun 02 17:14:21 ketas: Intactness? Jun 02 17:14:32 i.e. the wire hasn't been cut? Jun 02 17:14:54 cut, shorted, whatever Jun 02 17:15:14 (plugged into mains) Jun 02 17:19:12 gigabit Ethernet, streaming a onetime pad Jun 02 17:24:01 a large feline Jun 02 17:26:26 * SpeedEvil is tempted to get a feline simply so he can name it aphract. Jun 02 17:30:49 ketas: Pull down resistor. If it gets cut, it'll go low into to alarm Jun 02 17:31:04 ketas: If it gets shorted, there isn't much I can do. The loops are normally shorted (i.e. the door is closed) Jun 02 17:32:38 So the analog pins are 12 bits, but when I hook a pin directly to the ADC I get a reading of 1799 Jun 02 17:32:42 which seems to be the max Jun 02 17:32:58 is it reading a range, or is that the millivolts applied to the pin? Jun 02 17:33:05 I expected it to be 0 - 4096 Jun 02 17:33:35 the ADC range is 0-1.8V so it might be a max? Jun 02 17:34:15 kfoltman: Just weird because all the docs say it's a 12bit ADC Jun 02 17:34:32 But if 1799 is the max that's not even 11 bits Jun 02 17:34:56 kfoltman: The analogue range is actually greater, but the data from 1801 on up is delivered as smoke signals. Jun 02 17:34:58 :P Jun 02 17:35:09 hahaha Jun 02 17:35:28 bakers: if beagle ADCs are as noisy as STM32 ADCs, then you'll be lucky to get 9 bits of actual resolution :P Jun 02 17:35:37 bakers: well, it can be both 0-1800mv and 12 bit resolution? Jun 02 17:35:50 ketas: with no fractional values? Jun 02 17:36:12 mmm Jun 02 17:36:17 fiola: and you need to reset the ADC by buying a new BBB, too ;) Jun 02 17:36:18 is is required? Jun 02 17:36:33 is it Jun 02 17:37:05 kfoltman: That reset command is one of the slowest in the BBB spec :P Jun 02 17:37:06 If I wanna use PWM to dim an LED, how do I do that? Jun 02 17:37:44 There are a few tutorials on that subject, but I haven't tried them yet. Jun 02 17:38:32 bakers: well, and many security systems have three state loop Jun 02 17:38:52 i was interested in emulating that Jun 02 17:38:57 Anyone updated the image on their BBB yet? Jun 02 17:39:04 yes Jun 02 17:39:06 I see there is an image posted from 5-27 Jun 02 17:39:07 everyone Jun 02 17:39:11 heheh Jun 02 17:39:14 we pretty much had to ;) Jun 02 17:39:21 kfoltman: had to? Jun 02 17:39:32 as in, "opkg upgrade bricked my board" Jun 02 17:39:42 or as in angstrom sucks too bad Jun 02 17:39:44 heh Jun 02 17:39:52 well, it's not brick Jun 02 17:39:59 the board Jun 02 17:40:01 or as in dont worry about it and install debian Jun 02 17:40:08 ketas: it's a reversible brick, still... ;) Jun 02 17:40:13 plywooded it Jun 02 17:40:18 lol Jun 02 17:40:29 You can't brick it, but you can screw it up badly. Main effect is a lot of cursing and time wasted. Jun 02 17:40:31 sandpited it Jun 02 17:40:39 sandwiched Jun 02 17:40:52 I'm already sick of angstrom and busybox Jun 02 17:41:04 I want openssh so I can do SSH over IPV6 too Jun 02 17:41:05 So im kind of stuck here Jun 02 17:41:17 * m_billybob needs some advice Jun 02 17:41:34 I have a kernel module i need to get on my install, but no sd card adapter . . . Jun 02 17:41:36 bakers: so dropbear doesn't support v6? Jun 02 17:42:19 ketas: It does according to the docs, but it's not enabled in the angstrom install Jun 02 17:42:37 i think it did for me Jun 02 17:42:40 somehow Jun 02 17:43:10 bakers: We'll never know the proportion, but I suspect that a large majority of BBB users get off Angstrom fast. Once you find so many packages missing from the Angstrom feeds, the urge to move becomes irresistible. Jun 02 17:43:39 If I move to Debian/Fedora am I going to lose access to some of the advanced pin features? Jun 02 17:43:47 i.e. analog pins, pwm, etc Jun 02 17:43:50 no Jun 02 17:43:59 How well supported is that stuff outside of angstrong Jun 02 17:44:01 bakers: no. Those are all kernel features Jun 02 17:44:02 angstrom Jun 02 17:44:03 you may have to wait for drivers Jun 02 17:44:23 Can you put debian on the MMC? Jun 02 17:44:25 as angstrom is production distro things may be a little slower on debian Jun 02 17:44:28 or does it have to boot from an SD card Jun 02 17:44:31 yes. Jun 02 17:44:35 either Jun 02 17:44:51 I understand you put a distro on an SD card, and hold the boot button when power it up? Jun 02 17:44:52 er did linux foundation drop all cfp submissions somehow? Jun 02 17:44:59 initially you need to install on sd if you build your own Jun 02 17:45:08 mranostay: no, only yours Jun 02 17:45:21 Does debian run faster on the MMC vs SD? Jun 02 17:45:35 ketas: http://fpaste.org/16138/37019512/ Jun 02 17:45:59 what do you think mastiff Jun 02 17:46:03 mru: knew that was coming Jun 02 17:46:24 It should, yeah. I'm wondering how much. Jun 02 17:46:36 why dont you benchmark it Jun 02 17:46:36 Size/speed trade off see? Jun 02 17:46:49 Yeah it was a master of the obvious question ;) Jun 02 17:46:49 the emmc is faster than sd Jun 02 17:47:00 but debian is like melissa mccarthy Jun 02 17:47:01 whether that matters depends on what you're doing Jun 02 17:47:06 mru of course it is Jun 02 17:47:07 if you're cpu-bound, you won't notice Jun 02 17:47:08 Rickta59: Hillarious? Jun 02 17:48:06 tiny Jun 02 17:48:12 hi all Jun 02 17:48:16 no idea what hes talking about Jun 02 17:49:12 angstrom more like her cousin .. size wize billy Jun 02 17:49:14 * mranostay redoes his in third-person bio Jun 02 17:49:45 Rick, ah well lol i know neither of those women Jun 02 17:50:21 how can I install a bare metal software to the eMMC without sd card? Jun 02 17:50:33 u-boot load Jun 02 17:50:43 PXE Jun 02 17:50:59 other peripheral boot Jun 02 17:51:51 umm, is beaglebone made from real beagles? Jun 02 17:52:04 dead beagle Jun 02 17:52:05 BONES Jun 02 17:52:06 Can I user Jtag to program the board? Jun 02 17:52:17 maxinux: yes, sounds horrible... Jun 02 17:52:40 mostly likely depending on the beagle Jun 02 17:52:41 angstrom doesn't have Apache!?! Jun 02 17:52:48 well, certain bakery product sounds much more innocuous now! Jun 02 17:52:53 debian does. Jun 02 17:53:24 Rickta59 ... can i load ubuntu in NAND memory Jun 02 17:53:26 apache2 matter of fact Jun 02 17:53:35 no idea Jun 02 17:53:42 i am rigth now using ubuntu installed on sd card ... but can i transfer it to NAND Jun 02 17:53:47 ok Jun 02 17:53:55 not really a good idea Jun 02 17:53:57 it is too big Jun 02 17:54:02 use teh corect term Jun 02 17:54:04 aadi: you mean eMMC? Jun 02 17:54:06 emmc Jun 02 17:54:09 you can load ubuntu onto the emmc Jun 02 17:54:11 which os r u using ?? Jun 02 17:54:17 the nice thing is the bootloader it installs will auto boot sd's Jun 02 17:54:20 big apache doesn't seem like good idea anyway on embedded device? Jun 02 17:54:33 better to have it on the sdcard so you can always have a bootable angstrom image Jun 02 17:54:34 yes i have ubuntu on emmc ... but can it be done on NAND memory or internal memory ??? Jun 02 17:54:35 the beaglebone has more power than web servers did 10 years ago :) Jun 02 17:54:43 emmc is the internal memory Jun 02 17:54:46 ketas, apache 2 comes preinstalled on RCNs demo image Jun 02 17:54:54 the install is 374MB with it Jun 02 17:54:58 so yeah . . . Jun 02 17:55:03 Any votes on switching to Debian vs Ubuntu? Jun 02 17:55:12 try them all Jun 02 17:55:41 ok then i have it on sd card .... how to get it onto emmc ???? Jun 02 17:55:59 aadi: follow the directions? Jun 02 17:56:04 maxinux or billybob ?? Jun 02 17:56:12 which one ??? Jun 02 17:56:15 aadi: armhf.com/index.php/boards/beaglebone-black/ Jun 02 17:56:18 where are they man ?? Jun 02 17:56:23 ok thnax bro Jun 02 17:56:43 If you mess up the MMC somehow, you can still boot the BBB from the SD card? Jun 02 17:56:52 I don't wanna brick this thing Jun 02 17:56:54 Is this the best reference? Sitara_Linux_Software_Developer’s_Guide Jun 02 17:57:00 bakers: yes you can Jun 02 17:57:03 you wont brick it Jun 02 17:57:11 That and the BBB system reference? Jun 02 17:57:54 mastiff be a bit more clearer would ya ? best refference for HWT ?! Jun 02 17:57:57 yes i have damaged the one in emmc ... now m running on sc card image Jun 02 17:58:01 so yes you can do that Jun 02 17:58:15 you can always boot from sd Jun 02 17:58:53 SO worst case you boot from SD, and then rebuild the MMC from there? Jun 02 17:59:03 yes Jun 02 18:00:01 * m_billybob pokes mastiff Jun 02 18:00:03 m_billybob general beaglebone reference materials Jun 02 18:00:15 SRM TRM datasheet Jun 02 18:00:53 TRM 74c advisable if you want to know about the PRUs Jun 02 18:01:12 74h has nothing in tit concerning PRUs Jun 02 18:02:14 * SpeedEvil sighs. Jun 02 18:02:27 whats up SpeedEvil Jun 02 18:02:30 Information dissapearing and reappearing with versions is retarded. Jun 02 18:02:49 I've somewhere got about 14 versions of the spruf96 (?) for the n900 processor. Jun 02 18:02:49 blame TI Jun 02 18:03:27 Quite. Jun 02 18:03:33 Trying to understand musb Jun 02 18:03:41 This page has a lot of what I'm looking for. http://processors.wiki.ti.com/index.php/Sitara_Linux_Software_Developer%E2%80%99s_Guide Jun 02 18:04:19 mastiff, never read it, may never read it Jun 02 18:05:07 No no guys, Jason did as we requested and put the missing chapter 4 of the TRM on Github for us. The PRUs are now fully documented, even to those who don't have the old SPRUH Jun 02 18:05:44 * m_billybob has the spruh75c Jun 02 18:05:51 74c* Jun 02 18:05:53 The PDF of chapter 4 is there at top level of the PRU materials page. Jun 02 18:07:32 the evil TRM Jun 02 18:07:32 fiola, spo how about a link Jun 02 18:07:40 heh Jun 02 18:07:51 Um, hang on. It's the standard one though :P Jun 02 18:07:58 jadonk ? Jun 02 18:08:29 This looks very noob friendly, Shocking that's it's not linked on the beagleboard,org site. http://www.ti.com/lsds/ti/arm/training/OLT312000.page Jun 02 18:09:19 https://github.com/beagleboard/am335x_pru_package , file am335xPruReferenceGuide.pdf Jun 02 18:09:58 ah i had it bookmarked already Jun 02 18:10:09 have so many bbb links hard to keep track of them all Jun 02 18:10:15 Haha Jun 02 18:10:20 i need to organize my bookmarks i guess Jun 02 18:10:34 organised bookmarks are so 1990s Jun 02 18:11:44 * m_billybob throws a 1990's volvo at mru Jun 02 18:12:07 dont "brick" it ;) Jun 02 18:12:22 * fiola notes that after the dust around mru's crater has settled, the Volvo's sidelights are still on. Jun 02 18:13:36 fiola, so delema here. No SD card adapter to put uSD in my computer. so i have freshly compiled kernel here I need to get on my BBB. options ? Jun 02 18:14:15 im booted to the sd, need to get it on the sd Jun 02 18:14:19 m_billybob: post it somewhere, and wget it on to you BBB Jun 02 18:15:06 m_billybob: wrong person to ask, I haven't yet been messing with it personally, maybe will have time this week. So far I'm just soaking up information, but have several BBBs. :P Jun 02 18:15:18 not sure replacing the kernel your booted to is a good idea Jun 02 18:15:32 Are these pre-built debian images installers, or complete OSs? Jun 02 18:15:39 from here http://www.armhf.com/index.php/boards/beaglebone-black/ Jun 02 18:15:53 anyone using gdb-multiarch for debugging beaglebone from host? Jun 02 18:15:57 nakers use google will ya ? Jun 02 18:16:03 bakers* Jun 02 18:16:14 m_billybob: so you made an oven controller? Jun 02 18:16:32 bakers first week the bbb was released i fond all this in like an hour, using google no reason why you cant too Jun 02 18:16:40 bakers: the concept of "installer" doesn't seem to exist in the ARM world. Here we just have kernels (and the partial bootstraps), and root firestore images. Jun 02 18:16:44 dwery yeah Jun 02 18:16:51 m_billybob: with a pizza profile Jun 02 18:16:58 heh Jun 02 18:17:02 m_billybob: is that available? :D Jun 02 18:17:10 not really Jun 02 18:17:16 you can make your own though Jun 02 18:17:43 did you release the schematics/code> Jun 02 18:17:44 > Jun 02 18:17:45 ? Jun 02 18:17:45 the profile structure is all that needs creaing Jun 02 18:18:05 both and I didnt make the baord only wrote the code Jun 02 18:18:09 bakers: in addition to kernels, bootstraps and filestore images, we have "flashers" that write to eMMC automatically ... not entirely sure about those, as haven;t tried. Jun 02 18:18:25 dwery, my buddy made teh board Jun 02 18:19:01 I'm trying to cut down on unfinished projects :D Jun 02 18:19:15 yeah code isnt finished Jun 02 18:19:22 dont know when ill get around to it Jun 02 18:19:25 code is functional Jun 02 18:19:30 just not polished Jun 02 18:19:33 k Jun 02 18:20:17 problem we're having wulf my buddy wants lead free soldering. the oven we have either wont do it, or needs much better insulation Jun 02 18:20:33 until i get the heat trackign above 220 to settle i can not test with our oven Jun 02 18:20:37 not sanely anyhow Jun 02 18:20:42 right Jun 02 18:20:59 I'm trying to cut down on unfinished projects :D Jun 02 18:21:01 A desire I once had, but doomed to failure. :P Jun 02 18:22:55 dwery, there is another project out there, by nate zimmerman, hes gone down this path a couple years before us. hes got a fairly well piished IR reflow oven. you might be able to pick his brain about it. dont know if hes made his code availible but ive seen images of the oven and software Jun 02 18:23:08 well polisghed* Jun 02 18:23:11 I'll give a look, ty Jun 02 18:23:24 polished Jun 02 18:24:11 HIs app is graph based .NET app, looked very professional Jun 02 18:24:30 .what? :D Jun 02 18:24:45 I think he offloaded control to his windows PC Jun 02 18:25:00 been a while since i read his post Jun 02 18:30:06 * m_billybob wonders if hes still here of it his IRC client has 10053's him again Jun 02 19:24:56 <_Sy_> Question, I want to backup the contents of the eMMC,using dd if=/dev/shm conv=sync,noerror bs=64K but where does that back it up to? Jun 02 19:25:53 /dev/shm ? Jun 02 19:26:10 <_Sy_> isn't that the correct device for eMMC ? Jun 02 19:26:13 no Jun 02 19:26:18 that's shared memory Jun 02 19:26:21 aka RAM Jun 02 19:26:45 /dev/shm is a directory Jun 02 19:28:44 <_Sy_> How do I determine the device reference for eMMC ? Jun 02 19:30:42 nice, I just crashed BBB by running opreport :? Jun 02 19:31:09 perhaps it's something that has mmc in the name ;) Jun 02 19:31:19 _Sy_: how about /dev/mmc* ? one will be the eMMC the other the µSD Jun 02 19:31:42 <_Sy_> just seen that in /proc cat devices... Jun 02 19:31:43 <_Sy_> ty Jun 02 19:32:19 <_Sy_> but where will the backup be created? Jun 02 19:32:58 wherever you point of= to Jun 02 19:33:50 <_Sy_> can I create a back up of the emmc to the emmc ? Jun 02 19:36:54 <_av500_> right Jun 02 19:37:00 _Sy_: short answer: no. long answer: if you understand what you're doing and go for partitions... Jun 02 19:37:03 <_av500_> can you put a shoebox into the same shoebox? Jun 02 19:37:23 <_Sy_> dd if=/dev/mmc* bs=1K of=/home/root doesn't like that Jun 02 19:37:36 <_av500_> no Jun 02 19:37:36 <_Sy_> dd: opening `/dev/mmc*': No such file or directory Jun 02 19:38:03 <_Sy_> I realise that, thats why I asked, as it seems you can't mount an SD card if you boot from emmc Jun 02 19:38:09 <_Sy_> so whats the solution Jun 02 19:39:32 maybe run from sd card and use dd and ssh to save to a remote machine _Sy_ Jun 02 19:40:19 <_av500_> or to sd Jun 02 19:41:44 or to a USB stick Jun 02 19:41:51 many roads, rome, etc Jun 02 19:42:24 <_Sy_> will it recognise and mount a USB memory stick? Jun 02 19:42:28 <_Sy_> I'll try Jun 02 19:45:41 <_Sy_> I have two BBB's one now has a USB drive inserted, formated as Fat32....the device list in both BBB's looks the same Jun 02 19:45:58 <_Sy_> how can I determine if it see's it and then mount it? Jun 02 19:46:09 did you boot with the USB stick connected? Jun 02 19:46:24 <_Sy_> no, should I? Jun 02 19:46:27 yes Jun 02 19:46:41 <_Sy_> ok, its not a bootable memory stick, does that matter? Jun 02 19:46:47 no Jun 02 19:46:53 <_Sy_> will try Jun 02 19:48:01 hi anyone to chat Jun 02 19:48:06 http://www.catb.org/esr/faqs/smart-questions.html Jun 02 19:48:11 I have a problem with beaglebone Jun 02 19:48:33 no way! j/k Jun 02 19:48:35 I try t connect with the board using putty over ethernet but no success Jun 02 19:49:01 I have used a portscanner t otain ip address Jun 02 19:49:07 the ethernet and FTDI IP addresses are different Jun 02 19:49:17 when I ping the ip address of the board i get a reply Jun 02 19:49:32 but still I cannot see the linux terminal on putty Jun 02 19:49:38 can yu help please Jun 02 19:49:48 on mine currently it's 192.168.7.2 for usb ftdi, and 192.168.1.7 for ethernet Jun 02 19:50:15 I am using ethernet connection Jun 02 19:50:20 no ftdi Jun 02 19:50:27 I put an SD card with Debian on it Jun 02 19:50:30 dm8tbr: ESR links == fail Jun 02 19:50:30 can you log into your router and check what IPs are connected> Jun 02 19:50:34 i have re-installed the operating sstem from wikipedia Jun 02 19:50:35 it tries to boot but all four USR leds light up Jun 02 19:50:39 but still no success Jun 02 19:50:41 and nothing DHCPs Jun 02 19:50:46 i am a very newbe Jun 02 19:50:51 i am a very newbie Jun 02 19:50:52 maxinux: *shrug* Jun 02 19:51:06 clive, what are the LEDs doing? Jun 02 19:51:27 one is blinking the pattern like heart beat Jun 02 19:51:51 I just checking the AM3359 processor and there are 3PWM, Where can I find this 3PWM I/O on the BBB board? Jun 02 19:52:39 clive can you ssh into the BBB if you're connected via USB? Jun 02 19:54:18 robu, check chapter 7 of the BBB system reference manual Jun 02 19:55:26 Hi any links on how to start beaglebone through ethernet or ftdi.I am newie Jun 02 19:56:10 I have the board and cannot write program because I cannot connect through putty with the board Jun 02 19:56:42 through ping i get reply but I cannot conect on putty so to write the program Jun 02 19:56:55 any one can give me some links to support me Jun 02 19:56:55 thanks Jun 02 19:57:13 have you used the web inteface from start.htm on the beaglebone folder when you connect it with usb to your computer Jun 02 19:57:17 which board clive__ ? a beagle bone? or a beaglebone black Jun 02 19:57:29 beagle bone Jun 02 19:57:43 doesn't that have a built in ftdi ? Jun 02 19:58:13 I tried downloaded the webinterface but n success Jun 02 19:58:33 can I connect directl with USB Jun 02 19:58:45 i don't have one .. Jun 02 19:58:50 but i thought it had a built in ftdi Jun 02 19:58:51 yes, connect with usb and open the beaglebone folder Jun 02 19:58:52 port of laptop and without ethernet connection?/ Jun 02 19:58:57 are you on windows or linux Jun 02 19:59:05 I am windows Jun 02 19:59:30 when you plug in the beagleboard does it add a COM device? Jun 02 19:59:36 <_av500_> no Jun 02 19:59:42 <_av500_> not the BBB Jun 02 19:59:45 beaglebone .. Jun 02 19:59:47 sorry Jun 02 19:59:52 <_av500_> the BBW yes Jun 02 19:59:52 is your board white or black Jun 02 19:59:58 <_av500_> if you instrall the ftdi driver Jun 02 20:00:01 white Jun 02 20:00:10 did you install the ftdi driver? Jun 02 20:00:17 So i should connect wit ftdi then Jun 02 20:00:17 when you plug in with usb there should be a removable drive that appears in windows explorer Jun 02 20:00:26 I will check it out Jun 02 20:00:29 thanks Jun 02 20:00:32 very much Jun 02 20:00:34 that should allow you to connect with putty Jun 02 20:00:42 on a COM port Jun 02 20:00:46 thanks rick i will try it later Jun 02 20:00:48 the removable drive has the start.htm that will allow you to load the drivers, etc Jun 02 20:00:58 thanks Jun 02 20:00:58 its' on the website Jun 02 20:01:16 I tried to follow the stps on the website but no success Jun 02 20:01:24 I will try th ftdi then Jun 02 20:01:30 thanks for th eidea Jun 02 20:01:43 bye Jun 02 20:08:20 Does the latest Windows provide all these drivers automatically? (Just for reference, I don't use Win) Jun 02 20:08:34 Oh and Mac, if anyone knows. Jun 02 20:08:54 <_av500_> no Jun 02 20:08:56 <_Sy_> ok, I've shutdown completely, powered up again with USB stick in, what should I see? Jun 02 20:09:06 <_av500_> on windows you need ftdi drivers Jun 02 20:09:08 blinky lights? Jun 02 20:09:17 _av500_: kk, ta Jun 02 20:09:25 dmesg might show /dev/sda Jun 02 20:09:29 <_Sy_> Both systems booted, Jun 02 20:10:01 <_Sy_> ok, one of them now has sda and sda1 Jun 02 20:10:13 fdisk -l /dev/sda Jun 02 20:10:22 will show that sda1 is a partition Jun 02 20:10:30 and how big the usb stick is Jun 02 20:11:10 <_Sy_> 8GB, is shows the correct volume label Blocks 3919841, Start 38, End 7839719 Jun 02 20:11:27 sounds about right Jun 02 20:11:46 did it auto load? Jun 02 20:11:51 automount Jun 02 20:12:10 <_Sy_> Doesn't show anything in the mnt folder Jun 02 20:12:13 mount Jun 02 20:13:17 most things show up in /media Jun 02 20:13:27 the beagebone nlack has 3 PWM Jun 02 20:13:35 is it possible to controll all three? Jun 02 20:13:47 Just because it detects /dev/sda doesn't mean that it'll mount partitions on /dev/sda. You need entries in /etc/fstab (for /dev/sda1. sda2. etc) for mounts to happen. Jun 02 20:13:49 beaglebone* Jun 02 20:14:21 <_Sy_> mount: can't find /dev/sda1 in /etc/fstab or /etc/mtab Jun 02 20:15:22 Make a mount point like /mnt/foo and try mounting a partition manually using mount -r /dev/sda1 /mnt/foo Jun 02 20:15:43 mkdir the mount point, ie. mkdir /mnt/foo; chmod 0 /mnt/foo Jun 02 20:16:12 i just plugged in a usb stick Jun 02 20:16:31 it auto mounted using the label of the stick and put it in /media Jun 02 20:16:39 <_Sy_> yes, ty fiola, that worked Jun 02 20:16:56 The reason for the chmod 0 is so that just listing the mount point then shows you if there is something mounted on top of it. The d--------- will turn into drwxrwxrwx Jun 02 20:17:31 maybe it is because i have a newer angstrom image Jun 02 20:17:40 root@beaglebone:~# cat /etc/dogtag Jun 02 20:17:40 Angstrom-Cloud9-IDE-GNOME-eglibc-ipk-v2012.12-beaglebone-2013.05.28.img Jun 02 20:17:47 <_Sy_> dam, it now says the file system is read only, is that due to mount -r ? Jun 02 20:17:48 I always just put a file inside the mount point... such as no_mount Jun 02 20:18:15 _Sy_: the "-r" was readonly, for testing. Drop the "-r" if you want it readwrite. Always good to test mounts in readonly mode. Jun 02 20:18:18 could be due to an error on the filesystem for th edrive Jun 02 20:18:26 <_Sy_> will do Jun 02 20:18:34 ... or that :P Jun 02 20:19:02 <-- defensive best practices :P Jun 02 20:19:06 its a usb stick .. he probably found it outside of CIA headqtrs on the ground Jun 02 20:19:16 Hehe Jun 02 20:19:41 safer would to mount it no read Jun 02 20:19:49 lolz Jun 02 20:20:54 _Sy_: Now that the mount works manually, you need an entry in /etc/fstab so that it happens automatically on boot and so that you can mount it without having to name the device, eg. mount /mnt/foo Jun 02 20:21:17 so why did mine automout fiola ? Jun 02 20:21:37 Rickta59: You have the favour of the gods :P Jun 02 20:21:47 automatic mounting is evil Jun 02 20:23:47 _Sy_: in fstab you need something like: /dev/sda1 /mnt/foo ext3 auto,noatime 0 1 Jun 02 20:24:03 except that it is probaby vfat Jun 02 20:24:38 Oh, gnashing of teeth Jun 02 20:24:40 anyone tried QNX on a BBB? Jun 02 20:24:50 <_av500_> no Jun 02 20:25:01 <_av500_> give us a link to the code and we might Jun 02 20:25:02 qnx .. man .. something i've not run since the 90s Jun 02 20:25:28 <_Sy_> ty fiola, restarting to see if it works Jun 02 20:26:21 http://beagleboard.org/project/QNX+Neutrino+on+OMAP/ Jun 02 20:26:40 * mranostay pukes Jun 02 20:26:48 we don't speak of QNX here Jun 02 20:26:49 :) Jun 02 20:27:00 <_Sy_> why the anti QNX thing? Jun 02 20:27:10 also http://community.qnx.com/sf/wiki/do/viewPage/projects.bsp/wiki/TiAm335Beaglebone Jun 02 20:27:33 _Sy_: as Rick suggested, if the fs type is vfat then the "ext3" is obviously wrong. Put "auto" in there instead, and it should auto-detect the fs type. Usually works fine on auto detect./ Jun 02 20:28:16 <_Sy_> thats what I did, seems fine Jun 02 20:28:46 <_Sy_> what are the last two parameters, I have them as 0 0 Jun 02 20:29:09 <_av500_> fine Jun 02 20:29:14 "dump" and "pass". Not used much these days. Jun 02 20:29:38 <_Sy_> So why the anti QNX then? Jun 02 20:30:14 _Sy_: Just not open source. I don;t think there's anything against QNX specifically. Jun 02 20:30:17 qnx is pretty good Jun 02 20:30:36 runs fine on whitebone Jun 02 20:30:51 <_Sy_> Going back to the backup, do I have to backup each mmc device individially or can I use one command to back up everything? Jun 02 20:31:05 won't run on blackbone without mods most likely? Jun 02 20:31:16 <_av500_> anti? Jun 02 20:31:18 try and find out Jun 02 20:31:22 <_av500_> i'm not anti Jun 02 20:31:33 <_av500_> where can I download it to try? Jun 02 20:31:40 i will, just prioritizing activities Jun 02 20:31:41 qnx.com Jun 02 20:31:53 check the links I posted above Jun 02 20:32:28 <_Sy_> I was referring to the "we don't speak of QNX here"....QNX isn't free though, I recently spoke to QNX UK about this, whilst you can use it for non comercial projects for free, it isn't free for anything you plan to sell. Jun 02 20:32:33 you probably want to make sure emmc is not mount Jun 02 20:32:34 ed Jun 02 20:32:44 _Sy_: yes, so? Jun 02 20:32:47 and then use dd and a compress scheme Jun 02 20:32:55 it's still a decent os Jun 02 20:33:00 and do the whole emmc device Jun 02 20:33:16 one file .. then you can do the same later Jun 02 20:34:42 <_av500_> _Sy_: we can speak qnx here Jun 02 20:34:51 _Sy_: There a lot of kidding done here, and the "we don't speak of QNX here" was probably part of that. I've never seen a specific anti-QNX thing here, nor anywhere else, other than the obvious one that it's not open source, costs money, and you're in the hands of a company. Jun 02 20:35:05 There's* Jun 02 20:35:21 <_Sy_> dd: opening `/mnt/usbstick': Is a directory Jun 02 20:35:26 all of those things are sometimes perfectly acceptable Jun 02 20:35:28 <_av500_> i'd say it does not have the critical mass here Jun 02 20:35:55 <_Sy_> thats the error I get when trying: dd if=/dev/mmcblk0 of=/mnt/usbstick bs=1M Jun 02 20:35:56 you need to understand the /dev/mmc stuff Jun 02 20:36:08 <_av500_> fiola: I kid about every OS Jun 02 20:36:11 _av500_: could some plutonium help here? Jun 02 20:36:15 <_av500_> dm8tbr: sure Jun 02 20:36:25 _av500_: I noticed ^_^ Jun 02 20:36:25 <_av500_> whatever their daily biuld is called Jun 02 20:36:25 of needs to be a filename Jun 02 20:36:29 _av500_: but http://26-26-54.hardwarebug.org/91 Jun 02 20:36:40 <_av500_> Rickta59: its unix, everything is a file Jun 02 20:36:42 /mnt/usbstick/emmc_image Jun 02 20:36:52 _av500_: everything except sysv ipc Jun 02 20:36:54 true true not a directory i should have sead Jun 02 20:37:00 but we don't talk about sysv ipc Jun 02 20:37:07 <_av500_> right Jun 02 20:37:17 <_av500_> and sockets? Jun 02 20:37:20 <_av500_> or is that the same? Jun 02 20:37:25 Except network devices which are not files. Someone failed bigtime, and owes us a pizza. Jun 02 20:37:26 <_Sy_> doh, ty Rickta59, thats working Jun 02 20:37:27 sockets are file descriptors at least Jun 02 20:38:19 are you booted off the sdcard _Sy_ ? Jun 02 20:38:24 but anyone who talks about sysv ipc, I'll shmat over the head Jun 02 20:38:32 lol Jun 02 20:38:42 <_Sy_> no Jun 02 20:38:52 <_Sy_> its just finished Jun 02 20:38:55 so you are backing up a live files system? Jun 02 20:39:03 bad, bad idea Jun 02 20:39:14 <_Sy_> it isn't doing anything else except the backup Jun 02 20:39:20 heh Jun 02 20:39:29 well do a ps .. Jun 02 20:39:41 did you boot into single user mode? Jun 02 20:39:56 <_Sy_> single user mode? Jun 02 20:39:58 nm Jun 02 20:40:01 dm8tbr: so glass expert :) Jun 02 20:40:06 you should boo off the sdcard Jun 02 20:40:14 make sure the emmc is not mounted Jun 02 20:40:17 then back it up Jun 02 20:40:21 metalization is for making the glass one-way right? Jun 02 20:40:32 mranostay: and thermal insulation Jun 02 20:40:44 and for shielding RF Jun 02 20:40:53 bbl Jun 02 20:40:53 a thin metal layer reflects ir Jun 02 20:41:08 if you don't get a GPS fix inside, then it's coated Jun 02 20:41:40 <_av500_> mru: and a thick one? Jun 02 20:41:40 <_Sy_> df Jun 02 20:41:49 <_Sy_> wrong window :) Jun 02 20:41:53 _av500_: reflects visible light too Jun 02 20:42:40 how can i tell versus regular glass? Jun 02 20:42:48 is it shiny? Jun 02 20:43:21 define shiny Jun 02 20:43:26 My precious Jun 02 20:43:41 <_av500_> +1 Jun 02 20:43:57 from outside, does it have a red tinge? Jun 02 20:44:02 <_av500_> mranostay: scratch it at the corner Jun 02 20:44:29 that assumes he got the corner office Jun 02 20:45:05 heh cute this is at home Jun 02 20:45:43 mru: yeah but purplish Jun 02 20:45:44 <_av500_> sure Jun 02 20:45:48 <_av500_> home office Jun 02 20:45:53 <_av500_> mranostay: metal Jun 02 20:46:20 did LetoThe2nd live there previously? Jun 02 20:46:38 hehe Jun 02 20:48:12 so since GPS signal is -30db background noise i assume it is going to be a problem ... :) Jun 02 20:48:32 <_av500_> thats why you have A-GPS Jun 02 20:50:03 <_Sy_> mmmm.....the BBB takes forever to boot, if its going to boot at all with the USB stick removed. Jun 02 20:50:18 <_av500_> serial console will tell you Jun 02 20:51:02 <_av500_> lol: http://www.huffingtonpost.com/2013/06/01/fake-shops-g8-northern-ireland_n_3372270.html?ref=topbar Jun 02 20:52:32 oh nice spam message to GSoC list Jun 02 20:52:39 http://www.zerohedge.com/news/2013-06-01/irelands-big-lie-real-potemkin-village Jun 02 20:54:19 hello hello Jun 02 20:56:24 <_av500_> mranostay: can you pls click it for me Jun 02 20:56:28 <_av500_> Im scared Jun 02 20:58:11 so the emmc on the bbb seems to be dahmed fast Jun 02 20:58:38 of course i can only do minimal tests since 96% of the space is used by angstrom . .. Jun 02 20:59:01 root@arm:~# dd if=/dev/zero of=/test-emmc/test.img bs=1024k count=8 Jun 02 20:59:01 8+0 records in Jun 02 20:59:01 8+0 records out Jun 02 20:59:01 8388608 bytes (8.4 MB) copied, 0.213551 s, 39.3 MB/s Jun 02 20:59:15 root@arm:~# dd if=//test-emmc/test.img of=/dev/zero bs=1024k Jun 02 20:59:15 8+0 records in Jun 02 20:59:15 8+0 records out Jun 02 20:59:15 8388608 bytes (8.4 MB) copied, 0.0569698 s, 147 MB/s Jun 02 20:59:30 thats all for you mastiff, i doubt you'll get thsoe speeds from an uSD Jun 02 20:59:54 ah, interesting thanks Jun 02 21:00:09 <_av500_> m_billybob: your read is from RAM Jun 02 21:00:30 technically to get caching out of the way, you should dd twice the size of system memory but i dotn have that space availible on the emmc right now Jun 02 21:00:32 <_av500_> your data is way too small too Jun 02 21:01:20 my read is from the emmc Jun 02 21:02:10 m_billybob: that guarantees nothing Jun 02 21:02:37 if you want to measure device speed, use hdparm -t Jun 02 21:02:42 so write a better mmc performance test ;) Jun 02 21:02:58 personally i dotn really care. mastiff wanted to know Jun 02 21:03:51 I'm interested for software radio applications, what step of data transfer will be limiting. Jun 02 21:04:21 so trying to figure out some numbers on that Jun 02 21:04:35 if you ever get around to having a bare emmc or 1GB free on the emmc use bs=1024k count = 1000 Jun 02 21:04:50 also was wondering how much slower it is to boot from uSD Jun 02 21:04:58 and like others are already saying it wont be accurate, but may give yu a rough idea Jun 02 21:05:03 assuming you comnpare to sd too Jun 02 21:05:05 I think I did format mine to 1024 Jun 02 21:05:10 masta: SD speed is totally irrelevant if you want to do on device SDR Jun 02 21:06:13 USB peripheral SDR and BCC FGPA cape also involved Jun 02 21:06:19 me . . . i just wanted a rough idea of how fast emmc was compared to nfs disk speed. which is roughly 10-11x faster Jun 02 21:06:26 was wondering about SD more for booting Jun 02 21:07:00 running out of space on the angstrom install after gnuradio..... Jun 02 21:07:08 on the emmc Jun 02 21:07:49 i need to check the emmc performance, but it seems quick Jun 02 21:08:24 writting 1GB to sd right now Jun 02 21:08:34 and its not quick Jun 02 21:08:36 lol Jun 02 21:09:49 mrpackethead, what about transfer rate between the AM335 and Spartan3A? Jun 02 21:10:12 ? Jun 02 21:10:14 wgat about it Jun 02 21:10:31 <_av500_> 54 Jun 02 21:12:13 Wondering if you know what the limit for data transfer rate between them, or something to read to learn more about that? Jun 02 21:13:04 just experienced my first BSoD in ages Jun 02 21:13:14 time to pul the ole lappy apart and blow it out Jun 02 21:15:41 Linux never gets BSoD. Jun 02 21:15:56 (which is a complelely true, and unhelpful point) :) Jun 02 21:16:09 of course it doesnt, it'll just seg fault ;) Jun 02 21:16:23 ( and lock up ) Jun 02 21:16:54 <_av500_> it gets nice kernel panics Jun 02 21:16:56 When your hard disk panics - panic! Jun 02 21:17:11 there are hard disks running linux. Jun 02 21:17:53 _av500_ apparently not when tryign to connect two BT devices with the same MAC address. its give you a crash message, kick you off root, then lock up on ya Jun 02 21:18:38 that was my fault for not knowing I had two identical MAC addreses though Jun 02 21:21:41 I think in the meantime im going ot stop using chrome. firefox may use more resources in some respect, but atleast it doesnt load pages until you view them, and doesnt load down the processor needlessly Jun 02 21:21:45 right time to RMA one of these BBB's Jun 02 21:22:04 it just crashes randomly Jun 02 21:22:13 debian or angstrom ? Jun 02 21:22:24 both have the same result Jun 02 21:22:40 how is it powered ? and what is it doign when it crashes ? Jun 02 21:22:53 either via usb or 5V, same result Jun 02 21:23:06 get random kernel panics during start u Jun 02 21:23:10 ah, shame. Jun 02 21:23:19 never the same place Jun 02 21:23:27 but it has actually booted up twice Jun 02 21:23:32 so, i thought it was ok Jun 02 21:23:36 the other 3 i have Jun 02 21:23:40 are all 100% Jun 02 21:23:52 4 bbbs eh ? Jun 02 21:24:02 yes Jun 02 21:24:04 i ahve 4 Jun 02 21:24:27 for what its worth Jun 02 21:24:35 root@arm:~# dd if=/dev/zero of=/test-emmc/test.img bs=1024k count=1000 Jun 02 21:24:36 1000+0 records in Jun 02 21:24:36 1000+0 records out Jun 02 21:24:36 1048576000 bytes (1.0 GB) copied, 185.811 s, 5.6 MB/s Jun 02 21:24:51 thats with the emmc unmounted so going ot sd Jun 02 21:25:12 * mranostay headbangs in Jun 02 21:25:29 faster than my interwebs Jun 02 21:26:09 mastiff, but again not a fair comparrison Jun 02 21:26:26 emmc test should be done in the same manner twice the size of system memory Jun 02 21:26:47 and 8MB write on sd was just as fast as teh emmc test Jun 02 21:26:55 an 8MB write* Jun 02 21:26:57 reads too Jun 02 21:31:49 so with the emmc unmounted you were sending data from ethernet to SD or USB to SD? Jun 02 21:32:06 hi guys! Jun 02 21:32:56 playin with my new beaglebone black wonderin if anyone could help me? Jun 02 21:32:59 root@beaglebone:~/setup-scripts# MACHINE=beagleboard ./oebb.sh config beagleboard No manual entry for git-log Your installed version of git is too old, it lacks --no-abbrev. Please install 1.7.6 or newer root@beaglebone:~/setup-scripts# Jun 02 21:33:49 <_av500_> yes Jun 02 21:34:00 <_av500_> and you are doing it wrong Jun 02 21:34:10 <_av500_> you are not supposed to compile it ON the bone Jun 02 21:34:13 <_av500_> but on your PC Jun 02 21:35:28 mastiff so the sd in the bbb. im booted to sd Jun 02 21:35:48 reads are no better on the sd btw Jun 02 21:35:56 reading and writing to the same SD, got it Jun 02 21:35:56 .1 MB/s difference Jun 02 21:37:04 yeah all i did was mount /dev/mmcblk1p2 /test-emmc did the dd test, then umount /test-emmc and did the same test Jun 02 21:37:14 heh - finally got around to running my TXDAC from the BCC board. Got a little AM transmitter running from a Beaglebone now... Jun 02 21:37:24 i cant use home since im using a shared nfs /home from my debian cross dev system Jun 02 21:37:53 nice, I saw that board on your site Jun 02 21:38:09 Yeah - haven't done much with it. Jun 02 21:38:17 ohh ok got it Jun 02 21:38:25 so build it on the pc ok Jun 02 21:38:39 Was using it as a test signal generator for some stuff I was working on a while back. Jun 02 21:38:41 <_av500_> yes Jun 02 21:38:42 you CAN build it on the BBB, but it's way slower Jun 02 21:38:54 <_av500_> its about 1000x times faster Jun 02 21:38:55 I build Gnuradio on the BBB and it took around 3 hours Jun 02 21:39:16 thanks i'm pretty new to all of this Jun 02 21:39:21 i'm trying to do this: http://www.oz9aec.net/index.php/beaglebone/476-turning-the-beaglebone-into-a-high-definition-ip-camera Jun 02 21:39:32 do I even need to build a new angstrom? Jun 02 21:40:22 <_av500_> no Jun 02 21:40:23 grr why do family members think i want their political mail chain emails?.. Jun 02 21:40:32 <_av500_> chain mail? Jun 02 21:40:38 <_av500_> that helps with politics Jun 02 21:40:55 <_av500_> and a mace Jun 02 21:40:59 mastiff, shared nfs /home twice the write speed of sd ;) Jun 02 21:41:14 1048576000 bytes (1.0 GB) copied, 101.419 s, 10.3 MB/s Jun 02 21:41:41 <_av500_> slow Jun 02 21:41:48 <_av500_> I write that to usb hdd Jun 02 21:41:49 * mranostay looks for an RF guy in here Jun 02 21:41:55 * mranostay pokes Crofton|work Jun 02 21:41:57 whats that speed like _av500_ ? Jun 02 21:41:58 <_av500_> mranostay: ask, dont ask to ask Jun 02 21:42:14 <_av500_> m_billybob: I get 10mb/s for usb hdd Jun 02 21:42:21 <_av500_> and 20mb/s read Jun 02 21:42:24 av500: distcc? Jun 02 21:42:36 _av500_: shut up :) Jun 02 21:42:38 <_av500_> jacekowski: sure, buy 100 BBBs Jun 02 21:42:50 crossdistcc Jun 02 21:42:50 _av500_ ah nfs /home == 11.5MB/s reads for what its worth Jun 02 21:42:56 <_av500_> slow Jun 02 21:42:58 hard to do better over 10/100 Jun 02 21:43:05 <_av500_> right Jun 02 21:43:07 <_av500_> its only 100 Jun 02 21:43:12 <_av500_> I keep forgetting Jun 02 21:43:25 <_av500_> so, spinning rust beats netwrok Jun 02 21:43:28 Good afternoon. Does anyone know anything about getting hdmi to work with Archlinux on the BBB? Jun 02 21:43:28 wax those electrons Jun 02 21:43:36 spinning rust? Jun 02 21:43:40 google probably does Jun 02 21:43:40 <_av500_> yes Jun 02 21:43:45 what's spinning rust? Jun 02 21:43:49 <_av500_> a hard drive Jun 02 21:43:53 ferrit Jun 02 21:43:53 <_av500_> metal oxide Jun 02 21:43:56 ferrite Jun 02 21:43:57 <_av500_> on a platter Jun 02 21:44:03 _av500_ i suspect GbE would be must faster, but it would not nearly max the interface like it does with 10/100 Jun 02 21:44:05 <_av500_> wheeee round andround it goes Jun 02 21:44:11 much faster* Jun 02 21:45:03 just a guess based on testing i did several years ago. GbE would yield around 40-60MB/s Jun 02 21:45:04 I've been searching with google for a few hours now. Whenever I run startx, it appears to run, but nothing shows up on the TV. I know the cable and TV work because when I hooked everything up with the default Angstrom, it worked fine. Jun 02 21:45:37 m_billybob: depends on what kind of data you send using which protocol Jun 02 21:45:44 nfs Jun 02 21:45:48 <_av500_> BlueGreen: and why not ask the arch people? Jun 02 21:45:50 nfs3 Jun 02 21:45:51 ? Jun 02 21:45:56 yeah Jun 02 21:46:09 hm, not sure if that can really max out GbE Jun 02 21:46:11 cbf'd to get nfs 4 working proerly Jun 02 21:46:22 properly Jun 02 21:47:15 kblin, i did tons of testing a while back over 4 years ago, using all kinds of filesystem, and protocols including nfs, iSCSI AoE etc, they were all roughly the same Jun 02 21:47:33 i didnt exactly have a good network card o nthe client side though. only on the "target" Jun 02 21:47:41 <_av500_> kblin: you are back? :) Jun 02 21:48:21 _av500_: yeah, finally time to play with beagles again :) Jun 02 21:48:28 :) Jun 02 21:48:43 m_billybob: sure, a lousy network card'll do that to you Jun 02 21:49:03 kblin, well atleast i had an Intel Pro GbE on the server ;) Jun 02 21:49:08 <_av500_> kblin: :) Jun 02 21:49:24 on decent hardware, I've seen SMB2 do over 100MB/s Jun 02 21:49:24 <_av500_> kblin: mentoring gsoc? Jun 02 21:49:43 SMB as in samba ? Jun 02 21:49:50 _av500_: no, just admining this year Jun 02 21:49:55 <_av500_> ic Jun 02 21:49:58 <_av500_> m_billybob: yes Jun 02 21:50:17 m_billybob: SMB as in server message block, but yes, samba as the implementation Jun 02 21:50:39 though speed-wise win2012 server is pretty good, from what I've seen Jun 02 21:50:48 not on an ARM box, of course ;) Jun 02 21:50:53 ok cool. im not exactly a professional just a hobbyist with wierd goals ;) Jun 02 21:51:05 Hi, I have problem with my beaglebone. I need help Jun 02 21:51:13 next goal is getting iscsi initiator workign on the bbb Jun 02 21:51:31 maycol fire away Jun 02 21:52:05 m_billybob: why would you do iscsi instead of just mounting a file system? Jun 02 21:52:05 hi billy, I am from Peru Jun 02 21:52:25 maycol, ask your question :) Jun 02 21:52:45 kblin, idk perhaps a "problem" with geekdom ? ;) Jun 02 21:53:06 m_billybob: for full disclosure, I'm a samba developer, so I'm probably biased towards network file storage vs. network block storage Jun 02 21:53:41 the step in the page web, my beagle bone black not get configuration Jun 02 21:54:27 kblin in the end whatever works, works. Its just a challenge is all Jun 02 21:54:39 _av500_: surprisingly enough while I got a beaglebone to run samba on, at the moment I actually want to use it to blink a lot of leds :) Jun 02 21:54:56 maycol, could you be a bit more specific ? Jun 02 21:55:09 maycol exact details would be good. Jun 02 21:55:12 m_billybob: sure, "because I can" is probably the best engineering reason ever :) Jun 02 21:55:28 <_av500_> kblin: /nick kblink Jun 02 21:55:53 ok, the step 1 and step 2 not change color green in the page web Jun 02 21:56:08 maycol: ah, yes, I've seen that as well Jun 02 21:56:09 maycol, what browser are you using ? Jun 02 21:56:19 firefox ? use chrome. Jun 02 21:56:27 google crome Jun 02 21:56:31 ah Jun 02 21:56:36 ok try firefox then Jun 02 21:56:36 i have nod 32 Jun 02 21:56:51 maycol: did you try the beagleboard.org version of the page? Jun 02 21:56:56 maycol: that worked for me Jun 02 21:57:34 didn't get around to dig deeper into this yet Jun 02 21:57:52 maycol, although having the green header at the top with the bbb's ip isnt so important. can you connect to the webpages served by the beaglebone ? can you ssh in ? Jun 02 21:58:42 ceforge.net Jun 02 21:58:42 [05:57.56] --ChanServ-- Flags : KEEPTOPIC TOPI Jun 02 21:58:56 ewps ? Jun 02 21:59:13 Do I need to install the one-wire module? Doesn't look like angstrom has it? Jun 02 21:59:32 i load the page beaglebord.org Jun 02 22:00:04 ok, with chrome it indeed works on the bbb as well for me Jun 02 22:00:19 bakers, was just looking in menuconfig for debian last nigfht. not sure if angstrom is the same in this regard but not all 1 wire modules are compiled by default Jun 02 22:00:52 m_billybob: How do I know? If i "lsmod | grep w1" I don't see anything Jun 02 22:01:00 and /sys/bus/w1/devices/ doesn't list anything Jun 02 22:01:21 short of askign koen ? maybe try and build it yourself ? Jun 02 22:01:31 im not 100% sure how else you could tell Jun 02 22:01:43 well Jun 02 22:01:59 is normal the microprocessador hot Jun 02 22:02:06 if building you could look at the module ignore path Jun 02 22:02:06 <_av500_> a bit Jun 02 22:02:11 <_av500_> its thinking Jun 02 22:02:14 <_av500_> a lot Jun 02 22:02:36 * m_billybob isnt exactly a kernel expert Jun 02 22:02:40 not by a longshot Jun 02 22:02:52 koen: You around to answer a quick one-wire question Jun 02 22:04:04 <_av500_> nobody else may answer? Jun 02 22:04:44 _av500_, dont ask to answer :P Jun 02 22:04:53 <_av500_> lol Jun 02 22:05:25 ;) Jun 02 22:06:13 _av500_ id be interrested in knowing myself, any useful information for that matter Jun 02 22:06:16 i try installing the firefox, to follow the step the page beaglebord.org Jun 02 22:06:27 bakers whcih driver are you looking for ? Jun 02 22:07:00 m_billybob: I want to read a ds18b20 Jun 02 22:07:09 i.e. temperature Jun 02 22:07:41 bakers ah well if no one here knows or answeres . . .have you checked the groups yet ? Jun 02 22:08:03 Could also ask there typically ive noticed thsoe whoare pretty busy will eventually asnwer there Jun 02 22:08:53 Googling shows a lot of answers for the BB, but the BBB is a different story Jun 02 22:09:07 hi all Jun 02 22:09:48 bakers, ah yeah then in that case might be best to ask on the beagleboard groups that way all can see if people have similar problems Jun 02 22:11:33 m_billybob: Will do Jun 02 22:11:50 it could be possible you may be able to compile just the module in question, but . . . im not experienced enough to know how thats done, assuming it is possible Jun 02 22:12:13 tis somethign i want to learn myself Jun 02 22:12:33 module for? Jun 02 22:12:40 1 wire module Jun 02 22:13:00 ds18b20 Jun 02 22:13:13 ok Jun 02 22:13:54 I've got a ton of them around my house hooked to an arduino Jun 02 22:13:58 Want to migrate to a BBB Jun 02 22:15:44 m_billybob: Where's the best place to post about this? Jun 02 22:16:04 beagleboard google groups Jun 02 22:16:05 <_av500_> bakers: I think you would need to make the kernel expose the 1-wire device Jun 02 22:16:16 <_av500_> by loading a virtual cape that has it Jun 02 22:16:29 _av500_: That would make sense... dunno which one Jun 02 22:16:34 <_av500_> assuming 1-wire has DT support Jun 02 22:16:39 <_av500_> but I think so Jun 02 22:16:39 DT? Jun 02 22:16:47 device tree Jun 02 22:18:55 there was also some dallas 1 wire chatter on the groups not long ago but im not sure if it was BBW, or BBB centric Jun 02 22:19:13 w1 is what you want to look for Jun 02 22:19:15 this is nice. Jun 02 22:19:24 BBB debian conversions in 4 minutes Jun 02 22:19:38 hehehe Jun 02 22:19:44 automated ? Jun 02 22:19:53 well, pop in card Jun 02 22:20:02 push boot Jun 02 22:20:05 let it run Jun 02 22:20:07 come back Jun 02 22:20:10 pwoer down Jun 02 22:20:13 start u Jun 02 22:20:19 card out Jun 02 22:20:21 oh, you got or made your own imager ? Jun 02 22:20:29 yes, now have own image Jun 02 22:20:30 <_av500_> bakers: google "beaglebone black w1" Jun 02 22:20:44 not anything clver Jun 02 22:20:50 but have got the process sorted Jun 02 22:21:06 so, we could easily populate it with what we need Jun 02 22:21:13 the down side however Jun 02 22:21:16 mrpackethead any decent link I could look at or you just did it ? Jun 02 22:21:24 i'll write somethign up Jun 02 22:21:28 ( trial and error ) Jun 02 22:21:36 yes, trial and error Jun 02 22:21:38 RCN's notes Jun 02 22:21:44 im going to be blogging eventually myself Jun 02 22:21:44 and lots of thinking Jun 02 22:21:51 _av500_: What is capemanager? how do I reload it? Jun 02 22:22:17 echo Jun 02 22:22:18 <_av500_> https://groups.google.com/forum/?fromgroups#!topic/beagleboard/99zYYVH_m5A Jun 02 22:22:30 what i want to know is how to unload from capemgr Jun 02 22:22:42 i need to now to think about the consquences of using the eMMC vs SD-card Jun 02 22:22:44 Hello Everyone.. I have a question regarding Beagle Bone DVI Cape. Please let me know when the above question is answered and I Can ask my question Jun 02 22:22:45 same way different parameter from what ive seen Jun 02 22:23:01 echo "blah" >/// capmgr Jun 02 22:23:01 as its using pins that are on teh GPIO Jun 02 22:23:03 so i unecho? Jun 02 22:23:08 lol Jun 02 22:23:17 that is a design decison that i am struggling to udnerstand Jun 02 22:23:18 <_av500_> Hani: just ask Jun 02 22:23:19 its documented on the groups rick ;) Jun 02 22:23:21 bakers, fwiw https://github.com/beagleboard/kernel/tree/3.8/patches/w1 Jun 02 22:23:29 Thanks AV500 Jun 02 22:23:40 it appears a number of capes are now incompatible Jun 02 22:23:46 if you want to use emmc Jun 02 22:23:47 I bought the DVI Cape and plugged it on top of my beaglebone Jun 02 22:24:00 I have downloaded the lastest version of Angstorm from the website Jun 02 22:24:07 However, I don't see any display Jun 02 22:24:13 beagle black, or bealge white? Jun 02 22:24:17 White Jun 02 22:24:37 Reading this I was able to compile the dtbo file Jun 02 22:24:42 which is in lib/firmware Jun 02 22:24:54 #1) What's a dtbo file, and how do I load it? Jun 02 22:25:39 I see the lights are blinking on my DVI cape. However, I don't see any display Jun 02 22:25:44 time for that beaglebone and kernel 3.8 link Jun 02 22:25:54 https://docs.google.com/document/d/17P54kZkZO_-JtTjrFuVz-Cp_RMMg7GB_8W9JK9sLKfA/edit?pli=1# Jun 02 22:25:54 I can use putty to telnet to the board Jun 02 22:26:03 bakers Jun 02 22:26:08 link rick pasted is for you Jun 02 22:26:42 Holy crap I think that worked! Jun 02 22:27:35 Has anyone experienced any problems with the DVI-Cape? Jun 02 22:27:42 Will appreciate your assistance Jun 02 22:28:00 did you see if it is compatible on the circuitco page? Jun 02 22:28:09 Rick he's using the white Jun 02 22:28:21 I bought it from circuit co Jun 02 22:28:22 ooops .. goes back to being dumb Jun 02 22:28:30 lol you're not dumb lol Jun 02 22:28:37 smarter than I in many ways Jun 02 22:28:50 What exactly does "echo w1 >/sys/devices/bone_capemgr.8/slots" do Jun 02 22:28:54 I mean its says circuitco on top of it Jun 02 22:29:03 read that doc bakers Jun 02 22:29:06 It tells capemgr to load w1? Jun 02 22:29:14 Hani, you should really follow their instructions then Jun 02 22:29:51 Rickta59: I'm reading it... it works, I just don't understand what it's doing Jun 02 22:30:06 Their are really no instructions on the website Jun 02 22:30:17 bakers, essentially and do keep in mind im still learnign too. it loads a device tree overlay for 1wire Jun 02 22:30:18 there is also a good wiki article about device treeds Jun 02 22:30:23 trees Jun 02 22:30:50 So from what I can tell that w1 driver is hardcoded to a specific pin Jun 02 22:31:10 dunno about that personally Jun 02 22:31:13 w1 has a source dts file Jun 02 22:31:17 suppose it could be configurable Jun 02 22:32:18 actually I am using HDMI to HDMI cable Jun 02 22:32:22 I think that might be an issue Jun 02 22:32:30 https://groups.google.com/forum/?fromgroups#!topic/beagleboard/YPgbKxd2mRU Jun 02 22:32:32 Looking at that dts file I see 0x34 0x37 /* gpmc_ad13.gpio1_13, OMAP_PIN_INPUT_PULLUP | OMAP_MUX_MODE7 - w1-gpio */ Jun 02 22:32:42 Thanks for the help Jun 02 22:32:49 I will try getting HDMI to DVID cable Jun 02 22:33:34 Interesting though! Jun 02 22:35:10 Rick got anything interresting done on the bbb yet ? Jun 02 22:35:44 i was exploring how to use u-boot to load from various devices Jun 02 22:35:49 so no .. nothing Jun 02 22:36:29 BBB angstrom is different enough that i'm having to read man pages everytime i want to do something Jun 02 22:36:45 I'v never worked with a system with systemd Jun 02 22:36:51 nor one done on OE Jun 02 22:36:57 nor one with device treeds Jun 02 22:37:03 trees Jun 02 22:37:04 heheh Jun 02 22:37:16 well you're probably better prepared than I Jun 02 22:37:29 i used to hate debian too .. so this will pass Jun 02 22:39:11 hate debian ? why is that ? Jun 02 22:39:35 just was something new and different Jun 02 22:40:29 its pretty close to ubuntu though, with some differences of course. mainly from my perspective lack of some of the newer features. and different package naming ( sometimes ) Jun 02 22:40:50 i just meant there has been a long line of unixes i've hated at first Jun 02 22:40:57 ah Jun 02 22:41:04 ultrix .. never really grew to love that Jun 02 22:41:52 all of them are better than a pile of 5.25 floppy disks Jun 02 22:42:31 ive always felt right at home with debian cant really say why, but when i learn somethign new, like in the beginning APT just made sense to me, then stuff like dpkg-reconfigure etc just felt at home with it all Jun 02 22:43:40 could be my DOS days calling back to me ? *shrug* Jun 02 22:44:07 ever used aix? Jun 02 22:44:12 i have Jun 02 22:44:21 yeah .. another one i loved to hate Jun 02 22:44:31 Solaris ? Jun 02 22:44:38 that was ok Jun 02 22:44:45 except on x86 Jun 02 22:45:05 linux has taken a lot of ideas from solaris Jun 02 22:45:06 heh ive played with openSolaris, just harder for me to grasp Jun 02 22:45:16 and i'm sure the reverse is true Jun 02 22:45:22 Solaris sucked! Jun 02 22:45:26 Ugh so limiting compared to linux Jun 02 22:45:34 lots of really cool stuff in Solaris from a technical standpoint though Jun 02 22:45:35 didn't help that my vendor was so lazy and didn't install the man pages Jun 02 22:45:38 but ugh Jun 02 22:45:48 I'm sure solaris was cool for the hardcore *nix crowd Jun 02 22:45:53 their hardware was cool Jun 02 22:45:55 but $$$$$ Jun 02 22:45:58 almost all the elf and dynamic linking stuff comes from solaris Jun 02 22:46:38 seems to me that android takes a few pages of the Solaris playbook too Jun 02 22:46:58 which came from SYSV unix elf Jun 02 22:48:35 Yup Solaris was pretty ahead of its time Jun 02 22:49:47 It was not really great as a desktop OS unless you were a developer, but for developers, or as an application server, or databases since it was 64-bit, it was incredible Jun 02 22:54:59 I'm booted of the MMC, if I put in an SD card shouldn't I see it pop up in dmesg? Jun 02 22:55:21 bakers: Normally. It's a known bug at the moment. Jun 02 22:55:39 A known bug that it doesn't? Jun 02 22:59:38 bakers hotplug isnt 100% rigth at the kernel level yet Jun 02 22:59:43 for USB too Jun 02 23:00:11 If I put in an SD card, and reboot, but DON'T hold the button Jun 02 23:00:13 USB will typically work once, and then stop responding afterwards to hotplug Jun 02 23:00:14 shouldn't it boot off the MMC? Jun 02 23:00:28 when I put in this SD card, it hangs on boot. All four USR leds light up Jun 02 23:00:31 not without a proper uEnv.txt file it wont Jun 02 23:03:23 I thought it bypassed the SD card for boot UNLESS you pressed that button Jun 02 23:03:27 bakers you ned somethign like this -> http://spirilis.net/junk/uEnv.txt Jun 02 23:03:39 that file can not have any linefeeds in it Jun 02 23:04:39 anyhow if you copy that file properly and put it on the sdcard the bbb will then boot to emmc Jun 02 23:08:06 i installed mozilla, but not change color green in the step. Hel me please! Jun 02 23:08:31 in the page beagleboard.org/Getting%20Started Jun 02 23:12:42 maycol: Which step Jun 02 23:12:46 #1 or #2 Jun 02 23:12:51 What OS? Jun 02 23:14:08 yes Jun 02 23:14:30 first install crome, but nothing Jun 02 23:14:45 next mozilla, nothing Jun 02 23:15:02 no change color in the steps Jun 02 23:15:11 not even step #1? Jun 02 23:15:20 i have windo 7 Jun 02 23:15:25 64 bits Jun 02 23:16:28 yes, i get bb in port usb Jun 02 23:16:31 my steps go to 11 Jun 02 23:17:08 maycol: I've only done it on linux... do you get a new network interface? Jun 02 23:17:11 Can you ping your BBB? Jun 02 23:18:44 as i do that? Jun 02 23:18:57 that? Jun 02 23:20:07 start -> searchbox cmd -> ping Jun 02 23:21:33 i dont understend, my ping host? Jun 02 23:22:38 Ok, I finally have libreoffice running in my BBB, although something seems a bit messed up. All of the text shows up as squares except punctuation. Any ideas on what could be wrong? Jun 02 23:22:47 i need BBB get in the page Jun 02 23:23:16 mdp, something interesting about the SG mechanism of omap_hsmcc, amazing how many times the Pages forming the list are out-of-order , although physically contiguous Jun 02 23:23:21 I've tried googling this problem, but so far it doesn't seem like this is a common problem to have. Jun 02 23:23:35 step # 1 ok, but no change color Jun 02 23:23:57 step # 2 ok, but no change color to green Jun 02 23:25:12 mdp, tells me somewhere someone is doing inefficient page allocation, hurting perf quite a bit Jun 02 23:25:14 BlueGreen, font issue perhaps ? only thing i can think of Jun 02 23:26:09 mdp,and I learnt the heard way messing with DMA can be dangerous for your filesystem :-P. Although so far the corruptions have been fixable Jun 02 23:26:39 BlueGreen, is this angstrom ? answer in channel please Jun 02 23:27:03 mdp, anyway, it'd be interesting to track these page allocs at some point Jun 02 23:27:15 sorry about that. This is in Arch. Jun 02 23:29:40 np, hmm yeah i assume you've googled then ? Jun 02 23:30:03 I have a pc power supply (regulated) can I power my BBB directly at the 5v and GND pins? Jun 02 23:30:16 Yes, I've been trying to google. So far the closest I have seen was something to do with a Chinese font not being installed. Jun 02 23:30:32 BlueGreen, hmm you've set locale ? Jun 02 23:30:50 bakers I would consult the groups with that question. Jun 02 23:31:00 But, since I'm not working in Chinese, that hasn't been too helpful. I've seen mention of setting the locale before. How can I do that? I've tried looking that up, too. Jun 02 23:31:41 BlueGreen, well on debian it would be something like dpkg-reconfigure locale . . .on arch/linux no idea Jun 02 23:32:16 hmm, any idea if libreoffice writes a log somewhere? If it is outputting some error message about a missing font or something, that would be helpful. Jun 02 23:32:52 - > /var/log perhaps ? Jun 02 23:33:28 again i know very little about arch/linux pretty happy camper with debian Jun 02 23:57:25 not get my BBB in the page web Jun 02 23:59:28 no load step 1 and step 2 in the page, no change color to green Jun 03 00:00:11 help me please! Jun 03 00:02:08 I'm tired of installing and nothing works Jun 03 00:13:10 how long can be working, because the microprocessor is heated? Jun 03 00:13:39 how long can be working the BBB, because the microprocessor is heated? Jun 03 02:00:51 beer!! Jun 03 02:01:23 ? Jun 03 02:03:16 more beer! Jun 03 02:03:21 * maxinux 's keg is cooling Jun 03 02:32:30 hi there beagle! Jun 03 02:32:55 o.o Jun 03 02:33:21 oh dear! i'm not sure what that means.. Jun 03 02:33:54 umm Jun 03 02:33:56 hi Jun 03 02:33:58 :) Jun 03 02:34:05 hullo! Jun 03 02:34:19 woof woof Jun 03 02:34:22 i was hoping to ask a few questions about the BBB (beagle board black) Jun 03 02:36:30 Guest94171, thats the kind of beagle we *might* be able to help with... Jun 03 02:37:33 well my questions might be a bit more general than specific to the BBB, it's happens to be that the BBB brought this product to my attention :) Jun 03 02:38:37 I'm curious what the state of using the GPIO/PWM/Analog pins in linux (say ubuntu or something, i don't care too much about a GUI) and specifically python for controlling the pins (PWM for LED and expandability by shift registers) Jun 03 02:38:56 there are libraries for each Jun 03 02:38:59 but they are unique for each Jun 03 02:39:01 hmmm seem to be beer:38 Jun 03 02:39:01 which is kind of a bummer Jun 03 02:39:17 m_billybob, its later than that! Jun 03 02:39:19 * maxinux poured a CBC Tripel Threat Jun 03 02:39:33 the Cream ale is still cooling, not tapped yet Jun 03 02:39:48 who needs chilled beer Jun 03 02:39:53 * m_billybob drinks it warm Jun 03 02:40:03 o.o Jun 03 02:40:06 it wont be carbed until its cooled Jun 03 02:40:06 yeah, that right i did a tour in germany ;) Jun 03 02:40:16 and its not that type of beer Jun 03 02:40:51 Guest94171, you will find we are rarely on topic here...but we don't bite....much... Jun 03 02:40:52 maxinux, any how tos/ tutorials yet that you're away of for PWM etc ? Jun 03 02:40:55 could you expand on what you mean by unique? and could you point me to some documentation? from what i can tell, there has been some issues with the latest linux kernels and GPIO? Jun 03 02:41:01 aware of* Jun 03 02:41:17 m_billybob: just the python library Jun 03 02:41:27 Guest94171, probably meaning theres different language / libraries to achieve such Jun 03 02:41:41 maxinux, ah im only really interrested in C/C++ Jun 03 02:41:41 hehe, that's okay! i've been on IRC before! for such a specific channel, you gota get off topic Jun 03 02:41:47 possibly assembly but meh . . . Jun 03 02:42:04 all the c ive seen has been opening the sys files which is ugly hack Jun 03 02:42:28 well isnt that why Linux was created everything as a file ? Jun 03 02:42:41 OMAP3530 PWM library Jun 03 02:42:44 that may help you Jun 03 02:42:50 http://elinux.org/BeagleBoardPWM Jun 03 02:43:20 everything is a file is different than accessing a sysctl file to talk to a kernel thats talking to the gpio Jun 03 02:43:46 ah old school linux 2.6 Jun 03 02:44:46 maxinux idk im kind of new to linux dev but was under the impression most everytign should be accesible from userland Jun 03 02:44:52 but im still leanring. Jun 03 02:45:10 m_billybob: yes, maybe as root.. again.. the link i gave you has the pwm library Jun 03 02:45:20 it access dev mem and gets everything setup for you Jun 03 02:45:59 so to clarify, it's possible to use python to interface with GPIO/PWM/Analog pins? because a lot of what i see seems to point to using the web interface and javascript... Jun 03 02:46:43 maxinux ok cool thank you il give it a look see :) Jun 03 02:46:56 reoww Jun 03 02:47:13 Guest94171: yes, python, node.js, perl, c, bash/other shells/whatever/openning a sys file Jun 03 02:49:05 * m_billybob still doesnt liek the idea of using a scripting language for said purpose Jun 03 02:50:27 excellent. Being a bit new to the whole embedded hardware thing (a bit of background: i'm a physicist who normally programs matlab/python for simulations. I also play music! looking for a way to have an interactive light setup and am mostly comfortable in python) are the GPIO drivers in the kernel and i interface that with python? could you point me to some documentation for the use of python per chance? Jun 03 02:50:45 Guest94171: python will be easy easy Jun 03 02:50:54 Guest94171: lemme suggest spending some time with google Jun 03 02:54:48 maxinux, so what would you suggest in place of SYSFS ? Jun 03 02:55:16 m_billybob: nothing wrong with sysfs, but seems that makes pwm hard/impossible Jun 03 02:55:29 m_billybob: ive not played with pwm on bb yet so i dont have too much Jun 03 02:56:04 maxinux, not questioning other than to learn. somethign to research. I was thinking maybe a kernel module or somethign ? Jun 03 02:56:21 but . . . i m linux dev newb so dont rightly know Jun 03 02:56:23 m_billybob: its already a module to the kernel Jun 03 02:56:43 its how you access it that seems odd .. some things are controlled by tweaking /dev/mem, other things by catting to a file.. kind of odd Jun 03 02:57:35 caturdayeveryday! Jun 03 02:57:48 maxinux ah ok i was thinking more along the lines of using C file library stuff Jun 03 02:57:51 ok that cat Jun 03 02:57:59 maxinux, its what ive seen that made the most sense to me so far Jun 03 02:58:12 m_billybob: software libraries for bb are kind of .. lacking :) Jun 03 02:58:33 fwrite(/path/to/perhiperal); ? Jun 03 02:59:44 maybe im asking the wrong questions Jun 03 02:59:54 * m_billybob needs to read more **** ENDING LOGGING AT Mon Jun 03 02:59:58 2013