**** BEGIN LOGGING AT Sun Jul 05 02:59:58 2015 Jul 05 03:59:06 I'm having issues with Debian on my BeagleBone Black. I'm trying to natively build a C++ application, but it does require c++11. GCC 4.6 doesn't seem to support c++11, but it looks like it's the most up to date gcc for the BBB. Help? Jul 05 05:04:05 Cherokee7700: looks like you need gcc >= 4.8.1 Jul 05 05:04:42 Cherokee7700: what distribution are you running on your BBB? Jul 05 05:04:47 tbr yeah, thought it looks like quite a bit is outdated on my BBB.. I did an apt-get upgrade and it didn't really help Jul 05 05:04:55 I'm running the Debian release, the latest one Jul 05 05:05:48 you're running a wheezy image Jul 05 05:06:27 Yeah Jul 05 05:06:30 IT is Wheezy Jul 05 05:06:34 either install a jessie image or rebuild the source package from jessie Jul 05 05:07:18 http://elinux.org/Beagleboard:BeagleBoneBlack_Debian#Jessie_Snapshot_lxqt Jul 05 05:07:20 ? Jul 05 05:08:19 yeah, one of those Jul 05 05:08:28 Awesome. I'll do that Jul 05 05:08:46 Thanks :) Jul 05 05:09:01 jessie has 4.9.2 Jul 05 05:09:33 Also, my main goal is to cross compile Apache thrift... Do you have any experience with cross compiling random c++ projects for arm-linux? Is there some general boilerplate way to do it? Jul 05 05:23:27 no idea Jul 05 08:53:58 hi all. has anybody some experiences with replacing the udhcpd on the bbb debian distro? Jul 05 08:54:06 I am setting up a wifi ap Jul 05 08:54:24 the ac is already running, but I dont get any IP Jul 05 08:54:45 since udhcp only supports one interface for serving dhcp :( Jul 05 12:02:11 I have a stupid question - when I have 3 megabyte data and I want to transfer it via wifi, How can i calculate my needed bandwidth? Jul 05 12:03:25 depends on how long this should take Jul 05 12:04:15 if its one second its 24 mbit/s Jul 05 12:04:17 right? Jul 05 12:05:31 not counting your protocol overhead Jul 05 12:05:41 which can be anywhere from 10-100% Jul 05 12:05:43 should this be included or not? Jul 05 12:06:49 is it like the calculations of throughput, where you consider csma time but use gross bandwidth? Jul 05 12:24:34 tbr: care to give me a feedback on this: https://gitlab.com/nivwiz/cwvw Jul 05 13:11:59 sla89: look at iftop Jul 05 13:13:15 Humpelst1lzchen: thanks :) Jul 05 13:45:41 hi all Jul 05 13:46:06 hi Jul 05 13:46:32 i m designing an architecture for one baby-product Jul 05 13:47:30 its basically an audio box, with an app which can have a wireless interface with song streaming capabilities Jul 05 13:48:21 what features should i look for while selecting a processor? any high-end low cost audio processor or soc for the project? Jul 05 15:06:36 Guest55311: esp8266 can stream mp3 Jul 05 15:07:01 First you work out a feature list that you desire, and assign how much you're willing to pay for each feature or group of features. Jul 05 15:07:08 Now you work out how many you want to mske. Jul 05 15:07:42 Then you look at available processors and the whole-board cost. Jul 05 15:10:43 http://www.mauve.plus.com/opensourcehw.txt is also somewhat relevant for complex designs - though if area and weight is not a concern, a lot of the issues raised are lots less bad Jul 05 18:16:58 Is anybody know how can make my USB sound card as a default sound card? Jul 05 21:12:33 Has anyone tried to put a swap partition on a flash drive with a BBB? Jul 05 21:12:40 (And debian) Jul 05 21:17:02 I see no reason it would not work. Jul 05 21:17:12 THough USB is not generally a good idea on the bone. Jul 05 21:23:12 No it's not Jul 05 21:23:26 I'm just trying to jank rig something to work once Jul 05 21:29:33 LOL. 7MB/s write speed. Woooow. Jul 05 23:17:09 Can anyone point me towards a definitive resource for configuring the udev.txt for the BBB? Jul 05 23:19:41 uEnv you mean ? Jul 05 23:19:51 sorry yes Jul 05 23:20:44 also, which one? /uEnv.txt or /boot/uEnv.txt ? :P Jul 05 23:21:12 the whole setup with u-boot and its boot scripts is really a mess Jul 05 23:22:20 I've been trying to wrap my head around how to sanely mount the microsd automatically to arbitrary file location at boot Jul 05 23:22:43 I found some blog posts/forum post that desribe how Jul 05 23:23:00 but then I wanted to know more about uenv configuration Jul 05 23:23:07 so I would know what I messing with Jul 05 23:23:16 hold on Jul 05 23:23:19 but I can't find a canonical source of information about it Jul 05 23:23:43 foundatron: http://elinux.org/Beagleboard:MicroSD_As_Extra_Storage Jul 05 23:24:25 those instructions are old and reference Angstrom, but will provide the gist of what you need to do Jul 05 23:24:29 I saw this, that file is on the micosd card correct? Jul 05 23:24:41 not the emmc Jul 05 23:26:03 and I didn't get from that page how i would get it to mount to some specified path, like /media/mysdcard Jul 05 23:26:25 which is when i wanted to know more about uenv settings in general Jul 05 23:29:14 I do appreciate the think, but I guess I'm trying to both solve my immediate problem and figure out how the drive mounting works with beaglebone Jul 05 23:38:36 foundatron: if it's of any use: http://gerbil.xs4all.nl/uenv.sh.txt Jul 05 23:38:54 this is basically what's in the current u-boot's built-in environment rules Jul 05 23:39:03 reformatted to be readable and with some comments added Jul 05 23:40:31 it's quite a tangle Jul 05 23:42:29 I just read through it Jul 05 23:42:40 its not so bad Jul 05 23:44:43 well some parts are icky, like mmcargs being overridden by /uEnv.txt because the kernel considers eMMC to be mmcblk0 while u-boot would default to /dev/mmcblk${mmcdev}p${mmcpart} where ${mmcdev} is of course 1, since it *is* mmc1 Jul 05 23:47:28 it's certainly more organic than i would have predicted Jul 05 23:47:56 hehehe Jul 05 23:48:10 maaaany many fallback cases to previous ways of doing things Jul 05 23:48:16 "yay" for backwards compat :P Jul 05 23:48:41 so going back to the first link you sent me Jul 05 23:49:28 is that page saying that if I put the uenv.txt file on the microsd card it will automount at boot? Jul 05 23:49:37 or was i reading that wrong? Jul 05 23:50:20 are you talking to me or wmat ? Jul 05 23:50:27 yeah sorry Jul 05 23:50:46 oh sorry Jul 05 23:50:51 that was wmat Jul 05 23:50:59 not zmatt Jul 05 23:51:28 well actually as my link shows, it will try to boot from mmc0 by default apparently Jul 05 23:52:14 but I don't have any actual experience with it, I don't even think we have any microSD cards around here larger than 64 MB Jul 05 23:53:10 https://github.com/RobertCNelson/omap-image-builder/tree/master/target/boot Jul 05 23:53:20 I was looking through all these as well Jul 05 23:53:37 trying to figire out if there is a list somewhere for all of the options Jul 05 23:54:05 these are different uenv.txt i assume Jul 05 23:54:19 for the different images robert nelson builds Jul 05 23:54:56 yeah so you can check my link to see what variables are used by the default boot commands Jul 05 23:54:59 though Jul 05 23:55:04 there's more than one u-boot in circulation Jul 05 23:57:09 to make things even more interesting, apparently it also attempts to read its environment from one of the "boot partitions" of eMMC, in which case it'll override the defaults Jul 05 23:57:19 that one almost drove someone nuts Jul 06 00:00:11 but Jul 06 00:00:17 if I'm reading back what you said Jul 06 00:00:30 I've been trying to wrap my head around how to sanely mount the microsd automatically to arbitrary file location at boot Jul 06 00:00:45 what the hell does that have to do with uEnv ? Jul 06 00:00:51 that's just a matter of adding it to your /etc/fstab Jul 06 00:01:07 uEnv is only involved in early boot Jul 06 00:01:30 Is anybody know how can make my USB sound card as a default sound card? Jul 06 00:02:54 zmatt: yeah, i figured that out. But in doing digging into that I ran across a bunch of stuff about uenv, tried to learn but couldn't find good information anywhere Jul 06 00:03:41 particularly that link that wmat posted Jul 06 00:03:57 there is a lot of stuff like that that comes up when you search for how to ount the sd card Jul 06 00:04:00 Imanpakii: I think you can configure that in ~/.asoundrc (or /etc/asound.conf ) Jul 06 00:04:04 Imanpakii: but dunno the details Jul 06 00:04:13 so I wading through a lot of conflicting information Jul 06 00:04:25 foundatron: it would only be involved if you want to boot from sd Jul 06 00:04:38 and it's somewhat involved in making sure it _dpes Jul 06 00:04:45 it _doesn't_ boot from sd card Jul 06 00:04:46 :P Jul 06 00:04:55 since it does attempt to do so by default apparently Jul 06 00:05:38 Best case scenario would be if I could get it to automatically mount if inserted after boot Jul 06 00:05:52 but there seems to be limitations with the beaglebone Jul 06 00:05:57 that don't allow for that Jul 06 00:05:58 hmm? Jul 06 00:06:15 if it's already inserted then an fstab entry should be all that's needed Jul 06 00:07:06 if you want it to auto-mount on insertion after the system has already booted, that's a different story... normally higher-level desktop environment services take care of stuff like that Jul 06 00:07:08 but swapping sd cards after boot won't work..or at least i haven't gotten it to work Jul 06 00:07:28 yeah thats why going with just mounting at boot Jul 06 00:07:39 you will need to umount it before swapping Jul 06 00:07:42 and mount again after boot Jul 06 00:08:17 i basically have a long lived system where there settings are read from the sd card. it would be nice if the system didn't have to be reboot to get settings Jul 06 00:08:19 and all this is assuming you boot from eMMC... swapping the root filesystem is close to impossible Jul 06 00:09:12 yeah, i'm booting off the emmc **** ENDING LOGGING AT Mon Jul 06 02:59:59 2015