Sunday, 2016-09-25

*** crankslider <crankslider!~slidercra@unaffiliated/slidercrank> has joined #yocto00:31
*** flynn378 <flynn378!sid63564@gateway/web/> has quit IRC00:53
*** flynn378 <flynn378!sid63564@gateway/web/> has joined #yocto00:53
*** nerdboy <nerdboy!> has joined #yocto00:53
*** tf <tf!> has quit IRC00:55
*** tardyp <tardyp!sid45259@gateway/web/> has quit IRC00:56
*** tardyp <tardyp!sid45259@gateway/web/> has joined #yocto00:56
*** erbo <erbo!> has quit IRC00:57
*** crankslider <crankslider!~slidercra@unaffiliated/slidercrank> has quit IRC01:00
*** Crofton|work <Crofton|work!> has joined #yocto01:03
*** tf <tf!> has joined #yocto01:03
*** erbo <erbo!> has joined #yocto01:05
*** lugu <lugu!~ludo@> has quit IRC02:11
*** lugu <lugu!~ludo@> has joined #yocto02:11
bluelightninglukma: you'd just create an image recipe and build it02:12
*** Guest56401 <Guest56401!> has quit IRC02:27
*** blueness <blueness!~blueness@gentoo/developer/blueness> has quit IRC02:29
*** blueness <blueness!~blueness@gentoo/developer/blueness> has joined #yocto02:32
*** bluelightning <bluelightning!~paul@pdpc/supporter/professional/bluelightning> has quit IRC02:55
*** bluelightning <bluelightning!~paul@pdpc/supporter/professional/bluelightning> has joined #yocto02:57
*** pohly1 <pohly1!> has joined #yocto03:03
*** pohly <pohly!> has quit IRC03:06
*** bluelightning <bluelightning!~paul@pdpc/supporter/professional/bluelightning> has quit IRC03:36
*** bluelightning <bluelightning!~paul@pdpc/supporter/professional/bluelightning> has joined #yocto03:37
*** redengin <redengin!> has joined #yocto03:37
*** pohly <pohly!> has joined #yocto04:00
*** pohly1 <pohly1!> has quit IRC04:03
*** vmesons <vmesons!> has quit IRC04:28
*** vmesons <vmesons!> has joined #yocto04:30
*** bluelightning <bluelightning!~paul@pdpc/supporter/professional/bluelightning> has quit IRC04:31
*** mfny <mfny!57fe582c@gateway/web/freenode/ip.> has quit IRC05:03
*** manuel_ <manuel_!> has quit IRC05:07
*** Snert_ <Snert_!~snert_@> has quit IRC05:14
*** Snert_ <Snert_!~snert_@> has joined #yocto05:15
*** manuel_ <manuel_!> has joined #yocto05:38
*** blueness <blueness!~blueness@gentoo/developer/blueness> has quit IRC05:39
*** blueness <blueness!~blueness@gentoo/developer/blueness> has joined #yocto05:42
*** mfny <mfny!57fe56a0@gateway/web/freenode/ip.> has joined #yocto06:13
mfnyhi all06:14
*** rob_w <rob_w!~rob@unaffiliated/rob-w/x-1112029> has joined #yocto06:37
*** manuel_ <manuel_!> has quit IRC07:04
lukmabluelightning: Thanks for answer07:06
lukmaThe problem is that this is not the ordinary image07:06
lukmait is supposed to be on the SD card07:06
*** crankslider <crankslider!~slidercra@unaffiliated/slidercrank> has joined #yocto07:15
mfnyanyone here ?07:25
mfnycant get yocto to build with x11 at all07:30
*** mfny <mfny!57fe56a0@gateway/web/freenode/ip.> has quit IRC07:32
*** pohly <pohly!> has quit IRC07:40
*** JEEB <JEEB!> has joined #yocto07:45
*** JEEB <JEEB!~jeeb@unaffiliated/jeeb> has joined #yocto07:45
*** bluelightning <bluelightning!~paul@pdpc/supporter/professional/bluelightning> has joined #yocto08:05
*** obsrwr_home <obsrwr_home!~obsrwr@> has joined #yocto08:06
*** mfny <mfny!57fe56a0@gateway/web/freenode/ip.> has joined #yocto08:10
*** blueness <blueness!~blueness@gentoo/developer/blueness> has quit IRC08:12
mfnybluelightning:  you here ?08:25
bluelightningmfny: kind of08:25
mfnystill cant get that x11 config error to clear08:26
mfnygetting realy flustrating08:26
Ulfalizermfny: unrelated, but just to save you some future embarrassment: it is spelled "frustrating" :)08:27
bluelightningmfny: did you try what I suggested?08:27
SnertRetaed with frust lol08:27
SnertI hate those erros08:28
mfnybluelightning: i didnt see your surgestion ..08:28
*** crankslider <crankslider!~slidercra@unaffiliated/slidercrank> has quit IRC08:28
mfnyUlfalizer: my spelling isnt great, deal with it :)08:29
bluelightningmfny: try deleting the bbappend from meta-xilinx (or renaming to e.g. .bbappend_disabled)08:29
mfnythats makeing it do the rootfs so so far so good08:34
mfnyand build is done08:34
mfnynow to see if it will work08:34
mfnyhopefully x11 will just generate its own config08:35
mfnyor if not i can copy those config files manualy i guess08:35
mfnyyay, it works08:50
mfnybluelightning:  thanks08:50
bluelightningmfny: no problem08:50
bluelightningmfny: you should probably tell the meta-xilinx maintainer to fix their broken bbappend08:50
bluelightning(or fix it for them and send a patch)08:50
mfnyim a noob so fixing it for them is outside of my skill set08:51
mfnybluelightning: im just getting started with FPGAs08:52
mfnyhm is there a standard x11 image with something more PC like then Sato ?08:53
mfnylike a proper WM08:54
*** frsc <frsc!> has joined #yocto08:54
bluelightningmfny: you could always add meta-xfce, I believe that provides a reasonable starting image08:56
mfnyhow would i get the xfce image built ?08:57
mfnyi think ive tried it and it didnt work08:57
mfnyah i get this08:58
mfnyERROR: Nothing PROVIDES 'core-image-minimal-xfce'. Close matches:   core-image-minimal-dev   core-image-minimal   core-image-minimal-initramfs08:58
mfnybluelightning: any ideas for that ?09:13
*** Snert <Snert!> has quit IRC09:17
bluelightningmfny: have you added meta-xfce to your configuration?09:19
mfnyno, how would i do that ?09:21
*** Snert <Snert!> has joined #yocto09:32
bluelightningmfny: here's the layer:
bluelightningyou're going to need to clone that and the listed dependencies, then add the paths to conf/bblayers.conf09:33
mfnyim working out how to add layers now.. think i have it09:33
*** juergbi` is now known as juergbi09:35
mfnybluelightning: building now :)09:37
mfnybluelightning: what platform(s) do you run yocto on ?09:40
bluelightningmfny: well, I'm one of the developers so I test it on all sorts of different platforms09:40
mfnybluelightning: ohh your a dev, didnt know that09:41
mfnybluelightning: im running on a Zybo (Xilinx Zynq 7010) board09:42
mfnybluelightning: its a nice board so far09:42
mfnybluelightning: also yocto building could be easier... just saying :)09:43
*** blueness <blueness!~blueness@gentoo/developer/blueness> has joined #yocto09:43
bluelightningmfny: well, you've hit bugs, that shouldn't happen09:44
bluelightningmfny: but there are easier ways to build, e.g. Toaster09:44
bluelightningthere's even a docker container for Toaster now so it's just a few commands to set up09:44
mfnyoh there is a docker ? neat09:45
mfnymay have to look into that09:45
*** kad <kad!~kad@unaffiliated/kad> has quit IRC09:55
*** kad <kad!~kad@unaffiliated/kad> has joined #yocto09:57
*** rubdos <rubdos!> has joined #yocto10:10
*** mario-goulart <mario-goulart!> has joined #yocto10:13
mfnybluelightning: that xfce minimal image works fine :)10:15
*** auke-_ is now known as auke-10:28
bluelightningmfny: cool10:37
*** bluelightning <bluelightning!~paul@pdpc/supporter/professional/bluelightning> has quit IRC10:37
auke-Hi! I'm trying to revive my custom Yocto image based on Jethro with a clean build, but gcc-cross-initial-arm fails to compile (undefined reference to expand_shift, see What could cause this error?10:40
*** ulf` <ulf`!~ulf@> has joined #yocto11:51
*** amboar <amboar!> has joined #yocto12:11
*** bbhoss <bbhoss!sid18216@gateway/web/> has quit IRC12:51
*** tardyp <tardyp!sid45259@gateway/web/> has quit IRC12:51
*** bbhoss <bbhoss!sid18216@gateway/web/> has joined #yocto12:53
*** Guest68299 is now known as Hauke12:54
*** frsc_ <frsc_!> has joined #yocto12:54
*** bachp <bachp!bachpmatri@gateway/shell/> has quit IRC12:54
*** frsc_ <frsc_!> has quit IRC12:54
*** tardyp <tardyp!sid45259@gateway/web/> has joined #yocto12:54
*** frsc <frsc!> has quit IRC12:58
*** frsc <frsc!> has joined #yocto12:59
*** dv_ <dv_!~quassel@> has quit IRC13:06
*** dv_ <dv_!~quassel@> has joined #yocto13:06
*** dv_ <dv_!~quassel@> has quit IRC13:12
*** frsc <frsc!> has quit IRC13:12
*** dv_ <dv_!> has joined #yocto13:14
*** bachp <bachp!bachpmatri@gateway/shell/> has joined #yocto13:22
*** Crofton <Crofton!> has joined #yocto13:33
*** supermark is now known as sandsmark13:41
*** manuel_ <manuel_!> has joined #yocto13:46
*** freanux <freanux!~freanux@unaffiliated/freanux> has joined #yocto13:47
*** Crofton <Crofton!> has quit IRC13:48
*** Biliogadafr <Biliogadafr!> has joined #yocto13:48
*** Snert_ <Snert_!~snert_@> has quit IRC13:53
*** Snert_ <Snert_!~snert_@> has joined #yocto13:53
*** Hauke <Hauke!> has quit IRC14:07
*** Hauke <Hauke!> has joined #yocto14:11
*** rubdos <rubdos!> has quit IRC14:14
*** rubdos <rubdos!> has joined #yocto14:16
*** rubdos <rubdos!> has quit IRC14:28
*** RzR <RzR!~RzR@> has quit IRC14:41
*** RzR <RzR!~RzR@unaffiliated/rzr> has joined #yocto14:41
*** blueness <blueness!~blueness@gentoo/developer/blueness> has quit IRC14:41
*** blueness <blueness!~blueness@gentoo/developer/blueness> has joined #yocto14:43
*** tlab <tlab!~tlab@> has joined #yocto14:57
*** blueness <blueness!~blueness@gentoo/developer/blueness> has quit IRC15:34
*** blueness <blueness!~blueness@gentoo/developer/blueness> has joined #yocto15:40
*** Snert_ <Snert_!~snert_@> has quit IRC15:56
*** Snert_ <Snert_!~snert_@> has joined #yocto15:56
*** iskander_ <iskander_!~iskander@> has quit IRC16:05
*** iskander <iskander!> has joined #yocto16:11
*** crankslider <crankslider!~slidercra@unaffiliated/slidercrank> has joined #yocto16:18
*** rob_w <rob_w!~rob@unaffiliated/rob-w/x-1112029> has quit IRC16:21
*** nerdboy <nerdboy!> has quit IRC16:27
*** nerdboy <nerdboy!~sarnold@gentoo/developer/nerdboy> has joined #yocto16:27
*** manuel_ <manuel_!> has quit IRC16:30
*** iskander <iskander!> has quit IRC16:44
*** iskander <iskander!~iskander@> has joined #yocto16:50
*** manuel_ <manuel_!~manuel@> has joined #yocto16:59
*** blueness <blueness!~blueness@gentoo/developer/blueness> has quit IRC17:03
*** andrey_utkin <andrey_utkin!> has quit IRC17:04
*** agust <agust!> has joined #yocto17:09
*** Biliogadafr <Biliogadafr!> has quit IRC17:25
*** sgw_ <sgw_!sgw_@nat/intel/x-aczfdbvlynhmxhdr> has joined #yocto17:30
*** blueness <blueness!~blueness@gentoo/developer/blueness> has joined #yocto17:48
*** _william_ <_william_!> has joined #yocto17:51
lukmaDear All,18:05
lukmaIs there a way to get ${LAYERDIR} in the recipie ?18:05
kergothbitbake doesn't keep track of what layer a given recipe lives in, but you can determine it after  the fact in the metadata18:05
lukmaI have my own layer -> meta-mylayer18:06
lukmaand I plan to store shared file at meta-mylayer/conf18:06
lukma(or maybe I shall create meta-mylayer/recipie-common ) ?18:07
lukmaI want to share one file between recipies in different directories18:07
kergothdepends on what it is. you could include a file from each recipe, or use a class and inherit it, or load a config file globally from local.conf18:08
lukmaHow can I load it globally from local.conf18:09
kergoththere's no need to know the path to the layer to include a file, though18:09
kergothif you use a relative path to 'include' or 'require', it'll search BBPATH, which searches the layers, for that path relative to the top of the layer18:09
lukmaIt is a simple text file with few lines in it18:09
kergothinclude conf/foo.conf will find foo.conf in your layer18:09
kergothfor example18:09
kergothit's how all config files and classes are found18:10
lukmaso I can include everyfile which was added to BBPATH during configuration?18:10
kergothi.e. bitbake.conf does include conf/local.conf, that's how local.conf is found. the build dir & the layer dirs are in bbpath18:10
kergoththat doesn't make sense18:10
kergothbbpath lists directories, much like PATH18:10
kergothit's a search path, used to find specific files18:10
lukmaso I can add "include conf/my_file.txt" in the recipie which needs it?18:10
kergoththough .txt is invalid18:10
lukmaERROR: ParseError in "conf/fw_env.config": not a BitBake file18:12
kergothyes, include/require are used to include bitbake config files18:12
kergothif it's a file you want to include source wise, it's still doable, but slightly more complex18:12
*** Snert_ <Snert_!~snert_@> has quit IRC18:13
lukmaSo to present what I'm trying to solve here:18:13
*** Snert_ <Snert_!~snert_@> has joined #yocto18:13
kergothSRC_URI += "file://fw_env.config"; FILESPATH .= ":${@os.path.dirname(bb.utils.which('${BBPATH}', 'conf/fw_env.config'))}"18:13
kergothwould search the layers for the file, get the dir name of that, then add that to the seach path for file:// files18:14
kergoththat's one option18:14
*** blueness <blueness!~blueness@gentoo/developer/blueness> has quit IRC18:14
lukmakergoth: why I extend FILESPATH after add add SRC_URI ?18:16
lukmaStill no luck18:19
lukma${@os.path.dirname(bb.utils.which('${BBPATH}', 'conf/fw_env.config'))}"18:19
lukmaFILESEXTRAPATHS_prepend := ":${@os.path.dirname(bb.utils.which('${BBPATH}', 'conf/fw_env.config'))}"18:19
lukmaSRC_URI += "file://fw_env.config"18:19
lukmaI've modified it a bit since the original version was also not working18:19
kergothyou're prepending, but didn't move the : separator18:23
kergothif you prepend, the separator has to be at the end, not the beginning18:23
kergothotherwise you'll get a result like :foobar instead of foo:bar18:24
kergothand order is irrelevent, it doesn't matter what order thet wo variables are defined in, bitbake doesn't use their values until long after they're parsed18:24
lukmakergoth: Yes you are right18:26
lukmathe colon was in wrong place18:26
lukmaand I think that FILESETEXTRAPATHS is the way to add this18:26
lukma kergoth: And If I may18:28
lukmaIs there a way to see only the list of tasks executed for a recipie? (-n? -g?)18:28
*** blueness <blueness!~blueness@gentoo/developer/blueness> has joined #yocto18:29
*** paulg_ <paulg_!> has joined #yocto18:31
lukmakergoth: And one more question18:41
lukmahow can I access this fw_env.config when I write my own do_populate_rootfs() @ *.bbappen ?18:42
lukmaIs it accessible with ${S} ?18:42
lukma(with ${S} it is not working)18:42
kergothfile:// files in SRC_URI are unpacked to WORKDIR, not S18:47
lukmawith {WORKDIR} it also shows that the file is not found18:53
Ulfalizerhaven't really followed the discussion, but a nice debugging technique is to search for it in the build directory and then trying to correlate that to variables18:54
Ulfalizerthat way you'll get a feel for the layout as well18:54
Ulfalizerthe ${WORKDIR}s for recipes are in the build directory18:54
lukmaBut when I search for it:18:54
lukmathere is no fw_env.config18:57
lukmafind also is not showing anything18:58
Ulfalizerlukma: does the do_fetch task for the recipe run without errors?19:02
Ulfalizerthat's the one that'll copy that file into WORKDIR19:02
Ulfalizeralso, make sure that you're not overriding SRC_URI with a = after your +=. check the output of bitbake -e to see the final value of SRC_URI.19:03
Ulfalizerversion 2.2 of the reference manual has more details on bitbake -e btw19:04
Ulfalizercompared to earlier versions19:04
* Ulfalizer gets food19:07
*** Nilesh_ <Nilesh_!uid116340@gateway/web/> has quit IRC19:07
lukmado_fetch went smooth19:28
lukmaok, the "hackish" solution -> I've installed the original package which was installing this file19:52
lukmain the image, which I needed :D19:52
lukmaOneliner with .bbappend19:52
*** crankslider <crankslider!~slidercra@unaffiliated/slidercrank> has quit IRC20:22
*** nerdboy <nerdboy!~sarnold@gentoo/developer/nerdboy> has quit IRC20:35
*** mr_science <mr_science!~sarnold@gentoo/developer/nerdboy> has quit IRC20:35
*** paulg_ <paulg_!> has quit IRC20:43
*** hsthirumalesh <hsthirumalesh!~hsthiruma@> has joined #yocto20:49
*** hsthirumalesh <hsthirumalesh!~hsthiruma@> has quit IRC20:50
*** hsthirumalesh <hsthirumalesh!~hsthiruma@> has joined #yocto20:51
*** hsthirumalesh <hsthirumalesh!~hsthiruma@> has joined #yocto20:52
*** Crofton <Crofton!> has joined #yocto20:56
*** dl9pf <dl9pf!~quassel@opensuse/member/dl9pf> has quit IRC21:02
*** dl9pf <dl9pf!~quassel@opensuse/member/dl9pf> has joined #yocto21:03
*** mr_science <mr_science!> has joined #yocto21:10
*** mr_science <mr_science!~sarnold@gentoo/developer/nerdboy> has joined #yocto21:10
*** obsrwr_home <obsrwr_home!~obsrwr@> has quit IRC21:11
*** Snert__ <Snert__!> has joined #yocto21:16
*** Snert <Snert!> has quit IRC21:18
*** Crofton <Crofton!> has quit IRC21:18
*** Guest56401 <Guest56401!> has joined #yocto21:56
*** bfederau <bfederau!> has quit IRC22:01
*** fmeerkoetter <fmeerkoetter!> has quit IRC22:01
*** fmeerkoetter <fmeerkoetter!> has joined #yocto22:01
*** bfederau <bfederau!> has joined #yocto22:01
*** mfny <mfny!57fe56a0@gateway/web/freenode/ip.> has quit IRC22:05
*** agust <agust!> has quit IRC22:14
*** nerdboy <nerdboy!> has joined #yocto22:23
*** nerdboy <nerdboy!~sarnold@gentoo/developer/nerdboy> has joined #yocto22:23
*** Snert_ <Snert_!~snert_@> has quit IRC22:27
*** Snert_ <Snert_!~snert_@> has joined #yocto22:28
*** Guest56401 <Guest56401!> has quit IRC22:49
*** mattsm <mattsm!uid128834@gateway/web/> has quit IRC22:57
*** stryx` <stryx`!~stryx@unaffiliated/stryx/x-3871776> has quit IRC23:14
*** stryx` <stryx`!~stryx@unaffiliated/stryx/x-3871776> has joined #yocto23:16
*** stryx` <stryx`!~stryx@unaffiliated/stryx/x-3871776> has quit IRC23:22
*** stryx` <stryx`!~stryx@unaffiliated/stryx/x-3871776> has joined #yocto23:27
*** stryx` <stryx`!~stryx@unaffiliated/stryx/x-3871776> has quit IRC23:39
*** armpit <armpit!~akuster@2601:202:4001:9ea0:5dd7:2377:b07c:5464> has quit IRC23:49
*** stryx` <stryx`!~stryx@unaffiliated/stryx/x-3871776> has joined #yocto23:50
*** stryx` <stryx`!~stryx@unaffiliated/stryx/x-3871776> has quit IRC23:56
*** stryx` <stryx`!~stryx@unaffiliated/stryx/x-3871776> has joined #yocto23:59

Generated by 2.11.0 by Marius Gedminas - find it at!