**** BEGIN LOGGING AT Fri Oct 18 02:59:58 2013 Oct 18 04:09:29 on the bbblack, is is feasible to test u-boot loaded off of microsd card rather than the eMMC? Oct 18 04:09:48 and, notably, how to do so? :) Oct 18 05:04:25 vagrantc: yes it is possible, in my case, I erased the eMMC and have mlo and uboot on the sd and it boots off from there Oct 18 05:05:14 vagrantc: I gotta go now but there is numerous documentation on the net, if you can't succeed I'll be here again tomorrow Oct 18 05:21:19 vagrantc: hold the button near the uSD slot when powering it on Oct 18 05:21:23 hold/press Oct 18 05:21:28 until the leds turn on Oct 18 05:44:22 mnt_real, steev : thanks Oct 18 05:44:37 no problem Oct 18 05:44:40 where's MLO come from? Oct 18 05:44:52 it should be in u-boot directory where you built u-boot Oct 18 05:45:45 https://plus.google.com/103658573279088224166/posts/NDgYtMnmAge is what i'm trying to play with currently Oct 18 05:45:59 all i have is u-boot, u-boot.bin, u-boot.lds and u-boot.map Oct 18 05:49:28 steev: signed kernels and all that, nice. Oct 18 05:55:29 vagrantc: how did you build? mainline? Oct 18 05:56:50 grabbed 2013.10 from mainline and updated the debian packaging a bit Oct 18 06:20:33 vagrantc: did you go with make all, this will build mlo as well Oct 18 06:39:53 where can i find the file "connman" in beaglebone.... Oct 18 06:40:30 i have an ubuntu runnuing in my bone Oct 18 07:19:24 vagrantc: i'm not sure, i just run make ARCH=arm CROSS_COMPILE=mycrosscompiler am335x_boneblack_config && make ARCH=arm CROSS_COMPILE=mycrosscompiler - and, it seems to build an MLO Oct 18 07:23:14 i think the second part it's basically doing "make u-boot.img" but maybe getting it to just run "make" will work... Oct 18 07:23:20 make all didn't fly. Oct 18 07:26:17 nor does it like an empty target... Oct 18 07:26:34 will just have to try it manually... Oct 18 07:30:31 yup, MLO there... Oct 18 07:47:34 can i install windows on a beaglebone Oct 18 08:00:22 i doubt it Oct 18 08:14:51 suppsedly you can install windows 7 embedded... haven't seen wheree to actually get it Oct 18 08:19:22 steev: why do you doubt that you can install windows on a beaglebone Oct 18 08:21:26 mrpackethead: suppsedly you can install windows 7 embedded... haven't seen wheree to actually get it Oct 18 08:21:37 https://groups.google.com/forum/#!topic/beagleboard/MFwvX9271hQ Oct 18 08:21:51 from adeneo maybe Oct 18 08:22:19 but still, why? unless you're building all your own software... Oct 18 08:22:23 Apparently OpenBSD has full BeagleBone Black support now. Is that right? Has someone used it already? Oct 18 08:22:26 but at that point, you'd already have it Oct 18 08:26:01 is it correct that the bbb only supports up to 16bit color depth on the built in hdmi? Oct 18 09:30:51 can anyone helpme in setting up a bluetooth in beaglebone running on ubuntu Oct 18 09:32:30 plug in usb bluetooth, use favourite gui to configure, win! Oct 18 09:35:03 XorA: you said you're in edin already? Oct 18 09:43:25 KotH: yes Oct 18 09:44:30 XorA: care to show me around this evening? :) Oct 18 09:45:02 unfortuneately my GF is arriving this evening Oct 18 09:45:55 i dont mind her ;-) Oct 18 09:45:55 XorA: you don't want her hearing that ;-) Oct 18 09:54:56 frak woke up too early Oct 18 09:55:08 good morning Crofton|work Oct 18 09:55:22 have some hot chocolate :) Oct 18 09:55:29 XorA, what pub are you goig to on Tuesday? Oct 18 09:55:36 I need to program my mind Oct 18 09:57:00 Crofton|work: The Regent Oct 18 09:57:24 Crofton|work: http://www.theregentbar.co.uk/ Oct 18 09:57:41 KotH: where are you staying? Oct 18 09:57:58 21 Upper Gilmore Place Oct 18 09:59:53 KotH: if your a beer drinker you should wander down to Lothian Road and find the Hanging Bat Oct 18 10:00:18 KotH: also near you if you want a quiet bar try the Cameo Cinema bar (you can even watch some arthouse films) Oct 18 10:01:19 a few k from the Hilton Oct 18 10:01:26 how best to get around? Oct 18 10:01:47 Crofton|work: feet (I know its alien to you USA guys and your 5L cars) :-D Oct 18 10:01:57 heh Oct 18 10:01:59 Crofton|work: or bus Oct 18 10:01:59 not me Oct 18 10:02:05 I can use bus Oct 18 10:02:12 £3.50 for day tickets on the bus Oct 18 10:02:14 or feet Oct 18 10:02:26 but all of Edin center is within feet distance Oct 18 10:02:46 Edin is a little village really Oct 18 10:03:36 Crofton|work: you in the Hilton at Haymarket? Oct 18 10:04:00 I'm going to be fairly near Haymarket, at the Guards Hotel Oct 18 10:04:13 yeah Oct 18 10:04:58 Crofton|work: you have buses to pretty much everywhere in Edin passing there then Oct 18 10:05:36 k Oct 18 10:06:00 and some shiney new tramlines Oct 18 10:06:07 but there is no trams running yet Oct 18 10:08:20 * XorA lives in Leith so quite a bit away from Haymarket Oct 18 10:08:37 I've heard about the trams Oct 18 10:08:49 what time will you be there Oct 18 10:09:01 8pm Oct 18 10:09:09 hmm Oct 18 10:09:09 (ish) Oct 18 10:09:14 Hopefully I am awake :) Oct 18 10:11:29 most likely I will head to pubs weds and thurs night too Oct 18 10:15:09 I wonder how many social events there are planned Oct 18 10:16:41 I think I shall avoid them, they are likely to be "Traditional Scottish" Oct 18 10:16:49 * XorA shudders Oct 18 10:16:56 I am curious what that will be Oct 18 10:17:11 the traditional Czech was amusing Oct 18 10:17:54 traditional irish at Connect was scary enough! Oct 18 10:18:04 potatoes? Oct 18 10:18:35 shite food and irish dancing in a place far too hot for human habitation Oct 18 10:21:31 I think potatoes would have been a plus :-D Oct 18 10:21:41 eurg, sounds horrific Oct 18 10:22:24 * XorA is a terrible tourist Oct 18 10:38:26 XorA: thanks for the tips Oct 18 10:38:41 and with that, i'm gone Oct 18 10:38:48 see you in edin :) Oct 18 11:06:44 hi Oct 18 11:39:03 hello Oct 18 11:39:43 hello~~~ Oct 18 11:44:38 hello Oct 18 12:23:22 ?? Oct 18 12:26:14 ?? Oct 18 13:13:16 Hello People Oct 18 14:38:03 re Oct 18 14:38:49 you all know where to reach me .. cleaning up buffers Oct 18 14:49:56 Hallo, I need to create step and direction signals for 3 stepper driver, is the beagle blacke suitable for this? Oct 18 14:50:40 Sure. Oct 18 14:51:59 Hello good day Oct 18 14:52:10 Hallo Oct 18 14:53:02 I made a discription with two fotos from my projekt, can I post it hier somewhere? Oct 18 14:53:24 Sure. Oct 18 14:53:39 Voce é da empresa que vende Beaglebone Black Oct 18 14:54:43 how and where can I post it? Oct 18 14:54:50 Almir: No, we are an IRC channel that supports the bone. Oct 18 14:55:01 Almir: For a veondor, look at the list on the website. Oct 18 14:55:15 Gerry_: Uh, paste a link top it here? Oct 18 14:55:23 Almir: Or use Digikey. Oct 18 14:57:31 so i must put it on the net first, and then post the link? Oct 18 15:01:29 I must register on digikey first, and then i can post it there? Oct 18 15:07:32 Gerry_: What? No. Oct 18 15:07:37 Digikey sells electronics. Oct 18 15:07:43 Hi All, what's the lighter ubuntu distro for some apache2/php experiments on beagle ?? thanks Oct 18 15:07:50 Gerry_: To share yopur file, you will need to upload it somewhere. Oct 18 15:07:56 (beagle white) Oct 18 15:08:10 Gerry_: Dropbox or Google Drive might work. Oct 18 15:08:22 Freddie: Why specifically Ubuntu? Oct 18 15:15:43 agmlego: because I have some (little) more knowledge on it... any other light distro to suggest ?? Oct 18 15:16:02 Freddie: Angstrom? Oct 18 15:16:18 Ubuntu is not a light distro. Oct 18 15:16:36 Even the versions with LXDE or XFCE as WM/DE are pretty heavy. Oct 18 15:16:51 is it faster/lighter than Ubuntu ? It would be ok the same for me... Oct 18 15:16:54 there's the server edition, which comes without a gui Oct 18 15:17:10 Fruit: Even that is still pretty heavy. Oct 18 15:17:17 personally I'd just run debian :) Oct 18 15:17:35 Freddie: What are you doing that requires that much performance? Have you tested with Ubuntu and found it lacking in speed? Oct 18 15:17:44 Fruit: Same here. Oct 18 15:17:49 Or Angstrom. ;-P Oct 18 15:19:31 I found a bug with the latest BBB angstrom image Oct 18 15:19:37 the START.htm file is empty Oct 18 15:19:39 Freddie: But yes, Angstrom, especially without a GUI, is much lighter than Ubuntu. Oct 18 15:19:51 not a big deal Oct 18 15:20:33 i've tested with ubuntu 12.04-Lxde-apache2-php5 (plus 5,7" touchscreen) and taskbar cpu utilization goes almost always 100% when using web pages etc. Oct 18 15:20:54 So? Oct 18 15:21:23 Why do you need the webserver and php engine? Oct 18 15:21:37 also speed on changing gpio pins when a command is sent is appreciably low.... Oct 18 15:21:45 THose could be things you uninstall if you are just using the bone to browse the internet. Oct 18 15:22:01 Freddie: In what language using what interface? Oct 18 15:23:36 I have a question about the A6 release - are the hardware changes in practical terms really significant coming from A5C? Oct 18 15:23:59 I mean the fixes, how important are they in real-world use? Oct 18 15:24:05 I'm just experimenting in controlling GPIOs via webpage using shell scripts recalled by php pages (i don't know if this is the best practice , but it's the only lyttle thing I know...) Oct 18 15:25:50 all other ways are like hieroglyphics for me.... :-(( Oct 18 15:26:54 so I can control some relays remotely.... Oct 18 15:28:23 XFaCE: Read the release notes and see for yourself? Oct 18 15:28:35 Freddie: Ah, I see. Oct 18 15:29:02 agmlego: I did Oct 18 15:29:03 Freddie: I would try going with a lighter webserver then, like nginx or lightttpd. Oct 18 15:29:40 XFaCE: OK, then you have your answer. If the changes are significant to what you want to do, get the A6. If not, then keep the A5C. Oct 18 15:30:11 Freddie: Apache is a very large, heavy webserver that takes a lot of resources. Oct 18 15:30:18 agmlego: But I don't if what I want to do will be affected by these changes Oct 18 15:30:32 in other words, this changes are meaningless to me in that sense Oct 18 15:31:25 I see. Oct 18 15:31:36 the graphic environment is just used to play locally with touchscreen but it's not really needed... Oct 18 15:31:47 XFaCE: Sounds like research is in your near future then. Oct 18 15:31:58 ok Oct 18 15:31:59 Freddie: LXDE is pretty light, that should be fine. Oct 18 15:32:17 ok I will try with lighttpd Oct 18 15:33:16 did Angstrom come with graphic interface ?? Oct 18 15:33:32 Freddie: Also try to minimise how many services you have running. A lot of things like saned (a scanner utility), CUPS (printer system) and others are enabled by default. Oct 18 15:33:49 Freddie: You can get an Angstrom image with a GUI, or install one after the fact. Oct 18 15:34:31 yes you're right , I never checked reaaly which unused processes are running Oct 18 15:34:54 this evening i'll check Oct 18 15:35:27 thanks Guys , back home time now , see you Oct 18 15:35:40 Good luck. Oct 18 15:36:11 thanks bye+ Oct 18 15:42:26 Freddie: there is Hiawatha webserver too, nice easy and light Oct 18 15:42:34 bah, too late Oct 18 16:19:10 hello Oct 18 16:28:19 hello anyone have beagleboard-xm? Oct 18 16:58:57 Anyone here worked with GPIO on the BBB in C? Oct 18 16:59:26 I'm seeing a weird glitch going on when I use the file system interface to toggle a pin. Oct 18 17:00:12 doing an fseek right after an fwrite seems to clear (set to 0) the pin. If I do an fseek with a 500uS delay after the fwrite it works as expected. Oct 18 17:01:44 pastbin is here http://pastebin.com/7vNeCiih Oct 18 17:13:24 Anyone here used the FTDI auto-transmit enable feature for 485 in Linux before? Oct 18 17:16:13 Meh, I don't think the driver supports it. Oct 18 17:23:56 georgem: hehe, i just saw you post on G+, hehe Oct 18 17:24:08 heh Oct 18 17:24:41 I figured I'd ask on there since I thought everyone in here was dead. Oct 18 17:32:35 [kernel] RobertCNelson pushed 1 new commit to 3.12: http://git.io/01JRCg Oct 18 17:32:35 kernel/3.12 866c3f3 Robert Nelson: 3.12: update to latest mainline, fix merge conflicts... Oct 18 17:36:24 is my beagle board xm supposed to have a totally different mac address every time i boot it? Oct 18 17:36:34 is there a way to lock that down to a single mac address? Oct 18 17:45:01 mark4_, yes, fix the kernel driver to take a mac address from the DT and grab the patch that makes u-boot also add usbethaddr from environment into the DT Oct 18 17:46:35 lol i got a lot to learn... ive no idea how to go about doign that. i couldnt even create a bootable flash card following any of the online howtos for any distro, i got a bootable flash card from work :/ Oct 18 17:46:59 what is the DT ? Oct 18 17:48:14 erm. by "Fix the kernel driver" do you mean modify kernel sources? Oct 18 17:48:22 or "patch kernel sources with an existing patch" Oct 18 18:38:15 im having trouble getting ddd to work on my beagle. it runs but it never starts a debug session. it just sits there Oct 18 18:38:35 it never shows my sources or displays the run/step/etc buttons Oct 18 18:39:16 when i kill gdb it says "gdb is still busy" and asks if i really want to kill it Oct 18 18:40:09 seems its searching for vsllib or somthing Oct 18 18:43:53 Hello all! Oct 18 18:43:59 Anyone around? Oct 18 18:44:12 me but im clueless :) Oct 18 18:44:20 haha, me too! I have questions Oct 18 18:44:55 ask them and wait. Oct 18 18:45:47 submit a question, goog until you get some form of answer. rinse and repeat ;_ Oct 18 18:46:09 I'm looking to build a prototype device and use the beagle board as the base. I'm new to this area of hardware and I'm wondering how I know what hardware is compatible with this board? Oct 18 18:46:17 today i'm just staring intently at an sdcard in hopes that the bits will arrange themselves out of guilt Oct 18 18:46:26 lol Oct 18 18:46:45 let me send you my cards s5fs, all i can do is make bricks with mine Oct 18 18:46:46 mark4_: i've seen your questions, don't act like you're not doing the same ;-) Oct 18 18:47:04 i got a bootable flash card FROM WORK Oct 18 18:47:08 haha! Oct 18 18:47:17 it was headless, all i had to do was install xorg and windowmaker yay Oct 18 18:47:22 I've never done this electronic engineering stuff, if I want to add accelerometers and all that...how do I? Oct 18 18:47:29 hmm i wonder if ddd is failing because it doesnt like windowmaker? Oct 18 18:47:40 I know where to buy but there are a thousand different ones and I dunno how to connect them to an OBC Oct 18 18:48:18 ALL i want to do is debug the arm forth kernel i wrote and get it up and running. once the kernel is running i have NO NEED for gdb grr Oct 18 19:33:21 hm hm Oct 18 19:33:58 can anyone here help me to get ddd working on my xm? Oct 18 20:18:29 i need help setting up a debug session on my beagle board. i cant use gdb without some kind of user friendly interface and -tui will not work either Oct 18 20:18:56 -tui splits the display up into horizontal regions and reduces the context on each region i need to see. Oct 18 20:19:42 i need to be able to see context on the disassembly im stepping through, a full register display, a stack dump and memory. enable all of those and ill have about 3 lines of context on each :/ Oct 18 20:20:09 and ddd on the beagle board is not cooperating. it goes into some infinite "waiting for gdb to become ready" state Oct 18 20:20:11 ida debugger with remote gdb Oct 18 20:20:49 actually i REALLY want to update my 10 year old licence for ida but im not working right now Oct 18 20:20:59 THAT is about the only GOOD answer anyon has suggested yet lol Oct 18 20:22:21 jacekowski, do you have a registered copy of IDA Pro? Oct 18 20:23:09 let me send you my code so you can debug it for me ;) Oct 18 20:23:10 lol Oct 18 20:23:22 try ida free Oct 18 20:23:29 it's v5 but it should do arm and friends Oct 18 20:23:34 ! Oct 18 20:23:59 does it run in linux? i know their newer stuff does but will this? Oct 18 20:24:15 wine Oct 18 20:24:42 or you can try demo of latest version Oct 18 20:25:00 https://www.hex-rays.com/products/ida/support/download_demo.shtml Oct 18 20:25:58 does iflak or however you spell that still develop this? didnt he go into partnership with someone and something go squirly with that? Oct 18 20:26:20 he's still developing it Oct 18 20:26:53 good Oct 18 20:27:02 im in awe of his abilities lol Oct 18 20:27:54 installing the windows eval version under wine, will u be here to help me set up a remote debug using it? ive no idea how to do that Oct 18 20:28:29 it's really easy Oct 18 20:29:05 erm do you happen to remember off the top of your head how to isntall somehting into a new wine prefix? Oct 18 20:29:30 WINEPREFIX=prefix wine installer.exe Oct 18 20:29:32 iirc Oct 18 20:30:22 really want to update to the latest on ida. i have a version 4.1 or something Oct 18 20:32:31 ok so IDA is installed. how do i get gdb on the target to run in server mode? Oct 18 20:32:38 and how do i tell IDA to connect to it :) Oct 18 20:32:50 you need gdbserver Oct 18 20:33:15 it comes with gdb Oct 18 20:33:31 installing it in this ubuntu - it wasnt available, i tried Oct 18 20:33:38 can i connect a usb camera with a beagle and grab images from it ? Oct 18 20:33:50 mark4_: hmm Oct 18 20:34:06 mark4_: well, you need gdbserver for this whole thing to work Oct 18 20:34:20 yea its installed now Oct 18 20:34:31 oh. Oct 18 20:34:38 i need gdbserver on my host? or on the target? Oct 18 20:35:01 target Oct 18 20:35:07 ok its there now Oct 18 20:36:10 gdbserver 0.0.0.0:12345 program_name Oct 18 20:36:32 that will start gdbserver listeningon 12345 with program program_name Oct 18 20:36:53 ok listening... Oct 18 20:36:58 lookin in ida for how to connect Oct 18 20:37:16 hmmmm Oct 18 20:37:20 i'm looking at it as wel Oct 18 20:37:21 well Oct 18 20:37:23 erm. the debugger menu only seems to have "local" Oct 18 20:37:33 and it looks like 5.0 has no remote debugging support Oct 18 20:37:51 i installed the demo for 6.4 Oct 18 20:38:28 you may have to load the binary first Oct 18 20:38:37 on the host? Oct 18 20:38:39 let me try that Oct 18 20:42:36 load it on the host and the debug menu goes poof Oct 18 20:51:24 yea. ida wont work for me because it wont do remote debug in the demo. the free version doesnt do debug at all Oct 18 20:54:54 actually the free one doesnt even do arm Oct 18 20:55:25 any other ideas? Oct 18 20:57:03 unfortunately i dont have $2000 to spend right now :( Oct 18 21:02:28 how can i debug my code? im totally lost now Oct 18 21:03:11 gdb? Oct 18 21:04:38 if you can tell me how to get a context view on the disassembly of the code im running while also having a full view of the registers, stack and a selected block of memory without reducing the view on each of those to a max of 3 lines Oct 18 21:05:08 and puking a dump of all of those every time i signle step is also not a usable scenario Oct 18 21:06:15 seriously though, if you can solve that problem it would be greatly appreciated Oct 18 21:07:29 huh? Oct 18 21:07:33 gdb is a cli program Oct 18 21:07:39 you dont resize stuff, you just print them Oct 18 21:07:41 lol wingdb.... only $109 Oct 18 21:07:47 wtf? Oct 18 21:07:55 who in his right mind would pay for gdb? Oct 18 21:08:01 or any gdb frontend Oct 18 21:08:04 for WINDOWS lol Oct 18 21:08:10 cygwin exists Oct 18 21:08:11 thers a frree 30 day trial version of it Oct 18 21:08:44 I'm considering the BBB for a pet project but am disappointed with the video support. I want to use a 17" touchscreen with audio support. We'll be playing some videos as well. The Raspberry Pi has no issue with this, is there a cape ore something I can add to the BBB to expand it's video capability?? Oct 18 21:08:56 puking out the ONE opcode i just executed, not being able to see the next 10 or 20 opcodes, also pukingout the registers and memory and stack.... this does not seem stupidly unmanagable to you? Oct 18 21:09:02 mark4_: why are you using windows in the first place? masochistic tendencies? Oct 18 21:09:08 im not Oct 18 21:09:16 i googled gdb front ends Oct 18 21:09:40 thom__: i dont get your question, but at least your conclusion sounds wrong Oct 18 21:09:56 mark4_: try ddd Oct 18 21:10:00 mark4_: it's halfway sane Oct 18 21:10:12 ddd wont run on the beagle board. tahts the entire problem Oct 18 21:10:14 well it runs Oct 18 21:10:15 mark4_: other than that, learn using gbd without frontend, like everyone else does Oct 18 21:10:19 lol Oct 18 21:10:24 you dont have to run ddd on the bbb Oct 18 21:10:26 it just enters into some infinite "Waitign for gdb" Oct 18 21:10:28 KotH: Which conclusion? About the Pi? Oct 18 21:10:34 you can run it on your host and connect to the bbb Oct 18 21:10:48 can a ddd for x86 connect to a gdb for arm? Oct 18 21:10:57 thom__: that the bbb does not support a 17" touchscreen Oct 18 21:11:31 mark4_: ddd is just a gdb frontend. you can use any gdb as backend and use that gdb to connect to any gdbserver Oct 18 21:11:49 mark4_: but really, learn how to use the cli Oct 18 21:12:01 koth i ran ddd on my laptop with my gdbserver runing on the target but i cant see how to connect Oct 18 21:12:41 you type "target host:port" Oct 18 21:12:44 koth the CLI is NOT usable. i need too much information on the display all at the same time and having all that information PUKE up the display for every single opcode i step is NOT a viable solution Oct 18 21:13:17 mark4_: why are you debuging asm anyways? Oct 18 21:13:22 because im WRITING asm Oct 18 21:13:26 ah.. Oct 18 21:13:28 wel Oct 18 21:13:30 well Oct 18 21:14:14 erm i dont uderstand your target host:port bit above. Oct 18 21:14:18 KotH: At what resolution though? Oct 18 21:15:09 ddd --target host:port Oct 18 21:15:14 gdb could not be started Oct 18 21:15:19 i guess --target is not what you meant Oct 18 21:15:38 thom__: i dont know from the top of my head what the soc supports Oct 18 21:15:58 thom__: but iirc someone said 2048x2048 a couple of days ago Oct 18 21:16:09 thom__: no guarantee... check the TRM Oct 18 21:17:10 My TRM do you mean the System Reference Manual, here: http://www.farnell.com/datasheets/1701090.pdf ? Oct 18 21:17:35 mark4_: the gdb instance used by ddd must match the architecture Oct 18 21:17:46 mark4_: ie, you have to specify the right gdb as well Oct 18 21:17:56 thom__: technical reference manual Oct 18 21:18:00 i dont have an arm gdb on my host Oct 18 21:18:02 thom__: go to the ti website Oct 18 21:18:07 mark4_: first mistake Oct 18 21:18:16 and unless i can emerge an arm gdb on my host im not going to be able to do this Oct 18 21:18:18 mark4_: you cannot debug something w/o having the right gdb Oct 18 21:18:30 mark4_: uh.. yes, you can Oct 18 21:18:35 mark4_: dont know how, but you can Oct 18 21:18:44 nobody in #gentoo or #gentoo-embedded can tell me how to do that Oct 18 21:19:05 google for crosdev or how the gentoo guys call their cross compilation env Oct 18 21:19:08 i need a host=x86 target=arm version of gdb on my laptop. and it needs to be EMERGED not ./configured Oct 18 21:19:23 i have crossdev for arm installed. crossdev does not install gdb Oct 18 21:19:34 alternatively, you can use crosstool-ng it works for everyone else Oct 18 21:19:41 of course it does not install gdb Oct 18 21:19:51 it installs some arm-blah-blub-gdb Oct 18 21:20:13 armv7-hardfloat-linux-gnuabi-XXX Oct 18 21:20:33 where XXX is c++ ar ld etc etc but NOT gdb Oct 18 21:21:14 then fix that Oct 18 21:21:24 it should be a config setting or something Oct 18 21:21:30 or a useflag Oct 18 21:21:33 dunno how it works Oct 18 21:21:36 * KotH is debian infested Oct 18 21:22:14 as a general hint: if you get to do 90% of something, try to solve the other 10% instead of looking for a different way Oct 18 21:24:34 koth i want a plug and play answer not a "it takes 3 weeks to get it to work" answer. i already wasted over a month trying to get a debug session working inside a qemu chroot. prior to that i tried LXC but lxc requires user name spaces which are mutually exclusive with too many REQUIRED things in my kernel build. ive wasted MONTHS trying to get this debug session working Oct 18 21:24:42 now it seems ive also wasted money i cant afford to waste Oct 18 21:25:04 i need a "turn on, boot up, log in, drop out" "it just works (tm)" solution Oct 18 21:30:34 crossdev -S -v -t armv7a-hardfloat-linux-gnueabi --ex-gdb <-- that worked. i guess i now have an arm version of gdb on my host Oct 18 21:30:51 so how do i get ddd to do a remote debug using that version of gdb? Oct 18 21:34:52 ? Oct 18 21:35:08 erm. what is crosstool-ng Oct 18 21:35:25 something with no ebuild Oct 18 21:35:51 i have armv7a-hardfloat-linux-gnueabi-gdb now. how do i launch a remote ddd session using that ? Oct 18 21:36:55 :/ Oct 18 21:40:09 please. can you tell me how to launch ddd on my laptop to use the arm crossdev version of gdb and connect to a remote target gdbserver i have running? Oct 18 21:40:31 i see the --debug switch but that just gives me an error Oct 18 21:40:37 about not being able to launch the debugger Oct 18 21:40:50 GDB could not be started Oct 18 21:41:17 KotH, ? Oct 18 21:42:40 wwhy the $($*&! does this have to be SOOOOOOOOO freeking difficult Oct 18 21:43:39 please. can someone tell me how to launch a remote debug session in ddd ? Oct 18 21:43:42 :( Oct 18 21:45:36 i can run the crossdev gdb. ddd cant Oct 18 21:45:52 please? Oct 18 21:47:06 awesome. give me half an answer then disappear :/ Oct 18 21:47:50 i dont know how to do this. googling it does not help. i cant find anything that works Oct 18 21:48:19 how do i get ddd to use armv7a-hardfloat-linux-gnueabi-gdb on a remote debug? Oct 18 21:48:40 ddd --debug armv7a-hardfloat-linux-gnueabi-gdb Oct 18 21:48:47 * KotH is not a private answer generating machine Oct 18 21:48:48 just gives me an error Oct 18 21:48:55 * KotH has a life outside #beagle as well Oct 18 21:49:14 you gave me a suggestion. i followed it up to the point you gave. Oct 18 21:49:19 and dead ended Oct 18 21:49:33 GDB could not be started Oct 18 21:50:00 * KotH nods, mubles something about "does not work is not an error description" and leaves again Oct 18 21:50:17 i gave you exactly what error descriptions i was given Oct 18 21:50:23 GDB could not be started Oct 18 21:50:31 thats the error EXACTLY as given by ddd Oct 18 21:50:42 and thats in a popup window. nothing in the console i launched ddd from Oct 18 21:51:42 so. im back to not having a 100% working solution Oct 18 21:52:08 90% of the solution has been given to me and i DIDNT give up Oct 18 21:56:20 for fucks sake! figure out _WHY_ gdb couldnt be started Oct 18 21:56:31 is it so difficult to ask the right questions? Oct 18 21:57:23 and stop blaming others when your things dont work unless you know exactly why someone else is to blame Oct 18 21:57:38 i blamed someone else? Oct 18 21:57:39 wtf Oct 18 21:58:00 yes, you always sound as if it's someone else fault that you have wasted a month trying to get things working Oct 18 21:58:03 stop that Oct 18 21:58:04 it doesnt help Oct 18 21:58:10 ^^^^ Oct 18 21:58:13 and makes people not want to help you Oct 18 22:07:47 mark4_: go take a walk man, if you're not having fun then you need a break. i wish i could help you but i am also stumped by your problem, but i recognize how frustrating this experience can be. Oct 18 22:12:30 s5fs, what i would like to do is debug a 30 line arm assembler function thats doing some very complex stuff. complex enough that i need to see not only what code ive executed but also code im going to be executing, data that its manipulated, the machine registers AND a stack dump all at the same time Oct 18 22:12:43 that should be a 3 minute job to get all of that visible at the same time Oct 18 22:12:48 SHOULD be Oct 18 22:14:05 i shlould be able to do ddd myshit and see the fucking disassembly. Oct 18 22:14:11 ON the fucking target Oct 18 22:14:37 yea well i can run ddd on the target. it just enteres into an infinite "waiting for gdb to become ready" state Oct 18 22:15:44 "Enters into" even Oct 18 22:16:11 waiting until gdb gets ready is what ddd is saying Oct 18 22:16:20 gdb never gets ready. no idea why Oct 18 22:16:22 mark4_: you could run strace or similar against ddd and see if it's getting stuck on a particular resource (like a lock file or something silly) Oct 18 22:17:04 someone at door brb Oct 18 22:19:16 someone stole some cinder blocks from my neighbor Oct 18 22:19:30 then used them to prop up a truck down the street while they stole the wheels Oct 18 22:20:01 installed strace Oct 18 22:20:10 checking debug with strace now Oct 18 22:20:58 im seeing a shitload of eagain results to syscalls.. let me scroll back thru and see if anything jumps out at me Oct 18 22:21:42 mark4_: yeah, no idea if that will help at all but at least you can rule out file perms or whatever Oct 18 22:21:42 actually its in an infinite eagain loop on some syscall or something Oct 18 22:21:53 oh interesting! Oct 18 22:22:13 ill pipe that out to a file so i can see WHAT it is attempting Oct 18 22:22:16 heh, have you rebooted lately? i mean, that fixes windows ;) Oct 18 22:22:19 is some sort of access on FD=5 Oct 18 22:22:38 yea let me reboot my laptop towindows that will fix everything :) Oct 18 22:23:03 new problems are good problems, right? ;-) Oct 18 22:23:46 like that old adage about getting drunk doesnt solve any problems but just creaes a bunch of interesting new ones Oct 18 22:24:20 i see accesses to /etc/ld/so/nohwcap with ENOENT results Oct 18 22:24:26 beer, the cause of and solution to all of life's problems (paraphrasing Homer) Oct 18 22:28:28 what is fd=3 ? Oct 18 22:28:52 its recv(3,.....) EAGAIN constantly Oct 18 22:28:59 so file descriptor 3 is a problem Oct 18 22:29:13 in/out/err ? i forget what their descriptors are Oct 18 22:29:37 actually. fd 3 isnt a file Oct 18 22:29:39 its a socket Oct 18 22:30:24 socket(PF_FILE, SOCK_STREAM|SOCK_CLOEXEC, 0) = 3 Oct 18 22:30:37 the connect gets an ECONNREFUSED error Oct 18 22:30:44 interesting! Oct 18 22:30:54 but is it a clue Oct 18 22:31:02 agreed, something is unhappy Oct 18 22:31:27 or its connecting to a socket that doesnt have anything on the other end Oct 18 22:31:31 strace is a great tool when all else has failed us Oct 18 22:31:57 i'd also check netstat and see if the port is stuck or a process is holding it open Oct 18 22:32:09 no idea how to use netstat lol Oct 18 22:32:18 netstat -an |grep myPortNumber Oct 18 22:32:29 no idea what port it was trying to connect to Oct 18 22:33:05 well, you could run netstat -an|less and get a feel for what is out there. if something jumps out at you, like maybe you saw a port in some docs and forgot, etc Oct 18 22:33:15 if not, well, one extra cmd and output won't kill ya (i hope) Oct 18 22:33:41 wtf no wgetpaste in ubuntu? Oct 18 22:36:19 guess not, there is a pastebinit app tho Oct 18 22:41:05 ok I have beer, and I can paste bin my problems Oct 18 22:41:21 top Oct 18 22:48:44 does anyone here have a bootable flash card that has the ability to run ddd on ANYTHING ? Oct 18 22:49:21 if so can you image that flash card because the image im booted to isnt working for me. it boots. i just cant freeking use ddd Oct 18 22:49:38 and asking for ddd help in #gdb gets you nothing but flames Oct 18 22:54:10 if i had $2000 to spare there wouldnt be a fucking problem here i could just get me a nice shiney new IDA Pro license and have a user interface designed by someone who understands user interfaces instead of one designed by a bunch of drunk chimpanzees Oct 18 22:55:13 i think microsoft has a better idea on usable user interfaces than the GNU dev team :/ Oct 18 22:56:59 I agree unless you're talking about powershell Oct 18 22:57:47 powershell beats GNU Oct 18 22:58:54 all i want to do is debug this ONE FUCKING ROUTINE :( Oct 18 22:59:19 well. probably more after that but hopefully i can get my project into its self hosting and therefore self debugging state Oct 18 22:59:22 SOON Oct 18 23:00:02 thers a way to fucking do this. theres a way that ddd will work on my target Oct 18 23:04:44 :( Oct 18 23:07:07 mark4_: yeah man, you'll get it but nothing is easy the first time. Oct 18 23:07:40 mark4_: i find that taking a break and letting the problem rattle around in the back of my head usually yields a solution more quickly than continued head-pounding Oct 18 23:08:05 i dont want a break. i want to DEBUG the code i wrote months ago and hhave not been able to debug Oct 18 23:08:12 i just need DDD working Oct 18 23:09:06 when did gdb start using the term "inferior" for a chile process? Oct 18 23:10:03 i bet if i had gentoo running on this target ddd would just work Oct 18 23:10:18 ubuntu's "it just works (tm)" is great till it doeshnt Oct 18 23:10:24 then your just straight up fucked Oct 18 23:10:50 has ddd ever worked for you? is the config correct? Oct 18 23:12:10 ddd works for me on my host Oct 18 23:12:15 ddd RUNS on the target Oct 18 23:12:29 it just cant fucking get its shit to gether and talk to the gdb it launched Oct 18 23:15:02 haha! gotta love it Oct 18 23:16:54 got one of the flash cards i tried to create here, not sure wtf is on it, it gets up to decompressing the kernel... done and then booting the kernel Oct 18 23:17:00 and never moves after that Oct 18 23:17:08 same Oct 18 23:17:31 and thats with having followed the "just do this and it works" bullshit Oct 18 23:17:36 that never just works (tm) Oct 18 23:17:44 the ONLY it just works distro ive ever seen is gentoo Oct 18 23:18:03 hm I got everything working Oct 18 23:18:13 bully for you Oct 18 23:18:19 haha!! Oct 18 23:18:35 snd use gdb with commandline interface like a real man Oct 18 23:18:49 woglinde, ty for the suggestion Oct 18 23:19:32 my pleasure Oct 18 23:23:11 is it possible to boot the beagle board xm directly from a usb hard drive instead of the flash card? Oct 18 23:23:36 you can put the root on the usb disk Oct 18 23:23:56 why can the boot not go on it too Oct 18 23:23:58 and get kernel via tftp Oct 18 23:24:34 because mlo and u-boot needs to be on the sdcard Oct 18 23:25:25 what dictates u-boot btw? Oct 18 23:25:57 ? Oct 18 23:26:19 what on the beagle board specifically makes it load up a file called u-boot etc etc Oct 18 23:26:19 mark4_: peep this, it may demystify the boot process a bit http://www.embedded-bits.co.uk/2011/writeanmlo/ Oct 18 23:26:23 where is that hard coded? Oct 18 23:27:19 their link to the TRM is broken lol Oct 18 23:27:39 article is from 2011, the whole internet has been replaced by now Oct 18 23:28:47 in my experience the TI sites leave a lot to be desired Oct 18 23:29:17 their documentation on a whole is orders of magnitude better than anything produced by microchip Oct 18 23:39:33 mark4_: i feel ya Oct 18 23:40:52 mark4_: well hey, i'm gunna take off but i wish you the best. my evening (if i spend it as i wish) will entail continuing to work on loading yocto onto a beaglebone black. i've been punching on it in my limited spare time for a few weeks haha, limited success! Oct 18 23:40:57 take care **** ENDING LOGGING AT Sat Oct 19 02:59:58 2013