**** BEGIN LOGGING AT Wed Jul 11 02:59:58 2012 Jul 11 04:22:44 So far sqlite seems like the better choice. Jul 11 07:27:36 what is the appropriate mailing list for arago kernel? http://arago-project.org/git/projects/?p=linux-am33x.git;a=summary Jul 11 07:29:03 koen: have you commit the meta-raspberrypi after change layers.txt? Jul 11 08:23:24 yegorich: there is none Jul 11 08:23:39 yegorich: PSP filed a complaint against me after I asked for one to be created Jul 11 08:24:00 yegorich: I called their "attached patches to e2e forum" idea hilarious Jul 11 08:24:10 koen: :-( Jul 11 08:24:15 apparently they were dead serious about the ph0rums Jul 11 08:24:36 yegorich: complain to your TI rep :) Jul 11 08:24:45 koen: unbelievable Jul 11 08:25:25 koen: then I try to send patches to some maintainer directly, forum is not an option in my eyes Jul 11 08:25:36 I completely agree Jul 11 08:26:07 koen: have you read about your commit meta-raspberrypi? Jul 11 08:26:25 that complaint was the main reason I quit TI 2 months earlier than I had planned Jul 11 08:26:35 stuk_gen: my crystal ball is broken Jul 11 08:27:01 koen: yeasterday you commit the change to master for meta-raspberrypi in layers.txt Jul 11 08:27:26 and? Jul 11 08:27:50 but this break the oe build with a Jul 11 08:28:04 koen: about psplash, what about http://pastebin.com/VH4099K2 ? Jul 11 08:28:10 warining about the meta-raspberrypi and the layers.txt Jul 11 08:28:34 stuk_gen: stop posting such lousy bug reports Jul 11 08:28:40 stuk_gen: actual error messages Jul 11 08:29:05 koen: maybe if you reply not after hours i can give you more details about the problem Jul 11 08:29:08 ant_work: that patch makes sense Jul 11 08:29:46 koen: now wait one minutes i have to refound the problem Jul 11 08:31:17 stuk_gen: and with all angstorm bugs, did you report it to the mailinglist? Jul 11 08:31:38 koen: the first message is WARNING!!! meta-raspberrypi is using different branch than configured in layers.txt Jul 11 08:32:53 a0rm sources/meta-raspberrypi/ -rf Jul 11 08:33:49 koen: and the oe build exit with a message Error: No recipes avaiable for : pathto/source/meta-raspberrypi/recipes-core/netbase/netbase_5.0.bbappend Jul 11 08:34:45 koen: a0rm? Jul 11 08:42:48 koen: all anstrom bugs? what bug are you tell? Jul 11 08:44:41 it's a synonym for aarch32 ;) Jul 11 08:45:39 aholler_: what? a0rm? Jul 11 08:46:15 no, koen Jul 11 08:46:59 aholler_: do you know the mean of a0rm? Jul 11 08:47:37 yes, 4-2=2 Jul 11 08:56:27 someone know a good distribution to use on beagleboard xM or bone? Jul 11 09:06:03 angstrom? Jul 11 09:06:13 ah, no, you wanted "good" Jul 11 09:06:49 http://goo.gl/VAZa3 Jul 11 09:07:42 in that case, I prefer BSD devil Jul 11 09:08:00 av500: the problem i think is openembedded Jul 11 09:08:08 ah Jul 11 09:08:14 av500: using angstrom from oe build is impossible Jul 11 09:08:33 av500: (possibly NSFW) like http://www.flickr.com/photos/27249820@N04/3647105630/ Jul 11 09:08:43 av500: because oe is update every day, and this create a break build Jul 11 09:08:48 stuk_gen: fedora entered the arm-market some time ago too. Jul 11 09:08:57 LetoThe2nd: no, the other one Jul 11 09:09:15 http://freebsd-image-gallery.netcode.pl/?gallery=Daemonette Jul 11 09:09:45 av500: hrhr Jul 11 09:10:18 av500: angstrom is good the problem is build from oe is not 'filtered' Jul 11 09:10:19 oh, #nsfw for people on the other side of the pond Jul 11 09:10:28 the build from* Jul 11 09:10:49 stuk_gen: well, you can chose, angstrom with daily updates, or ubuntu with updates every 6 months Jul 11 09:11:02 you can convert one into the other Jul 11 09:11:06 not the other way round Jul 11 09:11:29 if oe keeps breaking, stop typing git pull Jul 11 09:11:44 av500: i need only a distribution that run a qt program, ubuntu and all graphics i don't need Jul 11 09:11:56 sounds like angstrom then Jul 11 09:11:58 av500: git pull? Jul 11 09:12:12 [11:08:43] av500: because oe is update every day, and this create a break build Jul 11 09:12:15 av500: i only use MACHINE=xxxx bitbka myimage Jul 11 09:12:27 but we had that discussion already Jul 11 09:12:34 av500: ok but this is the correct method from angstrom Jul 11 09:12:35 av500: *think* what is "git pull" *think* Jul 11 09:12:37 every distribution allows you to deinstall whatever you want Jul 11 09:13:32 aholler: yes and to spend more time to manually solve the problem, every distribution allow this Jul 11 09:13:55 so build your own Jul 11 09:14:40 aholler: is what i thought about using angstrom oe, but i can test every day the new oe update its terrible Jul 11 09:15:13 you can try ptxdist, but there's no ready made BSP available i think. Jul 11 09:15:50 he likes his problems ;) Jul 11 09:16:34 what is not understand is why there's tons of board with arm, but nobody describe in details what os and software use to run that boards! Jul 11 09:18:06 * LetoThe2nd thinks somebody here is messing up the nomenclature of "os" and "readymade tested and super stable distribution that exactly fits your needs" Jul 11 09:18:22 nono your are wrong Jul 11 09:18:35 and he misses such things as "server installation" or similiar Jul 11 09:18:45 we are all wrong Jul 11 09:18:46 stuk_gen: then enlighten me, please. Jul 11 09:19:22 LetoThe2nd: if you buy a pc, you can install windows,ubuntu...and all works Jul 11 09:19:40 you just said you don't want ubuntu Jul 11 09:20:01 stuk_gen: then buy a pc Jul 11 09:20:03 stuk_gen: the comparison alone tells me that you have no clue what you are talking about. Jul 11 09:20:11 if you attach some 'strange' device and the os haven't the driver you have to found and in the bad case build it....ok? Jul 11 09:20:32 stuk_gen: go buy a x86 board, including its super buggy bios, and be happy with whatever you can choose and install Jul 11 09:20:48 wait one second Jul 11 09:21:13 i'm trying to give you the question Jul 11 09:21:22 stuk_gen: ok, so for your last point - whats the difference to running, lets say a readymade ubuntu or debian image? Jul 11 09:21:59 ubuntu or debian image on pc you mean? Jul 11 09:22:33 stuk_gen: on whatever arm board you desire. Jul 11 09:23:04 ok, on pc i'm using ubuntu, i don't try debian, but i think was the same... Jul 11 09:23:11 stuk_gen: debian is able to be completely selfhosting, the only thing you need to give it is an at least minimal functioning kernel for bootstrapping. Jul 11 09:23:49 stuk_gen: but nevertheless, whats bad about running ubuntu/debian on your beloveth arm board? Jul 11 09:23:52 LetoThe2nd: ok, but wait a second Jul 11 09:24:11 stuk_gen: i've already been waiting for more seconds, but go ahead. :) Jul 11 09:24:12 on beagleboard i'm trying a demo image of Ubuntu Jul 11 09:24:24 but its too slow Jul 11 09:24:53 which one? Jul 11 09:24:56 and i have only need qt embedded, so i think i don't need gnome Jul 11 09:25:00 stuk_gen: thats the price you pay for exactly the features you wanted to have some lines above. Jul 11 09:25:29 stuk_gen: with enriched comfort, higher performance requirements come. Jul 11 09:25:41 exactly Jul 11 09:25:49 stuk_gen: so whats your point now? Jul 11 09:26:05 but because i need only qt embeded i think ubuntu is too 'expensive' Jul 11 09:26:16 so i have search alternative...and this was angstrom Jul 11 09:26:22 stuk_gen: then don't use it! nobody said you have to. Jul 11 09:26:31 as already said, you can install ubuntu as a server installation. And I don't think ubuntu 12.04 with armhf is slower than angstrom. the same goes for debian or fedora Jul 11 09:26:36 i'm trying to tell you what i have done! Jul 11 09:26:55 i'm try ubuntu (not debian) Jul 11 09:27:04 but it was expensive Jul 11 09:27:08 so i'm using angstrom Jul 11 09:27:20 but the demo image haven't qt with powervr Jul 11 09:27:31 stuk_gen: so you are basically complaining that you chose an embedded focused distribution over a more standard one for performance, but now you are unable to handle it due to higher complexity and knowledge needed. right? Jul 11 09:27:31 so i use angstrom oe to build qt with powervr Jul 11 09:28:02 cake, have, eat and all that. Jul 11 09:28:09 yes, somethign similar Jul 11 09:28:29 its not complexity but its terrible to manage Jul 11 09:28:47 *hands out some free troll stickers and is gone again then* Jul 11 09:28:49 q.e.d. Jul 11 09:28:58 ... Jul 11 09:29:02 this is simple Jul 11 09:29:34 stuk_gen: yes it is simple: you chose a powerful tool but don't know how it works. thats not the tools fault. Jul 11 09:29:47 the problem is that i haven't to do a hobby test to run my custom distribution... Jul 11 09:30:02 i have to create a stable distribution to works on it! Jul 11 09:30:30 stuk_gen: then don't complain, and go learn how things work. Jul 11 09:30:37 hehe Jul 11 09:30:43 yes tell me where? Jul 11 09:30:48 on internet? Jul 11 09:31:05 where there tons of old documents? Jul 11 09:31:12 stuk_gen: like i said, there's also ptxdist which features a more stable-point approach, but you'll have to come up with the BSP yourself Jul 11 09:31:42 LetoThe2nd: he needs a one-click-solution to use qt-creator on his pc which then cross-compiles and transfers the result automagically to his system. Jul 11 09:31:50 pengutronix Jul 11 09:31:56 (which is basically a kernel patchset in the minimal case.) Jul 11 09:32:04 aholler: sounds like that, yes. Jul 11 09:32:44 aholler: yes but this is not me...i think this is all the people in the world that want start to create software with embedded linux Jul 11 09:33:00 stuk_gen: its a conspiracy Jul 11 09:33:06 to keep our highly paid jobs Jul 11 09:33:12 av500: sssssssh Jul 11 09:33:18 its not a conspiracy Jul 11 09:33:31 i'm curious to learn Jul 11 09:33:34 about angstrom Jul 11 09:33:36 open embedded Jul 11 09:33:42 eccc its really interesting Jul 11 09:33:51 but in the fact i'm a developer Jul 11 09:33:51 learning by complaining? Jul 11 09:33:55 then starter learning Jul 11 09:33:57 -er Jul 11 09:34:02 and i have to delevoper application Jul 11 09:34:27 its 6 moths that i don't write nothing because i'm stopped to works the basic board! Jul 11 09:34:38 this make me 'angry' Jul 11 09:34:59 our luck you are not a 'bird' Jul 11 09:35:23 so you chose a base board because it was cheap, and now you are angry because there's no readymade things for you, no support to hold your hand and make things work for you? Jul 11 09:35:34 cheap? Jul 11 09:35:49 beagleboard is cheap. certainly. Jul 11 09:35:52 beagleboard xM? cheap...i think raspberrypi was cheap Jul 11 09:36:06 but for what? money or something else? Jul 11 09:36:31 stuk_gen: i'd say that any dev kit coming for less than 1000$ has to be considered cheap in industrial ways of thinking. Jul 11 09:36:48 LetoThe2nd: ooh ok, thanks this is a good notice Jul 11 09:37:02 stuk_gen: anyway, all your complaining is moot Jul 11 09:37:13 stuk_gen: cheap for money. so you basically pay only for the hardware and you have to come up with the knowledge yourself. Jul 11 09:37:16 oe and angstrom are "free", you cannot demand support nor documentation Jul 11 09:37:25 since both seem to be widely used, they cannot be that bad Jul 11 09:37:40 if you think they lack docs or features, go and improve them Jul 11 09:37:44 but stop whining here Jul 11 09:37:44 av500: but this is really a problem Jul 11 09:37:47 it leads nowhere Jul 11 09:37:53 I dont care if its a problem Jul 11 09:37:58 if you dont like oe, use something else Jul 11 09:38:22 nobody here owes you anything Jul 11 09:38:31 but i'm not here to spam, i here to learn what is the best solution i can choice Jul 11 09:38:39 stuk_gen: go to a hardware vendor that offers boards that come with guarantedd-to-run support and application development hand holding, you will pay multiple times the price of the beagle. you will get the same hardware, but also that what you are complaining here so much. Jul 11 09:38:39 angstrom is good Jul 11 09:38:59 but for me there isn't documentations Jul 11 09:39:05 yes Jul 11 09:39:07 true Jul 11 09:39:09 its fact Jul 11 09:39:13 stop repeating it Jul 11 09:39:19 we all know Jul 11 09:39:37 maybe its a end step after using devkit board and after learn all about embedded linux Jul 11 09:40:09 * LetoThe2nd doesn't care Jul 11 09:40:46 the bottom line is always the same. its cheap, its open source, nobody owes you either documentation nor support. Jul 11 09:41:13 even people which are writing documentations have to make a living. Thats why you usually have to pay to get support. Jul 11 09:41:13 if you want those, hire a paid supporter or chose industrially supported sulotions. Jul 11 09:41:14 LetoThe2nd: this is my wrong choice Jul 11 09:41:41 stuk_gen: sorry, we are not responsible for what you choose/have chosen. Jul 11 09:41:46 i was thinking open means more discussion,documentations Jul 11 09:42:03 but its the opposite :) and this is strange Jul 11 09:42:29 no, it means that anybody is free to write documentation at their leisure. thats a big difference. Jul 11 09:42:45 because nobody have time to write documentations, some body that have knokhow don't always help Jul 11 09:43:01 yes! this is the difference Jul 11 09:43:20 yeah, linux is totally undocumented Jul 11 09:43:30 everybody can help write documentations but in the fact nobody write Jul 11 09:43:33 stuk_gen: pay someone to write the docs for you. i'm sure you will find a good contractor Jul 11 09:43:59 but hey! Jul 11 09:44:11 i'm repeat i'm not here to offense nobody Jul 11 09:44:12 stuk_gen: its really the same thing over and over again that you are complaining. you want everything for free. and thats not how it works. Jul 11 09:44:28 no! Jul 11 09:44:35 you're are wrong Jul 11 09:45:16 because when i have to build the recipes for qt powervr Jul 11 09:45:33 ok. then i'm wrong. but i'm also tired, and i certainly have work to do (which i postponed for a *free* *open* *source* discussion just like you wanted to have). so go on, i'm out Jul 11 09:45:54 LetoThe2nd: ok, thanks for your time Jul 11 09:45:56 why at all do you need those powervr-drivers? do you use opengl? Jul 11 09:46:23 aholler: i tell when i build the powervr driver Jul 11 09:46:46 i want add a patch to every to build that on oe embedded Jul 11 09:47:04 but i don't find more help to do this Jul 11 09:47:39 powervr is proprietary stuff Jul 11 09:47:43 ask the vendor Jul 11 09:47:54 you dont understand Jul 11 09:47:59 stuk_gen:u can look into other recipes for help Jul 11 09:48:02 i have a qt powervr acceleration now Jul 11 09:48:25 and maybe someone want that... Jul 11 09:48:36 how using oe ... Jul 11 09:48:54 acceleration for armhf? ;) Jul 11 09:49:14 ...ok Jul 11 09:49:56 guess why ubuntu hasn't it included Jul 11 09:50:55 in conclusion...thanks to all partecipate to discussion and for your time, i think open source mean all can write documentation, all can partecipate, i using qt for many years and the community is very great. Jul 11 09:51:04 powervr only helps if you are really using 3d. otherwise it's better just to forget it and use armhf. Jul 11 09:51:52 it doesn't speed up 2d, especially not with qt Jul 11 09:52:06 but for embedded is total difference, kernel is free, all is free, but documentations is old, and i think the people know how embedded works, try to keep itsself and not to other Jul 11 09:52:27 aholler: i'm using opengl so its speed up Jul 11 09:52:57 aholler: and the difference is without powervr all is done by cpu, with powervr some is demand to gpu Jul 11 09:53:12 aholler: this is what my board do Jul 11 09:53:30 and yes, nobody here wants to spend his time to write documentation for you you wouldn't read. Jul 11 09:53:43 for me? Jul 11 09:53:49 for all not for me... Jul 11 09:53:52 stuk_gen: no, its not like we try to keep it to ourselves Jul 11 09:54:01 its just that it costs real time to write docs Jul 11 09:54:11 and few people have that time Jul 11 09:54:24 for the desktop, you write a doc and it applies to millions Jul 11 09:54:34 for embedded, it might apply to a handful of people only Jul 11 09:54:47 av500: a ok, maybe this can be the problem Jul 11 09:54:58 and is outdated in some month Jul 11 09:54:59 so the cost vs benefit ratio is totally different Jul 11 09:55:10 aholler: please Jul 11 09:55:16 so your best chance is to be part of the effort Jul 11 09:55:21 and learn a lot yourself Jul 11 09:55:28 there is no other way Jul 11 09:55:37 exactly i'm totally agree with you Jul 11 09:55:42 you can go and buy books and courses, but they dont really help Jul 11 09:55:45 you have to DO it Jul 11 09:56:02 exactly...and do it...mean more more more time to test and learn Jul 11 09:56:08 sure Jul 11 09:56:16 your time, not mine ;) Jul 11 09:57:11 yes i understand Jul 11 09:57:25 but this is a chat :) Jul 11 09:58:23 really? Jul 11 09:58:40 it's #42 ;) Jul 11 09:59:22 so the solution for me is...trying with some distribution maybe spent a lot for ansgrom or try debian embedded, if fails i have to use some embedded linux company or in the bad case...windows ce :( Jul 11 10:00:08 I dont see why you would need CE Jul 11 10:00:28 because is a package with all Jul 11 10:00:49 except qt Jul 11 10:01:02 no qt there is Jul 11 10:01:14 but without dbus (linux) Jul 11 10:01:30 but i haven't the problem of test every day id all works Jul 11 10:01:46 if all works* Jul 11 10:02:02 and if there a problem i paid license, and i have support Jul 11 10:02:07 you dont need to test every day Jul 11 10:02:10 what are you talking about Jul 11 10:02:17 your SW will not go bad overnight Jul 11 10:02:22 the problem with angstrom oe integrations Jul 11 10:02:30 this go bad overnight Jul 11 10:02:32 then DONT update Jul 11 10:02:37 DO NOT UPDATE Jul 11 10:02:45 we had this disussion before Jul 11 10:02:48 but its done automatycally Jul 11 10:02:50 pick a release and stick with it Jul 11 10:02:54 when i build image Jul 11 10:03:02 its SW, it can be changed Jul 11 10:03:18 and you question should be "how can I make OE not autoupdate every build" Jul 11 10:03:28 instead of "whining, whining, whining Jul 11 10:04:16 but why i have to modify the comportament of a program if someone have decide that every time run autoupdate? Jul 11 10:04:32 sorry, dont understand Jul 11 10:04:53 if oebb.sh run autoupdate every time Jul 11 10:05:12 then make it not Jul 11 10:05:18 i think is because the man that write the script think is good that autoupdate every time Jul 11 10:05:38 its a script Jul 11 10:05:40 read what it does Jul 11 10:05:43 its open source Jul 11 10:05:56 ok, but its not the unique problem Jul 11 10:06:16 maybe comment some lines and the auto update is stopped Jul 11 10:06:53 and this solve this for now, but for example i have a problem with a psplash Jul 11 10:07:08 sure Jul 11 10:07:12 but on internet there no documentation(sorry if i repeat) Jul 11 10:07:26 then read the source code Jul 11 10:07:31 here if i ask i dont have support ( and this is correct the time is important) Jul 11 10:07:37 complaining here about missing docs will get you nowhere Jul 11 10:08:05 ok i have to read source code Jul 11 10:08:11 make debugging Jul 11 10:08:19 the web is full with docs about how to use psplash Jul 11 10:08:22 write a patch and add to oe :) Jul 11 10:08:31 aholler: no Jul 11 10:08:38 aholler: psplash angstrom Jul 11 10:08:48 stuk_gen: stop whining now and read source code Jul 11 10:09:03 but its impossibile Jul 11 10:09:16 for company this approcc Jul 11 10:10:08 so thanks to all Jul 11 10:10:18 i'm trying a different solution Jul 11 10:14:48 http://lmgtfy.com/?q=psplash+angstrom Jul 11 10:16:09 so nobody ever has written something about how to do that. Jul 11 10:57:56 hmm, maybe my next phone will be a jolla-phone ;) Jul 11 11:14:56 hmmm... from everything I've read, folks have been getting webcam capture working under OpenCV on BeagleBones, but I'm not able to replicate. Jul 11 11:15:27 I essentially get no camera detected or no frames captured, despite having /dev/video0 Jul 11 11:15:36 I've tried a uvcamera and a PS3 Eye. Jul 11 11:16:17 try strace to find out what causes the problem Jul 11 11:17:14 if dmesg doesn't give a hint Jul 11 11:17:33 no hint in dmesg. it just shows the camera driver loading. Jul 11 11:19:00 http://pastebin.com/Q4EVDFZ3 Jul 11 11:20:14 hmmm... are all those gstreamer libs there or required? Jul 11 11:20:30 stat64("/usr/lib/gvfsd", 0xbe83f7f0) = -1 ENOENT (No such file or directory) Jul 11 11:20:51 no, neither gnome nor gstreamer is needed Jul 11 11:22:50 but that might depend on how opencv was configured Jul 11 11:24:12 I'm missing the failure. Jul 11 11:24:46 I know in the source, it is the line 'frame = cvQueryFrame(camera);' that returns NULL. Jul 11 11:25:25 I don't ever see /dev/video0 being opened. Jul 11 11:25:31 and camera is? Jul 11 11:25:49 no, I never see camera opened. Jul 11 11:26:20 I don't see what 'CvCapture* camera = cvCreateCameraCapture(-1);' returns. Jul 11 11:26:33 here is some minimal source: http://fpaste.org/FVgE/ Jul 11 11:28:30 Error creating capture Jul 11 11:28:43 built using g++ -o testcap2 testcap2.cpp `pkg-config opencv --libs --cflags` Jul 11 11:30:34 same here with the camera cape Jul 11 11:31:01 looks like a problem with your opencv Jul 11 11:32:28 jkridner__: opencv is built with gstreamer support, since it can't cope with a recent libav Jul 11 11:33:12 k, but that shouldn't impact camera capture, should it? Jul 11 11:33:30 I've tried 4 opencv programs with 2 cameras and none of them capture frames. Jul 11 11:33:46 one of the 4 is aholler's above. Jul 11 11:33:52 try compiling it just with v4l-support Jul 11 11:34:38 well, now i've tried with both cameras. Jul 11 11:35:26 hmmmm..... I guess the people that have had it working are using Ubuntu or building their own? Jul 11 11:35:44 I was under the impression that folks running Angstrom had working camera capture. Jul 11 11:35:48 maybe Jul 11 11:35:58 i did upgrade to the 3.2.21 kernel Jul 11 11:38:33 here an strace looks like that: http://fpaste.org/H5wA/ Jul 11 11:40:09 so you might want to use other configure options for opencv. Jul 11 11:43:30 or try uvccapture Jul 11 11:56:06 aholler: is this the source: https://github.com/csete/uvccapture ? Jul 11 11:56:23 looks a lot like http://www.twam.info/linux/v4l2grab-grabbing-jpegs-from-v4l2-devices that I tried Jul 11 11:56:54 ubuntu has one prebuild and there are floating some more versions of uvccapture around Jul 11 11:57:05 root@beaglebone:~/v4l2grab# ./v4l2grab -o test.jpg never returns Jul 11 12:00:28 aholler: http://lmgtfy.com/?q=psplash+angstrom yeah a lot of old documentations :) great Jul 11 12:01:58 stuk_gen: learn how to use the extented search or write some documentation yourself Jul 11 12:02:42 aholler: yes i'm writing a documentation of something that i don't able to install :P Jul 11 12:03:54 stuk_gen: that's how most documentation is written. people document their struggle to get something working. Jul 11 12:04:17 that's why I take most of such accounts with a bucket-load of salt Jul 11 12:05:01 jkridner__: it looks like opencv was built without libv4l2 Jul 11 12:11:55 jkridner__: I have to admit I haven't had much success with uvccapture. And the source doesn't look very usable ;) Jul 11 12:13:02 stuk_gen: Just remember, the best documentation for a piece of software is its source code. Jul 11 12:13:03 don't know if the prebuild one from ubunutu works, maybe they have patched it to be usable Jul 11 12:13:34 agmlego: true Jul 11 12:39:42 How would one go about adding Bluetooth to the XM Jul 11 12:40:23 jkridner__: if you change /etc/opkg/base-feed.conf to eu.feeds... you can get opencv 2.4.1 with libav and libv4l support Jul 11 12:48:54 Just-in: USB Bluetooth adapter? Jul 11 12:49:17 Just-in: Or something like the Blue-SMiRF on a UART port? Jul 11 12:50:29 They may work. i have a side project i wanted to mess around with wanted to get Android running on this and would need bluetooth. Jul 11 12:52:57 koen: thanks. Jul 11 12:56:47 koen, aholler: so far, same result with uvccamera. trying a couple more of the apps and then trying the ps3 eye Jul 11 12:57:11 koen: fyi, I pulled down opencv_2.4.2-r0 Jul 11 12:57:17 not 2.4.1 Jul 11 12:57:35 not sure if the build options are visible somewhere. Jul 11 12:59:55 jkridner: http://patchwork.openembedded.org/patch/31747/ Jul 11 13:00:31 jkridner: have a look at http://dominion.thruhere.net/koen/angstrom/opencv-options.txt Jul 11 13:00:48 k, so it seems right it is 2.4.2 then Jul 11 13:02:36 jkridner: have you tried out the camera cape yet? Jul 11 13:02:47 no. Jul 11 13:02:56 koen: btw would you mind committing #30355 and #30771 ? Jul 11 13:04:17 done Jul 11 13:04:54 jkridner: so we're going to send out >20 kits without you or gerald having any hands-on experiences with them? Jul 11 13:05:12 I used it in Dallas. Jul 11 13:05:16 20 doesn't sound like many. Jul 11 13:06:02 you know who will receive them and what happens when the performance sucks (as it really does) Jul 11 13:33:47 what is the temperature range of beaglebone? 0°C +70°C ? Jul 11 13:34:03 mine is at room temperature Jul 11 13:34:46 but is not for industrial like -40°C right? Jul 11 13:35:24 no Jul 11 13:35:37 its a hobby/dev board Jul 11 13:35:57 which does not mean it wont work at -40... Jul 11 13:36:10 maybe the electrons will freeze Jul 11 13:37:37 ok thanks i can't find this information on the official site Jul 11 13:38:16 stuk_gen: No, I think that is in the SRM. Jul 11 13:38:40 At the very least it is definitely in all the datasheets, the primary one you want to look at is for the OMAP chip itself. Jul 11 13:38:43 in case of no info, assume its not *industrial* Jul 11 13:38:50 ^^^ Jul 11 13:39:08 av500: hehe good Jul 11 13:39:12 Besides, in general, *cold* will get you further than *hot*. Jul 11 13:39:28 agmlego: good i'm searching the doc of chip Jul 11 13:39:31 Meaning, you can usually push the cold rating way farther than the hot one. Jul 11 13:40:10 stuk_gen: Remember to look up the exact, full part number. There are, I believe, industrial/military versions of the chip with expanded temp ranges. Jul 11 13:40:21 agmlego: ok Jul 11 13:51:05 the processor isn't the only part on such a board Jul 11 13:51:33 exactly this is the problem Jul 11 13:51:52 so i think haven't industrial temp :) Jul 11 13:52:15 so get some industrial board if you need such Jul 11 13:53:20 i only compile a list of positive/negative aspect using bone, but thank for the suggestion Jul 11 13:57:50 aholler: No, but it is likely the most sensitive. Jul 11 14:11:21 * phantoxe is now away: gone Jul 11 14:12:13 * phantoxe is back from: gone (been away for 53s) Jul 11 14:38:21 jkridner: libv4l was missing, opkg update ; opkg install libv4l Jul 11 14:38:39 koen: you and your easy solutions Jul 11 14:40:07 I have a beagleboard-xm. I try to read a GPIO (138) and output the same value that it reads to GPIO137. I get "bash: echo: write error: Operation not permitted" when I try to change GPIO138's value. Here is my code: http://pastebin.com/j161ZnJR Jul 11 14:40:12 what do I do wrong? Jul 11 14:41:23 even I stop the code, I get the same error Jul 11 14:42:31 koen: still not working for me. Jul 11 14:43:12 angs: did you set the mode to output? Jul 11 14:43:33 read back 'direction' to make sure it is set properly. Jul 11 14:44:36 also, make sure the GPIO isn't taken up by a driver. There is a nice debugfs entry for that that I forget. Jul 11 14:45:23 cat /sys/kernel/debug/gpio Jul 11 14:46:20 this is the output: http://pastebin.com/t8sDYj2j Jul 11 14:46:35 jkridner: I recompiled ahollers app and I get: http://pastebin.com/FScFqhtA Jul 11 14:46:54 angs: it shows state as 'in', which is why you can't write to it. Jul 11 14:48:16 when I apply 0V on that pin, the code still shows 1 as an output Jul 11 14:48:16 koen: interesting. I don't see those errors. I only get 'Error creating capture' Jul 11 14:48:46 do I need to configure something else than direction? Jul 11 14:48:53 jkridner: did you install libv4l? Jul 11 14:48:58 yes. Jul 11 14:49:08 nice btw: http://www.oz9aec.net/index.php/beaglebone/476-turning-the-beaglebone-into-a-high-definition-ip-camera Jul 11 14:49:12 jkridner: reblog Jul 11 14:49:29 did I need to recompile the test app? I did, just in case. Jul 11 14:51:37 yes, since the old libs will be uninstalled by the opencv update Jul 11 14:51:59 av500: done Jul 11 14:53:09 what file do I need to edit to read current value of a GPIO? Jul 11 14:53:58 although I do not apply any power now, GPIO138 (in) shows 1 for "cat value" Jul 11 14:55:11 angs: I'm not following you that closely. I thought your problem was you were trying to *set* the value. Now you are trying to read it? Jul 11 14:56:42 jkridner: my real purpose to read value of GPIO138's pin. I notice my mistake why I get the error after your explanation. but I could not figure it out how to read its value Jul 11 14:57:26 well, 'cat value' should show you the level on the pin if the direction is 'in'. Jul 11 14:57:28 I want it to show logic 1 when there is 1.8V and logic 0 when there is no power. my code shows always 0 although there is no power applied Jul 11 14:57:56 just because no power is applied, doesn't mean that it would float to 0. Jul 11 14:58:09 for example, there could be a pull-up. Jul 11 14:58:27 or, it might just float high. Jul 11 14:58:40 did you actually *apply* 0V, meaning, did you ground the pin? Jul 11 14:59:27 no, I just set the direction file as in Jul 11 14:59:31 I thought you said earlier that 'cat value' shows 1, but you are saying your code always shows 0. which one is right? Jul 11 15:00:01 my code always show 1 Jul 11 15:00:14 k. Jul 11 15:00:21 I'd guess it is floating high. Jul 11 15:00:29 I thought it would show 0 if I do not apply voltage and shows 1 if I apply 1.8 Jul 11 15:00:30 put a 1kohm resistor to ground or so. Jul 11 15:00:37 how can I set it so? Jul 11 15:00:55 there are pull up/down options on the gpio balls Jul 11 15:00:55 hardware. Jul 11 15:00:56 27th/28th pin? Jul 11 15:01:33 (and those pull up/down options are controlled in the pin mux) Jul 11 15:01:49 I don't have the SRM handy to see which pins.... Jul 11 15:01:57 but, if you are using GPIOs to sense the external world.... Jul 11 15:02:08 guess you'd better start controlling the external world if you want to test. Jul 11 15:02:18 just because you aren't applying a voltage... Jul 11 15:02:23 even if there was no pull up/down... Jul 11 15:02:27 doesn't mean you'd have a 0... Jul 11 15:03:05 because a pin can float at any voltage relative to other voltages for which there is no path. Jul 11 15:03:50 it might be sitting at 1.2V, which might be enough to trigger the input into thinking it is high.... because the input has to pick that it is at one state or another, even though there are an infinite number of voltages it could be at. Jul 11 15:04:01 undriven pins float. Jul 11 15:04:12 they don't magically go to 0V relative to ground. Jul 11 15:04:30 a floating input is a bad thing. Jul 11 15:04:38 well, at least if you care about power consumption. Jul 11 15:04:43 then how can I set the GPIO to read if there is voltage or not in the pin (and threshold for logic 0 and 1? Jul 11 15:04:48 which is why you add pull-ups/pull-downs.... Jul 11 15:05:12 those keep input pins from floating in la-la land where they could cause excess current drain trying to figure out if the input is high or low. Jul 11 15:05:24 actually I connected a sensor's alarm relay so it will give 1.8V when there is a motion, so it is not a continuous 1 Jul 11 15:06:15 if you are setting it to an input, then give it an input. if you need to handle the case where input might or might not be there, use a pull-up or pull-down resistor, possibly the ones included on-chip that may or may not *already* be enabled. Jul 11 15:06:37 k. have you looked at the pin's voltage level using an oscilloscope? Jul 11 15:07:42 no, I just used multimeter to measure the voltage Jul 11 15:07:57 it is approximately 1.7V Jul 11 15:08:19 I do not have an oscilloscope Jul 11 15:08:19 so, reading a 1 makes sense, no? Jul 11 15:09:02 yes Jul 11 15:09:04 well, it will be difficult to detect those transitions without a scope, but I guess that is what you want to use your BeagleBoard for, eh? Jul 11 15:09:54 I want my beagleboard to detect sensor's output (0V either 1.8V) Jul 11 15:09:56 https://www.ridgerun.com/developer/wiki/index.php/How_to_use_GPIO_signals has some nice info on detecting edges. Jul 11 15:11:20 I took a look at that page before, but I will read more carefully and try to understand it Jul 11 15:12:33 apart from detecting edges, is it possible to set a threshold on a pin for logic 0 and logic 1? Jul 11 15:14:47 koen, av500, aholler: even https://gist.github.com/1253534 gives me 'select timeout' Jul 11 15:15:19 angs: the thresholds are pre-determined for digital input pins, so, no, you cannot change them. Jul 11 15:15:36 1.7V is plenty high though to detect as a '1'. Jul 11 15:16:10 do you have any example source code to read a GPIO that a sensor or something attached? Jul 11 15:16:16 0V and 1.8V are excellent target voltages for input pins on BeagleBoard or BeagleBoard-xM. Jul 11 15:16:52 for bonescript, I've just been looping back output pins to input pins. Jul 11 15:17:15 no reason that should behave differently than a properly configured externally generated signal. Jul 11 15:17:51 a resistor to ground or to 1.8V is an excellent way to test your software. Jul 11 15:19:58 the ground to the GPIO input, right? something like http://www.tigoe.net/pcomp/code/wp-content/uploads/2008/02/analogin-resistor.png ? Jul 11 15:20:36 GPIO138 Jul 11 15:20:39 in my case Jul 11 15:21:18 I am asking it, just for me to understand clearly Jul 11 15:30:50 jkridner: it works as I want with the resistor. thank you very much for your help Jul 11 15:34:51 jkridner: Just out of curiosity, do you happen to have a favorite SOT23 N-channel FET that can be used directly off the 1V8 logic of the expansion header? Looking to do low-side drive of some things, less than 300mA at either 5V or 3V3, hate to use level conveters just for FETs. Jul 11 15:35:20 But I have been having a hard time finding ones that switch on that low a Vgs. My standby BSS123 stops saturating at 3V3. Jul 11 15:45:16 jkridner: whatever that v4l2-stuff does, it only captures frames with size 0 here. But it does that without any error, so maybe the select is because of a broken usb Jul 11 15:45:52 jkridner: you might try to make frames smaller Jul 11 15:47:52 maybe it stalls when there flows to much data, I remember that koen has mumbled something about small pictures are working. Jul 11 15:51:46 which would be conform with what sometimes happens here, when I do an rsync over musb over bt on my c4 ;) Jul 11 17:02:51 Hey guys, so I set up my BB Rev C. with Angstrom. I want to switch over to ArchLinux. Do I need to reflash the NAND or will that automatically happen? Jul 11 17:04:36 heh Jul 11 17:05:56 Yea, I'm really new to embedded systems Jul 11 17:07:10 ignore the NAND Jul 11 17:07:12 boot from sd Jul 11 17:07:17 saves you a lot of trouble Jul 11 17:16:28 I think when I first put Angstrom on the SD it copied it to NAND. Now, it always boots Angstrom even though Arch is on the SD Jul 11 17:18:12 Maybe something odd is up with my boot.scr? Are newlines unnecessary? Jul 11 17:18:46 yes, you can "install" angstrom to NAND Jul 11 17:18:54 and still boot from SD by holding the USER button Jul 11 17:19:16 I would erase nand, that way you always boot from SD Jul 11 17:19:21 much easier for experiments Jul 11 17:19:28 and stuff in NAND tends to get obsolete Jul 11 17:19:37 Okay, but a serial connection is neccessary to erase NAND? Jul 11 17:19:41 yes Jul 11 17:19:46 you need a serial anyway Jul 11 17:19:56 blah. time to take a trip to radioshack Jul 11 17:20:06 because as soon as something goes wrong, we will all tell you: connect a serial :) Jul 11 17:20:30 hehe well ty :) I'll try the user button Jul 11 17:33:36 Hm, so when I hold the User button down and boot, it no longer goes into Angstrom but has no DVI output Jul 11 17:34:19 time to get serial and just delete NAND? Jul 11 18:28:16 do you guys watch Game of Thrones? Jul 11 18:28:21 * Crofton|work assumes koen does Jul 11 18:29:40 av500, you are being very pleasant .. Jul 11 18:52:08 Crofton|work: should i torrent^H^H^H^H^H^buy that? :) Jul 11 18:52:27 heh Jul 11 19:05:38 <_av500_> Crofton|work: ??? Jul 11 19:05:56 the guy witht he serial cable :) Jul 11 19:06:02 or without the serial cable Jul 11 19:06:12 <_av500_> Crofton|work: yes, we watch sunburn barbie Jul 11 19:06:34 http://visual.ly/game-thrones-math-nerds Jul 11 19:42:43 I haven't had much time to keep up with bone kernels in the last weeks, is the preempt kernel working fine now? Jul 11 19:46:15 Hi people... I've made a decision to purchase a beagle board.... being a student aim is to maximize learning at the same time with cheapest board Jul 11 19:46:35 So I am confused between beagle bone and beagle board xM Jul 11 19:47:09 I might not be able to differentiate just be looking at the specs... Jul 11 19:48:16 Any help on selecting one will be greatly appreciated :-) Jul 11 19:48:55 bingo: if cost is your concern, then beaglebone is a better choice Jul 11 19:49:05 bingo: easier to do some basic electronics and learning on Jul 11 19:49:22 bingo: Bone has a lot slower processor, but more readily-accessible IO. xM has a lot more processor, but less-accessible IO. Jul 11 19:49:36 Crofton|work: season 2 is already over, I'm in the ~11 month wait till s3 :) Jul 11 19:49:46 jsabeaudry: no Jul 11 19:49:46 bone has no (native) video, xM has DVI over HDMI. Jul 11 19:50:14 and both don't have nand ;) Jul 11 19:50:17 koen: for what show? Jul 11 19:53:13 prpplague: I have played with 8051 earlier but I'm taking OS course this semester...so wanted to do some project on linux Jul 11 19:53:25 prpplague: game of thrones Jul 11 19:53:26 <_av500_> prpplague: sunburn barbie Jul 11 19:53:29 koen: ahh Jul 11 19:53:34 _av500_: hehe Jul 11 19:53:58 koen: i have been googling around, but i haven't seen anything on a new season of "Death in Paradise" Jul 11 19:54:02 bingo: if you want to learn linux, just use some live-cd like knoppix. Jul 11 19:54:19 or install linux on your pc Jul 11 19:55:01 agmlego: what do you mean by xM does not have IO accessible easily ? are they used for their alternate functions ? Jul 11 19:56:20 My basic OS course is over; I'm taking emebedded OS this time... Jul 11 19:56:30 bingo: More of the xM's IO is either not broken out, or is heavily overloaded (as in, many functions for one pin). Jul 11 19:57:08 bingo: The bone is intended for embedded applications that deal with the environment, while the xM was more aimed at mobile software development. Jul 11 19:57:44 prpplague: I heard it has been approved, no idea on dates yet Jul 11 19:57:55 koen: ahh dandy Jul 11 19:59:01 bingo: the basic os is the same on the pc as on an arm, linux. an embedded os usually is something else than linux Jul 11 19:59:42 basic OS on PC... so I know to configure and build kernel and install etc Jul 11 20:00:10 embedded OS two options are there: Threadx or Linux Jul 11 20:00:23 bingo: A whole lot more than those exist. Jul 11 20:00:25 ;-P Jul 11 20:00:58 Contiki, vxworks, and a whole slew of RTOS varieties, just to name a few. Jul 11 20:01:02 My college offers those two only... possibly they get some funds from them ... ;-) Jul 11 20:01:24 bingo: Or, more likely, you have professors whodo research with them. Jul 11 20:01:52 Besides, in any course, you have to choose what to leave in and what not to--impossible to cover every variant of every OS out there in a semester. Jul 11 20:02:06 linux many do.. but Threadx I do not know.... but I dont wanna take that since its not open source Jul 11 20:02:38 ::shrugs:: Jul 11 20:02:43 o, if they explicit are talking about embedded linux, than a bone might be the right choice Jul 11 20:02:45 Linux works nicely. Jul 11 20:05:18 So my aim is to get familiar with boot loaders, cross-compilers, creating rootfile systems, MTD utilities, and as much as device(video, audio,framebuffer,touch screen,pwm,I2c,USB) drivers as possible Jul 11 20:05:32 bingo: xM, then. Jul 11 20:05:37 I'm no, c4 Jul 11 20:05:43 s/I'm// Jul 11 20:05:49 Well, OK. Jul 11 20:05:53 xm and bone aren Jul 11 20:05:58 't having nand Jul 11 20:05:58 Can you even still buy C4s anywhere? Jul 11 20:06:25 or get some sam9 Jul 11 20:06:29 I was assuming bingo was tryingto get something in the current market. Jul 11 20:06:40 Which...xM and bone are both available for sale. Jul 11 20:06:49 If they dont have nand then what do they have... I learnt only NAnd or NOr are possibilities ? Jul 11 20:07:01 sd-cards Jul 11 20:07:41 bingo: just ask on of the teachers what board they are discussing Jul 11 20:07:56 bingo: The NAND flash aholler is talking about is storage on the boarditself for OS and such. The older version of the BeagleBoard (the C4) had this. They took it off the xM, and the bone never had it. Jul 11 20:08:13 bingo: But it is not really that big a loss--microSD cards are cheap and easily attained. Jul 11 20:08:34 that isn't the point if he want to learn about mtd Jul 11 20:09:18 Nope, but there are a whole lot of other things mentioned. Jul 11 20:09:26 And, again., the C4 is a rare bird these days. Jul 11 20:10:06 My teachers were talking about some samsung based board Jul 11 20:10:11 as said, a sam9 is usable too as a vehicle to learn embedded stuff. and much cheaper Jul 11 20:10:16 Yeah. Jul 11 20:10:29 And there is always the Raspberry Pi. ;-P Jul 11 20:10:35 sam 9 will it be cheaper than beagle ? Jul 11 20:10:50 bingo: Yes. Jul 11 20:11:21 could you let me know any board with good community support ? Jul 11 20:11:30 bingo: On the other hand, there seems to be a larger support community around the beagle products. Jul 11 20:11:34 like beagle... Jul 11 20:11:43 The pandaboard has a pretty big community. Jul 11 20:11:48 Um..Chumby. Jul 11 20:11:56 Raspberry Pi. Jul 11 20:12:00 but thet's too costly I checked.. Jul 11 20:12:11 The Pi? $35. Jul 11 20:12:27 The Raspberry Pi is $35, if you can get one... Jul 11 20:12:32 bingo: buy what the teacher uses Jul 11 20:15:00 aholler: I want to invest in something which might be useful to me even after the class... and anyways teachers use will be available in college labs... Jul 11 20:15:40 The Pi? $35. : seems to be ATmega... I want ARM Jul 11 20:15:44 bingo: I would still personally go with the xM or the pandaboard. Jul 11 20:15:54 But I am partial to them, having used them in other projects. Jul 11 20:16:01 bingo: NO. Pi is ARM. Jul 11 20:16:44 is gumstix in the running thses days? Jul 11 20:17:23 Ok right.... initially it was "In 2006, early concepts of the Raspberry Pi were based on the Atmel ATmega644 microcontroller. " Jul 11 20:18:15 djlewis: They are pricey and slow, but they do still exist. Jul 11 20:18:26 bingo: Yeah, long, long ago. Jul 11 20:18:49 bingo: Actual shipping Pi's are a Broadcom ARM SoC. Jul 11 20:19:02 ok Jul 11 20:19:17 Do they have community support... Jul 11 20:19:32 bingo: But "shipping" is a misnomer--more like, you pay for it, forget you bought it, and get a pleasant surprise a few months later. Jul 11 20:19:39 bingo: Very, very much so. Jul 11 20:19:45 bingo: Like, the entire Internet right now. Jul 11 20:19:53 It is a popular board at the moment. ;-P Jul 11 20:21:28 g8 guys.... I have a budget of around $200 Jul 11 20:21:49 possibly I can accomodate a Pi in this.... ;-) Jul 11 20:21:52 bingo: What other than the board do you want to get? Jul 11 20:22:08 I was planning for a jtag ? Jul 11 20:22:17 is it possible ? Jul 11 20:22:20 any hobby jtag... Jul 11 20:22:27 The xM is around $150, the PandaBoard is around $180, the bone is around $80-90, Pi is $35. Jul 11 20:22:44 Um...many of the boards support JTAG, but I am not really sure what you woulod be doing with it. Jul 11 20:23:00 a popular pi that hasnt been road tested yet ;) Jul 11 20:23:16 djlewis: There is that. Jul 11 20:23:32 as I told earlier I just want o learn how to use tools in embedded linux... Jul 11 20:23:55 bingo: With any of them, you will get an SD (or microSD) card with them, but those tend to be small (4GB is typical) so you may want to get a larger one. Jul 11 20:24:17 You may want to get various video adapters, power supplies, etc. to actually powe rup the board. Jul 11 20:24:22 Things like that. Jul 11 20:24:50 agmlego: wait are these not included in the package Jul 11 20:24:57 bingo: Not generally, no. Jul 11 20:25:33 A 5V, 2-3A power supply is pretty much mandatory except with the bone (and the Pi?) as it can run off USB. Jul 11 20:26:00 The xM (and Pandaboard, probably) need an HDMI to DVI adapter, since they run DVI signalling over HDMI. Jul 11 20:26:07 *over an HDMI port. Jul 11 20:26:32 bingo: These requirements are all listed on the "What To Buy" section of the relevant projects' wikis. Jul 11 20:26:54 But no, the board itself does not come with a lot of stuff--it is a development board, not an iPod. ;-P Jul 11 20:27:20 sure I'll have a check on that... ;-) Jul 11 20:27:49 bingo: Your bestest friend in the world is http://elinux.org Jul 11 20:27:58 bingo: YOur second bestest friedn is Google. Jul 11 20:28:39 But I saw one board called mini2440 from friendly ARM that too is pretty cheap too... that had board + touch screen + power supply + serial cables + Parport Jtag Jul 11 20:28:54 bingo: Also note that if you want to do things like wifi or bluetooth, only the Pandaboard has that built in--the others will need a USB or UART adapter for those. Jul 11 20:28:56 thst why I asumed every bioard will be proving it Jul 11 20:29:12 bingo: YOu know what happens when you assume things, right? ;-P Jul 11 20:30:07 hehehe... good that I came to the IRC... you people are my saviours... thanks a lot guyz Jul 11 20:31:21 But still looking at community support I want to go with beagle board xM... but have a few questions to be answered yet... Jul 11 20:31:50 bingo: Go for it. Jul 11 20:31:51 You told it does not have Nand/NOR but SDCARD... then how does it boot up ? Jul 11 20:32:05 u-boot loads the kernel off the sd card. Jul 11 20:32:19 btw. watterott still has the c4/5. Jul 11 20:32:25 (or off the network, or off a USB flash drive, or...) Jul 11 20:32:46 where is it loaded then ... it should be loaded into XIP memory and SD is not one... Jul 11 20:33:34 <_av500_> into SDRAM Jul 11 20:33:46 No screw holes on the R Pi? Jul 11 20:33:50 <_av500_> no Jul 11 20:33:52 bingo: Into RAM. Jul 11 20:34:02 bingo: Like every other computer. ;-P Jul 11 20:34:23 but who loads it...uboot is a boot loader and that si supposed to be the fiorst thing to run... Jul 11 20:34:37 bingo: Yeah? Jul 11 20:34:41 <_av500_> the ROM code Jul 11 20:34:42 *is Jul 11 20:34:47 uboot *is* the first thing that runs. Jul 11 20:34:50 <_av500_> no Jul 11 20:34:51 no Jul 11 20:34:54 <_av500_> ROM is 1st Jul 11 20:34:56 <_av500_> MLO 2nd Jul 11 20:34:59 <_av500_> uboot 3rd Jul 11 20:35:00 After the BIOS/ROM code loads *it* into RAM. Jul 11 20:35:08 _av500_: Right, i was getting there. Jul 11 20:35:26 ROM I know...whats MLO ? Jul 11 20:35:30 <_av500_> a loader Jul 11 20:35:38 <_av500_> small enough to fit into SRAM Jul 11 20:35:50 <_av500_> to setup clocks and SDRAM Jul 11 20:35:53 <_av500_> and load uboot Jul 11 20:36:03 kinda synomous to a pc bios Jul 11 20:36:09 ok Jul 11 20:36:15 bingo: The whole boot process is documented in the xM SRM, or System Reference Manual. Jul 11 20:36:26 Which is a very good resource. Jul 11 20:37:13 agmlego: thx have taken a note about it Jul 11 20:37:51 I guess ROM code does not change.... Can MLO be changed ? Jul 11 20:38:26 bingo: Yes. Jul 11 20:38:46 I think that is the main point of JTAG onthe TI boards, but I am by no means an expert on that. Jul 11 20:38:47 and MLO is also stored on SD... in different partition Jul 11 20:38:52 I deal witht he boards on a higher level. Jul 11 20:38:58 bingo: yes. Jul 11 20:40:09 ok... does xM support any other method apart from SD boot... like USB boot... network boot Jul 11 20:40:40 Yes, as I said above. Jul 11 20:40:55 At 16:32 EST. Jul 11 20:40:56 ;-P Jul 11 20:41:29 okie...sorry Jul 11 20:41:56 Not a problem. Jul 11 20:42:18 I *think* it might even be able to boot over UART/RS232, but I could be wrong on that. Jul 11 20:42:29 djlewis: it is nothing like a pc bios Jul 11 20:43:56 But in PC BIOS we have options and defaults where the BIOS looks for OS.... Jul 11 20:44:12 Yeah, and u-boot has that. Jul 11 20:44:15 not sure MLO does. Jul 11 20:44:17 and that can be configured and changed Jul 11 20:44:18 <_av500_> here the options are SYSBOOT pins Jul 11 20:44:34 if the processor starts and gets instructions from onboard rom to perform pre boot functions as well as call an external routine in sdram to load a bootloader then I see it to be synonomous Jul 11 20:44:34 <_av500_> bingo: anyway, it *does* boot in the end Jul 11 20:44:39 no but u boot always is loaded from sd card Jul 11 20:44:44 <_av500_> no Jul 11 20:44:57 <_av500_> it can be loaded from NAND, NOR, serial, usb Jul 11 20:45:15 <_av500_> read the TRM of the OMAP3 Jul 11 20:45:19 or boot from network, that is in a bios as well Jul 11 20:45:21 on xM we dont have NAnd and Nor thats what I hear... Jul 11 20:45:29 bingo: Right. Jul 11 20:45:29 <_av500_> true Jul 11 20:45:32 <_av500_> one is the CPU Jul 11 20:45:33 But other things do exist. Jul 11 20:45:42 <_av500_> one is the board that implements only a subset Jul 11 20:45:59 bingo: In any case, this is *ealborately* spelled out in easy-to-access documents like the SRM. Jul 11 20:46:31 djlewis: have you forgotten what the BIOS acronym stands for? Jul 11 20:46:58 sure the name is antique but it is still called it today Jul 11 20:47:03 say I have uboot images at all places: serial, network,usb and sdcard... so what will take precedence ? Jul 11 20:47:09 it still is it Jul 11 20:47:25 Basic Input Output System, sets up hardware and loads the OS. Jul 11 20:47:33 bingo: SD card is default. Jul 11 20:47:42 bingo: You can change it to somewhere else easily. Jul 11 20:47:48 <_av500_> bingo: read the SRM and the TRM Jul 11 20:47:54 <_av500_> its all explained Jul 11 20:47:57 and provides various services while running the os Jul 11 20:48:02 bingo: No precedence as far as I know, there is one and only one location it looks at any given boot. Jul 11 20:48:07 <_av500_> no Jul 11 20:48:18 <_av500_> depending on boot mode, it tries several things Jul 11 20:48:23 _av500_: OK. Jul 11 20:48:29 <_av500_> like e.g. NAND->USB->serial or so Jul 11 20:48:35 mlo (u-boot.spl) dictates from where u-boot does come from Jul 11 20:48:36 I really ought to stop talking about things I have not fiddled with. Jul 11 20:48:45 mlo goes away when u-boot starts Jul 11 20:48:45 <_av500_> so in the factory, it would boot from usb then NAND is flashed etc... Jul 11 20:48:48 But then again, this is the Internet. Jul 11 20:49:08 and u-boot goes away when the os starts Jul 11 20:49:13 and some hw-pins a responsible whatways to load mlo are tries Jul 11 20:49:22 tried Jul 11 20:49:37 the rom does provide a few services used by the os Jul 11 20:49:51 on omap too? Jul 11 20:49:59 security stuff I assume Jul 11 20:50:44 omap gp chips need rom to do a bunch of things Jul 11 20:51:33 what does gp stand for? Jul 11 20:51:45 not hs or emu Jul 11 20:52:49 hmm, I've never seen something in the kernel which calls some rom-code Jul 11 20:54:41 on omap4 it does Jul 11 20:55:24 ah, ok, therefor I've missed it. Jul 11 20:55:34 agmlego and aholler : any other AT9 board which is cheaper apart from Raspberry... I just looked for pi...it looks like it might not arrive in time...possibly by then my semester will b over :-( Jul 11 20:55:54 by then your life might be over ;) Jul 11 20:55:59 stmicro has some cheap boards too, about 12$ or such Jul 11 20:56:04 <_av500_> there are some ROM calls for some secure services that a secure boot loader can use Jul 11 20:56:08 <_av500_> afaik Jul 11 20:56:33 that arm-trustzone stuff maybe Jul 11 20:56:39 Are they ARM and run Linux ? Jul 11 20:56:47 iirc there was a arm netbook project several years back that was supposed to be god's gift but it never seemed to mature either Jul 11 20:56:57 bingo: yes, some of them Jul 11 20:57:00 pay first and maybe you will get your netbook... Jul 11 20:57:05 <_av500_> djlewis: just wait, 2013 will be the year of arm netbooks Jul 11 20:57:09 bingo: You might get somewhere by searching for "ARM linux hobbyist" in Google. ;-P Jul 11 20:57:11 lol Jul 11 20:57:14 There is the Genesi Efika MX. Jul 11 20:57:20 bingo: but they are as slow as sam9 Jul 11 20:57:22 <_av500_> sure Jul 11 20:57:26 <_av500_> sells like hotcakes Jul 11 20:57:27 _av500_: And of desktop Linux? ;-P Jul 11 20:57:32 <_av500_> agmlego: no Jul 11 20:57:40 <_av500_> desktop is dead Jul 11 20:58:22 yep, have running fullscteen apps on your 27" monitor Jul 11 20:58:26 what about ATOM based netbooks ? Jul 11 20:58:28 +fun Jul 11 20:58:41 av500: you mean locked arm netbooks? Jul 11 20:59:15 bingo: What about them? YOu wanted ARM embedded boards. ;-P Jul 11 20:59:31 embedded in netbooks Jul 11 20:59:32 yeah! lets get back to basics ! Jul 11 20:59:50 gwbasic Jul 11 20:59:50 nono...I was commented about the discussion for ARM netbooks Jul 11 20:59:56 Ah. Jul 11 21:00:00 http://2012.texaslinuxfest.org/sessions Jul 11 21:00:04 Well, Atom netbooks are all over the place. Jul 11 21:00:04 anyone going? Jul 11 21:00:13 Not special in any way, really. Jul 11 21:00:21 bingo: those pogoplugs are cheap too. and they have nand Jul 11 21:00:44 I'm using something similiar as my 24/7 home-server Jul 11 21:01:12 or look for sheevaplugs, but they have a bad power plug, I've heard Jul 11 21:01:25 arm-devices are available everywhere Jul 11 21:02:35 even as tablets, maybe such is an alternative Jul 11 21:03:02 some of them are can be unlocked. Jul 11 21:03:16 i htought he wanted to easily interface hardware with his choice Jul 11 21:03:21 Yeah. Jul 11 21:03:35 Which a tablet is *really* hard to do. Jul 11 21:03:36 back to the Bone Jul 11 21:03:39 usb Jul 11 21:03:53 aholler: Not on a tablet, a lot of the time. Jul 11 21:04:07 agmlego: ? Jul 11 21:04:14 aholler: USB host. Jul 11 21:04:27 just ask the master in this channel ;) Jul 11 21:04:35 ::shrugs:: Jul 11 21:04:59 In any case, a tablet is not really the right tool for the job if bingo wants to do hardware-level interfacing. Jul 11 21:05:05 * djlewis wishes he had a cold beer Jul 11 21:05:16 The right tool is a dev board, like the bone, xM, pandaboard, gumstix, Pi, etc. Jul 11 21:05:21 djlewis: So get one? Jul 11 21:05:37 I will in about three hours Jul 11 21:05:51 djlewis: West Coast? Jul 11 21:06:05 Hey guyz... thx for all the help...now i GUESS I am better equipped to take my decision... still I feel I'll go with xM... Jul 11 21:06:34 hey! is there metric/sae versions of time terminology like hour / centihour? Jul 11 21:06:35 as said, you will miss the nand-experience with that Jul 11 21:06:54 agmlego: central arkansas Jul 11 21:07:10 anyone know where i could get some info on the SGX drivers for the XM running armHF? Jul 11 21:07:37 nowhere Jul 11 21:07:43 djlewis: Ah, fair enough. SE MI here. Jul 11 21:07:44 hmmm.... ok agmlego what I'll miss if I go with bone ? Jul 11 21:07:53 bingo: A lot of processing power. Jul 11 21:08:03 not so much Jul 11 21:08:11 bingo: The xM has a 1GHz ARM, with 512MB RAM. Jul 11 21:08:21 bingo: The bone has a 700MHz ARM with 256MB RAM. Jul 11 21:08:33 bingo: Also, the xM has onboard video out, while the bone does not. Jul 11 21:08:34 that I can sacrifice... I want it as learning tool Jul 11 21:08:34 the c4 has nand, 256mb and 720ghz Jul 11 21:08:49 agmlego: i am all the time seeing newbie posts trying to squueze 1Ghz from the XM Jul 11 21:08:54 s/ghz/mhz/ Jul 11 21:08:54 bingo: On the other hand, the bone is cheaper, and has a lot more exposed IO. Jul 11 21:08:57 Tell me in terms of any HW feature or drivers which will not be available Jul 11 21:09:12 or interfaces ... Jul 11 21:09:29 djlewis: Um...xM runs at 1GHz native, in my experience. No squeezing necessary. Jul 11 21:09:35 bingo: ... Jul 11 21:09:55 a big hdwre plus of bone over xm is bone is 3V IO while XM is 1.8V Jul 11 21:10:01 bingo: You do not get onboard video out on the bone. You do not get as many USB ports on the bone. Jul 11 21:10:09 djlewis: Theere is that. Jul 11 21:11:04 bingo: Other than that, the biggest differences are porcessing power and cost. Jul 11 21:11:25 a cheap usb hub takes care of the missing usb ports Jul 11 21:11:49 Bone: No video+ less processing power<-------->xM: Video + processing power Jul 11 21:11:52 then a lcd addon to the bone for video and you are at the cost of the XM ;) Jul 11 21:11:58 djlewis: Sure, or tapping into the USB lines on the expansion header. Jul 11 21:11:59 thats the only HW difference ? Jul 11 21:12:13 bingo: Pretty much, yeah. Jul 11 21:12:56 there are many projects with Beagleboards and Bones published Jul 11 21:13:08 djlewis: add a LCD on bone... does xM has it by default ? Jul 11 21:13:09 some actually work ;) Jul 11 21:13:22 no Jul 11 21:13:24 bingo: No. Jul 11 21:13:41 bingo: There are "capes" (like shields for Arduino) for the bone. Jul 11 21:13:49 bingo: One of those allows you to get video out. Jul 11 21:13:56 bingo: Another one is an LCD. Jul 11 21:14:11 cape! thats the word that I couldn't think of. Jul 11 21:14:15 bingo: i use a usb touchscreen lcd on my XM Jul 11 21:16:07 agmlego: so you mean a seperate HW module on SOC is there for LCD and video on xM... but on Bone only LCD option is there ? Jul 11 21:16:53 bingo: Sort of yeah. Jul 11 21:17:07 bingo: Both the xM and the bone are *capable* of producing video output. Jul 11 21:17:31 bingo: However, only the xM has the *connectors* to do so--in this case, and HDMI port over which DVI video is fed. Jul 11 21:17:49 ohh ok... Jul 11 21:17:49 bingo: You can add a cape to the bone that gives it a video connector. Jul 11 21:18:01 cape ? Jul 11 21:18:07 bingo: In addition, the xM has a header compliant to many LVDS LCD panels. Jul 11 21:18:12 additional mounting... Jul 11 21:18:17 bingo: Like a shield for Arduino, but for the bone. Jul 11 21:18:36 bingo: The bone does not have such a header, but there exists a cape that adds it. Jul 11 21:18:37 Arduino I never used :-( Jul 11 21:18:56 bingo: It is a common concept on the Internet--terminology is easily researched. ;-P Jul 11 21:19:27 bingo: Basically, a daughterboard that attaches via a common set of pins. Jul 11 21:20:56 ok...dauterboard I'm familiar with :-) Jul 11 21:21:13 bingo: A shield is sort of a daughterboard, as is a cape. Jul 11 21:21:57 bingo: The difference is, many shields (and some capes) can be stacked on top of each other, passing through the pins they do not use to the next one in the stack. Jul 11 21:21:59 so then it means effectively both xM and bone have video capabilities Jul 11 21:22:08 Yes, just not immediately. Jul 11 21:24:15 just read the specs at beagleboard.org Jul 11 21:24:48 ^^^ Jul 11 21:25:02 xm is Cortex A8... what abt bone ? Jul 11 21:25:17 Similar, but that is all listed on the webpage. Jul 11 21:28:11 Guyz ... just looked at this at bone feature list:"Single cable development environment with built-in FTDI-based serial/JTAG" Jul 11 21:28:32 bingo: Yep. Jul 11 21:28:32 does that mean I need not buy a JTAG ? Jul 11 21:28:41 Not for that board, no. Jul 11 21:29:00 I am still not entirely sure what you need JTAG for on these devices. Jul 11 21:29:17 * agmlego has yet to run into a situation where he needed it. Jul 11 21:31:13 may be during boot loader development ... or trying to see what actually happens during boot ? Jul 11 21:31:18 what do you say ? Jul 11 21:31:32 just for learning ... Jul 11 21:32:01 I have no idea. Jul 11 21:32:06 Not a part of the board I use. Jul 11 21:32:29 I use them as little, powerful, cheap, power-efficient, Linux boards easily interfaced into other hardware. Jul 11 21:32:55 Anything lower-level than putting Linux on an SD card is not something I do with them. Jul 11 21:41:32 ok guyz one more thing not connected to beagle in any way... Jul 11 21:42:33 OK, go for it/. Jul 11 21:42:39 I have an HP laptop whose screen is died they say I need to replace the complete mother board... just because the Video card is gone Jul 11 21:43:03 But its an old laptop I dont want to go for that option.... Jul 11 21:43:20 can I use it as a server in any way ? Jul 11 21:43:36 Probably. Jul 11 21:44:43 but it has Win installed on it... and since Video is not working I dont have any display !!! Jul 11 21:45:05 I thought you already know linux? Jul 11 21:45:12 ^^^ Jul 11 21:45:23 And it is pretty easy to install linux on a headless box. Jul 11 21:45:38 Or, pull the hard drive and put it in something lelse, install linux, put it back. Jul 11 21:46:10 most installers can used by network too. boot a linux-cd which supports network, done. Jul 11 21:46:26 but this isn't #42 Jul 11 21:46:34 Notably, the debian installer supports installation over ssh. Jul 11 21:50:32 yes... that is from my school days...now i use Ubuntu :-) Jul 11 21:50:40 on different m/c Jul 11 21:52:17 networking on linux I'm not much into... ssh ? Jul 11 21:53:19 bingo: Google. Jul 11 21:56:28 sure...will do Jul 11 21:59:29 how does this work? Jul 11 22:00:24 Rich_: Define "this" Jul 11 22:00:41 Am I irritating a whole community of users with these newbie gaffs? Jul 11 22:00:56 Rich_: What gaffes? Jul 11 22:01:42 Rich_: I take it you're new to IRC, and you're here because you have a question. Go ahead and ask it. Jul 11 22:04:47 ok, I have a question for anybody who already uses a beaglebone (by uses I mean writes C or C++ code for it). I have connected it to a laptop running linux and used minicomm to get the command line interface . I could do my development on teh laptop and then transfer files to it - execute from teh command line and start building from there, but isn't there a better way to get started? Jul 11 22:05:42 Rich_: How do you mean? Jul 11 22:06:00 You could also develop directly on the bone, using minicom or ssh to get in. Jul 11 22:06:17 yes, that Jul 11 22:06:49 agmlego: what about the cloud9 stuff? Jul 11 22:07:02 Does that have support for what he's doing? C/C++? Jul 11 22:07:04 I haven't used it Jul 11 22:07:07 alan_o: Never touched the stuff personally, and that is Javascript, not C/C++ right? Jul 11 22:07:25 agmlego: I know it is Javascript, but I don't know what else it also might be. Jul 11 22:07:55 agmlego: probably the easeist from where you are right now is to install a compiler on the bone using opkg Jul 11 22:08:02 Um. Jul 11 22:08:09 I think you mean Rich_. ;-P Jul 11 22:08:22 * agmlego does not currently, nor has he ever, owned a beaglebone. Jul 11 22:08:22 Yes, Rich_ Jul 11 22:08:31 xM, yes. Pandaboard, soon. Jul 11 22:08:52 and a pi in the sky Jul 11 22:09:21 djlewis: Nah, not really that interesting to me, TBH. Jul 11 22:09:29 me either Jul 11 22:10:02 Rich_: http://cwraig.id.au/?p=516 Jul 11 22:10:02 Well, I'm used to using IDEs for code development and that means writing code on the PC because the bone won't support teh graphics etc. for those tools. All I'm looking for is some knowledge about what people typiclly do for C/C on the board Jul 11 22:10:45 Rich_: People do lots of different kinds of things. Building directly on the bone like in the link I just sent is probably the easiest. Jul 11 22:10:53 others cross compile and copy files over Jul 11 22:11:08 Rich_: are you asking about applications? Jul 11 22:11:12 Some use NFS Jul 11 22:11:28 I like teh idea of building on teh board - I'll follow the link - thanks. Jul 11 22:11:49 Rich_: There are probably better links Jul 11 22:11:59 yes, I am writing applications and drivers. Jul 11 22:13:30 isn't the real programmers ide of choice vi? Jul 11 22:13:43 I plan to use NFS too, but it's another thing to do ... if you spend as much time writing code on RTOS and windows as I do, you don't get the chops for linux raht easily. Jul 11 22:14:26 well, I concede, vi is manly, but slickedit makes a lot of very complex tasks easy. Jul 11 22:15:14 any other suggested links - anyone (for a bonehead start to beagle development)? Jul 11 22:15:34 http://elinux.org/BeagleBone Jul 11 22:15:52 Rich_: i think of http://www.angstrom-distribution.org/ Jul 11 22:16:38 I have been there and found the cloud 9 stuff (nice for getting to teh i/o without having to know much about it) but I (maybe I failed to see it) didn't find much help there. Jul 11 22:17:41 one more question - (I see the angstrom / open embedded link) - anybody use the ti linux kits? Jul 11 22:20:27 thanks all, I have the angstrom, ti and cwraig stuff to look at. ciao. Jul 11 22:31:56 beer time is getting much closer :) Jul 12 00:27:42 just fyi for anyone interested, the call for participation for ELC-E end august 1 - https://events.linuxfoundation.org/events/embedded-linux-conference-europe/cfp Jul 12 00:37:53 hey prpplague Jul 12 00:38:22 mranostay: hey Jul 12 01:52:19 Using the latest angstrom built on BeagleBone - SSL doesn't work out of the box. Anyone else have this issue? Jul 12 01:53:01 "curl https://www.google.com" results in "curl: (77) Problem with the SSL CA cert (path? access rights?)" Jul 12 01:53:13 Non-http sites work fine. Jul 12 01:56:23 install certificates Jul 12 01:56:54 how do I do that? The info I see online doesn't seem to apply to this distro. Jul 12 01:57:11 Is there a package called "certificates"? (stupid question if there is not!) Jul 12 01:57:40 opkg list | grep cert, and read the docs for the distribution you are using, at least those for the package manager Jul 12 02:00:29 already had ca-certificates, also tried ca-certificates-dev. No luck. Jul 12 02:01:10 then something else might be the problem Jul 12 02:01:28 yeah Jul 12 02:01:46 strange thing is that this is the case on the latest angstrom demo image for the beaglebone Jul 12 02:01:53 worked in an older image Jul 12 02:04:53 check if all the symlinks for the certs are ok Jul 12 02:05:31 or read what curl means really with that message ;) Jul 12 02:08:25 I've just guessed Jul 12 02:09:04 thanks for you help. I had already read the cUrl help. Not much help. I'm not sure what the symlinks are supposed to look like. I'll do some digging. Jul 12 02:10:09 every symlinkshould have a target Jul 12 02:10:29 got a folder I should check in? Jul 12 02:10:54 after updates, sometimes symlinks are dead because the cert vanished but the symlink not Jul 12 02:11:43 maybe strace will bring some light Jul 12 02:28:14 strace revealed that "/etc/pki/tls/certs/ca-bundle.crt" is missing Jul 12 02:28:19 I don't have a pki folder at all. Jul 12 02:32:13 woohoo! Created the folders, downloaded a ca-bundle.crt and it works! **** ENDING LOGGING AT Thu Jul 12 02:59:58 2012