**** BEGIN LOGGING AT Tue Sep 16 02:59:58 2014 Sep 16 03:01:14 i'm betting there are some debian champions here, so let me throw you a challenge: why does an angstrom distro run on my motherboard (which uses P8 GPIOs) while Debian cannot? Sep 16 03:01:30 this is a beaglebone black rev. c Sep 16 03:02:25 the debian distro will boot fine but freezes very consistently at around 2 or 3 minutes after booting - long enough for me to ssh in and look around and see nothing seems to be wrong. Sep 16 03:03:11 booting off the external microSD, so presumably the MMC1 signals aren't utilized... Sep 16 03:07:18 "i throw down my gauntlet!" Sep 16 03:56:37 jkridner: can i ask you a question pm? Sep 16 04:06:04 I have a BBB, and recently received a USB audio device (Focusrite Scarlett 2i2). When I plug the 2i2 into a powered USB hub, and then into the BBB, the USB power light doesn't come on the 2i2. I can use the same hub and plug it into my PC and it works fine...any ideas here? Even plugging the 2i2 directly into the BBB yields the same results. No log entries that I can find when plugging the device. Sep 16 04:08:06 jkridner: i would be very thankful if you could review this problem and give me your thoughts: http://www.digitalsignallabs.com/debian-problem-20140915170313.htm Sep 16 04:09:44 jkridner: i saw on the beaglebone kernel at github that you made some changes recently regarding mmc1 (adding to device tree). do you know for a fact that the debian/bbb distro uses these P8 signals, even when booted from the external microSD? Sep 16 04:13:04 or anyone else, for that matter Sep 16 04:33:37 evening Sep 16 05:07:09 timb___________: wow, what a nick Sep 16 08:44:25 hello tbr: remember when i told u about my bbb debian image delay booting when i disabled lightdm service? Sep 16 08:46:37 milad: not specifically, no Sep 16 08:47:40 so i have a delay in booting when i don't coonect my bbb to lan at boot time, i debuged the kernel booting process and it shows this kind of messages: DHCP on eth0 to 255.255.255.255 port 67 interval 7 Sep 16 08:48:14 how should i force it not to wait alot for dhcp? Sep 16 08:48:52 you could try by editing /etc/network/interfaces Sep 16 08:49:09 if the distribution that you run uses that Sep 16 08:49:51 yes it's debian , but it doesnt have a dhcp wait time i think. Sep 16 08:49:59 tbr it is maybe network-manager Sep 16 08:50:42 woglinde how should i check that? Sep 16 08:51:16 woglinde: if it's network damager, then it shouldn't delay boot, should it? Sep 16 08:51:28 tbr hm depends Sep 16 08:51:43 but yes it is not network-manager faults Sep 16 08:51:58 I have the same problem on my ubuntu install Sep 16 08:52:13 its waiting for full network-support for two minutes Sep 16 08:52:17 debianoids should honor interfaces though, and pull the configured ones out of NMs responsibility though. Sep 16 08:52:23 but I am to lazy to fix it for my desktop Sep 16 08:52:36 correct, Lëtö Sep 16 08:52:48 yay for möre döts! Sep 16 08:52:50 woglinde: debian has a split brain for network. if you use /etc/network/interfaces, it will dhcp during bootup and wait until it is finished... but you can use whatever network manager you choose later Sep 16 08:53:07 you know problem caused when i desabled lightdm. how can they be related? Sep 16 08:53:22 KotH: NM tends to ignore interfaces that are in /etc/network/interfaces Sep 16 08:53:45 *disabled Sep 16 08:53:56 tbr: NM is weird Sep 16 08:54:30 yes, but connman is wëïrdër! Sep 16 08:55:48 so what is my answer beside all these conversations :D ? Sep 16 08:56:18 milad: figure out where the problem is and fix it ;) Sep 16 08:57:02 should i add some salt? Sep 16 08:57:45 always helps! Sep 16 08:58:13 milad: have you conected a serial console? Sep 16 08:58:34 :D, angstrom had conman and i had no problem with it but in debian ... Sep 16 08:58:36 as said, I'd approach it from the /etc/network/interfaces side Sep 16 08:58:59 KotH: sth like that i used tty0 as debug console Sep 16 08:59:33 tbr: does netmanager use /etc/network/interfaces ? Sep 16 09:00:00 milad: it at least reads it. Sep 16 09:00:25 if you want a quick fix. assign it a fixed IP address in interfaces Sep 16 09:00:40 then it won't DHCP anymore Sep 16 09:01:02 tbr: i thinked that but i want specifically DHCP Sep 16 09:01:18 because it's connected to office lan Sep 16 09:01:36 for security reason it shouldnt have fixed ip Sep 16 09:02:20 so thanks, i'll try editing it and i'll let u know Sep 16 09:04:16 milad: well then leave it unconfigured in there and add it in network manager. then it won't get an address until NM starts and gets it. Sep 16 09:05:53 ok i'll try, can i ask another question? Sep 16 09:06:18 sure Sep 16 09:06:40 where is the kernel boot log stored in /var/* ? Sep 16 09:06:47 log/* Sep 16 09:07:06 /var/log/dmes Sep 16 09:07:07 g Sep 16 09:07:16 or /var/log/syslog Sep 16 09:07:21 for debian Sep 16 09:07:51 i checked /var/log/syslog but it was different from what i saw in booting Sep 16 09:08:36 but it's dmesg, thanks Sep 16 09:48:08 how to write image on emmc bbb Sep 16 09:48:24 thoi: use one of the flasher images. Sep 16 09:48:49 thoi: or if you're interested in the actual procedure, look at the scripts in one of the flasher images :) Sep 16 09:50:19 r u talking about this script init-eMMC-flasher-v2.sh (github) Sep 16 09:50:51 r u2 Sep 16 09:50:55 thoi: http://beagleboard.org/latest-images Sep 16 09:51:06 thoi: section "emmc flasher" Sep 16 10:17:16 Is it possible to add libraries like boost when generating meta-toolchain-arago-tisdk from AMSDK? I can't seem to get it to work when just adding the package to IMAGE_INSTALL += Sep 16 10:44:52 hi all, I have killt my beaglebone black. =( The PWR Led flash every second. I think i have broken the the supply ic. does somebody have experience to chance this ic? Sep 16 10:46:05 RMA irt Sep 16 10:46:07 it Sep 16 10:46:20 how did you kill it? Sep 16 10:52:40 im not realy shure. I think set a component whith the wrong direction in my circuit . Sep 16 10:54:13 well if you broke it you get to keep both parts. order a new one. Sep 16 11:26:53 Hi All, I have beagleboard black for which I have downloaded sd card angstrom image and installed on sd card. It is working fine. Sep 16 11:27:02 Its version is 3.8.13 Sep 16 11:27:18 Just now I have downloaded beagleboard kernel Sep 16 11:28:05 and its version is git://github.com/beagleboard/kernel.git Sep 16 11:28:18 branch version is 3.14 Sep 16 11:28:37 compiled source as per steps http://www.visionopen.com/forums/topic/build-kernel-for-bbb/ Sep 16 11:29:05 now can anyone help on how to upgrade my board to 3.14 kernel Sep 16 11:32:41 kernel workflow is explained on the angstrom homepage Sep 16 11:35:52 Is it possible to add libraries like boost when generating meta-toolchain-arago-tisdk from AMSDK? I can't seem to get it to work when just adding the package to IMAGE_INSTALL += Sep 16 11:44:58 ragbal toolchain is not image Sep 16 11:47:54 woglinde, I understand, but when I have the boost libraries in my image I also want them in the toolchain Sep 16 11:48:24 RagBal hm okay use a task for this Sep 16 11:50:31 woglinde, I just found out that I need to add the package to TOOLCHAIN_TARGET_TASK Sep 16 11:51:10 as I said Sep 16 11:51:55 Thnx =) Sep 16 12:06:00 Hi, I'm having "problems" with my hdmi on BBB running wheezy with kernel 3.8.13. Sep 16 12:06:43 Sometimes my monitor (at them moment a DVI with HDMI adapter) gets no signal on boot and stays off Sep 16 12:07:22 before I had an HDMI monitor (very cheap one) attatched which hat this problem more often Sep 16 12:08:31 right now It booted well, displayed my (QT) UI, but now the monitor does show no picture and goes to standby as there is no signal Sep 16 12:08:53 it's like the screensaver turned on and disabled hdmi output. Sep 16 12:09:52 how can I check whats gion on? serial debug console runs, top says my program runs, and even when i use x11vns I can see my UI, but the monitos is off Sep 16 12:10:04 anyone had similar problems? Sep 16 12:13:42 here is my output from dmesg: http://pastebin.com/vR1bjwmc Sep 16 13:24:56 BennyB did you examine the Xorg.log? Sep 16 13:28:34 how to do that? Sep 16 13:29:54 I have no X window service running the gui comes from Qt Sep 16 13:39:05 bennyb ah okay framebuffer stuff Sep 16 13:39:07 sorry Sep 16 13:39:10 hm Sep 16 13:39:12 fbset maybee Sep 16 13:39:18 or fbinfo Sep 16 13:40:18 hm, fbset tells me mode 1280x1024 ... this in deed is the resolution from my monitor Sep 16 13:40:52 hm is there no option that it says connected or something like xrandr does? Sep 16 13:41:04 even after a reboot and unplugging and replugging it is off Sep 16 13:41:26 bennyb maybe the kernel log has something more too Sep 16 13:41:39 or you need to set the debug log for the framebuffer kernel stuff Sep 16 13:41:44 but I have to go now Sep 16 13:41:50 till later maybe Sep 16 13:42:34 me too, my dentist is waiting for me .... *ouch* Sep 16 14:30:02 hi Sep 16 14:30:40 i have doubt on my evm Sep 16 14:30:43 Dear Biser, I am working with AM3359 Starter kit which is running with default Linux SD-CARD have provided by TI. Now I am trying to boot another uBuntu Linux porting under AM3359 Starter kit. I have partitioned 4GB sdcard in to boot(65MB) & rootfs(Rest of the space) and copied the ubuntu source from this link: http://www.fazzi.eng.br/2014/06/ubuntu-1210-for-am335x-update-v5.html I extracted and copied all the boot and rootfs fi Sep 16 14:35:13 hi Sep 16 14:37:35 i am facing issue using am3359 starter kit using ubuntu Sep 16 14:37:53 francis_: well, this channel is about the beagleboard family. Sep 16 14:38:05 francis_: i doubt that you will see much support here. Sep 16 14:38:42 it is same as beagle board Sep 16 14:38:51 am3359 starter kit model Sep 16 14:39:02 not agreed. Sep 16 14:39:15 if it was the same, then you could just use the BBB images. Sep 16 14:39:56 if the BBB images don't work, then its not the same. Sep 16 14:56:30 wow, the only hardware listed on minix release page is bb family : http://www.minix3.org/330.html Sep 16 15:00:55 lads, how do i build a debian release for bbb from source? any tutorials anywhere? I built Angstrom before from their sources but there is no help w.r.t Debian Sep 16 15:02:12 anyone built debian from Sources before? Sep 16 15:02:48 nobody? Sep 16 15:03:17 fakas Sep 16 15:03:32 not me Sep 16 15:03:35 not me Sep 16 15:03:38 also, why? Sep 16 15:07:29 anyone built debian from scratch for bbb ? i want to make a stripped down version of debian without any GUI and other devlibs like opencv gstreamer etc... Sep 16 15:08:29 there are non console versions available already Sep 16 15:12:12 err, not not console.... console only Sep 16 15:13:15 seven__: take a look at the rcnelson's images, they come without X at all Sep 16 15:15:36 i need to strip it to the core , just keep kernel and totally basic services...keeping a foor Sep 16 15:15:59 keeping a footprint of less than 200MB. Sep 16 15:16:34 debian is actually not really meant for being rebuilt from source. Sep 16 15:17:12 if you think you need debian and go even smaller, look at the emdebian project, and the embedded debian stuff by linutronix Sep 16 15:18:34 if on the other hand you insist on building from source, you will need to use a system thats meant for that (anything oe-based, for example) Sep 16 15:19:11 i am working on a project that is tried and testen on debian. I dont mind using Angstrom but then i have to rebuild all the packages there which is failing for multiple reasons. My solution works on a desktop release of debian. Now i am happy with that, but what comes in the stock image of debian is unnecessary so i want to get rid of all that extra stuff that it comes shipped in, specially all the dev libraries and the UI. Sep 16 15:19:52 I need to build it for beaglebone black. currently following "https://github.com/beagleboard/image-builder/blob/master/beagleboard.org_image.sh" am i on the right path? Sep 16 15:20:11 seven__: like already said: there is the console only image. there are various attempts available to go even smaller. but debian does not recompile easily ;) Sep 16 15:20:48 http://elinux.org/Beagleboard:BeagleBoneBlack_Debian#Debian_Image_Testing_Snapshots Sep 16 15:20:51 -> console images Sep 16 15:24:36 seven__: i have a software with very similar requirements, i use the console images and just made a script to remove the unnecessary packages, services and files that i don't need. the footprint is not as low as 200M, but i'm pretty ok, YMMV Sep 16 15:31:26 ok, i'l get the console image and try. :) thanks guys. Sep 16 15:37:16 i extracted the console image, its coming to around 1.7GB. Now is tht the final size of the full OS???? Sep 16 15:38:59 seven__: image != filesystem != filesystem contents. Sep 16 15:40:04 thanks Sep 16 15:44:27 I have a BBB, and recently received a USB audio device (Focusrite Scarlett 2i2). When I plug the 2i2 into a powered USB hub, and then into the BBB, the USB power light doesn't come on the 2i2. I can use the same hub and plug it into my PC and it works fine...any ideas here? Even plugging the 2i2 directly into the BBB yields the same results. No log entries that I can find when plugging the device. Sep 16 15:45:16 lns: well usb+bbb can be very, very picky and frustrating Sep 16 15:46:24 LetoThe2nd, =( I was very much hoping to tackle usb audio under BBB, is there anything I can do to try to work around this? Sep 16 15:46:38 seven__: if you want a small Debian installation, start with debootstrap (which you can do from a faster machine using qemu) -- that'll give you a minimal system and you can install what you want Sep 16 15:47:22 https://wiki.ubuntu.com/ARM/RootfsFromScratch/QemuDebootstrap is a reasonable overview Sep 16 15:47:43 lns: not from my side, i have no experience there. but the reports in this channel hav been very mixed, from "does not work at all" over "works when plugged in on boot" to "works as intended". Sep 16 15:50:49 well that's gonna eliminate the BBB from being the device that I use for my project then! ty for the info LetoThe2nd Sep 16 15:51:06 YW Sep 16 15:51:13 Interesting that the 2i2 experiences this problem but my Tascam US-100 USB Audio interface, which is very similar, works ootb Sep 16 15:51:43 you might dig deeper in comparing which drivers they use and usb class, maybe theres just a module missing. Sep 16 15:51:53 (and their power consumption) Sep 16 15:52:04 but no guarantees. Sep 16 15:52:53 LetoThe2nd, yeah - I confirmed that the 2i2 works under debian jesse (amd64) on my desktop, but yeah - obviously a different kernel will yield different results Sep 16 16:04:07 hmm, so g_multi is only showing /dev/ttyACM0 , no /dev/ttyGS0, so I can't screen into the console. Any suggestions? Sep 16 16:05:56 micr0: how recent is your image? At least all the Debian images should have a terminal on the port. Sep 16 16:06:10 micr0: did you press ? Sep 16 16:06:20 did you use I think 115200 as the baud? Sep 16 16:06:21 micr0: ACM0 is on the PC side and GS0 on the slave side usually Sep 16 16:06:26 jkridner: screen /dev/ttyACM0 115200 Sep 16 16:06:31 exits immediately Sep 16 16:06:48 g_multi is working on my host, as I can mount /dev/sdb /mnt/beaglebone fine Sep 16 16:07:02 I haven't tried ethernet over USB yet from my host, as I have no idea how I would do that Sep 16 16:07:10 maybe set dnsmaq to run as a dhcp server on my laptop? Sep 16 16:07:26 what does ifconfig say? Sep 16 16:07:27 IIRC it comes up with a fixed address Sep 16 16:07:57 it should come up fixed to 192.168.7.2 and give the new adapter on your computer the address 192.168.7.1 Sep 16 16:07:59 ohh I needed sudo permissions, for screen /dev/ttyACM0 works now :) Sep 16 16:08:07 so, ssh root@192.168.7.2 should work fine. Sep 16 16:08:22 micr0: there you go. Sep 16 16:08:46 micr0: depending on your distribution adding yourself to a group like "modem" would work too (after you log out and in again) Sep 16 16:09:05 a ls -la /dev/ttyACM0 would tell you Sep 16 16:09:07 well I don't have any interface on the host side with an ip address in 192.168.*.* Sep 16 16:09:26 tbr: root/dialout. Time to add me to the dialout group Sep 16 16:09:35 yarr Sep 16 16:09:37 from the beaglebone side, usb0 is .7.2 Sep 16 16:09:48 try "ifconfig -a" Sep 16 16:10:08 the interface might have appeared as usb0 or ethX Sep 16 16:10:29 you might need to configure it manually or just start a dhclient on it or something Sep 16 16:15:42 Hi I have beaglebone black and I want to use it as a gateway in my wireless network, which will be up for 24hrs a day for about a month atlease. Sep 16 16:15:58 So how reliable performance will it give?? Sep 16 16:16:08 tbr: ip a shows nothing new, i'll check dmesg Sep 16 16:17:04 vinu: I personally would not use the BBB as an wireless access point or router Sep 16 16:17:29 Could you please elaborate why?? Sep 16 16:20:57 please suggest me why should I not use BBB as gateway or router Sep 16 16:22:37 I used a BBB as my home router quite happily for several months with the 3.8 kernel... Sep 16 16:23:31 (I did try a mainline kernel on it, but couldn't get it to run without rebooting every couple of days -- however, I didn't try very hard to debug that, since 3.8 worked fine...) Sep 16 16:26:20 I'd be concerned about the USB stability Sep 16 16:27:11 I should note that I wasn't using USB, then (routing between VLANs) Sep 16 16:28:27 oh. Sep 16 16:28:40 I just created a debian armel system with an armhf kernel. Sep 16 16:28:43 I wonder if that boots. Sep 16 16:28:52 sudo sync Sep 16 16:28:54 whoops Sep 16 16:30:37 it's certainly *trying* to boot, lol Sep 16 16:30:43 and it's up Sep 16 16:30:56 but with a very short boot Sep 16 16:30:58 weeeeird Sep 16 16:31:47 mm, the serial terminal just came up very early apparently Sep 16 16:37:09 what is your concern about usb stability?? Sep 16 16:43:39 vinu: the lack of it Sep 16 16:43:57 lack of it?? Sep 16 16:44:00 atsampso1: ok, between VLANs might work pretty well. Sep 16 16:44:07 * lns waves to tbr =) Sep 16 16:44:26 lack of what?? Sep 16 16:44:27 lns: ~o~ Sep 16 16:44:41 > what is your concern about usb stability?? > vinu: the lack of it Sep 16 16:45:46 vinu, for instance, my new USB audio device isn't powering up with BBB, even when connected via powered USB hub Sep 16 16:47:01 other devices seem sporadic in their stability as well. For example, USB wifi adapter experiences ~3-15% packet loss when pinging my gateway, whereas ethernet connection experiences 0% loss. Not a signal quality issue either as my gateway is in the same room Sep 16 16:50:58 but I have zigbee pro adapter connected to BBB using USB and which will only receive from around 10 nodes and put data on USB for BBB to read on USB Sep 16 16:51:51 Traffic is managed by zigbeepro adapter so BBB has to just receive data every 5 mins on USB and just send one HTTP request over network Sep 16 16:52:28 try and find out Sep 16 17:23:28 does anyone have a .dts (device tree source) file for debian 3.8.13-bone64 for the beaglebone black that allows all the P8 and P9 signals to be used by a custom cape which does not have a cape EEPROM? Sep 16 18:00:31 gurki: IT LIIIIVES *mad laughter* Sep 16 18:01:44 gurki: so I set up an armel debian, with an armhf kernel, and installed all the fancy libs I needed for that armel binary (libgtk and stuff like that), and then added libc6:armhf which installs without conflicts Sep 16 18:10:30 does anyone have a .dts (device tree source) file for debian 3.8.13-bone64 for the beaglebone black that allows all the P8 and P9 signals to be used by a custom cape which does not have a cape EEPROM? Sep 16 18:16:38 yates: like cape-universal? Sep 16 18:17:01 yates: See https://github.com/cdsteinkuehler/beaglebone-universal-io Sep 16 18:17:17 jkridner: i'll have a look - thanks much! Sep 16 18:17:26 honestly: that works? Sep 16 18:21:38 jkridner: can't you tell by the mad laughter? Sep 16 18:21:46 :-) Sep 16 18:22:15 honestly: you doing multilib support work or just having fun? Sep 16 18:22:41 sooo I'm setting up a BBxM image for students in a lab course Sep 16 18:22:59 they'll use the Arm DS-5 Studio Sep 16 18:23:15 and one of the sample apps there is a precompiled gnometris Sep 16 18:23:23 precompiled for armel Sep 16 18:23:31 but of course I want them to be able to use hardfloat Sep 16 18:23:34 so yeah Sep 16 18:23:39 "doing multilib support work" Sep 16 18:25:23 where is there info on why c24 is the register used in PRU asm examples when calling SCBO? (ex: SBCO r4, c24, 0, 4) Sep 16 18:31:45 micr0: it could be by definition of SCB0, i.e., c24 is the register used to pass a parameter. Sep 16 18:32:57 I want to be able to compile my applications on host using cross-compile andI wonder i anyone fo you has a guide on how to setup an environment for the beaglebone black on host? Im thinking that I need to use some form of chroot/debootstrap and tounpack the .img file into that place tobe able to link against necesary libs? Makes sense? Sep 16 18:34:28 Sorry for spelling, I have such terrible input lag on my keyboard at the moment. Sep 16 18:35:15 micr0: can you pastebin the asm code, or provide a pointer? Sep 16 18:39:50 mantler .. you're making it complicated .. all you need is a toolchain .. what distro do you use? Sep 16 18:42:00 veremit, debian. Sep 16 18:42:49 veremit, I installed the toolchain.But what if I need to link against for example pthread? Isn't pthread arm version required? Sep 16 18:50:34 you'll need to build it .. but your toolchain should handle that Sep 16 18:53:45 honestly: would be great to see the write-up you make in the end. Sep 16 18:54:58 jkridner: mm, lessee Sep 16 19:02:26 veremit, so I installed the arm-none-eabi-gcc on debian.Do you think that will handle the building of necesary libs when I build my app? Sep 16 19:03:00 mantler .. not entirely, but it will tell you what you need :) Sep 16 19:04:17 veremit, OK. Good, thanks! Sep 16 19:06:34 veremit, yeah, it told me lots of /usr/lib/gcc/arm-none-eabi/4.8/../../../arm-none-eabi/lib/libc.a(lib_a-exit.o): In function `exit': Sep 16 19:06:34 /home/tin/projects/debian/arm-toolchain/collab-maint/newlib/build/arm-none-eabi/newlib/libc/stdlib/../../../../../newlib/libc/stdlib/exit.c:70: undefined reference to `_exit' Sep 16 19:06:37 :) Sep 16 19:07:59 mantler: use the build system of your embedded distribution Sep 16 19:08:08 Juts needed to add a -specs=nosys.specs Sep 16 19:08:09 mantler: anything else will be a lot of work with very little benefit Sep 16 19:08:52 KotH, But do you mean that I should build on target? Sep 16 19:09:01 mantler: no Sep 16 19:09:14 mantler: i dont promote unethical builds ;) Sep 16 19:09:23 KotH, :) Sep 16 19:10:14 KotH, And how do I get my embedded dist build system on host? I am running debian on host and on target. Sep 16 19:10:21 mantler: but, if you want to build an application for your embedded system, you will need to compile against some libraries. your buildsystem takes care of this. getting the correct libraries linked against your code by hand is a waste of time imho Sep 16 19:10:44 there should be some documentation how debian builds its stuff Sep 16 19:10:46 use that Sep 16 19:10:54 i doubt they do native builds ;) Sep 16 19:11:00 KotH, Ok. I will look into it. Sep 16 19:38:55 how do I tell my linux laptop to share internet through its ethernet port to the beaglebone? Sep 16 19:39:12 (i'm on systemd and have no idea how systemd / the ip tools work) Sep 16 19:54:42 you'll need to do something called 'Masquerading' using iptables. Sep 16 19:55:52 ahh cool veremit Sep 16 19:55:57 i'll read about that Sep 16 19:58:37 honestly: yaaay :) Sep 16 20:55:27 micr0: you can also use firestarter to help in the process Sep 16 21:05:10 why am i getting "X11 forwarding request failed on channel 0" when i ssh -YC in? Sep 16 21:05:31 this is the console non-flash debian 3.8.13-bone64 version Sep 16 21:06:57 did you install xserver-xorg Sep 16 21:07:24 because if not that'd be why Sep 16 21:08:38 honestly: i am ssh-ing in from my desktop, which has an xserver. why do i need xserver-xorg on the bbb? Sep 16 21:09:00 because X forwarding doesn't work without an X server. Sep 16 21:09:46 there isn't anything to forward if there isn't a running X11 on the beagle board. Sep 16 21:09:53 i didn't know that. Sep 16 21:10:07 honestly: that's not true. Sep 16 21:10:20 jkridner: since when? Sep 16 21:10:23 oh... Sep 16 21:10:40 only the client needs to be running an X11 server... Sep 16 21:10:44 huh? Sep 16 21:10:50 yeah, huh? Sep 16 21:10:50 the BeagleBone does not... Sep 16 21:10:56 of course it does. Sep 16 21:11:01 of course it does not. Sep 16 21:11:12 does - does not - does - does not..... Sep 16 21:11:32 * yates glances back and forth rapidly, awaiting a winner Sep 16 21:11:37 an X11 server is a DISPLAY.... an application merely sends the information to the server to be rendered. Sep 16 21:12:02 okay. Sep 16 21:12:11 xauth needs to be installed on the client. Sep 16 21:12:11 jkridner: so why am i getting that error, and why doesn't my bbb emacs display in x11 mode instead of terminal mode? Sep 16 21:14:12 yates: likely it is a lack of xauth. http://unix.stackexchange.com/questions/111519/ssh-returns-message-x11-forwarding-request-failed-on-channel-1 Sep 16 21:15:18 Note dependencies don't include the actual server, just the libraries: https://packages.debian.org/wheezy/xauth Sep 16 21:18:14 * jkridner is still looking for a place on the web that says explicitly what I know from experience. Sep 16 21:18:20 http://en.wikipedia.org/wiki/X_Window_System#Client.E2.80.93server_separation isn't all that helpful Sep 16 21:18:50 the german debian wiki does :P Sep 16 21:18:58 well Sep 16 21:19:03 *a* german debian wiki Sep 16 21:20:29 anyway, you just need the client libs, not the server. Been doing that for years with BeagleBoards/BeagleBones, though I usually do end up installing a server at least over VNC. Sep 16 21:20:41 Have done it without though. Sep 16 21:20:48 this channel rocks - thanks! Sep 16 21:22:28 freebsd answer: http://lists.freebsd.org/pipermail/freebsd-questions/2013-July/252006.html :-( Sep 16 21:22:39 yates: so, you did it w/o installing an X server, right? Sep 16 21:22:46 so, we can put that to bed? :-) Sep 16 21:23:37 well, it's not quite done, but yes, all i've done so far is install xauth and its dependency, libxmuu1 Sep 16 21:24:20 hmm, yes it IS working Sep 16 21:25:32 hi guys, i'm having a massive brainfart. I can't seem t remember how to flash/boot from a uSD card on my BBB Sep 16 21:25:58 hold boot button?! Sep 16 21:26:13 tawr: it's in the system reference manual Sep 16 21:26:23 (is there a bot to spit such things out here?) Sep 16 21:26:28 i'm aware, i've tried about 10x now Sep 16 21:26:28 at beagleboard.org Sep 16 21:26:36 i hold S2 (boot) Sep 16 21:26:38 then apply power Sep 16 21:26:54 either by barrel jack or usb, the power light comes on, no other leds light and nothing happens Sep 16 21:27:04 as i rememver you have to hold it for a long time, like 45 seconds or more Sep 16 21:27:16 does it work with the eMMC .. otherwise you have a dead beagle Sep 16 21:27:29 yes veremit it boots and functions just fine Sep 16 21:27:34 yates: stupid BeagleBot only takes notes right now, but patches accepted for his code at http://github.com/beagleboard/beagleboard-org Sep 16 21:27:37 ok your uSD is bad then Sep 16 21:27:39 i had flashed it to debian when I first got it Sep 16 21:27:47 you only have to hold it for about 5 seconds, long enough to start the flasher Sep 16 21:27:52 and i had usd mounted as spare storage for my webserver Sep 16 21:28:01 so the micro sd card works just fine Sep 16 21:28:07 if you hook up a serial debug lead .. I suspect it'll come up with CCCCCCCC to indicate it cannot read the card. Sep 16 21:28:19 bborg_builds bot only knows how to tell you about the autobuilder. Sep 16 21:28:25 i just am trying to flash ubuntu and am using their automatic script to setup the sd card Sep 16 21:28:30 sorry, not flash. boot. Sep 16 21:28:58 I can recommend the instructions at eewiki.net :) Sep 16 21:29:03 http://elinux.org/BeagleBoardUbuntu#Trusty_14.04 Sep 16 21:30:06 md5 matched, used their script to build this usd card.. same card used to originally flash debian as well Sep 16 21:30:30 how are you md5'in the card? Sep 16 21:30:46 the image may be fine, but what's written to the card still may not match ;) Sep 16 21:30:56 hmm i suppose Sep 16 21:31:26 i dont see how the image could be corrupted, this is a new usd card that flashed the board originally about 30 days ago Sep 16 21:31:48 could just be a glitch in writing Sep 16 21:32:06 it does take a long time often to complete writing uSD cards Sep 16 21:32:18 pretty rare, but it does happen Sep 16 21:32:19 i've tried 3 different images, including the emmc 'dumper' Sep 16 21:32:43 to save the emmc to img, so i could have a backup of debian all setup incase i dont like ubuntu, same problem trying to boot the sd card Sep 16 21:32:57 hmm strange Sep 16 21:33:01 everything works fine including the bbb reading/seeing/mounting/writing to the sd card Sep 16 21:33:11 but when i hold boot to boot it.. i just get a power light and no other leds :/ Sep 16 21:34:27 I'd recommend a serial debug and see if anything comes up Sep 16 21:34:49 next question, i do not have a 3.3 ftdi. i do have a bunch of arduinos (all 5v) Sep 16 21:35:08 can i use one of those without a level shifter? Sep 16 21:36:04 tawr are you holding the button near the sd, or the one near the mini usb port? Sep 16 21:36:42 thurgood, by the sd card (S2) Sep 16 21:36:58 'k just making sure :) Sep 16 21:37:01 damn Sep 16 21:37:03 you got my hopes up Sep 16 21:37:05 hi. I'm running ubuntu on my BBB and I get this message multiple times per second in dmesg Sep 16 21:37:24 [ 79.538963] Loading kernel module for a network device with CAP_SYS_MODULE (deprecated). Use CAP_NET_ADMIN and alias netdev- instead. Sep 16 21:37:44 kernel just updated Sep 16 21:37:45 actually Sep 16 21:37:48 i just thought of something veremit Sep 16 21:37:51 and udev also just got an update Sep 16 21:38:01 the only thing that has changed is i cut a lexan baseplate and mounted the BBB on insulated standoffs Sep 16 21:38:12 3.8.13-bone65 Sep 16 21:38:21 i suppose it's possible one of them is shorting something out with the screw.. yet somehow does not affect anything else. Sep 16 21:38:40 possibly worth eliminating the possibility ... Sep 16 21:38:46 http://i.imgur.com/5yGjlVr.jpg Sep 16 21:45:22 I just flashed ubuntu 14.04 to the eMMC, can I expand the memory to use the sd card as well? Sep 16 21:47:14 jkridner: i'm trying to run the example you pointed me to, https://github.com/cdsteinkuehler/beaglebone-universal-io Sep 16 21:47:42 kamileon: you could mount the sd under the emmc's filesystem, but you can't actually merge two filesystems like that Sep 16 21:48:10 but when i "echo cape-universal > /sys/devices/bone_capemgr.9/slots" i get "echo: write error: File exists" Sep 16 21:48:24 Can't get a service file to run on bootup using systemd, also tried the .sh way, anyone had similar problems? Sep 16 21:49:16 indeed there is a "slots" file there Sep 16 21:51:42 thurgood: thanks, thats what i thought but wanted to make sure there were no other options Sep 16 21:52:52 or you can undo the crap the Ubuntu and other distros do Sep 16 21:52:57 then just xhost + and test away Sep 16 21:53:18 insecure, sure...but this is assuming you have a closed and controlled environment Sep 16 21:57:53 jkridner: the existing slots: http://paste.debian.net/121364/ Sep 16 21:58:38 yates: try 'cape-universaln' Sep 16 21:59:14 yes! Sep 16 21:59:20 cape-universal conflicts with the HDMI audio, but cape-universaln will work with it. Sep 16 22:03:02 i found a video of my problem veremit -- https://www.youtube.com/watch?v=-UuNNiwHWFU what happened during the first 'attempt' in this video Sep 16 22:04:46 jkridner: so the kernel signals a problem (conflict) by returning the write file error? Sep 16 22:05:32 yates: potentially, yes. Sep 16 22:06:38 tawr .. I've actually had a bricked beagle that does that without the sd or eemmc booting .. I know what you're talking about. Sep 16 22:07:17 ffs Sep 16 22:07:20 no Sep 16 22:07:22 i just fixed it Sep 16 22:07:29 what was wrong, then?! Sep 16 22:07:30 i used a screwdriver and pushed the hell out of the button Sep 16 22:07:35 haha nice Sep 16 22:07:38 like 10 pounds on the button Sep 16 22:07:41 it clicks easily Sep 16 22:07:43 by finger Sep 16 22:07:50 they're pretty evil buttons tbh Sep 16 22:07:54 but i just pushed very hard Sep 16 22:07:59 and it booted lol Sep 16 22:08:02 ffs Sep 16 22:08:26 haha Sep 16 22:08:39 oh well .. you've sorted .. so thats good :D Sep 16 22:09:18 yeah Sep 16 22:09:22 i cannot believe this was the problem Sep 16 22:11:32 improbable huh!? :) Sep 16 22:11:49 the good news is i'm going ahead and dumping the emmc image of debian that's all setup and ready to go, before i install ubuntu (which is what i wanted to do in the first place..) Sep 16 22:13:03 at least we know for future reference, the judicious use of absurd amounts of force are necessary. put it right under "Percussive Maintenance" Sep 16 22:13:07 which is where I was headed Sep 16 22:13:07 jkridner: that did not change the mmc1 pinmuxing. i thought that's what the cape-univ-emmc-00A0.dts is for, but echo cape-univ-emmc > /sys/devices/bone_capemgr.*/slots gave me another "write error: File exists" Sep 16 22:13:37 yates: the flash uses the mmc1 interface on the pins. Sep 16 22:13:45 you have to disable the on-board flash to recover those pins. Sep 16 22:14:04 is there a jumper on the board for that? Sep 16 22:14:56 and how much do i owe you? Sep 16 22:15:04 you've saved my ass, jkridner Sep 16 22:15:32 yates: no jumper, but you have to run off of the external uSD card and adjust the boot parameters. Sep 16 22:17:50 jkridner: also i'm a little confused: does the "echo" technique only configure for that boot session? in other words, does a reboot reset everything? if so, then how do you get it to "stick" over reboots? Sep 16 22:18:20 just configure an init script or somesuch? Sep 16 22:19:10 add cape_disable=capemgr.disable_partno=BB-BONE-EMMC-2G to the uenv.txt file on the uSD card Sep 16 22:19:24 That is "cape_disable=capemgr.disable_partno=BB-BONE-EMMC-2G" on one line by itself Sep 16 22:20:16 you mean the /boot/uEnv.txt file? Sep 16 22:23:44 also, i need to access all the LCD_ lines on P8 as well, e.g., pins 27-46. is that possible? Sep 16 22:25:22 ignore that LCD statement - i have to double-check. Sep 16 22:34:08 I wonder if precussively maintained BBB's are covered in the warantee ;) Sep 16 23:18:02 jkridner: ps: thanks for all the great info. Sep 16 23:18:02 precussive: Word not found... Sep 17 00:08:02 my 3.8.13-bone64 /boot/uEnv.txt uses syntax "cape_[enable | disable]=capemgr.[enable | disable]_partno=...", but this howto uses a more simple "capemgr.[enable | disable]_partno=...". which one is correct? https://www.google.com/url?sa=t&rct=j&q=&esrc=s&source=web&cd=4&cad=rja&uact=8&ved=0CDsQFjAD&url=https%3A%2F%2Flearn.adafruit.com%2Fdownloads%2Fpdf%2Fintroduction-to-the-beaglebone-black-device-tree.pdf&ei=m9AYVKO Sep 17 00:08:02 THcLCsATXn4LYCA&usg=AFQjCNGipVqpjh5JgGFoyAoxDc-N9vocIg&sig2=P2VTIoENpp2TzehvbxhrRw Sep 17 00:08:33 this one: https://learn.adafruit.com/downloads/pdf/introduction-to-the-beaglebone-black-device-tree.pdf Sep 17 00:11:57 jkridner: ? Sep 17 00:12:27 Did you look at the existing uEnv.txt file? Sep 17 00:15:57 yes. i just wondered why they differed. Sep 17 00:18:46 jkridner: also, the "part-number" specification for the cape-universal and cape-universaln are the same, so how do you specify the "n" version in the uEnv.txt? Sep 17 00:18:47 not always one way to skin a cat Sep 17 00:19:24 isn't it the "part-number" syntax in the .dts file that should be specified in uEnv.txt? Sep 17 00:19:36 the part-number property, that is. Sep 17 00:19:57 they're both "cape-bone-universal" Sep 17 00:21:17 (i'm referring to the last section on p.11 of that .pdf) Sep 17 00:21:17 jkridner: would it be a bad idea for a speech recogonition system on a Beagle to be referred to as Boris? Sep 17 00:23:43 ds2: what engine are you using? i was working on a pocketsphinx earlier this year. Sep 17 00:24:21 yates: either that or there are some simplier ones setup for audriuno stuff Sep 17 00:24:44 yeah, i'd go with something else. i found the pocketsphinx code to be... horrendous. Sep 17 00:24:54 the code or the accuracy? Sep 17 00:25:02 the design of the code. Sep 17 00:25:16 ah. trying to avoid screwing with the code if I can help it Sep 17 00:25:43 I have it running but the accuracy leaves a lot to be desired... current theory is the audio hardware (the ADCs) are incredibly noisy Sep 17 00:27:54 thurgood: any thoughts on the part-number question? Sep 17 00:28:17 shouldn't different dts file use unique part-number's? Sep 17 00:29:28 nope, havne't used any capes yet Sep 17 00:35:43 * yates thinks he's wearing out his welcome with jkridner Sep 17 00:36:01 yates: he gets yanked off for random stuff a lot Sep 17 00:36:17 i can see why Sep 17 00:36:25 not just IRC Sep 17 00:36:40 wasn't he at TI for many years? Sep 17 00:36:49 or is he still? Sep 17 00:36:52 he still is Sep 17 00:37:25 i was there for a contract about 3 years ago. saw templeton in the lunch room.. pretty wild gig. Sep 17 00:38:27 of course there are many TI sites... Sep 17 00:39:00 and many arms Sep 17 00:39:10 ha ha. was that a pun? Sep 17 00:39:32 a pun but not in the way you are thinking of ;) Sep 17 00:40:26 well this part-number thing has got me confounded: the cape-univ-emmc dts file also has the same part number. Sep 17 00:40:56 i'm wondering if these are errors in the file definitions, or on purpose. Sep 17 00:41:33 referring to this, btw: https://github.com/cdsteinkuehler/beaglebone-universal-io Sep 17 00:44:51 not much help here... i don't do things that way Sep 17 00:44:55 wups. that pdf is for angstrom. shoot! Sep 17 00:45:48 this device tree stuff is a problem. umpteen different documents, each having inconsistencies, for two different OSes... Sep 17 00:46:22 someone needs to define the device tree "bible" Sep 17 00:47:26 jkridner: if you could PLEASE provide some guidance on my last few questions, going back to 20:18 (EST), i would appreciate it. Sep 17 00:48:29 DT/arm is a work in progress Sep 17 00:49:55 that's for sure. Sep 17 00:52:25 what are you trying to do again? Sep 17 02:20:06 ds2: i am trying to recover control of many of the signals on P8 from OS control Sep 17 02:20:13 e.g., MMC1 Sep 17 02:20:31 my cape uses them for other functions Sep 17 02:23:38 is there a preferred usb hub to use with the BBB **** ENDING LOGGING AT Wed Sep 17 02:59:58 2014