**** BEGIN LOGGING AT Thu Apr 02 02:59:58 2015 Apr 02 10:18:02 Hey guys, quick question for anyone with PRU knowledge: It was my assumption the PRU can access any GPIO on the BBB, however I've been reading conflicting things saying it only has access to the PRU specific I/O. Is that true? I would think you could access any GPIO via the shared memory bus. Apr 02 10:18:37 (Albeit slower than the PRU I/O.) Apr 02 10:20:07 timb what gpio do you need? Apr 02 10:23:19 I basically need 16 GPIO, they will be inputs and outputs and I can't disable the MMC. Disabling HDMI gives me access to 8 PRU pins, which is perfect, but I still need 8 more. The remaining 8 aren't speed critical, so if I have to go through L3/L4 to toggle/read them, that's fine. Apr 02 10:24:13 should be plenty available .. though you have to configure them afaik. Apr 02 10:25:03 timb_ -> http://events.linuxfoundation.org/sites/events/files/slides/Enhancing%20RT%20Capabilities%20with%20the%20PRU%20final.pdf Apr 02 10:25:31 I read that, yeah. Apr 02 10:25:35 ah okay Apr 02 10:25:36 sorry Apr 02 10:26:55 No worries, it was helpful, and it confirms my assumption it can be done. Just trying to see if anyone has done it! :) Apr 02 10:27:07 stt_michael: http://www.embedded-things.com/wp-content/uploads/2013/08/P8.png Apr 02 10:27:30 timb_, .. looking at the bottom 1/4 of http://beagleboard.org/support/bone101 .. 25 ios for PRU :) Apr 02 10:27:42 There's not many brought out to the header. Only 8 contiguous ones at that! Apr 02 10:27:52 sure? Apr 02 10:28:27 timb_, .. I see more than that on the beagle101 siet :p Apr 02 10:28:36 See my link above. 6 are taken up by the MMC. Apr 02 10:28:41 Hmmm. Apr 02 10:29:21 Well, some of those 29 are for EtherCAT, etc. Apr 02 10:30:16 I.e. prX_mii_XX Apr 02 10:30:28 ok I'm sure you've done the homework :) Apr 02 10:31:28 Ohh hmm, wait, you're right, the BBB site is showing pru0_XX on P.7. Apr 02 10:32:38 I know there is a project using a massive LED display on the PRUs .. so they must have more than 8 ios ;) Apr 02 10:33:50 Ahh, but yeah, see that's the problem, there's two sets of 8 contiguous pins, plus some random ones, but each set belongs to a different PRU. Having PRU1 pins doesn't help me unless I split my app up and have two halves running on each PRU. Apr 02 10:34:33 stt_michael: Those massive led displays use serially addressable LEDs, aka NeoPixels or WS2811's. Apr 02 10:35:03 Each LED is like a bit in a serial shift register. It has an input and output. Apr 02 10:35:28 mm fair enough. Can't say I've played with the PRU's yet .. need to buy another beagle ;) lol Apr 02 10:35:30 So they need a single I/O pin and they can run hundreds of LEDs. Apr 02 10:36:04 how fast can you clock data in? Apr 02 10:36:27 Yeah this is my first PRU project. Apr 02 10:37:02 KotH: to the LEDs? In the upper kHZ to low MHz range. Apr 02 10:37:29 hmm... Apr 02 10:37:34 interesting Apr 02 10:37:52 pwm ? Apr 02 10:37:52 KotH I think timb_ knows more about the PRU as us Apr 02 10:38:08 woglinde: definitly more than me :) Apr 02 10:38:17 woglinde: keep in mind, i never owned a BBB :) Apr 02 10:38:23 nor do I Apr 02 10:38:27 lol Apr 02 10:38:29 I'm working on a GPIB interface cape. Using the PRUs as the controller and a kernel module to give a /dev/GPIB device. Apr 02 10:38:32 Lol Apr 02 10:38:54 timb_: i like that! Apr 02 10:38:59 but I am helping to point to the right places to read Apr 02 10:39:06 stt_michael: No, it's serial data. One byte for each color on the LED. Apr 02 10:39:40 ok Apr 02 10:40:44 So, if you have 8 LEDs, you send 24 bytes, the first LED shifts the bytes to the next and down the line. The LED has an internal PWM generator. Apr 02 10:41:41 They're really cool and great for lots of projects. They even come in through hole 5mm style now! Apr 02 10:47:42 Is anyone here from the Netherlands? Apr 02 10:47:51 I am traveling in the end of the month, and will be happy to meet fellow developers Apr 02 10:50:06 nivw, perhaps you should consider the Embedded Linux Conference in October in Ireland :p Apr 02 10:51:51 nivw: there are lots of BBB related people all around europe Apr 02 11:01:36 KotH: I know, never met any BBB user from the Netherlands Apr 02 11:21:52 Hi, does anyone know what happens when you put in the wrong parameters for mfks.ubifs? Apr 02 11:22:11 ie. What signs would I look for when the system boots if it all goes through ok? Apr 02 11:23:07 i would look for something that doesnt work Apr 02 11:24:04 I mean, say I got the eraseblock size at half it's correct size, would it completely break? Or would it just be sub optimal? Apr 02 11:30:33 * KotH has no idea Apr 02 11:30:40 * KotH doesnt know the details how ubifs works Apr 02 11:30:47 much less how it is implemented Apr 02 12:38:48 Hi, I'm using the Kernel and U-Boot of Robert C Nelson and I'm having problem executing QT application. I'm getting this error "Could not initialize EGL". Here is some information about my configuration : http://pastebin.com/h9aMuCux Apr 02 13:00:20 erakis_ yes Apr 02 13:00:35 you need the egl drivers of course Apr 02 13:07:37 woglinde : From what I've paste on pastebin, do you see the driver ? Apr 02 13:09:04 erakis_ hm okay Apr 02 13:09:13 erakis_ can you strace the egl call Apr 02 13:09:29 than you will see at least if qt tries to open the egl libs Apr 02 13:09:51 woglinde : How to I do that :S Apr 02 13:15:11 apt-get install strace Apr 02 13:15:33 strace ./qtProgram –platform elglfs Apr 02 13:20:01 woglinde : Thank, as my image has been build with Buildroot, I don't have package manager to install strace. I will rebuild a new image with Buildroot adding the strace package (if available) and comeback to you :( Apr 02 13:48:13 Hi , I'd like to know if there is a list of build in device tree overlay fragments in the debian image from the website. I decompiled the am335x-boneblack.dtbo file in the boot partition but for exampe the BB-SPIDEV0 device fragment wasnt there and my lib/firmware folder is empty, however loading it by echoing was sucessfull Apr 02 13:52:30 woglinde : Here is the result of strace --> http://pastebin.com/ykW91Lp1 Apr 02 13:56:11 woglinde : Oupo... I made a mistake while typing the platform parameter. I use eglf instead of eglfs. Here is the correct result : http://pastebin.com/f1tktWtC Apr 02 14:06:55 erakis okay I think here is the problem Apr 02 14:06:56 open("/dev/pvrsrvkm", O_RDWR) = 5 Apr 02 14:06:56 fcntl64(5, F_SETFD, FD_CLOEXEC) = 0 Apr 02 14:06:56 ioctl(5, _IOC(_IOC_READ|_IOC_WRITE, 0x67, 0x0c, 0x1c), 0xbe81438c) = 0 Apr 02 14:06:57 ioctl(5, _IOC(_IOC_READ|_IOC_WRITE, 0x67, 0x00, 0x1c), 0xbe81425c) = -1 EFAULT (Bad address) Apr 02 14:07:10 but I have no solution at hand Apr 02 14:13:29 I've got an apparent random reboot issue. Nothing in the logs, nothing on the (hardware) serial console. Apr 02 14:13:44 Anyone else come across this? Kernel 3.19.0, mainline Apr 02 14:13:49 Kaak do you use an usb device? Apr 02 14:14:12 I've got a USB cell modem attached, and connected at all times Apr 02 14:14:54 okay Apr 02 14:14:56 I'm powering the whole combo with a 15W 5V SMPS Apr 02 14:15:15 musb is unfornatly not long time stable Apr 02 14:15:25 even in 3.19 Apr 02 14:15:27 :( Apr 02 14:15:34 I guess I shouldn't be shocked ... Apr 02 14:15:36 yes sorry to say Apr 02 14:16:15 anyway method to debug or dive deeper for musb? I'd love to aide any bug finding/fixing Apr 02 14:16:29 haha no Apr 02 14:17:10 KaaK, sounds like: https://git.kernel.org/cgit/linux/kernel/git/stable/linux-stable.git/commit/?id=42b3f837879d1d8539b2a9f57fd4d6417f5d2a66 (which is in 3.19.1) Apr 02 14:19:06 rcn uh Apr 02 14:19:22 so easy Apr 02 14:22:21 rcn hm so musb is re enumbering the ports and than the board crashes becaude usb0 is not hardpinned? Apr 02 14:25:40 i think it's just left in an un-initialized state, then something happens and it would reboot. Apr 02 14:26:20 justed updated my device tree blob, guess I'll find out here in a few hours if my reboots disappear Apr 02 14:26:54 is there any good place to read up on this "dr_mode" property? Apr 02 14:54:58 KaaK, in the case of the perhiperal port, the dr_mode should have just been set, as the port is hard-wired to be a perhiperal... Apr 02 14:57:37 hi, I have BBB and it is somewhere on LAN away from me with at least 7-8 routers in between. When I try to ssh it I get connected and when typing something on terminal suddenly I get broken pipe error and I'm logged out while still typing and terminal not being ideal at all. After that I constantly get connection refused error over ssh for about half an hour and then I can login but this repeats. Apr 02 14:59:03 vinu are you sure it's the board and not the network? Apr 02 14:59:14 yes i'm sure Apr 02 14:59:18 :/ Apr 02 14:59:24 because i can login to my server Apr 02 14:59:34 and no such problem occurs Apr 02 14:59:38 vinu: that's likely to be a network problem. can you try to ssh into the bbb directly? also, try mosh instead of ssh if you're on linux Apr 02 15:00:10 oh and check for duplicate IPs on the network Apr 02 15:01:17 ok I will try mosh Apr 02 15:02:13 Duplicate IPs?? but my scrpt that is running 24*7 on BBB is sending data to database that I can see even when this is happening Apr 02 15:03:08 databse is on server and script is sending data every 5 minutes even now so i think duplicate IP is not the problem. am i correct?? Apr 02 15:03:17 does sshd on your server have some tweaks? or on your .ssh/config side? Apr 02 15:04:28 I think no. because I have tried from all different machines and OS this problem persists. Apr 02 15:04:34 vinu: duplicate addresses can lead to sublte troubles, 5' is not a wide interval, i'd not be suprised. but it's just a guess, i don't know your network, of course :) Apr 02 15:05:17 ok I will check if duplicate IP is problem. Apr 02 15:05:32 are there any patches fixing musb dma? it is broken for isochronous usb devices. Apr 02 15:06:07 * stt_michael laughs .. musb. Apr 02 15:06:50 asdf234 haha Apr 02 15:07:11 asdf234 of course which kernel you are speaking of? Apr 02 15:07:12 sure... but any ugly, quirky workarounds? or there is no chance? Apr 02 15:07:20 I dont know what you said could you please elaborate?? Apr 02 15:07:22 asdf234, first, what kernel are you running? uname -r Apr 02 15:07:38 torvalds kernel Apr 02 15:07:52 3.7 Apr 02 15:08:03 use ti's 3.14.x for the best "dma-experence" . ;) Apr 02 15:08:44 vinu 3.7 is not a valid ip address Apr 02 15:09:13 sorry i meant kernel version is 3.8.13-bone50 Apr 02 15:09:40 ip is 10.57.0.11 Apr 02 15:10:35 sounds like a vpn address Apr 02 15:10:50 rcn-ee: thanks, like v3.14.35-ti-r56 of your wheezy-armhf packages? Apr 02 15:10:53 no its no vpn Apr 02 15:11:04 its my college campus on intranet Apr 02 15:11:11 aha Apr 02 15:11:14 its open range op Apr 02 15:11:16 ip Apr 02 15:11:17 * stt_michael mutters firewalls Apr 02 15:11:26 asdf234, correct that one has dma enabled, with all ti's musb hacks.. Apr 02 15:13:02 vinu, given the complexity of the network setup, it's really difficult to say with any certainty that it is your BBB. I'm inclined to believe you, but it's going to be very tough going trying to hone in on an answer Apr 02 15:13:12 can you reproduce this issue in a much simpler network? Apr 02 15:13:13 asdf234, you can call the best of a crappy situation. ;) unless you have a bbw, in which case the es1 silcon has other issues.. Apr 02 15:13:57 rcn-ee: thanks a lot. does it require any changes of the kernel command line for example? or just use ./install.sh Apr 02 15:14:22 ok I will try to reproduce this problem with my pc and BB connected to same router. Apr 02 15:14:23 rcn-ee: yes i know musb is **** Apr 02 15:14:39 then i will try debuggin it Apr 02 15:14:51 asdf234, so if "cat /etc/dogtag" > Sep 2014: just: sudo apt-get update ; sudo apt-get install linux-image-3.14.35-ti-r56 ; sudo reboot... Apr 02 15:15:09 rcn-ee: it has an endless errata sheet... Apr 02 15:15:27 otherwise the install-me.sh is risky as the dtb is "fat" and randomly doesn't load on the u-boot address we used on may 2014 release.. Apr 02 15:21:53 rcn-ee: and what if dogtag is older? i should flash a recent image from mmc? Apr 02 15:22:57 asdf234, yeah just reflash, it wasn't till mid summer 2014 that we figured a good future proof u-boot location for kernel/dtb/intramfs.. Apr 02 15:23:54 rcn-ee: thanks, you are very helpful! Apr 02 16:53:09 I have an ideally-configured BBB and would like to copy its OS image to a few dozen other units. How could I make my own eMMC flasher image out of the golden-image that I have? Apr 02 16:57:20 ecdhe, cat /etc/dogtag ? Apr 02 16:57:37 one moment Apr 02 17:00:19 debian image 2015-03-01 Apr 02 17:00:58 rcn-ee: i finally figured out you split the uEnv.txt stuff Apr 02 17:01:00 sweet! i don't have to find a random script for that version. ;) ecdhe you can use: http://elinux.org/Beagleboard:BeagleBoneBlack_Debian#Flashing_eMMC as Apr 02 17:01:51 nerdboy, do you like or hate? ;) i tried to make very simple, yet still have backwards compatibily... Apr 02 17:02:37 rcn-ee, how would I roll my modifications into your image? Apr 02 17:02:51 What did you use to build the image? Apr 02 17:03:15 ecdhe, well if they are good generic options, just a pull request on: https://github.com/RobertCNelson/omap-image-builder Apr 02 17:03:28 it didn't like my old one i guess Apr 02 17:03:46 ecdhe, and feel free to add you *.config here too: https://github.com/RobertCNelson/omap-image-builder/tree/master/configs Apr 02 17:04:05 * nerdboy would probably add Big Fat Note to wiki page Apr 02 17:04:18 like: http://elinux.org/Beagleboard:U-boot_partitioning_layout_2.0 Apr 02 17:04:27 it's on the top of /uEnv.txt ;) Apr 02 17:05:26 rcn-ee, I've actually installed apps and files over your filesystem that I would like to deploy to a number of BBBs as part of a factory procedure. Apr 02 17:05:30 * nerdboy reading beagleboneblack page Apr 02 17:05:55 Should I just mount the filesystem that you build and add my files to that? Apr 02 17:06:14 a note as in: this is different, migrate your crap, blah blah... Apr 02 17:07:10 nerdboy, i just need to udpate the elinux debian/ubuntu images, the backwards compatibilty uEnv.txt used in the march 2015 image is just more tested... but i haven't upated the debian/ubuntu specific page yet.. Apr 02 17:08:09 ecdhe, for the microSD card you have today, you can enable the "flasher" as is and flash a bunch of cards.. but if you want a generic image you can rebuild later, you can just add a *.config to that omap-image-builder script i pointed too.. Apr 02 17:08:42 That would let me install packages into the image on the build machine? Apr 02 17:09:33 rcn-ee, thanks for your help, by the way! I have even breathed some life into my old bb-xm units because of your hard word! Apr 02 17:09:34 ecdhe, omap-image-builder creates the *.img we host on bb.org Apr 02 18:14:55 Hello, I was wondering if it is possible to use 2 active inferaces on the BBB. So if I could pass internet via ethernet and connect a wifi adapter to create a hotspot Apr 02 18:16:48 EdtR, possible, yes. Apr 02 18:17:13 but why buy a beagle when you can get an access point cheaply!? Apr 02 18:18:29 I already have the beaglebone, collecting dust and not doing anything, so for a spare time easy project Apr 02 18:19:17 fair enough. Check the compatible wifi cards, and have fun with hostapd .. something I need to figure out on another platform :) Apr 02 18:19:34 probably my laptop Apr 02 18:21:04 ok, I will try that thanks! Apr 02 18:21:57 EdtR, don't forget to give the Beagle enough power :) Apr 02 18:22:42 Yea I think i've dont this before, but its been a long time ago. I have a dedicated power supply for it Apr 02 18:23:16 I just need to find a Wifi adapater that support AP mode Apr 02 18:23:35 the previous one that i used (Panda Wireless) had an unfortunate accident Apr 02 18:30:59 hi guys is there a reason why with the latest ubuntu 14.04 image i continuously have to run the command echo "nameserver 8.8.8.8" >> /etc/resolv.conf to get my internet working? Apr 02 18:36:32 mistawright, are you connected via ethernet? sounds a bit like a dhcp issue... Apr 02 18:36:59 or you haven't fully confugured something Apr 02 18:39:40 i just used on of the latest rcnee images Apr 02 18:40:35 just dd'd it to a microsd card Apr 02 18:41:00 mistawright, the software is less important as to how you've connected it up Apr 02 18:42:02 yeah ethernet connection to a hub Apr 02 18:42:16 ive had this issue at home with a direct connetion to my fios router Apr 02 19:03:20 methinks its your router then ... Apr 02 19:21:30 mistawright, issue with /etc/resolv.conf is probably an issue with the it being a symlink to something that is reset at startup in the /tmp folder... I ran into that years ago, on angstrom Apr 02 19:24:37 specifically when not using dhcp it would have to be reset manually until you delete the symlink and recreate /etc/resolv.conf as a regular file Apr 02 19:32:48 Hey all. Got a few questions if anyone could help? Apr 02 19:48:31 got to ask the question to know if anyone can or will help Apr 02 19:49:57 Fair enough. My main question is how can I get a chipsee 7" screen to work. The pre-built versions provided with the screen wont work. Apr 02 19:51:49 do they provide source? generally modules need to be built against a specific kernel Apr 02 19:54:21 looking at it, yes the source is on the disk. I am assuming though that this will be the same build which failed when i tried flashing it before? Apr 02 19:54:44 cybrix101, the chipsee screen works with v3.14: just crab any new image and follow: http://elinux.org/Beagleboard:Capes_3.8_to_3.14#Chipsee_bbb-exp-c Apr 02 19:55:21 or that :) Apr 02 19:56:06 fantastic. I'll have a play with that! Many thanks. Apr 02 19:56:15 but generally if the kernel doesn't match what the module what built against it will not load Apr 02 19:56:48 thurgood_, they had a weird fork of v3.8.13.... Apr 02 19:57:02 figures Apr 02 20:34:02 are there any chances to play videos with the bbb? i use the debian lxde image, tried with vlc and mpv/different vo, but they're sloooow :) Apr 02 20:36:31 is there a wireless chip that can be added to the beaglebone black, rather than the usb method? Apr 02 20:44:40 samael, sorry no "video-co-processor" so only the main arm core can decode viceo Apr 02 20:45:51 KotH: hi Suse Apr 02 20:48:25 Hello! Anyone know how to get users that aren't root/sudo access to the Adafruit_BBIO library? Apr 02 20:49:05 I have a python script that I need to run at startup and am hoping that if the "debian" user can run this that it would make things easier... Apr 02 20:51:13 The python script is executable, but without just running "program.py" gives the error that the ADC system couldn't be set up. Apr 02 20:51:30 sorry, i mean you have to run "sudo program.py Apr 02 21:11:16 emanning: adc values are exposed by the kernel into /sys/, maybe you can play with their rights to fit your needs Apr 02 21:12:21 i guess the adafruit module relies on these files too. if not, it's just a matter of few python lines more :) Apr 02 21:12:27 rcn-ee: i see, thanks Apr 02 21:13:38 emanning: http://beaglebone.cameon.net/home/reading-the-analog-inputs-adc Apr 02 21:25:04 emanning was probably just missing the ./ Apr 02 23:37:37 hi guys i need some help trying to compile the rtl8812au driver on my beaglebone black. I have cloned the source from git and made sure i have the proper kernel headers but still receive errors when compiling Apr 02 23:38:42 here is the errors i receive when trying to compile the driver: http://pastebin.com/jDggXdWU Apr 02 23:46:50 i seem to have forgot change the config file it seems Apr 02 23:47:30 maybe a stupid q, did you run ./configure Apr 02 23:47:55 actually ignore me, of course you did Apr 02 23:49:01 no the makefile needed to be changed Apr 02 23:49:22 it was trying to compile for an i386_pc versus arm Apr 02 23:51:24 ahh Apr 03 00:05:10 with the switch to the 3.14 kernel and the new style of handling device tree overlays are there any good tutorials for using gpio and pwm with this kernel? Apr 03 01:17:53 Can anyone see what I'm doing wrong in my uEnv.txt file? http://pastebin.com/x5zkQmc1 Apr 03 01:18:04 Nothing changes when I reboot and cat slots **** ENDING LOGGING AT Fri Apr 03 02:59:59 2015