**** BEGIN LOGGING AT Fri Jun 20 03:00:00 2014 Jun 20 06:19:34 hi everybody :) Jun 20 06:20:43 In the first place as I am French my English is not very good ... Jun 20 06:21:36 I'm student and i'm working with the linaro GCC to build a Debian (wheezy) for BBW rev6 and BBB rev6 Jun 20 06:23:19 I have a little isue with the ethernet configuration beacause i would like to make the same configuration on both but for the BBW eth0 is the default interface an eth1 for the BBB Jun 20 06:23:27 how can i chnage that ? Jun 20 06:34:38 that sounds like you ran into some UDEV problem Jun 20 07:11:31 @tbr Ok thx i'm going to check that but why eth0 is not the default interface on the BBB ? Jun 20 07:15:25 why should it? Jun 20 07:19:32 It's a long story ^^ I'm in electronical school and i want to build a Debian image to BBW and BBB but i have some issue with the network interface Jun 20 07:20:09 in /etc/network/interfaces -> auto eth0 for BBW and auto eth1 for BBB Jun 20 07:20:26 i want to use the same build in both of thme Jun 20 07:20:28 them Jun 20 07:26:15 My BBB with the LCD attached launches lightdm and X. Can I disable that behavior? Jun 20 07:33:40 Is there an apt-get for SDL_ttl 1.2? I only see libsdl-ttf2.0-0 in aptitude search (debian). Only SDl 1.2 works (I got it to work!) Jun 20 07:34:02 Oh, maybe 2.0 is okay; its docs say it works with SDL 1.2 Jun 20 08:10:23 Hello there I have recently purchased a BBB and I turned it of using ' shutdown -hP now' and it went al right after that I replugged the 5V supply to start the BBB again and to my surprise no LED flickered on the BEadle Jun 20 08:11:42 I'm trying to use OpenOCD with my BBB but I get `unable to open ftdi device: usb_open() failed` Jun 20 08:12:05 does this have something to do with setting up udev rules? Jun 20 08:12:58 varad: what adapter are you using? interfaces/... Jun 20 08:14:00 yegorich: I have this: http://www.blackhawk-dsp.com/products/usb100v2.aspx#description, so I'm using the xds100v2.cfg file Jun 20 08:15:48 varad: are you using interface/xds100v2.cfg or interface/ftdi/xds100v2.cfg? Jun 20 08:17:09 yegorich: interface/xds100v2.cfg Jun 20 08:17:49 varad: this option is not recommended anymore. Try interface/ftdi/xds100v2.cfg Jun 20 08:18:12 yegorich: trying. will get back to you. Jun 20 08:21:27 yegorich: now it's `Error: libusb_open() failed with -3 Error: no device found` Jun 20 08:21:36 yegorich: any ideas? Jun 20 08:22:34 varad: sorry, but I have not idea Jun 20 08:22:55 yegorich: okay, thanks anyways Jun 20 08:22:59 varad: are you running as root? Jun 20 08:27:29 yegorich: hey! it worked as root! thanks. Jun 20 08:37:37 varad: interface/ftdi/xds100v2.cfg? Jun 20 08:38:30 yegorich: yeah Jun 20 08:39:11 jkridner, we talked about reverse the clock polarity yesterday, I didn't succeed in getting this to work yet. Fancy to help me a bit more? Jun 20 08:39:30 Invert the LCD clock* that is Jun 20 08:39:40 yegorich: both of them work Jun 20 08:40:32 varad: O.K. so far I had only luck with interface/ftdi/* configs Jun 20 09:23:43 heh, how convenient, the ADC pins don't have alternate muxes Jun 20 09:36:16 Hello to everybody! I have to buy a new BeagleBone Black in Germany, but I can´t get it in my favorite shops anymore? Has anyone an idea where to buy it? Jun 20 09:36:46 conrad, watterott, rs, element14, ... Jun 20 09:37:31 conrad and rs say that it is sold out and they won´t get it anymore Jun 20 09:46:41 Blondie909: you probably checked the _old_ revision then. check if they have the new revision with larger eMMC as a different SKU Jun 20 09:50:17 Blondie909: try logicsupply.eu, that's where I got mine (in NL), same day shipping. And they should have the C revision for shipping in early July. Jun 20 09:52:18 quick perusal of the internet search engine of my least distrust also yields this: http://uk.rs-online.com/web/p/processor-microcontroller-development-kits/7753805/ Jun 20 09:52:42 their backorder date is probably arbitrary as they wait for their first shipment of the revC boards Jun 20 09:52:57 tbr searches with bing Jun 20 09:53:34 tbr: such optimism. When I ordered one from Conrad, they kept quietly moving the order date back by a month, until I got fed up and asked my money back 3 months later. Jun 20 09:53:36 I trust microsoft less than google, actually, so no. Jun 20 09:54:05 Peanut: revC production just started... so they simply couldn't have those... Jun 20 09:54:39 No, this was a B revision, ordered in Januari. Jun 20 09:56:02 ah, back then it was almost impossible to get it anywhere. it was pure luck when a distributor got a batch. People were like vultures and stock was gone in minutes. Jun 20 09:56:21 aka demand severely exceeding supply Jun 20 09:58:04 * tbr ordered his last year, when watterott actually had stable stock Jun 20 09:59:25 I'm pretty happy with mine though - working on adding an external clock (basically clocking it from a rubidium atom clock) to make a NTP server. Jun 20 10:00:01 that's cool Jun 20 10:00:18 * tbr is currently playing with the ADC on his Jun 20 10:00:25 very straight forward Jun 20 10:01:04 What sample rate are you aiming for? Jun 20 10:01:33 it will be monitoring water level, so it's not super critical. I don't expect to be needing PRU Jun 20 10:02:17 1hz would be sufficient. 10hz ideal. anything higher total overkill. Jun 20 10:02:45 I don't want to measure the flush-rate, just the level. Jun 20 10:03:11 by default the sysfs entries seem to have an ungodly delay of 5-10s though Jun 20 10:04:19 hmm, the raw data seems to be fast enough though Jun 20 10:06:02 flush rate? You're not putting one in a cistern, are you? Jun 20 10:06:22 I'm building an IoT. Internet of Toilets ;) Jun 20 10:06:49 As if there isn't enough crap online yet ;-p Jun 20 10:07:02 yeah, going to put that sh*t online Jun 20 10:07:05 Anybody that has an idea on how to invert the LCD pixel clock in device tree? Jun 20 10:07:17 already registered a twitter account ;) Jun 20 10:07:56 it's more of an exercise and the real goal is water consumption monitoring Jun 20 10:09:12 i have 0.4mm BGA package part no Jun 20 10:10:49 i want learn blind and buried technologies Jun 20 10:11:16 kabalee: how does that relate to the BBB? Jun 20 10:11:28 no Jun 20 10:11:30 kabalee: that's more about making PCBs, maybe see if the GEDA folks can be of help? Jun 20 10:11:53 send link any body Jun 20 10:13:31 use the friendly google, ktxbai Jun 20 10:15:16 i could not get part no of 0.4mm BGA Jun 20 10:16:23 ok so the /sys/devices/ocp.*/helper.*/AIN* entries suck, but the raw reading is great Jun 20 10:40:13 It looks like I can control the backlight brightness of the LCD on my BBB with echo 40 > /sys/devices/ocp.3/backlight.11/backlight/backlight.11/brightness Is there any way to do this with a C call in code, like an ioctl or something? Jun 20 11:30:10 hi Jun 20 11:30:48 is here anyone? Jun 20 11:31:02 no, all gone, closed for business... Jun 20 11:31:05 http://www.catb.org/esr/faqs/smart-questions.html Jun 20 11:33:08 JetForMe how about libsysfs? Jun 20 11:33:13 ??? Jun 20 11:33:22 JetForMe sprintf should work too Jun 20 11:34:57 i have some question about dm3730 beagle board with CCS, any one can help me? Jun 20 11:36:13 mm_: what is your problem with that? Jun 20 11:36:29 ccs? Jun 20 11:36:37 hm ask your ti sales person Jun 20 11:36:54 oh, he said CCS... *nods* Jun 20 11:37:12 ccs: code composer studio Jun 20 11:37:25 yes, nobody here uses that Jun 20 11:38:01 I need use it O.S less Jun 20 11:38:15 mm_ again nobody here uses it Jun 20 11:38:26 ask your ti sales or support person Jun 20 11:38:56 you paid for it and nobdy here in the channel get paid for giving answers Jun 20 11:40:33 do konw omap 3530 OR DM3730 beagle borad? Jun 20 11:41:55 ? Jun 20 11:43:17 what you do in this channel? Jun 20 11:44:05 talking about linux Jun 20 11:44:45 only Linux? Jun 20 11:44:55 mostly Jun 20 11:46:47 سلام Jun 20 11:46:53 * vvu runs from CCS, far far away Jun 20 11:47:11 کسی با برد بیگل کار کرده؟ Jun 20 11:47:15 lol Jun 20 11:47:21 far from? Jun 20 11:48:35 do you know base of Electronic knowleg? Jun 20 11:50:11 i'm surry. i think it a professional channel!!!!!!!! Jun 20 11:51:56 کسی جواب نمیده؟؟؟؟؟؟ Jun 20 11:53:31 hey "woglinde" are you there? Jun 20 11:54:24 thanks Jun 20 11:54:30 bye Jun 20 11:56:06 ... Jun 20 11:56:10 lol Jun 20 11:56:17 ??? Jun 20 11:56:20 its more hobbiyst Jun 20 11:56:35 why? Jun 20 11:56:54 why should it be professional? Jun 20 11:57:06 its a channel for everyone Jun 20 11:57:14 and there are some professionals Jun 20 11:57:40 it's proffetional because needs to know hardware design of omap Jun 20 11:57:43 or did you thought this a official TI support channel for free? Jun 20 11:57:47 an Jun 20 11:58:11 who did you tell this? Jun 20 11:58:44 I am an Electronic engineer Jun 20 11:59:09 i work with a lot of chips Jun 20 11:59:29 controller, DSP & FPGAs Jun 20 12:00:07 from ATMEL, TI, XILINX & ... Jun 20 12:00:11 mm_, you are wrong... nobody here is "here professionally" or as part of "work" assignment. And if you are an engineer, you know that you have many resources for answers... (that are Not here) and why do we care about your silly credentials... you want to impress somebody? Also not likely to happen here... Jun 20 12:00:42 * vvu is a 2nd year student doing his BsC :) Jun 20 12:02:00 excuse me Jun 20 12:02:36 TI website is your resource for OMAP. Jun 20 12:03:17 and you work only with Linux? Jun 20 12:05:53 yes Jun 20 12:06:30 why should a pay thousand of dollars for shitty software like CCS Jun 20 12:08:50 oh, if it was a "shitty software" TI can not sale it with thousand of dollars!!!!!!!!! Jun 20 12:09:01 lol Jun 20 12:09:25 you can always sell shitty software for thousand of dollars when there are people who will buy it Jun 20 12:11:43 no, most of processor can not run linux o.s. and need CCS for use them such as : dsp processors Jun 20 12:13:30 hm on the beagle is one and that can run linux if I remember correctly Jun 20 12:15:05 yes, but when you use O.S. , you can not use all of memory Ram, Flash, Speed & ... in your design code Jun 20 12:16:11 and though I do not need ccs to write code Jun 20 12:16:30 I could use my slim vim and than execute the dsp toolchain by hand Jun 20 12:17:04 hey guys, if i have a self-contained ELF executable (kernel & application linked together) that is intended to start after MLO (partly because it's >128kB), is there a convenient way to start it as a kernel in linaro qemu (emulating the bbxm) without u-boot or a disk image? or do i have to make a disk image put mlo and u-boot on it? Jun 20 12:17:41 if i feed it to qemu as a kernel it doesn't execute at the entry point it seems Jun 20 12:20:00 thanks Jun 20 12:20:13 hi :) Jun 20 12:20:34 and where are you from? Jun 20 12:21:03 france :) Jun 20 12:21:44 hi pink Jun 20 12:21:59 I built my own kernel with the scripts of Robert Nelson and i would like to applie preempt_rt patch Jun 20 12:22:15 but i have a little probleme Jun 20 12:22:29 où en France? Jun 20 12:22:29 someone already do it ? Jun 20 12:22:39 Brest :) Jun 20 12:23:06 @Dark-Rx français aussi ? Jun 20 12:24:10 non, je suis Américain Jun 20 12:24:45 merde Jun 20 12:25:20 Ha ok :) QUelqu'un ici a déjà appliqué le patch preempt_rt sur une BeagleBone Black ? Jun 20 12:25:32 Pink_: what is your problem? Jun 20 12:25:34 J'étais à Bordeaux pour 6 mois l'an derneir Jun 20 12:25:48 Ha c'est une belle ville :) Jun 20 12:27:01 I built a kernel with the scripts of Robert C. Nelson but and i would like to applie preempt patch (3.8.13-rt10) Jun 20 12:27:36 but i have already the same issue : sudo patch -p1 < ../../patch-3.8.13-rt10.patch Jun 20 12:27:55 # can't find file to patch at input line 75 Jun 20 12:29:13 I am not familiar with that patch Jun 20 12:38:33 hey i have jst finished porting angstrom on BBB via emmc but surprisingly the mini usb device is not working can any1 help.....? Jun 20 12:39:12 Pink_ you need to fix the patch yourself Jun 20 12:39:34 spike what did you port? Jun 20 12:40:05 spike or did you mean you flashed the bbb with an angstroem image? Jun 20 12:40:32 yup exactly.... Jun 20 12:43:41 spike what kernel do you have now and did you checked that one g_ modul is loaded? Jun 20 12:44:01 @spkie with the Robert Nelson i used uart to communicate but i have need to reload module Jun 20 12:44:23 woglinde 3.8.13 Jun 20 12:44:36 @woglinde i have an issue in my path but it's ok now it's compiling Jun 20 12:45:09 i use 3.8.13 and debina sysfile Jun 20 12:45:20 debian* wheezy Jun 20 12:45:25 @woglinde how to load "one g_ module" Jun 20 12:45:53 try modprobe instruction Jun 20 12:48:04 F R I D A Y ! Jun 20 12:48:27 @woglinde @pink srry but what exactly is this one g_ module i could nt find it anywhere Jun 20 12:52:02 anyone know what the complete make menuconfig "target" command is to recompile roberts debian kernel is? Jun 20 12:52:28 @spike are you sur that you need g_module for the USB ? Jun 20 12:52:41 do i use a specific crosscompile target name on x86? Jun 20 12:53:22 personnally i use linaro in order to crosscompile for ARM target Jun 20 12:53:40 and it's works easilly Jun 20 12:53:42 @pink no Jun 20 12:54:17 @spike i'm not expert but with debian i have not need to reload this module Jun 20 12:54:18 Pink_: What cross compile environment do you use, if any for large applications Jun 20 12:55:06 @xD1845 sorry i don't understand (my french is really poor ...) Jun 20 12:55:13 i'm french :S Jun 20 12:55:16 spike first check lsmod Jun 20 12:56:33 do you have compile module or juste kernel ? the first time i have forgotten to compile modules :S Jun 20 12:58:29 woglinde: Pink_ i have used this link inorder to compile the kernel "http://wp.angstrom-distribution.org/?page_id=53" Jun 20 13:00:23 @spike why do you want use Angstrom Instead of debian ? Jun 20 13:02:00 Seriously... Jun 20 13:02:17 As per the requirment given to me ...didn;t had much options... Jun 20 13:02:34 @pwillard ? Jun 20 13:02:52 @spike Jun 20 13:03:04 angstrom is painful to work with Jun 20 13:03:11 @pink..? Jun 20 13:03:43 you can check modules loaded with lsmod Jun 20 13:04:07 if all you know is desktop linux, then angstrom has a learning curve, just as any other embedded distro Jun 20 13:05:09 that has just 4 contents "iptables,x_tables,ipv6,autofs4" nothing close to usb Jun 20 13:05:38 but the usb host is working totally fine.... Jun 20 13:05:47 usb is probably built in then Jun 20 13:05:47 ok normally modules are in /lib/modules/kernel_version Jun 20 13:06:02 i need to recompile roberts debian kernel using his instructions but dont need the initial ./build_kernel just want to recompile starting at config menu Jun 20 13:06:29 @dogrocket ? Jun 20 13:07:18 using these instructions... http://eewiki.net/display/linuxonarm/BeagleBone Jun 20 13:07:57 if you want juste to rebuild kernel with robert debian kernel you can use /tools/rebuild.sh Jun 20 13:08:14 doh.. Jun 20 13:08:18 checking Jun 20 13:08:47 i have used this tutoriel too and it's works fine Jun 20 13:09:00 for beaglebone White AA too Jun 20 13:09:00 Have any of you guys cross compiled GNU radio for ARM? Jun 20 13:14:04 thanks Pink Jun 20 13:14:54 dogrocket it's ok ? Jun 20 13:15:49 yeah, its ok to copy rebuild.sh to same directory as ./build_kernel.sh to run it i guess? Jun 20 13:16:58 i need to apply patches to kernel and it i use .build_kernel it doesnt pick up patches because i think roberts script reloads source? Jun 20 13:17:07 it = if Jun 20 13:18:04 xD1845: I'd expect that to be available in angstrom Jun 20 13:18:07 so i tried make menuconfig and it started giving me x86 compile errors.. guess one needs to specify CC compiler arguments Jun 20 13:19:29 tbr: Want to do it from source as a learning experience on how to cross compile. Or even setup a cross compile environment. I've gotten the correct toolchain, and have made simple programs cross compiled, but ones that have auto make, and configure are giving me problems. Jun 20 13:19:57 ah, welcome to a world of pain :) Jun 20 13:20:17 Pain indeed… Jun 20 13:20:39 I've looked into scratchbox2, and the compile speed emulating the arm is still sluggish Jun 20 13:21:29 Maybe I am doing something wrong Jun 20 13:22:05 i dont know what im doing... i had contract programmer write me to codec drivers to build into kernel, he said run git am (filename) on them.... Jun 20 13:22:15 to = two Jun 20 13:22:41 and i cant get roberts build_kernel.sh to pick them up Jun 20 13:23:06 they are .patch file Jun 20 13:25:32 i run git am on them now and i get message (filename) previous rebase directory /home/jay/beagle/bb-kernel/.git/rebase-apply still exists but mbox given. Jun 20 13:26:10 xD1845 gnu radio is nice recipes in openembedded and so for angstroem Jun 20 13:26:29 guess i will pay him more money to figure it out :/ Jun 20 13:26:41 woglinde: How about UHD? I believe you need that for GNU radio also Jun 20 13:34:38 dogrocket: it sounds like your git repo is mid-rebase Jun 20 13:34:45 xD1845 what do you think and look up the recipes yourself Jun 20 13:35:01 dogrocket: you need to cancel the rebase before you can apply the patches Jun 20 13:35:43 woglinde: Yes, I will look at them. Thanks. Jun 20 13:36:00 xD1845 hm okay phillip made them available at the sdr layer Jun 20 13:36:08 xD1845 -> http://layers.openembedded.org/layerindex/branch/master/layer/meta-sdr/ Jun 20 13:36:54 woglinde: Thank you, I will look into open embedded, as I have not used it before. Jun 20 13:54:36 [kernel] timtianyang closed pull request #59: 3.8 LCD4 pin mapping (master...3.8) http://git.io/0uSB3g Jun 20 15:03:12 If I want to directly drive an archaic parallel-port printer from a beagle's gpio, and I have bones sitting around in both black and white variants, which is gonna require the least devicetree/udev/whatever work to make the OS recognize it as a parallel port? Jun 20 16:35:19 oh, I know where this is going Jun 20 16:35:39 but are you trying to make the 'bone's kernel think the combined gpio pins are a parallel port? Jun 20 16:35:47 or could you just bitbang the thing? Jun 20 16:39:59 My thought was just bitbang it and be done with it. Jun 20 16:52:17 I'm hoping to use some high-level scripting that would run identically on a laptop or on a 'bone, and thus make the bits appear as a /dev/lpr thing or whatever Jun 20 16:52:35 but if that doesn't exist already, I'm certainly not up for figuring it out. :P Jun 20 16:54:59 (I can handle the voltage translation on the hardware side, if needed. I'm pretty sure the printer will grok 3.3v signals, and I can put some electron-decelerators on the status lines coming back.) Jun 20 16:56:01 but for me, whatever black magick might be required to make gpio(0..7) appear as /dev/thing is something I hope already exists, because I'm beyond clueless about how to incant such a thing into existence. Jun 20 16:57:19 Best lead thus far is this: http://www.armadeus.com/wiki/index.php?title=Talk:GPIO_Driver Jun 20 16:58:10 Which is all sorts of promising; I even know what some of those words mean! Jun 20 17:24:21 mythos: I *did* offer to do that translation for you. ;-P Just feed me ASCII, I will get it to the printer. Jun 20 17:24:56 but mythos just got here Jun 20 17:26:42 hahah Jun 20 17:26:59 agmlego: Yes, I'm aware. If that turns out to be both practical and portable, I'll be taking you up on the offer. Jun 20 17:28:08 Heh. Jun 20 19:09:50 my rev C showed up yesterday :) Jun 20 19:20:23 cool! Jun 20 19:20:26 so they do exist :-) Jun 20 19:30:36 I think it's going to become an office git server Jun 20 19:57:52 hi all - i'm having trouble booting a new bbb rev. c. anyone here who might can help? Jun 20 19:58:26 expand on your problem Jun 20 19:59:53 i copied a new MMC flash image via DD. when i went to re-boot it (holding down the user button) no results- only the power light is on Jun 20 20:00:19 i prepared a new sd image (non MMC) and have the same results Jun 20 20:00:34 i am not able to mount the MMC storage vfat partition either Jun 20 20:02:10 did you write the image to the device node, not a partition? Jun 20 20:02:55 of=/dev/mmcblk0p1 is the dd outfile Jun 20 20:03:32 right, that won't work, you wrote it to a partition of your card Jun 20 20:03:58 of=/dev/mmcblk0 Jun 20 20:04:46 tbr - thanks -- i'll try that Jun 20 20:14:57 i have a standard usb to serial converter (unknown chipset). Can you go straght from DB-9 to BBB REV C serial debug pins J1-Jx? Jun 20 20:16:08 Any idea how i can get my SDL app to run as non-root? I've already got access to /dev/fb0, but it's complaining now about not being able to open a console. strace showed it trying to open /dev/tty0, so I gave world access to that, but it still complains Jun 20 20:16:47 jetfrome /dev/tty0 is not /dev/fb0 Jun 20 20:17:10 Yes, I know. I already solved the /dev/fb0 problem Jun 20 20:17:14 Now I have a console problem Jun 20 20:18:08 hm I do not know why sdl needs tty0 Jun 20 20:18:16 Me, either :-) Jun 20 20:18:42 so it works when ran as root? Jun 20 20:19:03 Yeah, works great as root. Here's what happens as not-root: https://pastee.org/j7e7c Jun 20 20:19:35 hm ah okay Jun 20 20:20:30 hm okay kbdstate Jun 20 20:20:32 hm hm Jun 20 20:20:38 try google search Jun 20 20:21:11 Hehe, yeah, I did Jun 20 20:24:40 what groups is the non-root user a member of? Jun 20 20:25:16 admin, video Jun 20 20:25:30 video gave it fb access. The ttys have root group, and u+rw only Jun 20 20:25:31 video, input, audio Jun 20 20:25:57 perhaps Jun 20 20:26:56 JetForMe I thought you set the rights 777 ? Jun 20 20:26:59 on the device Jun 20 20:27:18 yes, on the tty0. Sorry, i meant initially (and all the others) are root only Jun 20 20:27:28 Although /dev/tty was already open to all Jun 20 20:28:05 http://jonmacey.blogspot.co.uk/2012/09/getting-started-with-sdl-part-1.html Jun 20 20:28:14 it's for pi Jun 20 20:28:18 but might be relavent Jun 20 20:28:52 imc_: I tried adding audio, no help. I only initialize video currently Jun 20 20:31:45 Hmm. This post suggests another SDL app might be running (although I don't think that specific one applies here): http://boards.dingoonity.org/dingux-general/how-to-run-sdl-applications-from-telnet/ Jun 20 21:55:59 anyone have a recommendation for the most reasonable USB debug cable? Jun 20 22:01:54 <__butch__> I'm a big fan of this: http://www.ebay.com/itm/371046646242 Jun 20 22:13:05 https://www.sparkfun.com/products/9718 ? I'm not sure if that's the right technology, but for my Arduino projects it's been great Jun 20 22:19:22 Super-excited. I just realized with slight different init, I can develop my little SDL app on my Mac, and then periodically run it on the BBB. Since most of the devices it'll be talking to are over serial, I can even talk to those on the OS X version. Jun 20 22:20:28 http://www.adafruit.com/products/284 does 3.3 and 5 Jun 20 23:34:21 salutations **** ENDING LOGGING AT Sat Jun 21 03:00:00 2014