**** BEGIN LOGGING AT Mon Jan 11 02:59:58 2016 Jan 11 15:10:48 hi, for my target i have a nand flash layout using multiple partitions, is there a way to tell yocto to install rootfs to corresponding multiple archives? Jan 11 15:20:08 Whats the best way of including host tools like mkenvimage from u-boot into the SDK (-cpopulate_sdk)? Jan 11 15:22:52 ericbutters: i'm not an expert, but i would create different images for each partition Jan 11 16:37:08 ping kergoth Jan 11 16:42:02 mtownsend1973: check out u-boot-mkimage recipe you have to add nativesdk-u-boot-mkimage to your SDK Jan 11 16:43:11 ericbutters: you might want to look into wic Jan 11 16:47:55 khem: can you provide a link? Jan 11 16:51:09 khem: Thank you, I've copied that recipe and changed mkimage to mkenvimage. Jan 11 16:58:28 ericbutters: http://www.yoctoproject.org/docs/2.0/mega-manual/mega-manual.html#creating-partitioned-images Jan 11 16:58:32 khem: i looked into the RM, there is not much :) and yes maybe it can help me.. but anyone here that had the same idea/issue? splitting yocto rootfs into different parts to one can apply to corresponding flash partitions? Jan 11 16:59:23 ericbutters: we have a custom solution which I dont like Jan 11 16:59:26 khem: oh! nice, thanks.. seems to be a good thing Jan 11 16:59:50 it doesnt deal with many details e.g. update alternatives Jan 11 17:00:02 and volatile binds Jan 11 17:00:39 so wic is better and if it falls short then fix it Jan 11 17:00:51 and upstream the patches Jan 11 17:01:13 okay, i will take a look into this.. if you have more info or good ideas please let me know :) thanks again Jan 11 17:25:32 hi Jan 11 17:27:50 ho Jan 11 17:31:35 ;) Jan 11 17:33:57 when running bitbake core-image-minimal I got the error "unable to determine endianness for architecture armv7l" so I add "armv7l": "endian-little bit-32 arm-commin arm-32" in siteinfo.bbclass but I got the exact same error Jan 11 17:35:05 that should be set by machine config Jan 11 17:36:04 how ? Jan 11 17:38:02 sorry, site info Jan 11 17:38:40 poky/documentation/ref-manual/ref-variables.xml <= try setting in local.con Jan 11 17:38:49 local.conf even Jan 11 17:39:00 ok Jan 11 17:39:07 SITEINFO_ENDIANNESS = "be" Jan 11 17:41:21 afaik tune_features should set it... Jan 11 17:42:32 exit Jan 11 17:43:30 hm...I tried SITEINFO_ENDIANNESS = "le" in local.conf but still with the same error Jan 11 17:43:39 I'm looking for tune_features Jan 11 17:46:11 hmmm there is no arch-armv7l.inc file is that a problem ? Jan 11 17:50:57 should be in arch-armv7a.inc Jan 11 17:51:18 SITEINFO_ENDIANNESS *should* take care of it Jan 11 17:52:05 but the variations within armv7 are handled as tune options Jan 11 17:52:19 at least they were last time i looked... Jan 11 17:52:30 hmmm Jan 11 17:52:43 halstead: you around? Jan 11 17:53:57 I can't find any armv7l in any inc files Jan 11 17:54:07 halstead: I sent you an email to your corporate account, I did that to your .org account but I failed to remember the address, according to mailman Jan 11 17:54:23 it's all v7afoo Jan 11 17:54:49 # Big Endian => AVAILTUNES += "armv7ab armv7atb armv7ab-vfpv3d16 armv7atb-vfpv3d16 armv7ab-vfpv3 armv7atb-vfpv3 armv7ab-neon armv7atb-neon" Jan 11 17:56:14 but armv7l is little endian Jan 11 17:57:42 take off the b Jan 11 17:57:52 same tunes without b are le Jan 11 17:58:24 several recipes check that value, eg, ${@base_conditional('SITEINFO_ENDIANNESS', 'le', '--with-endianness=little', '--with-endianness=big', d)} Jan 11 17:58:42 *** hm...I tried SITEINFO_ENDIANNESS = "le" in local.conf but still with the same error *** Jan 11 17:58:47 what is your machine name? Jan 11 17:59:14 you might need to clean some things and/or nuke /tmp Jan 11 17:59:25 ok lets try to nuke /tmp :) Jan 11 18:08:18 janemba: arm default to LE in OE for BE you need to append is to arch part or triplet e.g. armeb Jan 11 18:10:02 you must be missing proper tune arch in your machine conf Jan 11 18:10:43 khem: well I don't think the issue is endiannesss. The error said it can't find my arch in some file... Jan 11 18:16:31 janemba: read my second comment Jan 11 18:16:48 which machine are you building for ? Jan 11 18:16:58 is it something your own ? Jan 11 18:17:29 khem: this is imx6 board Jan 11 18:17:33 *an* Jan 11 18:18:05 from meta-fsl-arm ? Jan 11 18:18:11 can you point to souces Jan 11 18:20:15 khem: this board -> http://tinyurl.com/j4mcnky Jan 11 18:20:53 I meant to say point to BSP layer sources Jan 11 18:21:14 oh Jan 11 18:25:49 khem: from here http://git.freescale.com/git/cgit.cgi/imx/fsl-arm-yocto-bsp.git/ Jan 11 18:28:06 this branch imx-3.14.38-6UL_patch Jan 11 18:36:41 seems nuke fix it... Jan 11 19:16:43 janemba: so its fixed ? Jan 11 19:17:13 khem: its still compiling but I think its fixed Jan 11 19:17:35 ? Jan 11 19:19:55 I got the error right after bitbake command and it hasn't happened Jan 11 20:14:54 * kergoth grumbles Jan 11 21:09:35 * nerdboy untangles his beard... Jan 11 21:10:11 found some stale .bbappends Jan 11 21:13:37 so would that be .beardappends ? Jan 11 21:23:47 I'm a bit a a loss, with a kernel's run.do_compile not containing any uboot_mkimage reference - that's a sunxi 4.4 I'm writing a recipe for based on the existing 3.4 Jan 11 21:25:01 noone seems to override KERNEL_CLASSES Jan 11 21:30:34 yann|work: not clear as to what you are asking for Jan 11 21:32:01 let's try to explain then :) Jan 11 21:32:20 AFAIR mkimage is done in a separate task depending upon KERNEL_TYPE Jan 11 21:32:32 KERNEL_IMAGE_TYPE Jan 11 21:33:33 I'm trying to write a machine def for the OrangePi-Plus for jethro, and for this am trying to do that by building a linux-sunxi 4.4 (branch sunxi-next) Jan 11 21:34:14 OK Jan 11 21:34:27 I've simply based this on the recipe for 3.4 (just removed all patches) Jan 11 21:34:28 then somewhere in your machine conf you might be setting KERNEL_IMAGETYPE Jan 11 21:35:16 the machine conf is mostly copied from existing ones, so I supposed it would work - although I admit not checking first :> Jan 11 21:35:40 if KERNEL_IMAGETYPE is set to uImage Jan 11 21:35:47 then the task would kick in Jan 11 21:36:41 include/sunxi.inc does set it Jan 11 21:37:42 in fact something is working, as "make uImage" is run, but the problem is it should get LOADADDR= on the "make uImage" cmdline Jan 11 21:38:25 and even kernel-uimage.bbclass does not do it that way (maybe it would work if it was really being used) Jan 11 21:48:27 yann|work: are you setting UBOOT_LOADADDRESS in machine conf ? Jan 11 21:50:12 khem: no, it is set in include/sunxi.inc as well, just not used (as shown by the typo in the value) Jan 11 21:50:58 now just adding KERNEL_EXTRA_ARGS += " LOADADDR=${UBOOT_LOADADDRESS}" to the kernel recipe dies the trick as a workaround, but I'm not quite happy with it :) Jan 11 22:07:02 what causes "ERROR: BBCLASSEXTEND=imagevariant must be used with parameters, as in BBCLASSEXTEND=imagevariant:no-debug-tweaks,tools-profile"? Jan 11 22:08:28 So, bitbake idiom question. Jan 11 22:09:10 I want to have some bitbake code error out cleanly if a given value isn't in TUNE_FEATURES. I would like it to, ideally, produce a meaningful error message and cause things to abort because this code shouldn't have been included if that feature isn't available. Jan 11 22:09:15 Is there a reasonable idiom for this? Jan 11 22:12:29 seebs: you'll have to determine just what you mean by 'error out' and when exactly you want it to error Jan 11 22:13:01 e.g. if you do it immediately in inline python, it'd error at parse time, which is likely too early. or if you do it at ConfigParsed time, you' dhave hte metadata you need, but it'd also prevent bitbake -e from working Jan 11 22:13:25 Ugh, point. Jan 11 22:13:42 And I want bitbake -e to be able to work, if at all possible, but I want to prevent anything from actually being done, because any attempt to build would be Bad. Jan 11 22:14:29 More context: A thing which, if specified, would like to add compiler flags. The compiler flags are inappropriate for being part of a tune, but are only meaningful on a very small set of processors, and I'd rather blow up during sanity checks and stuff than let you build all the native/sdk stuff and THEN find out that your TARGET_CFLAGS are wrong. Jan 11 22:14:31 i think the most common way of handling that sort of thing is to do it at BuildStarted time, or around there, and use bb.fatal. bitbake -e will succeed, but it'd error before any tasks start running Jan 11 22:14:53 Come to think of it: Maybe I should try to implement it as a sanity check. Jan 11 22:14:56 of course sanity.bbclass has its own way of doing things, and there's a SanityCheck event that fires.. Jan 11 22:15:32 Hmm, that might be the right thing. Add a handler for SanityCheck that does the quick check or fails. Jan 11 22:16:09 Okay, I like that. Thanks. Jan 11 22:16:44 there are events for sanity success / failure, might want to fire the latter but not the former if it fails? *shrug* Jan 11 22:16:52 np Jan 11 22:22:05 Not a bad idea, although I suspect a bb.fatal() is good enough for now. Probably. Jan 11 22:47:51 Hi - I'm getting started with development using Yocto and was wondering whether or not it's important to keep all the layers within the same source directory? All the tutorials I've seen do it that way, but it seems to work OK to have some layers in different directories. This would make it easier to manage the yocto portion of our broader project (which is contained in one large git repo and includes various non-embedded thing Jan 11 22:49:55 pericynthion: hey... no, it doesn't matter where you put them since you specify the full path to each one in bblayers.conf Jan 11 23:09:16 pericynthion: why one git repo ? may be you can look at git submodules Jan 11 23:09:23 its quite usable now a days Jan 11 23:10:09 bluelightning: your pixz not supporting --disable-manpages option is a bit confusing Jan 11 23:10:21 I wonder if its relatively a new option Jan 11 23:10:23 let me check Jan 11 23:13:00 bluelightning: ah Jan 11 23:13:03 see https://github.com/vasi/pixz/commit/936d8068ae19d95260d3058f41dd6cf718101cd6 Jan 11 23:13:39 this commit is after 1.0.6 release Jan 11 23:14:00 so that needs backporting Jan 11 23:40:22 khem: ah, I see Jan 11 23:55:10 Any chance there's somebody lurking here who has their fingers in the dhpc package? Jan 11 23:56:28 is anyone using IMX6 builds with gstremer Jan 11 23:56:46 i am trying to compile and getting following errors Jan 11 23:57:03 g++: error: unrecognized command line option ‘-mthumb’ g++: error: unrecognized command line option ‘-mfpu=neon’ g++: error: unrecognized command line option ‘-mvectorize-with-neon-quad’ g++: error: unrecognized command line option ‘-mfloat-abi=hard’ make: *** [src/configure] Error 127 Jan 11 23:57:17 any suggestions? Jan 11 23:57:21 I'm having a problem with it that looks like a regression bug from fido to jethro. Or possibly dhcpd-4.3.1 to dhcpd-4.3.2, but I can only reproduce the bug with the bitbake'd dhcpd. If I compile it myself, it works fine. Jan 11 23:59:22 @Darknight any suggestions? Jan 11 23:59:46 Raj_: At a stab in the dark, I'd guess you might be using the wrong floating point type? Jan 12 00:00:46 i have not seen this before g++: error: unrecognized command line option ‘-mthumb Jan 12 00:02:28 i have following flags in makefile CFLAGS = -W -O0 -g -std=c++11 -pthread -mthumb -mcpu=cortex-a9 -mtune=cortex-a9 -mfpu=neon -ffast-math Jan 12 00:03:07 so... Jan 12 00:03:10 I was wondering... Jan 12 00:03:44 If I make a package that contains a static library, is there any way for me to get bitbake to add the -L to the built library? Jan 12 00:04:01 I assume there must be, but I've been having trouble identifying how. Jan 12 00:04:14 To formulate the question better: Jan 12 00:06:12 Raj_: Try dropping -mthumb and see how that works for you. Jan 12 00:09:02 it still fails for others g++: error: unrecognized command line option ‘-mfpu=neon’ g++: error: unrecognized command line option ‘-mvectorize-with-neon-quad’ g++: Jan 12 00:10:29 Oh, hey. Are you compiling on your IMX6 board, or cross-compiling for that board? Jan 12 00:10:46 cross compiling on UBUNTU Jan 12 00:11:51 You need to call your tools with the appropriate prefix. arm-linux-gcc, arm-linux-g++, etc Jan 12 00:12:24 or possibly arm-linux-somethingabisomething-* Jan 12 00:13:14 let me try that Jan 12 00:13:16 thanks Jan 12 00:14:11 Once you find the right one, you can use... Jan 12 00:14:24 export CROSS_COMPILE=arm-linux-whatever- Jan 12 00:14:43 and that'll set the prefix for you. Jan 12 00:15:07 I build libA.a, and I want libB.so to link it into it. What is the proper way to pass the linker path to libA.a? Jan 12 00:15:42 @wyrm, Thanks a lot Jan 12 00:19:49 pumpernickel_: ld -o .o -L -l Jan 12 00:21:18 Note that the library file itself must be named lib.a, but the argument to ld is just without the lib- prefix or .a suffix. Jan 12 00:21:26 wyrm: Thanks for your help in advance. I understand the syntax of how to link the library. Jan 12 00:21:39 The problem is getting that pesky -L argument into my makefile. Jan 12 00:21:53 I'm not sure the proper path to use, since the static library isn't put onto the target. Jan 12 00:22:27 Actually, I take that back, it *does* put the libA.a onto the target. Jan 12 00:22:36 The problem I'm having is that it still doesn't find it. Jan 12 00:23:03 I had thought that --sysroot to the compiler would have made /usr/lib a search path for static libraries as well, but it doesn't seem to be the case. Jan 12 00:23:29 Is there a priority conflict? I mean, is the compiler finding another library of the same name first? Jan 12 00:23:34 Or, linker, rather. Jan 12 00:24:35 Sorry, double-checking that I'm not accidentally putting the full-name in my Makefile. Jan 12 00:25:09 For ease of use to the other developers here, I had to write Makefile infrastructure to make it appear more like Android.mk (make of that what you will.) Jan 12 00:25:20 So it's a bit abstract. Jan 12 00:32:23 Hmm, perhaps my misunderstanding comes from the gnu toolchain. Jan 12 00:32:47 In the past, I've been able to link static libraries without specifying the trimmed down name. Jan 12 00:32:55 Though I admit, I'm using g++ to do the link step. Jan 12 00:33:55 something akin to Jan 12 00:34:19 g++ libA.a b.o -o libB.so Jan 12 00:40:46 Although, I suppose this is more accurate: g++ b.o libA.a -o libB.so Jan 12 00:41:00 Since in that scenario, the implication is that b.o depends on libA.a Jan 12 00:43:39 wyrm: Sure enough, you were correct! Thanks again for your help. Jan 12 00:44:36 I suppose if I don't pass it as -lLibName, it doesn't search the same paths, and must just assume that it's in the local directory. Jan 12 00:44:40 Stupid mistake on my part. **** ENDING LOGGING AT Tue Jan 12 02:59:59 2016