**** BEGIN LOGGING AT Thu Feb 05 02:59:59 2015 Feb 05 08:47:40 Good morning. I'm a linux newb that needs support about cross-compiling for the BBB. I'm using a Ubuntu 14.10 virtual machine. Right now "configure" fails 'cause can't see the GTK libs... but i'm not sure if it is a "true error" or just me not giving the right options. Any help? Feb 05 08:48:23 sorry .... Configure fails while trying to nuild the wxWidgets libraries fro the BBB Feb 05 08:50:24 how are you cross compiling? Feb 05 08:51:09 installed the arm-gnueabi toolchain. BBB runs a Debian imageĆ¹ Feb 05 08:51:32 downloaded the wxWidgets sources.... then i'm stuck Feb 05 08:52:11 (dunno if this answer you) Feb 05 08:52:49 well, a toolchain is not enough Feb 05 08:53:00 you need the ARM libs/headers to compile against Feb 05 08:54:33 Ok..... so what should i do? (be patient :) ) Feb 05 08:59:06 Parduz: what are you running on the bone? debian? Feb 05 08:59:12 yes Feb 05 08:59:14 ah yes Feb 05 08:59:20 yes Feb 05 08:59:37 my answer might have been out of context :P Feb 05 09:00:42 Parduz: getting a debian cross build environment might not be so simple Feb 05 09:00:47 (and I know little about it) Feb 05 09:00:53 https://groups.google.com/forum/#!topic/beagleboard/NZJrEbaQOzY Feb 05 09:01:04 its easy for kernel and small apps that just use libc Feb 05 09:02:05 https://wiki.linaro.org/Platform/DevPlatform/CrossCompile/CrossbuildingQuickStart Feb 05 09:02:16 ...Debian and derivatives are designed to be native-built. You are generally much better off building natively using all the standard tools unless you have a good reason to cross-build.... Feb 05 09:02:41 well, my reason is not to compile on the BBB. Feb 05 09:03:10 read the linaro link Feb 05 09:05:30 You need to build something repeatedly during development, it's a lot faster cross-building and you can fix any build issues Feb 05 09:05:33 This :) Feb 05 09:06:18 yes Feb 05 09:06:19 true Feb 05 09:06:26 now go back in time and tell that to Debian :) Feb 05 09:07:26 not sure i get what you means Feb 05 09:07:43 (my english is bad, as you can see, sorry) Feb 05 09:07:59 no problem Feb 05 09:08:09 as said in the link, debian is not really for cross building Feb 05 09:08:26 is it possibl to run beagle bone image on quemu ? Feb 05 09:09:44 HI everyone actually i am looking for ubuntu rootfs on rcn website http://rcn-ee.net/deb/rootfs/quantal/ but its showing error on my server if anyone have please reply, i want it bad Feb 05 09:09:48 mkad: probably Feb 05 09:09:51 that's another road i tried, mkad. Being the linux ignorant i am, i archieved nothing. Feb 05 09:09:54 anyway there were instructions for eclipse and beaglebone for codding in c++, where bbb native compiler was used through eclipse and remontly accessing file system Feb 05 09:10:44 Parduz, http://www.michaelhleonard.com/cross-compile-for-beaglebone-black/ Feb 05 09:11:18 mkad, Parduz: note that a lot of cross instructions do not cover lib dependencies Feb 05 09:11:25 so they work for kernel and simple libc stuff Feb 05 09:11:37 yes Feb 05 09:11:57 in theory you should be able to install all the arm libs on your x86 debian Feb 05 09:11:58 i'm already able to compile terminal apps even from windows Feb 05 09:12:03 multi-arch foo Feb 05 09:12:08 i need to build a kiosk Feb 05 09:12:17 and then use them to make a cross build Feb 05 09:12:23 yeah, newer debian has multiarch Feb 05 09:12:25 the linaro article mentions that Feb 05 09:13:13 HI everyone actually i am looking for ubuntu rootfs on rcn website http://rcn-ee.net/deb/rootfs/quantal/ but its showing error on my server if anyone have please reply, i really want it bad Feb 05 09:13:14 I'd probably whip up a quick debian chroot (or just reinstall debian in a vm) Feb 05 09:13:17 makes it kinda easier Feb 05 09:14:55 av500, multi-arch afaik means that they got rid of cross-tools right? Feb 05 09:14:55 i lost you all at the "multi-arch foo " message. Feb 05 09:15:11 mkad: I have no idea about that Feb 05 09:15:52 Parduz: maybe #debian knows? Feb 05 09:15:55 multiarch means that apt-get install libfoobar-dev:armhf will install all headers for foobar armhf compilation on your x86 Feb 05 09:15:59 or they have an arm related channel Feb 05 09:16:16 or ogra_ the convergent knows Feb 05 09:16:20 hha Feb 05 09:17:30 technically that works for all packages, practically i would still recommend a chroot created using qemu-debootstrap though ... (from the qemu-user-static package) Feb 05 09:18:14 ogra_: ok, you take over the exactstepping Feb 05 09:18:34 Please if anybody have rcnelson ubuntu rootfs please reply Feb 05 09:18:34 heh, i cant, i'm on my way out to the airport :) Feb 05 09:18:54 ogra_: there is inflight wifi these days... Feb 05 09:19:11 but as av500 mentioned, there is #ubuntu-arm (rather quiet nowadays, so be patient) where you can get ubuntu arm help Feb 05 09:19:41 av500, not sure, only going to london for a day ... i doubt they have wifi on the short flights Feb 05 09:20:57 ah Feb 05 09:21:12 buying records off Oxford Street? Feb 05 09:21:22 you wish .... :) Feb 05 09:21:53 thanks guys, at least #ubuntu-arm have users logged in. I see if i can get some help there. Feb 05 09:21:54 doing a little busines and getting the reward for 2 years ubuntu phone development ;) Feb 05 09:22:04 some airlines do, although working over ssh inflight is about as fun as stabbing yourself with a used toilet brush Feb 05 09:22:54 pfft ... ssh ... with the NSA reading everything you type you can as well just resort to telnet nowadays ;) Feb 05 09:23:19 ogra_: a medal? Feb 05 09:23:24 or a pub lunch? Feb 05 09:23:36 both i guess ... and a phone ;) Feb 05 09:23:38 ogra_: sure, but lost packets will still make your day really shitty even if you use telnet :P Feb 05 09:24:42 you can collect all lost packets at the baggage carousell Feb 05 09:24:49 bring a bucket Feb 05 09:25:00 or hire a boat with a bucket to travel under you Feb 05 09:25:09 bah, *snap* Feb 05 09:25:36 ogra_: *snappy*? Feb 05 09:25:42 haha Feb 05 09:29:07 hrm... i need to find a good canbus tranciever that plays nicely with bbb Feb 05 09:29:47 wow, i suck at spelling today Feb 05 09:29:59 that channel is so silent Feb 05 09:30:26 arm is a passing fad Feb 05 09:45:30 av500: but what will be the newt worthy successor? Feb 05 09:45:37 .. next ... Feb 05 09:56:39 MIPS obviously Feb 05 09:58:13 we've tried the future and found it lacking. let's go back to pdp-11 instead Feb 05 10:07:53 tbr: ImgTec has a excitingly named SIP called "warrior" Feb 05 10:08:08 could go up against the octamoms and fapdragons Feb 05 10:45:31 Hey guys.. Do you know if you can put TX on an uart to idle low in minicom ? Feb 05 10:47:15 Or set the idle setting on the BBB ? Feb 05 10:47:31 if you disable the uart, maybe :) the uart is going to hold it high by default Feb 05 10:48:24 The thing is the BBB keep it high, and my USB/RS232 keep it low Feb 05 11:11:17 #ubuntu-arm Feb 05 11:13:58 hey BBB newbie here , i am not getting the display when i am connecting it to the monitor Feb 05 11:15:16 i connected it to a 5V 1amp adaptor Feb 05 11:15:31 through hdmi ?? Feb 05 11:15:34 is it due to this ? Feb 05 11:15:58 yup through HDMI Feb 05 11:16:15 which distr ?? Feb 05 11:16:24 dabien Feb 05 11:16:29 try 5v 2a power supply Feb 05 11:16:36 default one ? Feb 05 11:16:43 yup Feb 05 11:18:39 if it is the default one i thnk it should work try giving more power Feb 05 11:23:32 1) Connect the serial cable to your PC. 2) Launch the terminal emulation SW and select the correct serial port. 3) Connect the serial cable to the serial debug connector on the board. 4) Connect the HDMI cable to the board and your display. 5) Apply power to the board. 6) You should see messages appear on the terminal. 7) When the login prompt appears type root and hit enter. 8) Type export XAUTHORITY=`ls /var/run/gdm/auth-for-root-*/ Feb 05 11:33:32 can anyone tell me if i connect BBB with 5v 1A supply Feb 05 11:33:41 what would that result in Feb 05 11:33:43 ?? Feb 05 11:34:27 it would try to boot? Feb 05 11:34:32 what is your problem? Feb 05 11:35:00 i am not getting the displayt Feb 05 11:36:25 is it due to 1A power supply ? Feb 05 11:38:55 ?? ;'( Feb 05 11:39:12 :'( :'( @tbr help me out Feb 05 11:43:43 tars_: do the leds turn on? Feb 05 11:43:52 tars_: how do you attach the power supply? Feb 05 11:44:12 yeah they turned on Feb 05 11:45:19 i didnt get your second question Feb 05 11:49:21 tars_: the BBB has a barrel connector, a jumper and a micro-usb connector. which one is your PSU attached to? Feb 05 11:49:59 tars_: in addition, what sort of display do you have attached? Feb 05 11:50:15 oh !! i connected it via barrel connector Feb 05 11:55:15 12:49:59< tbr> tars_: in addition, what sort of display do you have attached? Feb 05 12:25:39 my BEAGLEBONE freezes using rxtx + java, searched some forums and saw other pesssas you have this problem , someone help me ? Feb 05 12:27:05 with arduino by any chance? Feb 05 12:27:17 there are some docs about rxtx libs for arduino on their web pages Feb 05 12:28:00 with beaglebone black + angstrom > java, rxtx and modbus4j Feb 05 12:29:00 the serial port freezes every time Feb 05 12:29:11 i'm using ftdi rs232r via usb Feb 05 12:30:42 * tbr tries to parse that problem description and fails Feb 05 12:32:01 ? Feb 05 12:35:48 anybody know how to show a usb port's voltage and current stat? Feb 05 12:38:59 nice question but i dont know Feb 05 12:46:00 where is "make" in the Debian image for the BBB? Feb 05 12:46:19 or: why i can't just call it? Feb 05 12:47:55 you might want to start out by installing build-essential Feb 05 12:48:24 doh! I keep forgetting that. sigh Feb 05 12:50:06 "build-essential is already the newest version". I did'nt forgot it Feb 05 12:55:13 my BEAGLEBONE freezes using rxtx + java, searched some forums and saw other pesssas you have this problem , someone help me ? Feb 05 12:57:16 what's a pesssa? Feb 05 12:58:05 also have you tried looking at the kernel console output on the debug UART? Feb 05 13:04:40 hi Feb 05 14:41:48 my BEAGLEBONE freezes using rxtx + java, searched some forums and saw other persons* you have this problem , someone help me ? Feb 05 14:52:32 what should i do to run the BBB Debian image using Qemu? Feb 05 14:54:55 Parduz, This doesn't exactly answer your question, but here is a script that will use debootstrap to create a qemu-ready debian image Feb 05 14:55:23 It will at least give you an idea of what needs to happen Feb 05 14:55:58 once you've got an image, you'll also need an armhf versitile kernel image Feb 05 14:56:17 see here: https://people.debian.org/~aurel32/qemu/armhf/ Feb 05 14:56:29 mh... sorry for the ignorant question..... do this mean that i can't just "pass" the .img to Qemo and see it running? Feb 05 14:56:32 AND Feb 05 14:57:04 correct Feb 05 14:57:13 correct. qemu expects to also be passed a kernel -- you unfortunatly cannot simply run the BBB kernel with qemu Feb 05 14:57:19 but you dont need THE BBB img to run in qemu Feb 05 14:57:23 any ARMHF img will do Feb 05 14:57:33 with a kernel that works Feb 05 14:57:49 that qemu armhf link gives examples on how to startup qemu with an image and appropriate kernel Feb 05 14:58:10 but i want to "replicate" my BBB in Qemu, to compile and test, so i should use that image, right? Feb 05 14:58:18 another option, is to do user-mode emulation Feb 05 14:58:24 see the qemu-user-static package Feb 05 14:59:18 the idea is generally this: you extract the BBB image on your filesystem somewhere such that you can chroot into it Feb 05 14:59:37 next up: apt-get install qemu-user-static Feb 05 15:00:14 Parduz: you can probably use the BBB user space Feb 05 15:00:19 but you need a qemu kernel Feb 05 15:00:42 but then stuff like sd /emmc will fail of course Feb 05 15:00:52 next to last: copy /usr/bin/qemu-arm-static from your host, into the extracted images root. E.G `sudo cp /usr/bin/qemu-arm-static /usr/bin` Feb 05 15:01:03 lastly: chroot Feb 05 15:02:32 at that point you will be in a user-emulated chroot of the BBB image Feb 05 15:02:54 in my experiance it work quite reliably -- even for compiles and other complicated tasks Feb 05 15:03:24 Thanks KaaK, invaluable help. I have two questions (for now, before trying to do it): Feb 05 15:04:22 With "extracting" the image you mean that i'll have to extract from the .img, right? Feb 05 15:04:35 in the end, i have the "emulated" disk in a dir Feb 05 15:04:53 correct, libguestfs (and its tool guestfish) is awesome for such tasks Feb 05 15:05:02 you can also go the lower-level kpartx/losetup route Feb 05 15:05:16 incorrect on the emulated disk Feb 05 15:05:49 imagine extracting a tarball -- your goal is to extract this image in a similar way Feb 05 15:07:16 Ok, i should got it (i'm a total noob). 2nd: do this allow me to then get the files compiled in the Qemu machine from the host? or whatever the emulated machine produce is not relly written on the real HD? Feb 05 15:08:32 basically you're compiling `native` inside this foreign chroot -- you've got an ARM host GCC, that targets ARM (i.e. NOT a cross compiler) Feb 05 15:09:14 but qemu-arm-static is emulating the ARM GCC binary for your (im assuming) x86_64 machine Feb 05 15:09:18 yep. I failed miserabily in cross-compiling, that's why i'm looking at Qemu. Feb 05 15:09:48 the end result is about the highest quality (in terms of environment matching) binary you can shoot for Feb 05 15:09:57 the biggest con is obviously speed. emualting a compiler is slow Feb 05 15:10:39 typically I cross compiling well-contained things (like the linux kernel, u-boot, etc) because they dont need to link to all sorts of other ARM libraries at compile time Feb 05 15:11:00 for user-space projects, I will compile them using the `foreign chroot` route Feb 05 15:11:22 i need to compile the wxwidgets libraries, and then my app using the widgets Feb 05 15:11:44 don't compile wxwidgets, just apt-get install it from inside your BBB foreign chroot Feb 05 15:11:51 the -dev package that is Feb 05 15:12:14 that beauty of the foreign chroot route, is all your dependencies can be simply apt-get'ed Feb 05 15:12:19 apt-got? Feb 05 15:12:42 uhm.... did'nt know that they was made for the BBB. I thought i had to build them from the sources. Feb 05 15:13:17 debian has nearly all of its pacakges available for all its archs Feb 05 15:13:21 including armhf (BBB) Feb 05 15:13:30 it'll be there (knocks on wood) Feb 05 15:13:54 so i can get them also from my real BBB? what's the package name? Feb 05 15:14:39 apt-cache search is your friend Feb 05 15:15:06 Thaks KaaK, you're a life saver Feb 05 15:16:04 no problem -- best of luck Feb 05 15:17:13 there's only the 2.8. Not the 3.0(.2) Feb 05 15:17:49 :( that is the eternal debian issue -- old packages Feb 05 15:18:04 you've still got one possibility Feb 05 15:18:23 debian backports: http://backports.debian.org/ Feb 05 15:20:59 here they are. 3.0-0 Feb 05 15:21:13 dunno if the last digit is important.... Feb 05 15:21:39 its the package revision number -- i.e. how many times 3.0's package has been updated Feb 05 15:22:43 ok. So how i get them on the real bbb? Manual download? Feb 05 15:23:50 so when you need to run it on the real bbb, you just need to the corrisponding libraries. Basically the libraries you're using at compile minus the `-dev` at the end of the package name Feb 05 15:24:15 and at that point you will have exactly the libraries you linked your application against Feb 05 15:24:28 or very close to it (sometimes they get updates) Feb 05 15:26:10 ...may i have miss a message from you? you first reply start with "so when you need to".... if not, i don't get what you mean, sorry Feb 05 15:27:42 anyone here good with debian wifi ? Feb 05 15:30:02 no problem, basically for any development libraries you need at compile time (e.g. lib-dev), you will need its non-development version at runtime (e.g. lib) _no_ `-dev` at the end of the package name Feb 05 15:30:19 stt_michael, I've always gone the /etc/network/interfaces route Feb 05 15:30:46 stt_michael, grabbing an example now Feb 05 15:31:30 KaaK, I've configured wlan0 as follows:- Feb 05 15:31:34 iface wlan0 inet dhcp Feb 05 15:31:34 wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf Feb 05 15:31:41 stt_michael, http://paste.debian.net/144108/ Feb 05 15:31:56 now .. wpa_supplicant associates, but dhcp won't run and it never gets an ip addres Feb 05 15:32:42 Ok, Kaak. You have my gratitude and blessing from now to my entire life :) One last question, before i dig in the Qemu setup: do you think that Qemu could run the BBB image under windows? I've seen it's been ported for Win and not guaranteed to wrok, so i ask in case you know Feb 05 15:32:43 doesn't make any sense Feb 05 15:33:39 per: http://paste.debian.net/hidden/d2065b2b/ Feb 05 15:34:13 I've always stuck to the linux golden path :) You could possible get a full system emulator running it in windows, but the user-mode route depends on certain linux kernel features that are likely not available in windows Feb 05 15:34:51 mostly binfmt_misc: http://en.wikipedia.org/wiki/Binfmt_misc Feb 05 15:35:40 Ok. I0ll run Qemu on my Ubuntu VM, then. I'm just scared by running an emulato in an emulator :) Feb 05 15:36:03 dhclient: http://paste.debian.net/hidden/b82fb00a/ Feb 05 15:36:29 youch -- that is going to hurt, but you will at least be able to prove the build-system/setup first, and optimise the speed later Feb 05 15:36:41 especially for a small application, its not likely going to hurt too bad Feb 05 15:37:05 but then, you could compile a small app right on the target :) Feb 05 15:39:32 av500, heh -- The problem (for me) convenience and the ability to automate. Feb 05 15:39:54 but you're 100% right, for proof-of-concepting, running on the hardware is the way to go Feb 05 15:40:24 Yeah, i know i'mm messing around. My original plan was to corsscompile from Windows, but the linare Gcc crashes. The i tried to crosscompile under ubundu VM, but i can't get out of the "configure" step. Using Qemu in a VM is even worse, but once i've found a reliable route to compile and release on BBB i can even instal an ubuntu PC just for the compiling task Feb 05 15:40:58 (this stupid wireless keyboard is going nut, sorry for the typos) Feb 05 15:41:06 cross compilers are hard, not for the cross-compiler part, but for the foreign libraries your app is going to want to link against Feb 05 15:41:42 debian is only just recently allowing foreign packages to be installed on your host, and not all pacakges have been updated to support multiarch Feb 05 15:42:17 so i still do emulated compiles, because the speed doesn't typically bite me too hard Feb 05 15:42:52 my full system is based on schroot, and sbuild -- i'd love to eventually share it for a wider audience Feb 05 15:43:34 its only downside (though I see it as an asset) is that your application has to be a debian source package, which is additional complexity Feb 05 15:43:45 I see. The fact is that i'm now able to compile non-ui executables from Windows, and i got the idea that i was close to my goal. But crosscompiling the Widgets is beyond my abilities. Feb 05 15:44:09 i'd like to see your system :) Feb 05 15:44:56 KaaK: I know all about cross compiling, been doing that myself for years Feb 05 15:45:09 but using systems that were geared towards it from the start Feb 05 15:45:09 also 'cause 4/5 of the tutorial on the web are outdated, admitted that the linked pages are still alive, so seeing a working enviroment should be very useful to learn Feb 05 15:45:30 4/5 of the whole web is outdated :) Feb 05 15:45:48 av500, I've got about 2 years under my belt, so I'm definitley not a master Feb 05 15:47:42 Your previous phrase makes me raise a new question: if you have to vuild a "kiosk" on the BBB, what will be your choice for the UI? (saying that it should look something better than, say, Win3.1)? Feb 05 15:48:14 (i'm asking because you said "its only downside (though I see it as an asset) is that your application has to be a debian source package, which is additional complexity" Feb 05 15:50:15 hard to say -- I think there isn't too much coupling between your UI choice, and build-setup choice. Feb 05 15:50:55 converting a package to a debian source package mostly benifits you when it comes to build time, and deploy time -- you get alot of tooling that helps you with both Feb 05 15:51:20 as for a UI choice, your build-system is going to be mostly agnostic of that choice Feb 05 15:53:07 ... not sure to understand. wxWidget apps needs to run on a "desktop" O.S., right? Feb 05 15:54:48 don't sweat it then, it'll be obvious the time comes for it (speaking towards build-systems for projects sources) Feb 05 15:55:55 ls Feb 05 15:56:00 ... wrong window Feb 05 16:49:39 there's any chance to plug a USB hub to the BBB and get his drivers? Feb 05 16:54:06 ? Feb 05 16:54:13 you dont need a driver for a usb hub Feb 05 17:09:58 Problem in using more than 1 eqep in BBB: when both eqep's are enabled in beagleboneblack they are not reading the encoder value as expected. Feb 05 17:11:48 eqep0 and eqep2 both are reading speeds less than what they should, but inidividually i.e. when only one eqep is enabled, it gives the correct reading. Does anyone know the solution to this Feb 05 17:15:16 sorry, av500, got called by da boss :) Feb 05 17:15:53 the BBB does'nt recognize it, the keyboard and the mouse plugged in the hub doesn't works Feb 05 17:16:03 i thought it was a "driver" problem Feb 05 18:14:26 Problem in using more than 1 eqep in BBB: when both eqep's are enabled in beagleboneblack they are not reading the encoder value as expected. Feb 05 18:14:36 eqep0 and eqep2 both are reading speeds less than what they should, but inidividually i.e. when only one eqep is enabled, it gives the correct reading. Does anyone know the solution to this Feb 05 18:21:51 Problem in using more than 1 eqep in BBB: when both eqep's are enabled in beagleboneblack they are not reading the encoder value as expected. Feb 05 18:21:58 eqep0 and eqep2 both are reading speeds less than what they should, but inidividually i.e. when only one eqep is enabled, it gives the correct reading. Does anyone know the solution to this Feb 05 20:42:08 Anyone here use either a dreamsourcelab DSLogic or IKALogic scanaplus v2 ?? Feb 06 02:42:21 hlb123 Feb 06 02:53:57 Hi guys, new to the beaglebone black. Is the EEPROM integrated into the AM3358 micro, or is there a dedicated chip? Feb 06 02:59:16 no/yes **** ENDING LOGGING AT Fri Feb 06 02:59:59 2015