**** BEGIN LOGGING AT Sat Mar 21 02:59:59 2015 Mar 21 04:19:14 Hi all. I am using a BBB Rev C. I am able to enable and use ttyO1 using the command "echo BB-UART1 > /sys/devices/bone_capemgr.*/slots", however when I try to do this using the file '/boot/uboot/uEnv.txt' the tty is not enabled after reboot. Mar 21 04:19:47 I got the above information from http://tenderlovemaking.com/2014/01/19/enabling-ttyo1-on-beaglebone.html and http://bh.sdc-csm.com/guides/beagleboneblack/uarts.html. Does anyone know why my tty does not turn on after boot using the /boot/uboot/uEnv.txt file? Mar 21 04:19:59 (This file did not exist - I had to create it btw) Mar 21 04:27:06 hi, i need help, how do compile this kernel https://github.com/beagleboard/linux ? Mar 21 05:18:23 Hi again all. Sorry I got disconnected before. Did anyone have an answer for my previous question about ttyO1 not working? Mar 21 05:19:22 nope. maybe try again closer to normal business hours in the US; much of the active population of this channel is partying or sleeping. ;-P Mar 21 05:21:00 you need to enable it via kernel cmdline in your uEnv Mar 21 05:25:22 I did it before on an old 3.8 kernel .. capemgr.enable_partno=BBB_UART blah Mar 21 05:25:37 but that might not work with Device-Tree Mar 21 05:32:44 hey !! the PRUs present in the BBB, can they control only some limited gpios or, all of them ? Mar 21 05:35:12 also, i am having difficulty in understanding the gpio naming system as, different naming convention have been used at different places. like P9_27 and GPIO3_19 Mar 21 05:37:04 Thta one is easy: P9 is the P9 header (as opposed to the P8 one), and the _27 is the 27th pin. THis is the physical location of the pin *on the board*. Mar 21 05:37:26 The GPIO notation has to do with how the GPIO pins are laid out on the ARM itself. Mar 21 05:39:07 how to relate GPIO3_19 with its physical location ? Mar 21 05:40:13 so does that means there are more GPIO pins in the ARM, than have been provided in the headers ? Mar 21 05:42:12 hitman_: You use the TRM and SRM to provide that mapping. Mar 21 05:42:27 Or, you know, any one of the myriad charts out there showing you what maps to where. Mar 21 05:42:44 And yes, absolutely there are more pins on the SoC than in the headers. Mar 21 05:45:23 ok, and what about PRU related GPIOs ? can they control any of the provided GPIOs or just those 25 low latency pins ? Mar 21 05:45:56 That, too, is detailed very well already in the documentation for the SoC and the board. Mar 21 05:47:19 Never mind - I figured it out. Mar 21 06:17:11 Hi, I'm trying to compile the 3.14 kernel for the BBB rev C. Mar 21 06:18:26 I'm following the instructions on eLinux and Beagleboard.org which use a patch.sh script for patching the kernel before building it Mar 21 06:20:15 But the kernel tree I checked out from github does not contain any pre-made shell scripts. Do I need to compose this file? Could anyone give me any pointers/resources to figure out what it contains? Mar 21 06:25:51 gshrikant, gotta confess the only things I know that work are from https://eewiki.net/display/linuxonarm/BeagleBone+Black Mar 21 06:26:34 otherwise there seem to be a zillion different variations of method Mar 21 06:27:28 most of which are out-of-date lol Mar 21 06:29:59 So, the official repo doesn't contain the patch files, correct? Mar 21 06:30:40 I checked out Rob Nelson's repo and it seems the build scripts have been moved from bb-kernel to stable-linux too. Mar 21 06:31:20 This is my first time building the kernel so I'm afraid I'm being a little blockheaded. Mar 21 06:32:53 can you link me the page you'r elooking at .. the five I've pulled up don't seem to match what you're describing :) Mar 21 06:33:05 (which, sadly, doesn't surprise me...) Mar 21 06:34:48 I am on the eeWiki page you linked me to. Under 'Linux Kernel' there are instructions to clone the bb-kernel repo. Mar 21 06:36:05 and then patching it using the build-kernel.sh script. Is that how you intended me to proceed? Mar 21 06:36:19 thats how I've always done it on all my arm boards so far Mar 21 06:38:21 Yes, but the build-kernel Github repo seems to be empty. It seems to have been moved to stable-kernel. Mar 21 06:38:39 build-kernel -> bb-kernel Mar 21 06:39:26 also, I understand that the patch scripts are for patching between different kernel versions? Or are they BBB specific config patches? Mar 21 06:40:24 various people have patched the central linux kernel repo Mar 21 06:40:33 ti has its own variants Mar 21 06:44:18 gshrikant, the 3.8 'tree' has a patch script .. https://github.com/beagleboard/kernel/tree/3.8 Mar 21 06:44:48 gshrikant, .. looks like its present in 3.14 too .. https://github.com/beagleboard/kernel/tree/3.14 Mar 21 06:44:57 perhaps this is what you're looking for? Mar 21 06:46:25 Yes! Mar 21 06:47:36 yeah you're working from an old kernel repo :) Mar 21 06:48:48 But isn't that repo deprecated. I pulled from beagleboard/linux Mar 21 06:48:53 as it states on https://github.com/beagleboard/kernel .. you wanna move to https://github.com/beagleboard/linux Mar 21 06:49:12 so if its referring to a patch.sh .. something hasn't cloned right Mar 21 06:49:41 Yes, the new repo doesn't the patch script but the older unmaintained one does. Mar 21 06:50:59 there is a different mechanism Mar 21 06:51:12 you need to talk to rcn-ee when he's here .. he can probably explain what's changed Mar 21 06:52:16 aight I gotta git .. bbl maybe Mar 21 06:52:33 Thanks a lot for your help! Mar 21 08:05:29 hii Mar 21 08:05:37 everyone Mar 21 08:06:05 i am in a serious trouble Mar 21 08:06:25 i am trying to connect my bbb to internet through a usb modem Mar 21 08:06:38 but its not even detecting the Mar 21 08:06:39 modem Mar 21 08:07:15 my usb modem is zteac2739 Mar 21 08:07:58 please any suggestion Mar 21 08:09:19 while connecting the modem to bbb usb port Mar 21 08:09:50 it showing no change in dmesg neither in lsusb Mar 21 08:10:09 also the modem led doesn't blink Mar 21 08:10:52 is bbb not able to provide sufficient power to the modem to operate Mar 21 08:13:45 #ubuntuarm Mar 21 08:14:03 #ubuntu_arm Mar 21 08:14:11 #ubuntu-arm Mar 21 08:14:23 any help Mar 21 08:17:49 bunty .. most likely you haven't installed/configured a driver for your modem Mar 21 08:19:42 wtf IS that thing anyway?! Mar 21 08:19:51 ok .. afk :p Mar 21 09:18:24 plz anyone has any idea how to setup usb modem in successfully Mar 21 09:19:06 plz anyone has any idea how to setup usb modem in bbb successfully Mar 21 09:19:51 <_av500_> does it work on your PC? Mar 21 09:20:02 yes Mar 21 09:20:12 <_av500_> and nothing in dmesg? Mar 21 09:20:22 no nor in lsusb Mar 21 09:20:26 no change Mar 21 09:20:45 <_av500_> and you connexted it to the large USB port on the BBB? Mar 21 09:20:52 yes Mar 21 09:21:58 any suggestion Mar 21 09:23:09 <_av500_> not really Mar 21 09:23:24 <_av500_> do other usb devices work with BBB? Mar 21 09:23:28 <_av500_> usb stick? Mar 21 09:23:44 yes usb pendrive is working fine Mar 21 09:24:04 the led on modem is also not blinking Mar 21 09:24:29 <_av500_> try a hub inbetween Mar 21 09:24:31 <_av500_> a powered one Mar 21 09:24:36 is bbb not providing sufficient voltage to modem Mar 21 09:24:49 <_av500_> maybe Mar 21 09:25:10 <_av500_> if you have a multimeter and a steady hand you can check the 5V line on the USB port Mar 21 09:25:43 k. Mar 21 10:06:11 I need help Using the WL18xx Cape with BeagleBone Black Mar 21 10:21:07 I need help Using the WL18xx Cape with BeagleBone Black Mar 21 10:24:06 libregeekingkid: it could help stating your actual problem. Not that I'd be able to help with it. Mar 21 10:25:25 tbr: I have just got wifi cape from beagleboardtoys.com, I need help using it with a BeagleBone Black Mar 21 10:30:48 tbr: The cape is WL1836MOD w/ Chip Antenna Mar 21 10:31:29 libregeekingkid: and did you try to look for information on making it work? Mar 21 10:32:25 tbr: Yes I did and found these http://elinux.org/CircuitCo:WL1835MOD_w/_Chip_Antenna Mar 21 10:32:37 tbr: http://processors.wiki.ti.com/index.php/Using_the_WL18xx_Cape_with_BeagleBone_Black Mar 21 10:33:08 But the Instructions are given for Angstrom, I want to use it with debian Mar 21 10:50:57 that doesn't look too hard to make work on debian Mar 21 10:53:10 tbr: How will I get the toolchain? Mar 21 10:58:21 tbr: ?? Mar 21 11:04:39 libregeekingkid: that will depend on the OS you are running on your laptop/PC Mar 21 11:04:57 tbr: I am running Debian Wheezy Mar 21 11:08:36 libregeekingkid: the TI wiki page gives you quite detailed information on those things. I'd *strongly* recommend to try to figure it out from those. Mar 21 11:08:49 especially as I won't be feeding you with #exactsteps Mar 21 11:11:02 tbr: I don't need the exact steps. But wherever I am going on Wiki, the steps are for Angstrom running on BeagleBone. I want to use the Cape with Debian on BBB Mar 21 11:21:39 libregeekingkid: the instructions should work also for debian, where they don't, ask specific questions about things that fail Mar 21 11:27:39 tbr: that is what I thought as well but the section three on this page http://processors.wiki.ti.com/index.php/Using_the_WL18xx_Cape_with_BeagleBone_Black#Installing_ARM_Cross_Compiler_Toolchain is where I am stuck Mar 21 11:27:50 why are you stuck? Mar 21 11:35:56 tbr: the toolchain download link is from angstrom url. I need something similar for debian Mar 21 11:37:32 so you are blissfully ignoring the command that would work on ubuntu and debian? Mar 21 11:39:49 tbr: http://paste.debian.net/162397/ Mar 21 11:45:11 libregeekingkid_: now that's finally the real problem Mar 21 11:46:14 tbr: And thats why I needed help Mar 21 11:46:41 yes, but as you didn't specify that you tried this and got this error nobody knew that _this_ is the problem. do you understand that? Mar 21 11:50:14 https://wiki.debian.org/CrossToolchains#unstable-chroot Mar 21 11:50:33 * tbr has to go grocery shopping now, bbl Mar 21 13:13:56 hi, i need help, how do compile this kernel https://github.com/beagleboard/linux ? Mar 21 13:56:15 luciano: what have you tried and why did it fail? Mar 21 13:59:11 KotH, do not try anything yet, but I found a tutorial I'm now following http://wiki.gentoo.org/wiki/BeagleBone_Black, with this tutorial , i can run with rootfs of archlinux arm? Mar 21 14:00:08 luciano: http://26-26-54.hardwarebug.org/30 Mar 21 14:00:46 KotH, ok! Mar 21 15:56:44 i have an rtc on my cape, would like to disable the default one, and instead have the mine one as /dev/rtc0. any hints? played with udev rules but still no luck so far Mar 21 17:37:55 in RoberCNelson script to build kernel what are ZRELADDR and how did he get that info from Technical Reference manual?? Mar 21 17:42:30 if you wait here, you can ask him directly Mar 21 17:44:10 kotH: he is a lead developer and i am afraid he might frown to my silly questions. but if he answers then thats great Mar 21 17:45:50 Guest37821: dont worry about that Mar 21 17:46:01 Guest37821: if he'd hate that, he wouldnt come here and answer questions :) Mar 21 17:47:41 KotH: that's greatness of good developers :) . well can you please answer the question ? Mar 21 17:48:06 sorry, i dont know it Mar 21 17:48:33 KotH: ohh thats okay! thank you. Mar 21 17:54:32 Hi, I am trying to build the 3.14 kernel from the Github tree. Mar 21 17:55:14 There isn't much documentation on it but is running the script under ti_config_fragments the recommended method for generating the config? Mar 21 18:04:34 gshrikant: use derek molloy video he has given nice explaination Mar 21 18:05:06 https://www.youtube.com/watch?v=HJ9nUqYMjqs Mar 21 18:07:07 Guest37821: Thanks, I'll try that. Mar 21 18:12:19 The video is about patching the mainline kernel with the BBB configuration. Mar 21 18:12:50 I figured the BBB repo should have the patched kernel. Mar 21 18:13:16 The 3.8 branch in the git repo does have a defconfig on the top level directory Mar 21 18:33:19 4.0 or bust. Mar 21 18:34:26 4.0 is when the kernel will be 'done', right? Mar 21 18:34:49 sure Mar 21 18:35:03 then we will get to revert all the DT patches ;) Mar 21 18:39:41 I thought a lot of beagle stuff had hit mainline by now .. hence it don't need so much patching :p Mar 21 18:59:13 ping pong .. Mar 21 19:00:36 veremit: are you ELCing? Mar 21 19:01:34 depends .. what IS that :P lol Mar 21 19:01:51 Embedded Linux Conf. Mar 21 19:01:58 M-W @ SJC Mar 21 19:03:13 ah doubt I'm affording flights :/ Mar 21 19:03:21 oh Mar 21 19:03:22 and hotel :\ Mar 21 19:03:51 gonna try pull in one of the european ones sometime soon Mar 21 19:03:56 mate has been to fosscon Mar 21 19:04:28 isn't europe more $$$$$$$$ Mar 21 19:05:03 america is a nightmare Mar 21 19:05:23 used to be ~$600-700 for a return set .. now its more like $900+ Mar 21 19:05:44 I went to CA twice in '08-09 when it was kinda affordable and I could fly from a regional airport Mar 21 19:05:48 London friggin sucks ass Mar 21 19:07:05 oo they do one in Ireland in Oct Mar 21 19:07:12 somewhere I've never been ... Mar 21 19:07:41 dublin is nice Mar 21 19:07:44 i can recommend it Mar 21 19:08:48 looks much smaller .. not surprisingly Mar 21 19:09:10 with good food and friendly people too Mar 21 19:10:58 I need a viable time-share in CA .. lol .. I like it there but there's this thing called the USCIS Mar 21 19:11:46 there's a couple of con's I wanna see .. gonna do foscon next year I think Mar 21 19:12:28 rats wrong name .. Mar 21 19:12:46 FOSDEM .. Mar 21 19:12:59 brussels .. just catch the train direct from london :) Mar 21 19:14:40 fosdem is crazy! Mar 21 19:15:15 yea? Mar 21 19:16:43 veremit: imagine close to 10k oss people at one spot Mar 21 19:17:15 :) Mar 21 20:01:55 What does it mean if 2 leds are blinking at boot up on BeagleBoard xM? Mar 21 20:35:17 The LAN port is not lighting up on BeagleBoard xM. Can anyone please help? Mar 21 20:38:04 BeagleBug_ .. have you connected up a serial console to the debug port? what does it say? (serial parameters are usually 115200,8n1) Mar 21 20:38:16 .. and no flow control. Mar 21 21:24:34 hello Mar 21 21:25:23 i have a question Mar 21 21:26:19 how can i see all the hardware caracteristics Mar 21 21:26:51 like the processor version Mar 21 21:29:13 http://elinux.org/Beagleboard:BeagleBoneBlack Mar 21 21:30:23 thanks Mar 21 21:30:47 but i want to see it on the board Mar 21 21:31:01 like the hardinfo Mar 21 21:31:07 program Mar 21 21:31:37 :) Mar 21 21:31:51 you won't get it from the software :p Mar 21 21:32:38 u.u Mar 21 21:32:40 I'm 90% certain its not programmed anywhere Mar 21 21:35:54 a121: an embedded system isnt a pc Mar 21 21:36:07 a121: most of the parts cannot be discovered like cards you plug into a pc Mar 21 21:37:11 ok Mar 21 21:42:24 a121: the usual assumption is, that people who use an embedded system know exactly how the hardware looks like Mar 21 21:49:08 KotH .. usually because we did the research to find out, before we bought it :) Mar 21 21:49:57 veremit: no, usually because you designed it yourself :) Mar 21 21:50:49 KotH - or that :P Mar 21 21:54:53 hi i need help . y try run qt application with archlinux but i recived this error :error while loading shared libraries: libQtGuiE.so.4 Mar 21 21:55:26 then you didnt install the qt libraries correctly Mar 21 21:55:34 or the wrong version Mar 21 21:59:46 My first circuit board design is a BBB Cape - http://blog.dan.drown.org/beaglebone-cape-for-navspark-ns-t/ It has bugs, though Mar 21 22:13:31 KotH, i try run but i recived this message : cannot connect to X server , i need instal xorg server? Mar 21 22:13:59 you can run qt programms without xserver Mar 21 22:14:05 with -qws? Mar 21 22:14:09 yes Mar 21 22:14:45 but i recived himself message Mar 21 22:15:14 i install "tea" for archlinux, to test qt application Mar 21 22:18:14 * KotH has no idea about arch, and usually advises against using desktop distros on embedded devices Mar 21 22:21:39 KotH .. well thats a luxury thats not necessary with the appropriate distro build :P Mar 21 22:22:30 what is rather disgusting is the proliferation of ubuntu X builds for arm devices .. ick. Mar 21 22:22:50 that wouldnt be a problem, if they would be done properly Mar 21 22:23:13 debian minimal works .. gentoo stage3 works .. I think there is an arm build of arch iirc Mar 21 22:23:57 angstrom and yocto are a bit awkward to the newbie Mar 21 22:24:15 some would say thats a good thing .. but .. yeah .. lol. Mar 21 23:03:40 i try but i recived this message: probandoqt: cannot connect to X server :0.0 Mar 21 23:09:00 hello Mar 21 23:09:05 KotH: i Opensuse Mar 21 23:09:13 hi Mar 21 23:09:41 jamesaxl: the last time i used suse, there was no open prefix Mar 21 23:10:19 KotH: maybe it was not free (i mean freedom) Mar 21 23:10:47 it was more free than it is today Mar 21 23:11:33 KotH: which version then ? Mar 21 23:11:46 6.0 Mar 21 23:12:12 KotH: nice, the first time i used suse , it was 9.1 version Mar 21 23:13:41 jamesaxl: next you tell me that you are a 14y old who learned php from his father? ;) Mar 21 23:14:42 KotH: of course no , i am perl geek , php just for sillies :) Mar 21 23:18:34 KotH: you ? Mar 21 23:18:56 * KotH is a generic geek Mar 21 23:28:26 KotH: i do not beleie :) Mar 21 23:30:13 KotH: try this http://golf.shinh.org/ Mar 21 23:31:52 no time for games like that Mar 21 23:33:22 KotH: anyway, they are bot games Mar 21 23:33:37 s/not/bot/ Mar 21 23:35:52 golf is a game Mar 21 23:36:11 * KotH is currently reading into non-linear description of oscillators Mar 21 23:43:28 KotH: http://funduino.de/ Mar 22 00:38:30 hello! Mar 22 00:38:46 i'm wondering if someone could point me in the right direction for cross compiling. Mar 22 00:38:59 i have the latest debian image running on my beaglebone Mar 22 00:43:38 grab toolchain from the linuxonarm wiki? Mar 22 00:44:57 nerdboy: i will look into that, thanks. i have a current toolchain but when i try to run it on the bone, it says "no such file or directory." Mar 22 00:45:09 file says it's for arm and it's executable Mar 22 00:48:47 juno0812: if you're running the compiler on the bb, you aren't crosscompiling. You're just compiling Mar 22 00:49:06 fishey1: i'm not running it on the bb Mar 22 00:49:11 i copy the bin over Mar 22 00:50:11 the compiler output, I presume? That type of error generally indicates a dynamic library is not being found. Mar 22 00:50:24 `ldd` might help, if you have it. Mar 22 00:52:26 ldd output is: not a dynamic executable Mar 22 00:52:51 i'm thinking i need the gcc-arm-linux-gnueabihf toolchain. Mar 22 00:53:06 i've just been using the arm-linux-gnueabi one Mar 22 00:57:07 if it actually is a static executable, hardfloat or not isn't going to affect things. What does `file` say about your mystery executable? Mar 22 01:01:38 ELF 32-bit LSB executable, ARM, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.16, not stripped Mar 22 01:32:07 yep, that was it! turns out i needed the different toolchain Mar 22 02:54:36 hi everybody Mar 22 02:54:48 im trying to deal with my SPI1- driver Mar 22 02:55:24 and i got it working with the default CS0, but I was wondering if i can add arbitrary CS pins like so http://paste.click/VGfoXj Mar 22 02:55:48 and if so, where i'm going wrong adding these two pins from pb8 ? Mar 22 02:56:07 oh is see i didn't require their use explicitly, Mar 22 02:56:08 shoot Mar 22 02:58:55 and i know that says "gpmc_ad14 when it should say gpmc_clk" Mar 22 02:59:00 just a comment though **** ENDING LOGGING AT Sun Mar 22 02:59:58 2015