**** BEGIN LOGGING AT Mon Sep 16 02:59:59 2013 Sep 16 07:12:07 Hey does anybody know how to compile a (custom) kernel module with oe? Sep 16 07:25:35 good morning Sep 16 07:27:42 tijs: is it your module into the kernel tree or outside? Sep 16 07:34:30 morning all Sep 16 07:42:18 @mckoan good morning indeed Sep 16 07:42:35 it is outside the tree currently Sep 16 07:43:56 (just a helloworld example) Sep 16 07:46:17 tijs: so simply create your Makefile and set the directory where is your kernel tree (~/poky/build/tmp/work...) Sep 16 07:47:30 tijs: https://www.kernel.org/doc/Documentation/kbuild/modules.txt Sep 16 07:47:56 Okay Sep 16 07:48:09 tijs: http://www.cyberciti.biz/tips/compiling-linux-kernel-module.html Sep 16 07:48:11 but I think my makefile/bb file is wrong Sep 16 07:48:42 I can compile with normal make, but not with bitbake Sep 16 07:49:01 tijs: aha, in that case you need to create a proper recipe for your module Sep 16 07:51:11 I posted my hellokernel recipe: https://dl.dropboxusercontent.com/u/22522783/HelloKernel.zip Sep 16 07:51:29 can you please look what I am doing wrong, ive been stuck 4 hrs ;( Sep 16 07:52:34 I constantly got "make: *** No targets specified and no makefile found. Stop." Sep 16 08:00:57 @mckoan any clue what I do wrong? Sep 16 08:03:28 tijs: not at the moment I need time to test it Sep 16 08:04:07 thanks for helping me ;) Sep 16 08:04:56 tijs: the first wrong thing I see is KDIR := /lib/modules/$(shell uname -r)/build, must be relarive to the build tree Sep 16 08:08:39 yeah sorry I changed that to the wrong one yesterday. My bad Sep 16 08:10:04 but it was /media/compilerspace/olinuxino/oe-core/build/tmp-eglibc/sysroots/olinuxino/lib/modules/3.10.7-fslc+g9cb4091 Sep 16 08:11:08 but I was afraid that bitbake cannot find my makefile in the first place. Because thats what it is saying Sep 16 08:11:41 | ERROR: oe_runmake failed Sep 16 08:52:29 tijs: try asking to mailing list too Sep 16 08:53:25 hi all Sep 16 08:53:32 any body knows this error? WARNING: The license listed CLOSED was not in the licenses collected for Sep 16 08:53:42 what is the issue!! Sep 16 09:03:35 okay Sep 16 09:03:38 any body knows this error? WARNING: The license listed CLOSED was not in the licenses collected for Sep 16 09:03:38 thanks for helping Sep 16 09:05:06 morning all Sep 16 09:05:57 any body knows this error? WARNING: The license listed CLOSED was not in the licenses collected for Sep 16 09:06:10 CLOSED i can give right for my own module? Sep 16 09:06:40 Sj__: I'm not an expert on that part of the code but I think you can ignore that Sep 16 09:07:15 ? Sep 16 09:07:16 But my build is getting failed! Any temporary work around for that :-( Sep 16 09:08:12 I don't think that will be what is causing your build to fail, that's a warning not an error Sep 16 09:08:34 Sj__: can you pastebin the entire message? Sep 16 09:14:22 tijs: it works http://wiki.kaeilos.com/index.php/Howto_build_a_kernel_module_out_of_the_kernel_tree Sep 16 09:25:15 sory my error is not due to licenses Sep 16 09:25:16 not linking .../1.0-r7/rootfs//sbin/reboot to /bin/busybox since .../1.0-r7/rootfs//sbin/reboot exists and is not a link Sep 16 09:25:22 this was the eroor Sep 16 09:25:25 error* Sep 16 09:25:47 whats your BTC? Sep 16 09:25:48 update-alternatives: not linking .../1.0-r7/rootfs//sbin/reboot to /bin/busybox since .../1.0-r7/rootfs//sbin/reboot exists and is not a link Sep 16 09:27:07 Sj__: which version/branch of the build system are you using? Sep 16 09:28:21 branch=dylan, Sep 16 09:28:24 for oe-core Sep 16 09:39:41 Hey mckoan did you make that page you referred to? wow xd Sep 16 09:45:04 hi. is there any recommended method to deal with a package which uses '_' instead of '.' for PV? e.g. http://sourceforge.net/projects/tinyxml/files/tinyxml/2.6.2/tinyxml_2_6_2.tar.gz Sep 16 09:46:27 tijs: yes I did it Sep 16 09:47:22 Really cool of you ;) Sep 16 09:47:32 you can call the recipe tinyxml_2.6.2 Sep 16 09:48:32 ndec: just use some in-line python to replace the . with _ in the SRC_URI Sep 16 09:48:36 ant_work: yes. that's what i did. but for SRC_URI i need to either 'hardcode' 2_6_2 or replace '.' with '_' Sep 16 09:49:07 bluelightning: ok.. grepping around, sounds like nobody had to do that before, and i was surprised ;-) Sep 16 09:50:29 tijs: feel free to add comments or new topics Sep 16 09:50:42 ndec: we may already have it I think: http://layers.openembedded.org/layerindex/recipe/1073/ Sep 16 09:51:44 bluelightning: hmm.. i thought i had searched for it ... Sep 16 09:52:07 in fact very often, i forget to click on 'recipes' when using layer index... damn... Sep 16 09:52:12 thanks! Sep 16 12:15:23 Hello can somebody help me to integrate USB tuner in NN2 after successfully installing the drivers !? Sep 16 13:59:15 bluelightning: hey, been a while :) Sep 16 13:59:18 bluelightning: are you coming to ELCE ? Sep 16 14:51:32 hi Marex Sep 16 14:51:45 indeed :) Sep 16 14:51:46 yep, you are as well I guess? Sep 16 15:29:40 hmmm, Sep 16 15:29:41 http://pastebin.com/3Wh5f8Uq Sep 16 15:34:04 -cleansstate and restart seems to solve the problem Sep 16 15:39:13 why is avahi for the target trying to link to the system libpthread? Sep 16 15:42:47 not sure Sep 16 15:42:56 I am nuklking tmp and starting over Sep 16 15:43:03 I ahd several funny fails Sep 16 15:48:36 damn it, the orc upstream website has vanished Sep 16 15:49:11 and, it looks like we haven't put the current orc version on sources.openembedded.org Sep 16 15:49:36 oh crap Sep 16 15:50:01 what is the current version? Sep 16 15:50:24 anyone coming to Oktoberfest? Sep 16 15:55:10 Crofton|work: 0.4.16 is the version we have a recipe for Sep 16 15:55:21 Crofton|work: I've sent an email to ka6sox to get it added to the OE mirror Sep 16 15:56:01 I wonder if the site is coming back Sep 16 15:57:44 it's been dead since at least Friday Sep 16 15:59:58 looks like its git repo is still accessible at git://code.entropywave.com/git/orc.git, though Sep 16 16:06:44 ah, the fd.o repo is more current Sep 16 16:08:03 hi, does somebody else see that systemd-binfmt contains the 'shutdown.target' script (which should be in main package)? Sep 16 17:40:30 moin Sep 16 17:58:51 does anybody know of a layer that supports rockchip platforms? Sep 16 18:54:11 Crofton|work: board meeting today? Sep 16 20:01:13 is there a patch to make older kernels boot with newer gcc? Sep 16 20:01:17 I ahve this memory Sep 16 20:02:45 define older/newer Sep 16 20:03:00 gcc in oe-core Sep 16 20:03:04 linux-3.5 or so Sep 16 20:03:07 and earlier Sep 16 20:03:59 gcc-4.7.x or 4.8.x? Sep 16 20:04:48 4.8 Sep 16 20:05:02 i think we're using gcc-4.3.3 with the arago kernel (2.6.37) Sep 16 20:05:41 lets see, chromebook kernel os 3.4.0+patches and i build that with 4.7.3 Sep 16 20:06:14 there is something I thin kI recall Sep 16 20:06:28 what's the boot issue? Sep 16 20:06:53 Crofton|work: there was alignment issue with gcc-4.7+ and older kernels. was patched in newer kernels Sep 16 20:07:37 do yuo recall if the symptom was failed to boot with no messages Sep 16 20:07:43 must be already patched in the gentoo toolchains Sep 16 20:08:35 Crofton|work: yeah, pretty much - http://git.yoctoproject.org/cgit/cgit.cgi/meta-ti/tree/recipes-kernel/linux/files/0001-arm-fix-builds-with-gcc-4.7.patch Sep 16 20:09:04 thanks denix Sep 16 22:53:10 Hi i'm having troubles with "linux-firmware-iwlwifi-license", I probably have to do something to include it? to accept the license? **** ENDING LOGGING AT Tue Sep 17 02:59:58 2013