**** BEGIN LOGGING AT Fri Jan 29 02:59:59 2016 Jan 29 06:21:18 kergoth, Thanks. Jan 29 06:22:18 kergoth, I grep for layername, layer, ... but only in poky to get concrete results Jan 29 08:21:19 hi everyone Jan 29 13:29:45 rburton: are you online? Jan 29 13:29:55 no Jan 29 13:30:08 this is my answering service Jan 29 13:30:12 please leave a message after the beep Jan 29 13:30:17 beeeep Jan 29 13:30:30 :) Jan 29 13:30:47 i'm having a problem with the glob patterns while trying to rewrite http://lists.openembedded.org/pipermail/openembedded-core/2016-January/116454.html Jan 29 13:31:04 ${libdir}/apr-util-1/*.so* does not work? Jan 29 13:32:19 i was thinking of putting FILES_${PN}-dev += "${libdir}/apr-util-1/*.so* ${libdir}/apr-util-1/*.la" Jan 29 13:32:38 does anyone know where can I find some documentation on glob patterns? Jan 29 13:32:40 the "correct" way would be FILES_PN=${libdir}/apr-util-1/lib*${SOLIBS} Jan 29 13:32:59 and PN-dev = …/lib*${SOLIBSDEV} Jan 29 13:33:06 I've tried to find some in the reference manual but to no avail Jan 29 13:33:20 they're expanded using python's glob.glob function, which is "what sh does" Jan 29 13:33:37 rburton: thank you very much Jan 29 13:33:54 (see bitbake.conf for the default globs) Jan 29 14:38:14 rburton: I've managed to bungle that v2's FILES_ globs, I'll send v3 to fix it Jan 29 14:38:44 ha, literally just as i merge it to test! Jan 29 14:39:00 v2 is getting some QA files installed but not shipped warnings Jan 29 14:39:58 oh, the libraries are not called lib*.so Jan 29 14:40:04 just apr_blaa.so Jan 29 14:40:55 yeah, I'll resubmit in a few minutes Jan 29 15:31:44 * armpit waking up to ac/dc Jan 29 15:36:14 I thought I heard some thunder Jan 29 15:58:36 I need to investigate this more to check if it's a known PEBKAC, known issues, etc.... but zsh + using tilde in bblayers.conf yields weird, weird problems Jan 29 15:59:14 seems reproducible if i start from a clean build. Jan 29 15:59:23 (using zsh as user's shell) Jan 29 16:00:15 I was getting a failure to execute a Git command when bitbake was checking the git revision of meta, meta-yocto, etc. to print the Build Configuration Jan 29 16:00:23 jynik: i use zsh every day Jan 29 16:00:34 but ~ in BBLAYERS could well lead to problems, not sure if that's handled at all Jan 29 16:00:46 kergoth: I saw that it was recently added as a feature Jan 29 16:00:55 so I said, "Neat! Let's use this shiny new feature!" Jan 29 16:01:12 switching back to full paths resolved it and some strange git fetcher failures I previously had Jan 29 16:01:28 (I had made the bblayers change originally without a fresh rebuild) Jan 29 16:02:34 kergoth: If you have time in your busy day to try it, I'd appreciate a sanity check. I generally assume it's PEBKAC unless I can get an independent confirmation... Jan 29 16:03:25 http://lists.openembedded.org/pipermail/bitbake-devel/2015-April/005665.html Jan 29 16:05:26 jynik: it looks like ~ only works if HOME is listed in the approved env vars to be passed through. it is by default, though, unless you're overriding BB_ENV_WHITELIST, so double check that Jan 29 16:13:15 kergoth: No BB_ENV_WHITELIST items in my env, no recollection of needing to use it in the past. Jan 29 16:15:34 moin Jan 29 16:38:03 i wonder if anyone knows, if it is possible to build a mainline kernel using machine configuration from meta-raspberrypi? Jan 29 16:40:06 wierd thing is if i compile using yocto im not able to boot the kernel, but if i comiple by hand using crosstool-ng toolchain its working fine Jan 29 16:52:39 Perlo_0ung: compiling what kernel exactly? youcto-linux-4.x? Jan 29 16:53:11 im using mainline 4.2.3 Jan 29 16:53:47 no sure how close rpi is... Jan 29 16:54:15 i build a minimal config with literally no hw support Jan 29 16:54:32 beaglebone using just poky/oe and yocto-linux kernel is less than optimal, although it does work... Jan 29 16:54:55 from scratch it works without any problems , when compiled with cross-ng toolchain Jan 29 16:55:07 but if you push the kernel version you lose the bbb branch/commit Jan 29 16:55:34 what do you have in your local.conf? Jan 29 16:56:04 machine = raspberrypi Jan 29 16:56:16 did you set compatible_machine and preferred_provider_virtual/kernel etc? Jan 29 16:57:05 * nerdboy has a ton of crap to do but could try that soon-ish... Jan 29 16:57:27 ye i hv set the stuff Jan 29 17:01:49 wanna pastebin your config? Jan 29 17:02:08 and do you have a boot log? Jan 29 17:03:27 what config do u need? Jan 29 17:03:32 nah no boot loh Jan 29 17:07:01 and your /boot dir has all the right rpi stuff in it? Jan 29 17:07:20 they have kindof a funky kernel.img too Jan 29 17:07:27 im using uboot to boot zImage with device tree Jan 29 17:07:34 all that stuff is correct? Jan 29 17:07:46 ye it works with from scratch and buildroot setup Jan 29 17:07:53 then you need a boot console Jan 29 17:14:43 im using a serial cable to monitor the stuff Jan 29 17:14:52 but im not even getting any message ^^ Jan 29 17:15:18 Hello Jan 29 17:16:43 I have a ARM926EJ-S rev 5 (v5l) based bluegiga bluetooth/wifi-router with root ssh access to it Jan 29 17:17:04 but on the image provided there's no compiler of any sort. Jan 29 17:17:33 So the question is how do I get gcc to it? Jan 29 17:17:49 Preferably within the system Jan 29 17:17:50 nobody ships a compiler in the runtime image Jan 29 17:18:03 except those crazy Gentoo guys... Jan 29 17:18:41 * nerdboy <= one of *those* guys Jan 29 17:19:17 so I suppose you could point me to the right direction? I suppose I either need to download a prebuilt binary from *somewhere* or cross-compile it myself Jan 29 17:19:18 crazies Jan 29 17:19:24 what is your requirement exactly? Jan 29 17:20:08 you just need some xx armv5 binary on the target? Jan 29 17:20:31 I'd like to be able to compile any code on it (of course with hardware capabilities in mind) Jan 29 17:20:51 is that a freescale SoC? Jan 29 17:20:54 atmel Jan 29 17:21:30 it has openwrt now? Jan 29 17:21:32 I do have dpkg and Bluegiga advertise that "with yocto there are countless packages available" Jan 29 17:21:38 no, a custom build Jan 29 17:22:05 there should be a BSP layer/machine support then Jan 29 17:22:39 and it will build a cross-toolchain, rootfs, package feed, etc Jan 29 17:23:07 There is an internal sdk for bluegiga but I have no access to it. Jan 29 17:23:12 I'd rather not reflash the device Jan 29 17:23:54 Our electronics club got three boxes of the devices to play around with :D Jan 29 17:24:14 their "advertisement" means they should have some kind of community bsp/sdk Jan 29 17:25:06 otherwise you need their u-boot and/or kernel Jan 29 17:25:34 gentoo has armv5 stage3 with toolchain but you need to build u-boot/kernel Jan 29 17:25:39 why is that? Anycase I think we can dump the kernel image Jan 29 17:26:04 nerdboy: but in anycase you are talking about cross-compiling for it, right Jan 29 17:26:26 armv5 stage3 is native arm Jan 29 17:26:42 you still need cross-toolchain Jan 29 17:27:09 can you login and chroot to sdcard? Jan 29 17:27:18 Like I said, I have root ssh access Jan 29 17:27:25 and yes, there's chroot Jan 29 17:27:34 Also an usb port so I think I can chroot to that Jan 29 17:27:35 if so you could use stage3 to build stuff Jan 29 17:28:02 plop it on some media and mount/chroot Jan 29 17:28:26 nerdboy: I don't know what stage3 is Jan 29 17:28:49 but if you get the yocto machine info you can build everything while you go watch a movie... Jan 29 17:29:15 I'm listening Jan 29 17:29:15 stage3 is just a small rootfs tarball Jan 29 17:29:24 figured, but where do I get it? Jan 29 17:29:25 pick one or the other Jan 29 17:29:30 and how do I get the machine info? Jan 29 17:29:40 I can execute commands if you tell me what to type Jan 29 17:29:40 gentoo mirrors have all of them Jan 29 17:30:18 if the vendor claims "yocto packages" then you should start there Jan 29 17:31:00 http://distfiles.gentoo.org/releases/arm/autobuilds/20151118/stage3-armv5tel-20151118.tar.bz2 Jan 29 17:31:08 Suppose that's the one I'm looking for? Jan 29 17:31:18 the manual method is documented for several boards (including armv5) on LinuxOnArm wiki Jan 29 17:31:30 yup Jan 29 17:32:02 ^^ that wiki uses debian/ubuntu but i just substitute gentoo stage3 Jan 29 17:32:41 If I got debian on this it would be great! I probably could just rip most of the configs and use them direcly Jan 29 17:32:52 but alas let's first get a compiler for this thing Jan 29 17:33:44 https://eewiki.net/display/linuxonarm/Home Jan 29 17:33:55 yup, found that Jan 29 17:34:04 get the toolchain for one of the atmel/armv5 boards Jan 29 17:36:10 imx28 is armv5 so for sure that one should work Jan 29 17:36:10 Atmel AT91SAM9260-EK is the actual cpu version Jan 29 17:36:24 bonus Jan 29 17:38:52 there should be new arm stages as of this week, so make sure the mirror is current if you want a stage3 to play with Jan 29 17:40:25 do I need to do anything special with the stage3 when placing it in the usb drive? Jan 29 17:40:55 untar with -p is pretty much it Jan 29 17:41:15 there are a bunch of gentoo arm guides Jan 29 17:42:10 except for u-boot/kernel they're pretty much all the same Jan 29 17:42:12 https://wiki.gentoo.org/wiki/Cubox-i Jan 29 17:42:40 * armpit hehe bitbake is a DoS Jan 29 17:42:57 just make sure it's armv5 softfloat... Jan 29 17:43:36 there's only one ARMv5tel available Jan 29 17:43:50 if you want that card to boot there's a little more to it Jan 29 17:44:18 otherwise etx4 and untar/mount/chroot like any gentoo install Jan 29 17:44:58 can you fstrim over the card interface? Jan 29 17:45:21 I really am a super novice with this Jan 29 17:45:27 anycase on the device there is no fstrim Jan 29 17:46:13 * nerdboy would probably build a full machine image then Jan 29 17:46:35 native compiling gonna be slow... Jan 29 17:46:45 That's okay Jan 29 17:47:04 i mean *really* slow Jan 29 17:47:23 a week? That's fine Jan 29 17:47:32 if you can't trim the rootfs it gets even slower Jan 29 17:47:49 how about cross compiling? Jan 29 17:49:45 much faster Jan 29 17:49:54 how do I go about that? Jan 29 17:50:01 the wiki page Jan 29 17:50:22 linuxonarm? Jan 29 17:50:25 maybe try that with debian Jan 29 17:50:29 yeah Jan 29 17:50:57 you can always make another card... Jan 29 17:51:52 I can upload WPK packages Jan 29 17:52:05 vendor stuff? Jan 29 17:52:07 to do software updates Jan 29 17:52:15 dunno Jan 29 17:52:36 debain points to upstream packages and robert's kernel and othe ratuff Jan 29 17:52:46 just apt-get Jan 29 17:53:16 *other stuff even Jan 29 17:53:23 * nerdboy needs coffee... Jan 29 17:54:39 so you have three different ways to make an sdcard and/or build stuff for it Jan 29 17:55:04 cross compiling, stage3 and what's the third? Jan 29 17:55:36 1) follow the wiki, 2) build an openembedded image, 3) the manual/gentoo method... Jan 29 17:56:11 3 would make you build a toolchain too Jan 29 17:56:22 maybe try those in order Jan 29 17:57:00 they all involve cross-compiling at some point Jan 29 17:57:47 1 makes you download stuff, 2 builds it all for you, 3 makes you type a lot Jan 29 18:00:14 Thanks Jan 29 18:00:25 By the way, do you know what Obex is? Jan 29 18:23:11 something bluetooth? Jan 29 18:24:28 * nerdboy knows what an oboe is... Jan 29 20:10:21 on master, bitbake -c devpyshell at <-- pops up a gnome terminal. The pipe to oepydevshell-internal.py seems to be busted. Jan 29 20:10:59 if I add a delay to oepydevshell-internal.py then the terminal does stay up longer but then it just exits. Debugging tips? Jan 29 20:12:48 s/devpyshell/devshell/ works fine so I'm in the right area... Jan 29 20:13:10 * paulg_ thinks vmeson is in area51 Jan 29 20:14:21 paulg_: there are few people about and those that are present do some somewhat alien... Jan 29 20:33:23 added some delays, and prints. it's failing on opening /dev/pty/22 since that pty doesn't exist but 23 did exist... onwards to see where the pty was determined. Jan 29 20:49:02 hmm, automagically the pts ids are fixed now, pyc cache? Still no prompt but I've gotta run Jan 29 21:10:26 Is there a way to set the SRC_URI to a local directory? Jan 29 21:11:37 maybe rsync the contects to the build directory. Jan 29 21:12:22 s/contects/contents/ Jan 29 21:13:24 file:// works Jan 29 21:13:44 (use an absolute file url) Jan 29 21:14:29 that works with directories? Jan 29 21:18:49 works fine Jan 29 22:04:53 i thought i sold it rather well... Jan 29 23:05:31 @nerdboy: so i just tried building raspberrypi image from orginal meta-raspberry... i changed image to zImage, now its not bootable anymore, wtf **** ENDING LOGGING AT Sat Jan 30 02:59:58 2016