**** BEGIN LOGGING AT Sat Oct 12 02:59:59 2013 Oct 12 03:57:34 hi Oct 12 03:57:41 is this a public chat room? Oct 12 03:58:46 anybody using free RTOS for beaglebone black? Oct 12 03:59:10 which one is the best available?? Oct 12 05:07:17 <_av500_> yes, its public Oct 12 05:08:14 <_av500_> http://interactive.freertos.org/entries/20168818-freertos-port-for-ti-beagleboard-omap3530 Oct 12 05:08:31 <_av500_> https://groups.google.com/forum/#!topic/beagleboard/VNsud4W1WEc Oct 12 05:30:02 av500: missed him by 4 min ;) Oct 12 05:33:07 <_av500_> it was only for the logs Oct 12 05:34:07 :) Oct 12 05:42:43 hello i am the duty troll Oct 12 05:43:00 * dm8tbr clocks out and leaves the field to mrpackethead ;) Oct 12 05:43:19 please ask your questions Oct 12 05:44:00 how come i got saturday night. Oct 12 05:50:51 because you showed up Oct 12 05:51:05 king by default Oct 12 06:02:44 how can i send soma data (eg :- a mp3 file ) via Audio port (MCASP 0 ) 0f BBB ? Oct 12 06:28:51 kjhg: the BBB does HDMI audio, there is an ALSA device AFAIU, just use that Oct 12 06:48:14 thanks verymuch for replying..I am disabling Hdmi audio pins and i am connecting it to some audio codec.I want it in I2S mode.So which driver i have to use? Oct 12 06:49:35 Can i use Alsa driver for both reading and writing via MCASP PiNS? Oct 12 06:49:53 or should i write another driver? Oct 12 06:52:25 kjhg: you might want to read the whole thread linked from here: http://boardzoo.com/index.php/beaglebone/bone-audio.html Oct 12 06:53:26 at the end of it it becomes clear that HDMI and an audio cape _can_ work together, but need some work in a specific area. if you don't need hdmi, just disable it. Oct 12 10:42:15 how can i patch the dtc with how to patch "https://patchwork.kernel.org/patch/1934471/" Oct 12 11:07:13 how can i build dtc Oct 12 11:17:11 hello wverybody Oct 12 11:57:56 Hi i own a beagleboard C3 and i need a working uboot.bin which is able to work with uEnv.txt. How do i get this? Oct 12 11:57:59 does any of this run on a BBB DG8SAQ/PE0FKO/SoftRock control software? Oct 12 11:59:05 do you just need the file, or a way to write it to the media? Oct 12 12:00:37 GeneralStupid: I'd just build a random image using narcissus and use the files from that Oct 12 12:03:44 dm8tbr: will this be hard float? Oct 12 12:04:02 ROFLCOPTER Oct 12 12:04:15 it can be anyfloat Oct 12 12:04:17 how can i build dtc Oct 12 12:04:19 eh? Oct 12 12:04:45 dm8tbr: this are binaries, how are they compiled? hf or sf? Oct 12 12:05:35 GeneralStupid: if you didn't get my hint: it does not matter Oct 12 12:07:10 dm8tbr: i read about 40% performance win Oct 12 12:07:50 during 0.1s, that would be like 0.04s faster! OMG stop the presses! shredder the boards! Make new binaries! Oct 12 12:08:11 hint: neither the number, nor the statement are correct Oct 12 12:09:02 neither MLO, nor U-Boot, nor Kernel care about being compiled soft-float or hard-float Oct 12 12:20:45 dm8tbr: but the kernel had to be compiled with HF if i want to use it (i thought so) Oct 12 12:20:52 no Oct 12 12:21:23 hf vs sf ONLY matters for function calls between libraries in userspace Oct 12 12:21:41 neither kernel nor uboot nor mlo give a flying fart Oct 12 12:23:18 ok i'll notice that Oct 12 12:23:40 what about flashing an u-boot.img instead of an u-boot.bin Do i have to convert that? Oct 12 12:27:34 what's funny about the supposed benefits of using the hardfloat abi is that many of the libm functions move the float parameters to integer registers the first thing they do Oct 12 12:28:33 so for those calls, there is no difference whatsoever Oct 12 12:28:50 how do you dare confuse us with facts mru! Oct 12 12:41:58 ok. now i have an working u.boot from 2013, which is able to read uEnv.txt but it didnt boot Oct 12 12:50:49 if i use the settings from the uenv by hand, it works Oct 12 13:26:05 anyone got a beaglebone black handy running that can check something for me? Oct 12 13:26:34 what do you need to know? Oct 12 13:26:50 turn your cpu on performance/max and grep the bogomips out of /proc/cpuinfo for me. thanks Oct 12 13:26:59 why does that matter? Oct 12 13:27:08 it's called bogo for a reason Oct 12 13:27:28 mru: yes however it does have usable stagea Oct 12 13:27:31 er stages Oct 12 13:27:36 no it doesn't Oct 12 13:27:44 what do you actually want to know? Oct 12 13:28:09 i'm trying to fix a freq problem in the 3.12 kernel source Oct 12 13:28:43 if you want to know the cpu clock, ask cpufreq Oct 12 13:28:47 with the freq and governors being completely broke I'm having to resort to more "creative" methods Oct 12 13:28:57 in /sys/devices/system/cpu/cpu0/cpufreq or so Oct 12 13:29:16 mru: cpufreq is completely nonfunctional in bb 3.12 tree Oct 12 13:29:26 so measure it manually Oct 12 13:29:38 bogomips is not a reliable number Oct 12 13:30:10 regardless... if anyone can give me the number it would be appreciated Oct 12 13:30:27 it won't do you any good Oct 12 13:31:48 thus my "regardless" Oct 12 13:31:51 IIRC bogomips are calculated exactly once on boot up and on current ARM systems the results have insane scatter Oct 12 13:32:03 due to frequency scaling etc Oct 12 13:32:09 well and 'bogo' Oct 12 13:32:22 the value also depends on the compiler used Oct 12 13:32:25 and compiler flags Oct 12 13:32:28 and kernel version Oct 12 13:32:30 and phase of moon Oct 12 13:32:33 true Oct 12 13:32:37 nevermind then Oct 12 13:33:07 fixing cpufreq would probably make much more sense Oct 12 13:33:31 or looking at the right registers in /dev/mem or whatever Oct 12 13:33:43 s/registers/address Oct 12 13:33:49 dm8tbr: honestly i compile it out of my kernels... i just want to figure out why this thing boots at the slowest speed Oct 12 13:33:58 adjusting the dtb has helped "some" Oct 12 13:34:09 or measure it with a good timing loop Oct 12 13:34:24 but the voltage numbers still arent aligning Oct 12 13:34:46 it's easy enough to write a delay loop in asm and calibrate it once Oct 12 13:34:53 not enough to let it run full speed (did in 3.8 just fine) Oct 12 13:35:19 i'd hard set the c Oct 12 13:35:41 i'd hard set the clk if i could remember which src file set it up for this board Oct 12 13:35:53 the i.mx6 was easy to find Oct 12 13:53:42 CareBear\: ping Oct 12 14:18:50 is there anybody with some ideas how codeless kexts work on OSX...i need to block the kernel to grab my BBB when i connect it to my Apple computer. Oct 12 14:50:12 so... what sd cards do people find works well for booting? i'm going to go out and get new ones, but i'm rather short on available time Oct 12 14:51:35 Hi Oct 12 14:51:48 heya Oct 12 14:52:25 I cant write in the terminal when using serial port comunication with an ubuntu vm Oct 12 14:54:03 some one know what i can do in order to be able to type when using a virtual machine with the beagle Oct 12 14:55:29 mariner: just for booting anything should work Oct 12 14:55:47 what? Oct 12 14:56:10 i mean i type but nothing appears in the terminal Oct 12 14:56:26 for heavier use, sandisk usually works well Oct 12 14:56:34 only the angstron logo Oct 12 14:56:43 mru.... i've been trying to boot for the past few days ona sandisk with no luck Oct 12 14:56:58 i mean but it okay Oct 12 14:56:58 I doubt the card is to blame Oct 12 14:57:15 someone last night suggested picking up a new card Oct 12 14:57:16 you mean the card is the problem? Oct 12 14:57:16 hrm Oct 12 14:57:57 i've tried a few images, but when i try to boot it, the lights don't turn on Oct 12 14:58:08 when i'm holding the u-boot button Oct 12 14:58:13 mariner: any console output? Oct 12 14:58:34 yes Oct 12 14:58:41 all what it must Oct 12 14:58:52 the angstron logo Oct 12 14:59:02 the distribution info Oct 12 14:59:10 but them it ask me for Oct 12 14:59:22 beagleboard login: Oct 12 14:59:28 but i can type Oct 12 14:59:43 mru, i don't have the serial cord. If i try to boot it connected via hdmi nothing comes up, and if i try to boot it conected to my computer, it fails to make a connection if i'm holding the u-boot button Oct 12 14:59:55 get a serial cable Oct 12 15:00:13 im using serial to usb Oct 12 15:01:21 alright Oct 12 15:01:27 someone here had tha problem and solve it ? Oct 12 15:02:08 and so, being that i'm a dumb guy... i plug that into my computer, and when i try t boot how do i see whats happening? Oct 12 15:02:35 i mean, i'm not sure how i actively connect to it before it's turned on? Oct 12 15:03:27 you should use minicom Oct 12 15:03:40 minicom can be iffy Oct 12 15:03:41 first connect the serial or serial to usb cable Oct 12 15:03:50 configure the minicom and after Oct 12 15:04:12 when all is ready plug the power with the sd plugged in the beagle Oct 12 15:04:21 i did that Oct 12 15:04:43 all seems to be okay but the beagle don let me type the user name or nothing Oct 12 15:05:06 disable flow control Oct 12 15:08:16 mru so using the same card you suggest me to disable Oct 12 15:08:23 the flowchart? Oct 12 15:08:29 im going to test it Oct 12 15:11:21 mru youre a master Oct 12 15:11:33 you got the right answer Oct 12 15:12:15 do you also know how to install a c++ compiler in the beagleboard xm rev c Oct 12 15:12:41 depends on what system you're running Oct 12 15:12:48 angstrom Oct 12 15:13:07 opkg install something Oct 12 15:13:11 I don't remember the package name Oct 12 15:13:36 how can i mux the pins Oct 12 15:13:47 i find lots of information in the internet Oct 12 15:14:00 but all assume i know something before Oct 12 15:14:12 i know how to enable some gpio as input Oct 12 15:14:26 Hi, my beagleboard C3 is now working Oct 12 15:14:30 but the have no other function for example gpio159 Oct 12 15:14:36 But i only see 90Mb of RAM into Debian... Oct 12 15:21:47 some one knows some book or page were i can learn about pin muxing in the beagle board from ceros Oct 12 15:31:54 @hola Page 96 of the BB SRM seems to say you have to use mode 4 on McBSP1_DR to connect up gpio_159 Oct 12 15:32:28 I'm wrestling with the pinmux stuff myself at the moment. Oct 12 15:34:08 but why yourself Oct 12 15:34:22 here there are lots of people that should know Oct 12 15:34:42 someone of them can helo us with the pin muxing issue Oct 12 15:35:23 I'm reading the fm since I got pointed in that direction. Oct 12 15:36:40 If you're in linux, maybe this will help: http://www.elinux.org/BeagleBoardPinMux Oct 12 15:37:41 the bit with cd /sys/class/gpio/ ; echo 168 > export ; cd gpio168 ; echo out > direction ; echo 1 > value ; echo 0 > value Oct 12 15:40:26 yeah that is all what we know Oct 12 15:41:30 but that only works if the bit have no other functio Oct 12 15:42:14 what about using gpios if they have for example pwm function Oct 12 15:42:24 or what about using pwm in some gpio Oct 12 15:42:35 instead of a simply gpio Oct 12 15:55:45 how to use pwm in the beagleboard xm Oct 12 17:03:35 hola Oct 12 20:56:05 does this board have and ADC pins? Oct 12 20:56:33 this? Oct 12 20:56:41 I am trying to find a Linux board for audio processing, but the main page is talking more about video connectors and memory and such Oct 12 20:56:50 BeagleBoard Oct 12 20:56:55 which one? Oct 12 20:57:29 mru: There is only a BeagleBoardBlack on the homepage; are their others? Oct 12 20:57:37 if I'm not mistaken the Beagle board Black has ADC inputs that are limited to aroun 1.8 volts Oct 12 20:58:15 there are 3 other boards in the beagle family Oct 12 20:58:27 so with a DC offset your limited to about a 0.9 volt peak to peak signal Oct 12 20:58:42 mru: ah. I see them now... Oct 12 20:59:26 yet I have no idea what the other specs are for the ADC Oct 12 20:59:49 N2TOH: I don't really know much hardware, but you *should* be able to dampen the amplitude of a signal without changing it's shape, right? Oct 12 21:00:13 yes it's called an attenuator Oct 12 21:01:35 a simple resistor divider can reduce the levels the a safe level, you can also go a step further and include Zenor diode clamping as well Oct 12 21:02:31 mfabel: neither of the Beaglebone boards have analog inputs that are suitable for high-quality audio Oct 12 21:02:36 N2TOH: Thanks; that looks to be what I am looking for Oct 12 21:03:00 the original Beagleboard and Beagleboard XM had true stereo audio inputs. Oct 12 21:03:13 you can also attach a usb audio device Oct 12 21:03:21 yes - that. Oct 12 21:03:53 mfabel: as emeb_mac has stated the BBB has no dedicated audio ports and a USB connected sound device might be your best option unless you have a specific need Oct 12 21:03:58 the classic and xm audio inputs hardly qualify as high-quality either Oct 12 21:04:11 it's possible to use the 1.8V analog inputs to capture audio, but you'll have to write your own software to do so - the standard Linux audio infrastructure doesn't know about those inputs. Oct 12 21:04:15 there's also the audio cape option Oct 12 21:05:09 hmm... Oct 12 21:05:42 Does anyone know of a board designed with audio/signal processing in mind? Oct 12 21:06:17 that's a fairly broad question. Oct 12 21:06:38 emeb_mac: whats wrong with the audio cape? Oct 12 21:06:41 fair enough Oct 12 21:06:44 what do you mean by audio/signal processing - what OS (or bare metal?) - what kind of signal processing. etc Oct 12 21:06:51 i've had a pretty good run with it, other than its expensive. Oct 12 21:06:55 mrpackethead: nothing wrong with it Oct 12 21:06:57 but no complaints about quality. Oct 12 21:07:08 didn't say there was. :) Oct 12 21:07:13 but it's not std equipment. Oct 12 21:07:55 sorry, i mis-understood what you said. Oct 12 21:09:35 emeb_mac: RIght now I was hoping to get some form of Linux running (debian? arch?). The idea is to get input from microphones and then try to do some maths to determine where individual sounds are coming from Oct 12 21:10:18 Real time is not required, although it would be nice to be able to move that direction with the same board later Oct 12 21:11:02 rmpackethead: where is this audop cape? I am only finding this: http://beagleboard.org/CapeContest/entries/Video+Output+%28VGA%29+%26+Stereo+Audio+IO+Cape+with+possible+hand+assembly/ Oct 12 21:11:17 rmpackethead: and that doesn't look like an actual product... Oct 12 21:11:52 http://circuitco.com/support/index.php?title=BeagleBone_Audio Oct 12 21:12:15 you can order those from any number of places. Oct 12 21:13:31 mrpackethead: thanks; reading now Oct 12 21:34:36 Does anyone know if there is an easy way to search the beagle IRC logs? Oct 12 21:35:04 google? Oct 12 21:36:54 the logs are only search able if they are first logged Oct 12 21:37:55 topsta: lurk and log the channel yourself ;-) Oct 12 21:46:33 the logs are here going back to 2007: http://beagleboard.org/static/irclog/ and also here for 2013 nicely formatted: http://mer.bfst.de/logs/%23beagle/index.html Oct 12 22:01:16 WTH? http://pastebin.com/5FRQVrnv Oct 12 22:02:40 N2TOH: ka6sox tells me that you got RTL-SDR dongle + graphic FFT working on BBB? Oct 12 22:02:56 not yet Oct 12 22:03:10 :( Oct 12 22:03:16 what's the trouble? Oct 12 22:03:22 I'm still pulling my hair out trying to install ViewRF Oct 12 22:03:52 I was polightly told to use bash, I'm currently working on getting that to work Oct 12 22:04:02 ught Oct 12 22:04:05 -t Oct 12 22:04:24 eh? literal of joking? Oct 12 22:04:56 hard to imagine how bash helps Oct 12 22:05:36 seems the sh shell has some issues, where bash doesn't Oct 12 22:05:56 oh. Oct 12 22:05:57 link to follow Oct 12 22:06:06 * emeb_mac thought bash was the default Oct 12 22:06:06 http://robotics.ong.id.au/2013/08/25/viewrf-rtl-sdr-spectrum-analyzer-for-bbb-software/ Oct 12 22:06:19 seems in angstrom it is not Oct 12 22:06:49 on step 8 I can manage to get to the make step before I start to get errors Oct 12 22:07:32 what errors? Oct 12 22:07:53 http://pastebin.com/wpD1GtUj Oct 12 22:08:18 bash is evil Oct 12 22:08:51 * N2TOH don't care I just want to get this software installed so I can use View RF Oct 12 22:12:26 looks like there's a bug in the Makefile Oct 12 22:12:36 somehow thinks that "-c" is a command Oct 12 22:13:02 also - exact steps fail Oct 12 22:13:03 or the shell is really, really broken Oct 12 22:13:26 so if bash is evil and sh is broken, what to use? Oct 12 22:13:44 which sh? Oct 12 22:13:50 there are plenty of working ones Oct 12 22:14:16 looks like whatever the default /bin/sh in Angstrom is. Oct 12 22:21:16 emeb_mac: I'm pretty sure it's BusyBox Oct 12 22:22:26 blame Bruce Perens! Oct 12 22:22:42 from what I gather Angstrom uses BASH Oct 12 22:24:01 hmm, I've seen BusyBox somewhere around the BBB, and it wasn't Debian. Maybe Angstrom uses Dash??? Oct 12 22:24:41 emeb_mac: check the tabs in the Makefile - that's what usually freaks make out. Oct 12 22:36:13 angstrom uses busybox Oct 12 22:37:30 lol Oct 12 22:37:35 its not sh fault Oct 12 22:37:43 its user fault Oct 12 22:37:49 some program is missing Oct 12 22:38:32 could be g++ Oct 12 22:39:05 * N2TOH hangs head in shame, ok how to I check what I "might" be missing Oct 12 22:39:36 compiling qwt_abstract_scale_draw.cpp Oct 12 22:39:41 because qt is c++ Oct 12 22:39:49 your are missing a c++ compiler Oct 12 22:39:52 which is g++ Oct 12 22:40:00 compilg on the board is stupid anyway Oct 12 22:40:26 compiling even Oct 12 22:40:36 n2toh: "which g++" should solve that question. I'd be suprised if you had gcc and not g++ Oct 12 22:41:01 seckford he has neither of them Oct 12 22:41:27 next question is if I am indeed missing "it" what is the most viable option to pick? Oct 12 22:41:28 N2TOH, do you have a Linux Desktop? Oct 12 22:41:33 woglinde: still suprising - the default Angstrom certainly has gcc Oct 12 22:41:54 ka6sox, no I am using the USB serial console Oct 12 22:42:01 but you *have* one right? Oct 12 22:42:44 a monitor? yes but currently I am using the console cause people kept asking for pastebin dumps... Oct 12 22:43:09 NO, I asked if you had a linux desktop. Oct 12 22:43:30 as in x86 style Oct 12 22:43:47 N2TOH: on the BBB the console is often more convenient, or so I find. OTOH, make really needs a more-or-less current time setting - did you set the clock on startup? Oct 12 23:22:52 How can you find out a board's revision? Oct 12 23:23:43 read it on the label. Oct 12 23:23:58 Where's that? Oct 12 23:24:04 (I don't physically have one.) Oct 12 23:24:16 sticker on the ethernet jack Oct 12 23:24:22 Looking at this: http://circuitco.com/support/images/2/23/REV_A5A.jpg Oct 12 23:24:32 It says A5 for A5A. Oct 12 23:24:44 Is the last letter just shown on B+? Oct 12 23:25:04 doe'nt really make much difference anyway Oct 12 23:25:11 theres no hidden easter eggs for you Oct 12 23:25:27 Minor fixes. Oct 12 23:26:09 Wouldn't hurt to have if you get a new one. Oct 12 23:26:47 A6 seems to be just out. Oct 12 23:50:50 ka6sox, yes I have a Ubuntu desktop, brb phone Oct 13 00:57:33 Is anyone familiar with the adafruit-bbio-python-io library? Oct 13 00:57:59 I am trying to use it to port code for a touchscreen arduino to the beaglebone. Oct 13 00:58:38 But I don't know an equivalent function for the analogRead() Oct 13 01:29:53 do beagleboards even have ADCs? Oct 13 01:30:18 yes Oct 13 01:30:40 err - beagleboard have audio codecs. beaglebones have ADCs. Oct 13 01:31:12 ... Oct 13 01:32:07 I mean analog-digital-converter... Oct 13 01:38:30 Yes. Oct 13 01:38:48 And an audio-input codec is an ADC. ;-P Oct 13 01:39:19 But the bones do in fact have ADCs, rated for 1.8V and intended by TI to be four-wire resistive touchscreen controllers. Oct 13 01:39:29 All in the SRM. ;-P Oct 13 01:55:08 Hi Oct 13 01:55:40 when i reset the beagle xm connected to an hdmi display Oct 13 01:55:57 i not able to turn it on again but disconnecting it Oct 13 01:56:03 why? Oct 13 01:56:57 when i was using my voltmeter to measure the normal voltaje in the reset pin in the expansion board Oct 13 01:57:00 it resets **** ENDING LOGGING AT Sun Oct 13 02:59:58 2013