*** Tokamak <Tokamak!~Tokamak@107.117.203.65> has quit IRC (Ping timeout: 258 seconds) | 00:09 | |
*** goliath <goliath!~goliath@user/goliath> has quit IRC (Quit: SIGSEGV) | 00:33 | |
*** aleblanc <aleblanc!~aleblanc@192-222-183-114.qc.cable.ebox.net> has quit IRC (Ping timeout: 258 seconds) | 00:45 | |
*** jwillikers <jwillikers!~jwilliker@2604:2800:2:a403:fe91:ac3e:5153:1290> has joined #yocto | 00:57 | |
*** Tokamak <Tokamak!~Tokamak@107.117.203.193> has joined #yocto | 01:12 | |
*** sakoman <sakoman!~steve@172.243.4.16> has quit IRC (Quit: Leaving.) | 01:44 | |
*** camus <camus!~Instantbi@58.246.136.202> has quit IRC (Read error: Connection reset by peer) | 01:48 | |
*** camus <camus!~Instantbi@58.246.136.202> has joined #yocto | 01:49 | |
*** mihai <mihai!~mihai@user/mihai> has joined #yocto | 01:58 | |
*** jwillikers <jwillikers!~jwilliker@2604:2800:2:a403:fe91:ac3e:5153:1290> has quit IRC (Remote host closed the connection) | 02:03 | |
*** Tokamak <Tokamak!~Tokamak@107.117.203.193> has quit IRC (Ping timeout: 258 seconds) | 02:35 | |
*** camus1 <camus1!~Instantbi@58.246.136.202> has joined #yocto | 02:59 | |
*** camus <camus!~Instantbi@58.246.136.202> has quit IRC (Ping timeout: 256 seconds) | 03:00 | |
*** camus1 is now known as camus | 03:00 | |
*** amitk <amitk!~amit@103.208.69.19> has joined #yocto | 04:02 | |
*** boo <boo!~boodler@104-195-159-20.cpe.teksavvy.com> has quit IRC (Ping timeout: 258 seconds) | 04:41 | |
*** CocoJoe <CocoJoe!~CocoJoe@xb9b5dc3e.cust.hiper.dk> has joined #yocto | 04:41 | |
*** roussinm <roussinm!~mroussin@bras-base-qubcpq1306w-grc-21-184-145-222-193.dsl.bell.ca> has quit IRC (Quit: WeeChat 3.3-dev) | 05:26 | |
*** rpcme <rpcme!~rpcme@52.95.4.12> has quit IRC (Ping timeout: 246 seconds) | 05:44 | |
*** vmeson <vmeson!~rmacleod@198-48-226-187.cpe.pppoe.ca> has quit IRC (Ping timeout: 250 seconds) | 05:48 | |
*** vmeson <vmeson!~rmacleod@198-48-226-187.cpe.pppoe.ca> has joined #yocto | 06:07 | |
*** rob_w <rob_w!~bob@host-82-135-31-73.customer.m-online.net> has joined #yocto | 06:22 | |
*** LetoThe2nd <LetoThe2nd!uid453638@id-453638.highgate.irccloud.com> has joined #yocto | 06:36 | |
*** sbach <sbach!~sbach@user/sbach> has quit IRC (Read error: Connection reset by peer) | 06:40 | |
*** mckoan|away is now known as mckoan | 06:41 | |
*** sbach <sbach!~sbach@user/sbach> has joined #yocto | 06:41 | |
mckoan | good morning | 06:41 |
---|---|---|
LetoThe2nd | yo dudX and mckoans | 06:45 |
*** ant__ <ant__!~ant@host-87-0-28-96.retail.telecomitalia.it> has quit IRC (Ping timeout: 240 seconds) | 06:50 | |
*** leon-anavi <leon-anavi!~Leon@78.130.197.211> has joined #yocto | 06:51 | |
*** vd <vd!~vd@bras-base-mtrlpq2848w-grc-41-70-53-240-121.dsl.bell.ca> has quit IRC (Quit: Client closed) | 06:53 | |
*** mseeber <mseeber!~mseeber@static-91-137-63-64.net.encoline.de> has joined #yocto | 06:59 | |
RP | Of course as soon as I try and step away for a few days, the overrides bugs start being reported :( | 07:01 |
LetoThe2nd | RP: ya, but unfortunately it wouldn't have worked the other way round. so if you were like "i'm gonna be away the next x days in order to trigger bug reports", then not a single one would have arrived. | 07:02 |
*** camus <camus!~Instantbi@58.246.136.202> has quit IRC (Ping timeout: 240 seconds) | 07:03 | |
*** camus <camus!~Instantbi@58.246.136.202> has joined #yocto | 07:04 | |
*** mseeber <mseeber!~mseeber@static-91-137-63-64.net.encoline.de> has quit IRC (Quit: mseeber) | 07:05 | |
*** mseeber <mseeber!~Srain@static-91-137-63-64.net.encoline.de> has joined #yocto | 07:07 | |
*** prabhakarlad <prabhakarlad!~prabhakar@pc.renesas.eu> has joined #yocto | 07:14 | |
mihai | yo | 07:26 |
* LetoThe2nd mihai: exactly | 07:26 | |
mihai | :) | 07:32 |
*** kranzo <kranzo!~kranzo@p5de3f137.dip0.t-ipconnect.de> has joined #yocto | 07:41 | |
*** camus1 <camus1!~Instantbi@58.246.136.202> has joined #yocto | 07:41 | |
*** camus <camus!~Instantbi@58.246.136.202> has quit IRC (Read error: Connection reset by peer) | 07:42 | |
*** camus1 is now known as camus | 07:42 | |
*** mranostaj <mranostaj!~mranostaj@185.193.126.133> has quit IRC (Remote host closed the connection) | 07:52 | |
*** kranzo <kranzo!~kranzo@p5de3f137.dip0.t-ipconnect.de> has left #yocto | 07:53 | |
*** mranostaj <mranostaj!~mranostaj@185.193.126.133> has joined #yocto | 07:53 | |
*** kranzo <kranzo!~kranzo@p5de3f137.dip0.t-ipconnect.de> has joined #yocto | 07:56 | |
dv_ | I added INHERIT += "rm_work" in local.conf , and yet, rm_work wasn't executed on the built recipes | 08:04 |
*** zeddii <zeddii!~zeddii@cpe04d4c4975b80-cmf4c11490699b.cpe.net.cable.rogers.com> has quit IRC (Ping timeout: 272 seconds) | 08:04 | |
*** camus1 <camus1!~Instantbi@58.246.136.202> has joined #yocto | 08:04 | |
dv_ | perhaps bitbake would normally run rm_work at a much later stage. however, my machine ran out of disk space because of all of those not-removed workdirs - precisely what rm_work is there to deal with | 08:05 |
LetoThe2nd | dv_: maybe just dump tmp? | 08:05 |
dv_ | is there a way to force bitbake to always run rm_work *immediately* after the packages are done (unless the recipes are in RM_WORK_EXCLUDE) ? | 08:06 |
*** goliath <goliath!~goliath@user/goliath> has joined #yocto | 08:06 | |
dv_ | "dump tmp"? | 08:06 |
LetoThe2nd | dv_: well, rm -fR your tmp dir. it will be refilled from sstate quickly, and from thereon rm_work will probably be helpful | 08:06 |
dv_ | I need the workdirs of some recipes intact | 08:06 |
*** camus <camus!~Instantbi@58.246.136.202> has quit IRC (Ping timeout: 276 seconds) | 08:07 | |
*** camus1 is now known as camus | 08:07 | |
dv_ | also, this is a workaround - the proper solution is rm_work | 08:07 |
dv_ | ah, ok, misread | 08:07 |
*** zeddii <zeddii!~zeddii@cpe04d4c4975b80-cmf4c11490699b.cpe.net.cable.rogers.com> has joined #yocto | 08:07 | |
LetoThe2nd | seriously, if your strategy to a working build is squeezing the last handful of GB out of your disk with rm_work, then you're in trouble anywas. | 08:07 |
dv_ | but wait - isn't rm_work supposed to clean up tmp? that's what you'd do by running rm'ing tmp | 08:08 |
dv_ | -running | 08:08 |
dv_ | well, perhaps not all of us have multi-TB SSDs in our machines | 08:08 |
dv_ | and this is not just about "a few GB". without rm_work, tmp eats up about 120 GB. with rm_work, maybe 4 GB. | 08:09 |
LetoThe2nd | neither do i. but its like planning your monthly budget in a way that work perfectly with 10$ spare. it works. until that one month when you need new shoes. | 08:09 |
dv_ | either way, rm_work is a must at the moment. | 08:10 |
dv_ | "more disk space" is NOT an option right now. | 08:10 |
LetoThe2nd | like i said: dump your tmp. hope for rm_work to save you from thereon. if its not enough, clean out your sstate, hope even more. | 08:12 |
dv_ | but that makes no sense | 08:13 |
dv_ | rm_work is supposed to dump work from tmp! | 08:13 |
LetoThe2nd | no. | 08:13 |
LetoThe2nd | rm_work is supposed to clean out after building. | 08:13 |
LetoThe2nd | https://git.yoctoproject.org/cgit/cgit.cgi/poky/tree/meta/classes/rm_work.bbclass#n167 | 08:13 |
dv_ | well, "i.e. after all work on the current recipe is done" | 08:14 |
dv_ | so, once the recipe is fully built, rm_work should kick in | 08:14 |
*** zeddii <zeddii!~zeddii@cpe04d4c4975b80-cmf4c11490699b.cpe.net.cable.rogers.com> has quit IRC (Ping timeout: 240 seconds) | 08:14 | |
dv_ | and I have seen this behavior in the past. but something apparently changed. | 08:14 |
LetoThe2nd | so if you slap it onto your tmp with everything already built, then... building doesn't happen, therefore rm'ing doesn't. thats how i read it. i mightbe wrong of course, but i'm 75% sure it is like that. | 08:14 |
dv_ | but I did have rm_work included in local.conf right from the start | 08:15 |
dv_ | even before I built anything at all | 08:15 |
dv_ | hm. perhaps a bug? | 08:15 |
LetoThe2nd | then you'll have to dig deeper what packages eat the space, in which form, and why they're not cleaned. | 08:15 |
*** zeddii <zeddii!~zeddii@cpe04d4c4975b80-cmf4c11490699b.cpe.net.cable.rogers.com> has joined #yocto | 08:15 | |
LetoThe2nd | and have you verified that its actually tmp that eats the space, not sstate or downloads? | 08:16 |
dv_ | yea, I did that. it turns out that _none_ of the packages were cleaned up | 08:16 |
dv_ | and yup, its tmp | 08:16 |
*** Guest14 <Guest14!~Guest14@46.2.138.185> has joined #yocto | 08:16 | |
*** Guest14 <Guest14!~Guest14@46.2.138.185> has quit IRC (Client Quit) | 08:16 | |
dv_ | I forced bitbake to rm_work those packages by first gobbling up the package names (by going into tmp/work/arm-poky-[...]-eabi/ and running "echo * | xclip" and then running bitbake -c rm_work <pasted clipboard contents>) | 08:17 |
dv_ | and lo and behold, all packages were cleaned up | 08:17 |
LetoThe2nd | dv_: have you verified the behaviour exists on a raw poky? its very well possible that some layer breaks it. | 08:18 |
*** cebrax <cebrax!~cebrax@46.2.138.185> has joined #yocto | 08:18 | |
LetoThe2nd | in other words: if rm_work doesn't work as intended on a vanila poky, then its a bug (which is possible of course). if it does work there, then, well... you need to go dig deeper. | 08:19 |
cebrax | Hello | 08:19 |
kranzo | Hi there, i had some configure-usafe aborts on my build, so i startet using a container (same ubuntu20.04) to get a clean env, worked fine until i discovered pseudo-aborts on random recipes, is there a known issue with building in conatiners or a "proper" way to debug pseudo aborts? (i'm pretty new to yocto) | 08:20 |
*** florian <florian!~florian@port-217-146-132-69.static.as20676.net> has joined #yocto | 08:20 | |
dv_ | LetoThe2nd: looks more and more like it .. | 08:21 |
kranzo | LetoThe2nd actually your livecoding on youtube is pretty enjoyable | 08:22 |
dv_ | oh well, gotta bite that bullet. either way, this is not normal rm_work behavior if I got this right | 08:22 |
LetoThe2nd | kranzo: the pseudo aborts usually come from the fs/inods/watchers being pushed beyond their limits in combination with some known and some maybe unknown factors. do they happen on fresh builds too? is there something special about your containers? | 08:23 |
LetoThe2nd | dv_: like i said - if you can nail it down to a reproductible description, then we'll (not exactly happily, but hey!) | 08:24 |
*** frieder <frieder!~frieder@i59F4B509.versanet.de> has joined #yocto | 08:24 | |
LetoThe2nd | treat is as a bug. otherwise, well, what can i say. | 08:24 |
LetoThe2nd | kranzo: and thanks! | 08:24 |
kranzo | yes clean builds break as well, but while describing the problem i noticed i use podman instead of docker right now, maybe they tread some fs stuff different. ill give it a try. | 08:27 |
*** Fulgo <Fulgo!~Fulgo@239.red-81-34-255.dynamicip.rima-tde.net> has joined #yocto | 08:28 | |
*** Fulgo <Fulgo!~Fulgo@239.red-81-34-255.dynamicip.rima-tde.net> has quit IRC (Client Quit) | 08:28 | |
cebrax | Does anybody know u-boot-fslc v2020 support LCD IF drivers for iMX6ULL? | 08:30 |
cebrax | Does anybody know *whether* u-boot-fslc v2020 support LCD IF drivers for iMX6ULL or not? | 08:30 |
LetoThe2nd | kranzo: yeah we usually go for docker. | 08:30 |
qschulz | kranzo: been using podman only :) | 08:30 |
LetoThe2nd | cebrax: why not ask the uboot folks? | 08:31 |
cebrax | @leto2 | 08:31 |
qschulz | I use pyrex for development and will try to setup a CROPS container for CI | 08:31 |
*** Fulgo <Fulgo!~Fulgo@239.red-81-34-255.dynamicip.rima-tde.net> has joined #yocto | 08:31 | |
kranzo | qschulz rootless? or not? | 08:31 |
qschulz | rootless | 08:32 |
cebrax | LetoThe2nd Thank you! :) | 08:32 |
kranzo | qschulzill have a look into that, i just manually setup a small minimal image by hand so maybe there is something to tweakk | 08:34 |
cebrax | LetoThe2nd are you Josef Holzmayr? | 08:35 |
Fulgo | Hello | 08:35 |
Fulgo | Please, no anger, but... I have many questions I am not finding answer for and I am not sure if this would be the place :(. Obviosly, I do not expect to have the work done and I think I am still missing basic concepts | 08:38 |
Fulgo | I have read the reference manuals, seen many videos and read other resources but apart from the basics, as I want to go a little further the things turn complicated | 08:39 |
LetoThe2nd | cebrax: i actually am :) | 08:40 |
*** frieder <frieder!~frieder@i59F4B509.versanet.de> has quit IRC (Remote host closed the connection) | 08:40 | |
qschulz | Fulgo: breathe in, breathe out and ask the question :) ALl will be good :) | 08:40 |
Fulgo | hahaha | 08:40 |
Fulgo | Well, I will start slow :D | 08:41 |
qschulz | one question at a time, try to provide enough context but not too much and think about XY problem | 08:41 |
LetoThe2nd | Fulgo: howdy, welcome! so - if your question is yocto-related, you can always drop it in here. we will always have a look and try to answer. the worst things that can happen is that you don't get an answer because nobody knows, or that we might redirect you to another place where we see the question more fit. but all in all we're very relaxed. | 08:41 |
Fulgo | First, I am trying to actually guess the filesystem my custom image will use.... I have checked variables such as: IMAGE_FSTYPES and ROOTFS_XXXX expecting to find something but.. I haven't | 08:42 |
cebrax | LetoThe2nd wow! I really appreciate GREAT videos you are making, thank you! | 08:42 |
Fulgo | Thanks, all | 08:42 |
LetoThe2nd | cebrax: thank! :) | 08:42 |
Fulgo | This is just a doubt, because trying to trim the image provided by the vendor is when the problems arise XD | 08:42 |
Fulgo | Maybe that question is... very basic but I was expecting to find something like "ext3", and I just saw something like this in DISTRO_FEATURES | 08:43 |
cebrax | I really wish if there was a video that brought up a custom embedded linux board, with custom device trees and such, especially for hardware guys :'( | 08:44 |
qschulz | Fulgo: you can define the "final" type of an artefact from an image recipe with IMAGE_FSTYPES indeed. Some types are filesystems only, some are a combination of filesystems (e.g. wic allows to create images with multiple partitions of different filesystems (or no fs), can have multiple ubifs vol | 08:44 |
qschulz | ubi images can have multiple ubifs volumes, etc... | 08:44 |
qschulz | Fulgo: how did you check the content of IMAGE_FSTYPES? | 08:45 |
Fulgo | bitbake -e fsl-image-ngc | grep "^FSTYPES" | 08:45 |
LetoThe2nd | cebrax: well, its not that easy. board bringup is often complicated and time consuming, unless the hardware is already known good and has working SW support. | 08:45 |
Fulgo | Yes, I understand a wic image could have multiple partitions. In fact I found the following: IMAGE_FSTYPES="tar.gz wic.gz" | 08:46 |
qschulz | cebrax: that's not really the point of Yocto though, you bring up the bootloader and kernel/device tree first, with cross-compilation toolchains provided by your vendor/distribution and then you can integrate them in Yocto | 08:46 |
qschulz | Fulgo: there you go :) | 08:46 |
LetoThe2nd | cebrax: so, there are a nuber of good trainings out there that will show the most common things about that. i can say that for everything from bootlin, the resources are even free. but all in all, it depends quite a bit on hardware debugging and expertise. | 08:46 |
qschulz | Fulgo: to know what's inside the wic, you need to find the wks file that is used for your custom image | 08:47 |
Fulgo | Umh... I have seen many videos but they usually just build a basic distro and image. Once I pretend to trim the image or to change something I do not find free resources | 08:47 |
Fulgo | And paying without any certainty of getting what I want... is not an option I guess | 08:48 |
LetoThe2nd | cebrax: and unless somebody pays me a couple k€, probably more like couple 10k€, i am pretty sure i can't show a full bringup in video form. | 08:48 |
cebrax | qschulz Yeah, I think that's what it comes to, you need to move to Yocto once you've got all your peripherals working I guess? | 08:48 |
LetoThe2nd | Fulgo: https://github.com/bootlin/training-materials | 08:49 |
Fulgo | I have all of them working. The vendor provided a HUGE image, and I want to trim it (reduce it to only what I need) | 08:49 |
LetoThe2nd | Fulgo: and, "trimming" an image is usually not a good way. start small and then add whatever you need. | 08:49 |
Fulgo | The filesystem was only something I was not finding... If a wic image is being generated, there should be something in there building the partitions in it but... where. So, just as a first question I found it interesting | 08:50 |
Fulgo | Umh... so, you recommed that I should create a layer with a core-image-base, and add features to it. Actually, the image provided by the vendor is huge because the image recipe, so firstly I just created my own image.bb and removed all the undesired packets | 08:51 |
Fulgo | I reduced the image from 1GB to 100MB but... we need something small and poky tiny seems not to be supported (that is what the vendor says) | 08:52 |
Fulgo | LetoThe2nd thanks for the training materials | 08:52 |
LetoThe2nd | yeah, essentially thats what i would recommend. copying the original image recipe and ripping out stuff is ok, if it works for you. so, 100M is still too big, or what? | 08:52 |
Fulgo | I was in YoctoProject: Youtube and website resources | 08:53 |
qschulz | Fulgo: next step is to enable buildhistory and investigate which packages are making your rootfs grow too much and those you can afford to remove | 08:53 |
Fulgo | yes... | 08:53 |
cebrax | LetoThe2nd You're absolutely right.. Moving further is really detailed, as you are in a REALLY big system.. Imagine finding your way thru a really big harness of wire.. For example, I managed to make my LCD work with linux, now I am trying to make u-boot use my LCD, however after a week I don't think I have moved a centimeter forward.. | 08:53 |
Fulgo | This is a new project based in an old one from 1993... and as the legacy has a 4MB size... they pretend me to reduce the image to the minimum | 08:53 |
Fulgo | Maybe is not possible but I have to try | 08:54 |
qschulz | cebrax: why do you want LCD support in U-Boot? | 08:54 |
LetoThe2nd | cebrax: happens, that. for the u-boot case: take it out of yocto, make it work alone. then reintegrate. | 08:54 |
qschulz | Fulgo: you want a 4MB rootfs??? | 08:54 |
cebrax | LetoThe2nd Oh, by the way I didn't imply you to make a video on it, reading it again, sorry my sentence feels like that :D | 08:54 |
Fulgo | No. 4MB everythin. | 08:54 |
qschulz | Fulgo: lol | 08:54 |
Fulgo | Kernel, rootfs, devicetree... everything | 08:54 |
LetoThe2nd | Fulgo: 4MB is outright illusory unless you invest quite some effort. | 08:54 |
Fulgo | That is what I said | 08:54 |
LetoThe2nd | Fulgo: and with a recent kernel, moreso. | 08:55 |
qschulz | LetoThe2nd: "quite some effort" is a BIG understatement | 08:55 |
LetoThe2nd | qschulz: definitions of "quite some" tend to vary, traditionally. | 08:55 |
cebrax | qschulz Because I want to display a boot logo before linux can show one, as it takes 6-7 secs | 08:55 |
LetoThe2nd | cebrax: if it makes you feel better: some time back i wasted 4 weeks straight on hunting exactly ONE BIT to be set correctly in a driver. | 08:56 |
Fulgo | The point is that they use very slow interfaces to update the distribution (serial comms) and the smaller the better | 08:56 |
qschulz | cebrax: ok but just so you know, it's not straightforward to have flick-free transition when the kernel is taking control of the LCD. But if that does not matter, then it's simpler (didn't say simple :) ) | 08:56 |
LetoThe2nd | Fulgo: depending on the hw and everything, it can be possible. for a beginner? hardl.y | 08:57 |
qschulz | Fulgo: if it's an update speed issue and not a storage limitation, that's a different thing | 08:57 |
LetoThe2nd | Fulgo: if you really, really need such, then you better hire somebody. | 08:57 |
LetoThe2nd | Fulgo: and as qschulz says: if its only to mitigate update times, then its actually a XY problem and should be solved differently. | 08:58 |
qschulz | because I guess you could do some binary diff update or whatever it's called to avoid uploading the whole image? | 08:58 |
Fulgo | Well, I am noob in YOCTO, but it always a time to learn :( | 08:58 |
Fulgo | I put effort not to fail, but if you consider it is impossible... | 08:59 |
qschulz | but yeah, more than a few MB via serial comms is almost a deal breaker, I understand | 08:59 |
LetoThe2nd | Fulgo: there is a reason why size reduction is a common topic in linux trainings. | 08:59 |
cebrax | qschulz I really don't mind the flicker for now.. Actually I am in the learning phase and for now, even a text on LCD is a really big success for me :D | 08:59 |
Fulgo | LetoThe2nd differently? If I have a huge image, I need to reduce it to update YOCTO image | 08:59 |
qschulz | Fulgo: trimming down the kernel, bootloader, and rootfs is a difficult task which is rarely documented because it is very HW and project-specific so there's no one rule to rule them all or whatever the expression is | 09:00 |
Fulgo | patches are painful to handle | 09:00 |
LetoThe2nd | Fulgo: of course you need to get down then, but if the rule says "update must not exceed 4MB", then thats a completely different thing than "image must not exceed 4MB" | 09:01 |
Fulgo | I used years ago something with bsdiff and dealing with the patches was a real challenge | 09:01 |
qschulz | difficult in terms of time spent and various SW components to be modified and still have a working build | 09:01 |
LetoThe2nd | Fulgo: look up current OTA solutions. | 09:01 |
Fulgo | No, no. Well, they are saying 4MB because they want to put some preassure | 09:01 |
cebrax | Actually this is the first time I interact with embedded linux, here is my first board, when I saw RAM test passed, I almost cried :) | 09:01 |
cebrax | https://github.com/cebrax/iMX6ULL_tryout | 09:01 |
Fulgo | What they do not want is a 100MB image | 09:01 |
qschulz | cebrax: huge first step, congrats! | 09:02 |
Fulgo | OTA... Over the Air? | 09:02 |
qschulz | Fulgo: yes | 09:02 |
cebrax | qschulz thank you! | 09:02 |
Fulgo | Well, I am not sure what new solutions will have arisen but with low throughput interfaces it gets complicated | 09:03 |
LetoThe2nd | cebrax: nice indeedcool project | 09:03 |
qschulz | I think 4MB is unrealistic without a lot of time and money spent | 09:03 |
LetoThe2nd | qschulz: 4MB image? yup. 4MB diff update? might be realistic. | 09:03 |
qschulz | Fulgo: is there really no other way that serial comms to update your thing? | 09:03 |
cebrax | #u-boot channel is filled with cricket sounds I guess.. Does anybody know any other places I can talk with u-boot guys? | 09:04 |
Fulgo | Yes, but the project requires a good performance for the legacy interfaces | 09:04 |
qschulz | LetoThe2nd: yes but you would need to update very often to make sure the diff is as small as possible | 09:04 |
cebrax | LetoThe2nd thank you! | 09:04 |
Fulgo | With ETH there are no problems at all | 09:04 |
qschulz | cebrax: on libera? | 09:04 |
cebrax | Yes, also freenode | 09:04 |
Fulgo | We expect not to need any update, but they want to have all the means available | 09:04 |
qschulz | Fulgo: seems like a marketing issue :) | 09:04 |
*** camus1 <camus1!~Instantbi@58.246.136.202> has joined #yocto | 09:05 | |
qschulz | cebrax: there's one issue with your question, you're asking about a vendor fork of u-boot in an upstream channel :) | 09:06 |
LetoThe2nd | cebrax: well as you're on a patched u-boot, there will probably not be too much enthusiasm for it. i would advise to "do your homework", e.g. get the sources, look at the board you're basing off, from there, look at the drivers, etc. | 09:06 |
*** camus <camus!~Instantbi@58.246.136.202> has quit IRC (Ping timeout: 258 seconds) | 09:06 | |
*** camus1 is now known as camus | 09:06 | |
LetoThe2nd | cebrax: like i said: board bringup is hard work. | 09:06 |
qschulz | cebrax: that lowers the chance to have people interested in your problem :) | 09:06 |
Fulgo | hahaha yes... you know, the commercials are tough people | 09:06 |
cebrax | Oh, that was what I felt, and hearing it from you guys made it official for me I guess :( | 09:07 |
qschulz | Fulgo: and sometmes they need someone to say what they want is not reasonable or impossible :) | 09:07 |
Fulgo | Yes, I am doing it. But I understand that I need to struggle a bit | 09:07 |
cebrax | LetoThe2nd Yeah, that's what I've been doing for a week now.. I guess I need to work a lot more harder | 09:08 |
Fulgo | I do not give up easily | 09:08 |
qschulz | Fulgo: try for a few days to get something as minimal as possible but still working. Then present those results, and tell them it's going to cost them 100 times more financially or in man hours to get it down to much smaller or to discover it's not possible | 09:08 |
Fulgo | At least have some basis to defend if it is or not possible | 09:09 |
Fulgo | qschulz I agree with you. But when they ask me why, I have to give an explanation XD | 09:09 |
Fulgo | I cannot say... well, I tried a lot | 09:10 |
Fulgo | The kernel itself is 6MB, so they know that 4MB is not possible | 09:10 |
qschulz | Fulgo: well, sometimes the skills you have at one point in time is not enough to do something. | 09:10 |
Fulgo | Now, I have to know if I can reduce these 100MB | 09:10 |
qschulz | Fulgo: https://www.youtube.com/watch?v=ynNLlzOElOU and https://www.youtube.com/watch?v=6sUiDJlJiYw might help, boot time reduction is often a consequence of size reduction | 09:11 |
qschulz | https://bootlin.com/training/boot-time/ | 09:12 |
Fulgo | qschulz I again agree with you. That is why I am here. Just to have feedback from people that master YOCTO and how I can get the knowledge for now or for the future | 09:12 |
Fulgo | qschulz I am going to check those | 09:12 |
qschulz | have it much smaller than 100MB is surely possible, it all depends what you REALLY need in your system | 09:12 |
LetoThe2nd | qschulz: chromium! | 09:12 |
qschulz | you'll need to play with PACKAGECONFIG, split packages in more packages, NO_RECOMMENDATIONS is also a good start | 09:13 |
qschulz | don't forget to look into the distro and machine configuration files, sometimes useless stuff is added there, especially in vendor BSPs | 09:14 |
qschulz | LetoThe2nd: ? | 09:14 |
cebrax | qschulz lol that's a funny name, NO_RECOMMENDATIONS | 09:14 |
Fulgo | qschulz what is NO_RECOMMENDATIONS? | 09:14 |
LetoThe2nd | qschulz: "it all depends what you REALLY need in your system" -> chromium! | 09:14 |
qschulz | Fulgo: https://docs.yoctoproject.org/ref-manual/variables.html#term-NO_RECOMMENDATIONS | 09:15 |
LetoThe2nd | Fulgo: not giving beer to me is NOT_RECOMMENDED, for example | 09:15 |
qschulz | LetoThe2nd: LIES, I wanted to send you some you refused | 09:15 |
LetoThe2nd | qschulz: shhhhht! | 09:15 |
qschulz | con man | 09:15 |
Fulgo | qschulz yes, I am trying to remove things from DISTRO_FEATURES and IMAGE_INSTALL. But another interesting question I am not being able to solve... I can see in those variables packages that I would like to remove, but I am not able to see where were those added | 09:15 |
LetoThe2nd | qschulz: how dare you demolish my beer-based PR campaigning?!? | 09:16 |
qschulz | Fulgo: bitbake -e will help you, don't use grep since you want the history of the variable | 09:16 |
Fulgo | I tried even to use bitable -g but dot takes incountable hours to generate the graph... Maybe I am doing something wrong | 09:16 |
Fulgo | Yes, It is what I did | 09:16 |
Fulgo | bitbake -e fsl-image-ngc | grep "^DISTRO" | 09:16 |
qschulz | Fulgo: no, don't use dot, just read with your text editor | 09:17 |
Fulgo | bitbake -e fsl-image-ngc | grep "^IMAGE" | 09:17 |
qschulz | Fulgo: "don't use grep" I just said :) | 09:17 |
Fulgo | qschulz ok ok | 09:17 |
Fulgo | no??? It is huge then XD | 09:17 |
qschulz | go to the line starting with IMAGE and look above | 09:17 |
Fulgo | May python functions and others | 09:17 |
Fulgo | Ok | 09:18 |
qschulz | Fulgo: redirect to a file or less and search for the line | 09:18 |
qschulz | then read above | 09:18 |
Fulgo | It is not easy for me to trace in YOCTO | 09:18 |
qschulz | trace? | 09:18 |
Fulgo | bitbake -e fsl-image-ngc > test.txt | 09:19 |
Fulgo | done | 09:19 |
Fulgo | Well, trace or know who added the packed to the rootfs | 09:19 |
Fulgo | maybe trace is not the verb | 09:19 |
qschulz | Fulgo: it's one of the difficult things yes, because -g does not list only direct dependencies but all dependencies. So dependencies of your direct dependencies... | 09:22 |
qschulz | Fulgo: I recommend builhistory again, at least you know which packages should be nuked first | 09:22 |
LetoThe2nd | qschulz: dukenukem'ed | 09:22 |
Fulgo | Yes, or the manifest also helps | 09:23 |
qschulz | https://docs.yoctoproject.org/dev-manual/common-tasks.html#maintaining-build-output-quality | 09:23 |
Fulgo | The problem is, if I do not want one of the installed packets... the only way to remove it from the rootfs is using DISTRO_FEATURES_remove or IMAGE_INSTALL_remove? | 09:23 |
qschulz | Fulgo: no, you should avoid _remove as much as possible | 09:24 |
qschulz | you need to check if it's directly added to IMAGE_INSTALL in which case you can just NOT include it (remember, you wrote your own image recipe) | 09:24 |
qschulz | you probably want to write your own distro conf too | 09:25 |
mseeber | i got burned by _remove in the past. turned out variables can be configured (by vendors) in a way that they ignore a _remove | 09:25 |
qschulz | (and probably switch from systemd to sysv for example) | 09:25 |
qschulz | mseeber: enlighten me | 09:25 |
LetoThe2nd | mseeber: https://theyoctojester.info/session_14/main.html see comment by chris | 09:26 |
Fulgo | umh.. To be honest, I tried yesterday but as I added my distro, bitbakes complained a lot that the distro was not supported or something like that | 09:26 |
qschulz | Fulgo: if they are not direct addition, then you need to figure out which package is adding it, then check if it's possible to remove it from the dependencies (by modifying PACKAGECONFIG for example) | 09:26 |
qschulz | Fulgo: I suspect fuckery in your vendor BSP layer :) | 09:26 |
Fulgo | But I understand that if the distro adds the undesired packets... there will not be other way | 09:26 |
Fulgo | Maybe XD | 09:27 |
Fulgo | IT IS A TRAP! | 09:27 |
Fulgo | I basically cloned wayland distro conf file, and removed x11 | 09:27 |
JaMa | RP: FWIW: I'm still seeing some weird issues in honister which look like some side-effect of override conversion, but I'm still trying to narrow it down to something reproducible in oe-core (I'll retest with the packagedata fix you've merged, but doesn't seem to be directly related) | 09:28 |
Fulgo | But once I used bitbake with the new distro... everything exploded | 09:28 |
qschulz | Fulgo: I usually recommend to get rid of the vendor BSP layer and just take their kernel/u-boot recipes as it's usually what you need | 09:28 |
mseeber | LetoThe2nd: thanks, that would have worke, but at that time i had a different problem, i am going to look it up in my notes | 09:28 |
Fulgo | I do not need vendor's layer? | 09:29 |
Fulgo | machine configuration, patches and others? | 09:29 |
RP | JaMa: As that fix shows, there are some gremlins left we need to find and work out... | 09:29 |
kranzo | maybe i'll go back to my initial problem first: i'll get a host-contamination error while do_configure of graphviz (meta-oe, hardknott) | 09:30 |
JaMa | agreed, pity that the overides changes are now spread across many commits (in various layers) so it's not easy to switch back and forth with just overrides changes | 09:30 |
kranzo | im reading the logs but i cant figure out where the wrong includes are set up | 09:30 |
JaMa | like including that glibc-2.34 upgrade in my builds was a bad idea as just yesterday I got the images building again | 09:31 |
RP | JaMa: We probably have changed a few too many things in a short time :/ | 09:31 |
*** nohit <nohit!sid334887@id-334887.tinside.irccloud.com> has joined #yocto | 09:32 | |
mseeber | Ah, found it, it was not a remove thing but a _forcevariable thing, sorry for the mixup: I had to do a PREFERRED_VERSION_opencv_forcevariable since a 3rd party layer did something with that variable | 09:32 |
qschulz | ah that reminds me I haven't sent the patch for virtclass-multlib-lib32 having a higher precedence than forcevariable | 09:40 |
qschulz | RP: i postponed it because I was wondering if we just couldn't add forcevariable at the end, when the list of all overrides is made | 09:41 |
qschulz | that would probably be cleaner than removing it and readding it at the end in multilib code | 09:41 |
qschulz | but no idea where to look for right now | 09:42 |
RP | qschulz: I suspect we have a similar issue with other virtclass stuff | 09:42 |
* RP would prefer forcevariable went away to be honest | 09:42 | |
JaMa | RP: there is some breakaga from the inactive override fix as well, e.g. https://git.openembedded.org/meta-openembedded-contrib/commit/?h=jansa/master&id=5c990530b020a0437aee04be3ff77762a95ed629 | 09:43 |
RP | qschulz: it is very hard to find the "last" point it would be changed :/ | 09:43 |
LetoThe2nd | RP: <jedivoice>forcevariable, go away</jedivoice> | 09:43 |
RP | JaMa: right, the timing on that change wasn't great :/ | 09:43 |
RP | equally, I was pretty horrified at that bug :( | 09:43 |
LetoThe2nd | RP: did it work? | 09:44 |
JaMa | yes, it will be worth it in long term, it's just that unexpanded variable like this was in many cases the incorrect override conversion, except in few cases it's not :) | 09:44 |
RP | JaMa: right. In hindsight... :/ | 09:45 |
Fulgo | I am going to try to build a core-minimal-image in the meantime... and let's see if I get something smaller '=( | 09:46 |
qschulz | Fulgo: try with that first it's a good idea. Then see which packages are pulled in. You know then it's likely coming from conf files | 09:47 |
qschulz | Fulgo: I don't remember if it's the default, but it's possible your kernel is making it in /boot too (in the rootfs most likely), might want to disable that if you ship the kernel separately | 09:47 |
qschulz | good luck! | 09:47 |
JaMa | eventually we might want to unify these a bit as well https://pastebin.com/eDHrkXGW | 09:48 |
Fulgo | qschulz yes... but as I mentioned, I have problems knowing where the packets come from, so if I find underired packets I will be in a similar situation. Furthermore, the vendor's image inherits from core-base so, it will not add too many packets I suppose comparing with the minimal | 09:50 |
Fulgo | Well, graphic and sound stuff | 09:51 |
Fulgo | I am becoming a YOCTO packet ripper :( | 09:51 |
Fulgo | (noob one) | 09:51 |
Fulgo | qschulz you mean the kernel could be including some packets? I am going to check /boot | 09:53 |
Fulgo | Umh... just the kernel (Image.gz) and the splash | 09:54 |
Fulgo | I will try to remove the splash also XD | 09:54 |
*** florian_kc <florian_kc!~florian@port-217-146-132-69.static.as20676.net> has joined #yocto | 09:55 | |
qschulz | Fulgo: no, that the kernel is installed in /boot but on embedded systems it might not be needed since it might be flashed on another partition, meaning you can get rid of it in /boot | 09:55 |
qschulz | all depends on your system | 09:56 |
qschulz | use buildhistory before chasing packages, if the package is 100Kb, there's no need to focus your effort on it right now | 09:56 |
qschulz | and I'm not sure splash will be meaningful in terms of space | 09:57 |
Fulgo | 1.2MB splash | 09:57 |
Fulgo | I think U-BOOT loads it but it is not in a partition. But I am not totally sure about this. UBOOT also gets the dts from there | 10:00 |
RP | JaMa: there is a lot of cleanup it would be nice to do... | 10:01 |
jsandman | RP: back to my 'setscene' issue. I did not make anything out of those stamp files. I did not understand it. However, I was able to generate de eSDK by starting from a fresh tmp directory. I did generate the "full" sdk but now I get the error when installing de eSDK script. It seems the eSDK DOES get installed if I pass in the '-n' (Do not prepare | 10:01 |
jsandman | the build system) option, but then building with devtool seems to recompile every host+target dependency from scratch | 10:01 |
RP | jsandman: If you use -n, it wouldn't do the checks and those checks are saying it will recompile :/ | 10:03 |
RP | jsandman: if you have an esdk build and a normal build, compare the sstate checksums and try using bitbake-diffsigs on the earlier things in the build you can see that are different | 10:04 |
JaMa | RP: RDEPENDS:${PN}:remove:class-target = "blacklist-me" | 10:04 |
JaMa | RDEPENDS:${PN}:class-target += "blacklist-me" | 10:04 |
JaMa | now behaves differently, than before overrides changes | 10:04 |
JaMa | triggers QA Issue: foo rdepends on blacklist-me, but it isn't a build dependency? [build-deps] | 10:05 |
jsandman | Ok. I'll try that. THanks | 10:05 |
RP | JaMa: are you sure that isn't the packagedata issue? | 10:07 |
RP | (since I think package_qa reads the data using that codepath) | 10:07 |
JaMa | sorry, I thought I already had the packagedata fix included in this build but seems not | 10:08 |
JaMa | as a work around I've changed the remove to be RDEPENDS:${PN}:class-target:remove which fixed the QA check | 10:08 |
JaMa | yes, that's resolved by packagedata, thanks and sorry for noise | 10:11 |
jsandman | RP: It seems I don't have some sigdata files in my nativesdk stamps. If I do `bitbake-diffsigs -t glib-2.0 do_package` I get `ERROR: Only one matching sigdata file found for the specified task (glib-2.0 do_package)`. | 10:40 |
RP | jsandman: don't trust -t :( | 10:53 |
* RP merged that under duress but it simply doesn't work most of the time :( | 10:53 | |
jsandman | Okey. I'll try the tool without options. No problem. So I only see .sigdata. files under my native stamps but only .sigbasedate. for the nativesdk stamps. Is that expected? | 10:59 |
RP | jsandman: hard to say without knowing what you've done :/ | 11:01 |
jsandman | So I can get an output like this from bitbake-diffsigs comparing the sigdata to sigbasedata: https://paste.debian.net/1206760/ | 11:01 |
RP | jsandman: I suspect you won't be using nativesdk with eSDK so probably ok | 11:01 |
*** jwillikers <jwillikers!~jwilliker@2604:2800:2:a403:fe91:ac3e:5153:1290> has joined #yocto | 11:02 | |
RP | jsandman: I think in the eSDK you need to bitbake -S none <target> to get the stamps. I can't remember offhand how you do that in the eSDK though | 11:03 |
RP | jsandman: you need to compare like with like, e.g. glib-native:do_fetch with glib-native:do_fetch | 11:03 |
jsandman | ah damn. Sorry I got it all wrong :S . I need to compare ~/my_sdk/tmp/stamps/x86_64-linux/* stuff against ~yocto/build/tmp/stamps /x86_64-linux/* then | 11:05 |
RP | jsandman: that sounds better | 11:05 |
jsandman | okey so it would look something like this for the task that gives me the "pseudo/pseudo_git.bb:do_fetch) failed with exit code 'setscene whitelist'" https://paste.debian.net/1206761/ | 11:12 |
*** camus <camus!~Instantbi@58.246.136.202> has quit IRC (Ping timeout: 256 seconds) | 11:18 | |
*** rob_w <rob_w!~bob@host-82-135-31-73.customer.m-online.net> has quit IRC (Remote host closed the connection) | 11:26 | |
*** aleblanc <aleblanc!~aleblanc@192-222-183-114.qc.cable.ebox.net> has joined #yocto | 11:35 | |
*** camus <camus!~Instantbi@58.246.136.202> has joined #yocto | 11:53 | |
*** goliath <goliath!~goliath@user/goliath> has quit IRC (Quit: SIGSEGV) | 12:08 | |
*** Fulgo <Fulgo!~Fulgo@239.red-81-34-255.dynamicip.rima-tde.net> has quit IRC (Quit: Client closed) | 12:12 | |
*** aleblanc <aleblanc!~aleblanc@192-222-183-114.qc.cable.ebox.net> has quit IRC (Ping timeout: 258 seconds) | 12:19 | |
*** davidinux <davidinux!~davidinux@217.138.219.150> has quit IRC (Ping timeout: 258 seconds) | 12:22 | |
*** davidinux <davidinux!~davidinux@net-93-146-33-94.cust.vodafonedsl.it> has joined #yocto | 12:24 | |
*** aleblanc <aleblanc!~aleblanc@192-222-183-114.qc.cable.ebox.net> has joined #yocto | 12:25 | |
*** goliath <goliath!~goliath@user/goliath> has joined #yocto | 12:55 | |
*** keepitsimplejim[ <keepitsimplejim[!~keepitsim@2001:470:69fc:105::3630> has quit IRC (Quit: You have been idle for 30+ days) | 13:02 | |
*** rodrjassoccom[m] <rodrjassoccom[m]!~rodrjasso@2001:470:69fc:105::4019> has quit IRC (Quit: You have been idle for 30+ days) | 13:02 | |
*** alex88[m] <alex88[m]!~alex88moz@2001:470:69fc:105::ce4> has quit IRC (Quit: You have been idle for 30+ days) | 13:02 | |
*** AlessandroTaglia <AlessandroTaglia!~al3x88mat@2001:470:69fc:105::ce3> has quit IRC (Quit: You have been idle for 30+ days) | 13:02 | |
*** xicopitz[m] <xicopitz[m]!~xicopitzm@2001:470:69fc:105::4869> has quit IRC (Quit: You have been idle for 30+ days) | 13:02 | |
*** asus_986_gpu[m] <asus_986_gpu[m]!~asus986gp@2001:470:69fc:105::1014> has quit IRC (Quit: You have been idle for 30+ days) | 13:02 | |
*** ndec[m] <ndec[m]!~ndecmatri@2001:470:69fc:105::9c0> has quit IRC (Quit: You have been idle for 30+ days) | 13:02 | |
*** fabatera[m] <fabatera[m]!~fabateram@2001:470:69fc:105::18d5> has quit IRC (Quit: You have been idle for 30+ days) | 13:02 | |
*** SnowBeast[m] <SnowBeast[m]!~snowbeast@2001:470:69fc:105::b4c8> has quit IRC (Quit: You have been idle for 30+ days) | 13:02 | |
*** JonasVautherin[m <JonasVautherin[m!~jonasvaut@2001:470:69fc:105::68d5> has quit IRC (Quit: You have been idle for 30+ days) | 13:02 | |
*** lacouture[m] <lacouture[m]!~lacouture@2001:470:69fc:105::35b7> has quit IRC (Quit: You have been idle for 30+ days) | 13:02 | |
*** TrevorWoerner[m] <TrevorWoerner[m]!~trevorwoe@2001:470:69fc:105::4e57> has quit IRC (Quit: You have been idle for 30+ days) | 13:02 | |
*** boo <boo!~boodler@104-195-159-20.cpe.teksavvy.com> has joined #yocto | 13:09 | |
*** camus <camus!~Instantbi@58.246.136.202> has quit IRC (Quit: camus) | 13:23 | |
*** vd <vd!~vd@bras-base-mtrlpq2848w-grc-41-70-53-240-121.dsl.bell.ca> has joined #yocto | 13:27 | |
vd | hi all -- I have FOO[flag] = "${BAR}" but d.getVarFlags('FOO').get('flag') literally equals '${BAR}', not the value of BAR. What do I miss? | 13:28 |
*** ndec[m] <ndec[m]!~ndecmatri@2001:470:69fc:105::9c0> has joined #yocto | 13:29 | |
vd | kergoth ^ | 13:29 |
*** camus <camus!~Instantbi@58.246.136.202> has joined #yocto | 13:31 | |
*** camus <camus!~Instantbi@58.246.136.202> has quit IRC (Remote host closed the connection) | 13:32 | |
qschulz | shouldn't it be getVarFlags('FOO', 'flag')? | 13:35 |
vd | qschulz well I have var = d.getVarFlags('FOO') and a few bar = var.get('flag'), etc. is there a difference? | 13:37 |
* qschulz shrugs | 13:40 | |
qschulz | d.getVarFlag('FOO', 'flag') by the way, note the missing s | 13:41 |
qschulz | otherwise, d.getVarFlags('FOO', expand=True) | 13:42 |
qschulz | quickly reading the code | 13:42 |
RP | everything used to default to no expansion. Now only getVarFlags does, for reasons I don't remember | 13:46 |
vd | RP: does 'now' includes hardknott? | 13:48 |
*** BCMM <BCMM!~BCMM@user/bcmm> has joined #yocto | 13:49 | |
*** roussinm <roussinm!~mroussin@bras-base-qubcpq1306w-grc-21-184-145-222-193.dsl.bell.ca> has joined #yocto | 13:49 | |
*** CocoJoe <CocoJoe!~CocoJoe@xb9b5dc3e.cust.hiper.dk> has quit IRC (Quit: Client closed) | 13:54 | |
*** mattsm <mattsm!~mattsm@104-181-154-57.lightspeed.austtx.sbcglobal.net> has quit IRC (Quit: Ping timeout (120 seconds)) | 13:56 | |
RP | vd: yes, happened a while (years) ago | 13:56 |
RP | vd: http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=c7610aa353e31977c099ce574acb188a3f4219e0 | 13:57 |
vd | RP: does FOO need to be registered somehow or anything to make bitbake aware of it? because I can assure you that my variable isn't expanded | 13:59 |
RP | http://git.yoctoproject.org/cgit.cgi/poky/commit/bitbake/lib/bb/data_smart.py?id=2631c375b8a025ee2e4329f6d93900bb7b5dadf7 | 13:59 |
RP | vd: see what qschulz said - you need expand=True for getVarFlags | 13:59 |
vd | RP: ho crap, I misread your previous comment and understood that everything BUT getVarFlags defaults to no expansion... | 14:02 |
*** mattsm <mattsm!~mattsm@104-181-154-57.lightspeed.austtx.sbcglobal.net> has joined #yocto | 14:03 | |
*** vmeson <vmeson!~rmacleod@198-48-226-187.cpe.pppoe.ca> has quit IRC (Ping timeout: 252 seconds) | 14:12 | |
*** goliath <goliath!~goliath@user/goliath> has quit IRC (Quit: SIGSEGV) | 14:13 | |
*** sakoman <sakoman!~steve@172.243.4.16> has joined #yocto | 14:13 | |
*** vmeson <vmeson!~rmacleod@198-48-226-187.cpe.pppoe.ca> has joined #yocto | 14:17 | |
* RP heads afk for the weekend | 14:22 | |
vd | RP: enjoy o/ | 14:24 |
*** sakoman <sakoman!~steve@172.243.4.16> has quit IRC (Read error: Connection reset by peer) | 14:24 | |
*** prabhakarlad <prabhakarlad!~prabhakar@pc.renesas.eu> has quit IRC (Quit: Client closed) | 14:26 | |
*** cebrax <cebrax!~cebrax@46.2.138.185> has quit IRC (Quit: Client closed) | 14:27 | |
*** mattsm <mattsm!~mattsm@104-181-154-57.lightspeed.austtx.sbcglobal.net> has quit IRC (Read error: Connection reset by peer) | 14:29 | |
*** mattsm <mattsm!~mattsm@104-181-154-57.lightspeed.austtx.sbcglobal.net> has joined #yocto | 14:30 | |
*** prabhakarlad <prabhakarlad!~prabhakar@pc.renesas.eu> has joined #yocto | 14:31 | |
*** mseeber <mseeber!~Srain@static-91-137-63-64.net.encoline.de> has quit IRC (Ping timeout: 245 seconds) | 14:31 | |
*** bps <bps!~bps@user/bps> has quit IRC (Remote host closed the connection) | 14:31 | |
*** bps <bps!~bps@80.71.142.18.ipv4.parknet.dk> has joined #yocto | 14:31 | |
*** LetoThe2nd <LetoThe2nd!uid453638@id-453638.highgate.irccloud.com> has quit IRC (Quit: Connection closed for inactivity) | 14:42 | |
*** davidinux <davidinux!~davidinux@net-93-146-33-94.cust.vodafonedsl.it> has quit IRC (Ping timeout: 240 seconds) | 14:52 | |
*** davidinux <davidinux!~davidinux@217.138.219.150> has joined #yocto | 14:53 | |
*** amitk_ <amitk_!~amit@103.208.69.31> has joined #yocto | 15:10 | |
*** amitk <amitk!~amit@103.208.69.19> has quit IRC (Ping timeout: 276 seconds) | 15:13 | |
*** bps <bps!~bps@user/bps> has quit IRC (Ping timeout: 258 seconds) | 15:22 | |
vd | qschulz: RP: I have "Exception: TypeError: argument of type 'bool' is not iterable" with expand=True | 15:23 |
qschulz | vd: yeah, broken code | 15:26 |
vd | qschulz: what do you mean? Is it a known issue? | 15:27 |
qschulz | no, but I can see where in the code it breaks : | 15:28 |
qschulz | :) | 15:28 |
* vd doesn't follow | 15:28 | |
*** CocoJoe <CocoJoe!~CocoJoe@xb9b5dc3e.cust.hiper.dk> has joined #yocto | 15:30 | |
qschulz | ok so I have no idea how this function should be used | 15:31 |
qschulz | it seems you should pass a list to it | 15:32 |
qschulz | to expand* | 15:32 |
qschulz | https://git.yoctoproject.org/cgit/cgit.cgi/poky/tree/bitbake/lib/bb/data_smart.py#n1017 | 15:32 |
qschulz | I guess you want, d.getVarFlags('FOO', expand=['flag']) | 15:33 |
*** goliath <goliath!~goliath@user/goliath> has joined #yocto | 15:35 | |
*** kranzo <kranzo!~kranzo@p5de3f137.dip0.t-ipconnect.de> has quit IRC (Quit: Client closed) | 15:56 | |
*** vd <vd!~vd@bras-base-mtrlpq2848w-grc-41-70-53-240-121.dsl.bell.ca> has quit IRC (Quit: Client closed) | 15:57 | |
*** BCMM <BCMM!~BCMM@user/bcmm> has quit IRC (Ping timeout: 256 seconds) | 15:58 | |
*** mckoan is now known as mckoan|away | 16:07 | |
*** CocoJoe <CocoJoe!~CocoJoe@xb9b5dc3e.cust.hiper.dk> has quit IRC (Quit: Client closed) | 16:11 | |
*** vd <vd!~vd@bras-base-mtrlpq2848w-grc-41-70-53-240-121.dsl.bell.ca> has joined #yocto | 16:16 | |
*** florian_kc <florian_kc!~florian@port-217-146-132-69.static.as20676.net> has quit IRC (Ping timeout: 258 seconds) | 16:18 | |
*** florian <florian!~florian@port-217-146-132-69.static.as20676.net> has quit IRC (Quit: Ex-Chat) | 16:20 | |
*** camus <camus!~Instantbi@2409:8a1e:911e:dbb0:9ddf:805b:fafe:d042> has joined #yocto | 16:28 | |
*** leon-anavi <leon-anavi!~Leon@78.130.197.211> has quit IRC (Quit: Leaving) | 16:51 | |
*** BCMM <BCMM!~BCMM@user/bcmm> has joined #yocto | 17:11 | |
*** prabhakarlad <prabhakarlad!~prabhakar@pc.renesas.eu> has quit IRC (Quit: Client closed) | 17:29 | |
*** prabhakarlad <prabhakarlad!~prabhakar@pc.renesas.eu> has joined #yocto | 17:56 | |
*** sakoman <sakoman!~steve@172.243.4.16> has joined #yocto | 18:06 | |
*** override <override!~override@ec2-3-138-201-125.us-east-2.compute.amazonaws.com> has quit IRC (Ping timeout: 250 seconds) | 18:10 | |
*** rpcme <rpcme!~rpcme@72-21-196-65.amazon.com> has joined #yocto | 18:15 | |
*** yates_work <yates_work!~user@fv-nc-f7af8b91e1-234237-1.tingfiber.com> has joined #yocto | 18:18 | |
yates_work | which part of the bitbake process fills the <build>/tmp/work/<arch>/<pn>/<pr>-r0/build/ folder? | 18:19 |
JPEW | yates_work: Usually do_configure & do_compile | 18:21 |
yates_work | i created a new libffi recipe in my layer based on the oe poky/meta/recipes-support/libffi/libffi_3.3.bb recipe but pointing to a later github version, buf that directory is being left empty and thus do_compile is failing | 18:21 |
yates_work | JPEW: ok | 18:22 |
JPEW | yates_work: IIRC thats the directory that several of the build tool classes (e.g. cmake, meson, etc.) use for "out of tree builds" | 18:22 |
JPEW | So it really depends on what the build system for the recipe is and if it supports out of tree builds | 18:22 |
yates_work | JPEW: that last statement confuses me. the build system is yocto! ? | 18:24 |
JPEW | yates_work: The build system for the software the recipe describes (make, autotools, cmake, meson, waf, etc.) | 18:26 |
yates_work | autotools? "inherit autotools texinfo multilib_header" | 18:26 |
JPEW | yates_work: Looks like it | 18:27 |
yates_work | here's the log.do_configure: http://paste.ubuntu.com/p/bdNBs2sy8j/ | 18:27 |
yates_work | line 2 is suspicious | 18:27 |
JPEW | It's possible the software doens't support out-of-tree builds | 18:29 |
yates_work | what does "out-of-tree" mean in this context? | 18:29 |
JPEW | In a separate directory from the source code... e.g. you can do a simple rm -rf of the build directory to clean it without having to touch the source directory | 18:30 |
yates_work | the only difference between the original recipe and this one is that the SRC_URI is that it checksout a git repo instead of downloading a tarball. | 18:31 |
yates_work | "in a separate directory from the source code" - what source code? the kernel? | 18:33 |
JPEW | The libffi source code | 18:33 |
JPEW | yates_work: Looks like it cannot find the configure script: NOTE: nothing to configure | 18:34 |
yates_work | the entire libffi source code is provided when the fetch is performed on a git repo, no? | 18:34 |
yates_work | SRC_URI = "git://github.com/libffi/libffi.git;protocol=http;" | 18:34 |
yates_work | ok (re: configure script) | 18:35 |
JPEW | yates_work: If you use git://, you need to set "S" correctly; usually `S = "${WORKDIR}/git"` | 18:35 |
yates_work | well <build>/tmp/work/x86_64-linux/libffi-native/3.4-r0/git is present and filled with what looks like the git repo | 18:37 |
JPEW | yates_work: yes... but if you check, I'm guess `S` points somewhere else | 18:37 |
yates_work | ok | 18:38 |
yates_work | lemme check | 18:38 |
*** davidinux <davidinux!~davidinux@217.138.219.150> has quit IRC (Ping timeout: 272 seconds) | 18:42 | |
*** davidinux <davidinux!~davidinux@217.138.219.150> has joined #yocto | 18:43 | |
yates_work | yep | 18:45 |
yates_work | thank you, JPEW | 18:45 |
yates_work | so S specifies where do_configure, etc. gets the source from, not where do_fetch puts it? | 18:46 |
JaMa | do_fetch fetches to DL_DIR, do_unpack unpacks it from DL_DIR to S | 18:48 |
JPEW | yates_work: Correct. The defaults for each happen to line up with the layout most OSS software uses in source tarballs | 18:48 |
JPEW | JaMa: For tarballs I think it actually extracts to WORKDIR and relies on the tarball having a top level directory that matches "${PN}-${PV}" | 18:49 |
JaMa | JPEW: yes, you're right | 18:50 |
mischief1 | is there a way to make a recipe depend on headers from the current kernel rather than the portable uapi headers? | 18:54 |
mischief1 | specifically, we want to use nl80211 headers from vendor kernels (which vary by machine) for e.g. iw and hostapd. | 18:55 |
JPEW | mischief1: https://docs.yoctoproject.org/dev-manual/common-tasks.html?highlight=do_shared_workdir#using-headers-to-interface-with-devices | 18:57 |
mischief1 | JPEW: sorry, i misspoke slightly | 19:00 |
mischief1 | we don't use headers from our virtual/kernel | 19:00 |
mischief1 | we need the headers from backports since we have different backports packages for different hardware :-D | 19:00 |
mischief1 | would we need to setup a shared_workdir step for those backports recipes? | 19:01 |
JPEW | You just need the kernel headers? | 19:01 |
JPEW | You might be able to write a recipe that just has the kernel headers you need and stages it (which would avoid the need for the shared workdir) | 19:02 |
mischief1 | we basically just need include/uapi/linux/nl80211.h that is specific to our backports trees (dont ask me why it ended up this way..) | 19:04 |
mischief1 | JPEW: what does it mean to stage it? | 19:04 |
mischief1 | is that different from just do_install in a recipe? | 19:04 |
JPEW | mischief1: No | 19:06 |
*** LetoThe2nd <LetoThe2nd!uid453638@id-453638.highgate.irccloud.com> has joined #yocto | 19:10 | |
*** amitk_ <amitk_!~amit@103.208.69.31> has quit IRC (Ping timeout: 240 seconds) | 19:11 | |
angolini | I'm trying to find some email, patch, note, with some kind of a reason for the override syntax change. Only because I'm writing a blog post and it would be nice to point to some reason from the community... if any. Is there something like that? | 19:14 |
LetoThe2nd | angolini: https://www.linkedin.com/feed/update/urn:li:activity:6822844739918823424 | 19:16 |
*** florian_kc <florian_kc!~florian@dynamic-093-132-049-045.93.132.pool.telefonica.de> has joined #yocto | 19:16 | |
JPEW | angolini: I know there are several email threads about it | 19:16 |
angolini | great! I forget that linkedin exists | 19:16 |
angolini | thanks a lot | 19:17 |
JPEW | Ah that works! | 19:17 |
LetoThe2nd | angolini: yw | 19:18 |
LetoThe2nd | thats why we have a social media person at OE now :) | 19:19 |
angolini | and I understood why I could not find that email! Because I was looking in another (several others) mailing lists | 19:20 |
JPEW | I feel like we need an official Historian | 19:22 |
LetoThe2nd | JPEW: now that would be awesome from a very nerdy POV | 19:22 |
angolini | once upon a time...... | 19:23 |
LetoThe2nd | angolini: https://en.wikipedia.org/wiki/Once_in_a_LIVEtime | 19:24 |
JPEW | "The Annotated History of OpenEmebedded, Volume I" | 19:25 |
LetoThe2nd | JPEW: "The Art of wasting perfectly good compute cycles, Fascicle 3-14159" | 19:26 |
angolini | I think it must include "the trust" at some point in the title | 19:26 |
angolini | or "that nobody understands" | 19:26 |
JPEW | "Appendix A: Git commit messages, 2010-2020" | 19:27 |
LetoThe2nd | JPEW: +1 | 19:27 |
*** camus <camus!~Instantbi@2409:8a1e:911e:dbb0:9ddf:805b:fafe:d042> has quit IRC (Quit: camus) | 19:42 | |
*** mranostaj <mranostaj!~mranostaj@185.193.126.133> has quit IRC (Ping timeout: 272 seconds) | 20:13 | |
*** mranostaj <mranostaj!~mranostaj@185.193.126.133> has joined #yocto | 20:25 | |
*** Vonter <Vonter!~Vonter@user/vonter> has quit IRC (Ping timeout: 258 seconds) | 20:34 | |
*** florian_kc is now known as florian | 20:39 | |
*** florian <florian!~florian@dynamic-093-132-049-045.93.132.pool.telefonica.de> has quit IRC (Ping timeout: 258 seconds) | 20:59 | |
*** sakoman <sakoman!~steve@172.243.4.16> has quit IRC (Read error: Connection reset by peer) | 21:04 | |
*** aleblanc <aleblanc!~aleblanc@192-222-183-114.qc.cable.ebox.net> has quit IRC (Ping timeout: 258 seconds) | 21:17 | |
*** sakoman <sakoman!~steve@172.243.4.16> has joined #yocto | 21:20 | |
*** u1106 <u1106!~quassel@2a05:d014:58:4b00:bbe8:f33:b5b7:d4f7> has quit IRC (Quit: https://quassel-irc.org - Chat comfortably. Anywhere.) | 21:50 | |
*** u1106 <u1106!~quassel@2a05:d014:58:4b00:bbe8:f33:b5b7:d4f7> has joined #yocto | 21:53 | |
*** vd <vd!~vd@bras-base-mtrlpq2848w-grc-41-70-53-240-121.dsl.bell.ca> has quit IRC (Quit: Client closed) | 21:57 | |
*** roussinm <roussinm!~mroussin@bras-base-qubcpq1306w-grc-21-184-145-222-193.dsl.bell.ca> has quit IRC (Ping timeout: 256 seconds) | 21:57 | |
*** goliath <goliath!~goliath@user/goliath> has quit IRC (Quit: SIGSEGV) | 22:13 | |
*** florian <florian!~florian@dynamic-093-132-049-045.93.132.pool.telefonica.de> has joined #yocto | 22:15 | |
*** rpcme <rpcme!~rpcme@72-21-196-65.amazon.com> has quit IRC (Quit: Client closed) | 22:16 | |
*** florian <florian!~florian@dynamic-093-132-049-045.93.132.pool.telefonica.de> has quit IRC (Ping timeout: 258 seconds) | 22:30 | |
boo | build$bitbake -c cleanall perl-native | 22:59 |
boo | ERROR: Variable PACKAGECONFIG_append_pn-qemu-system-native contains an operation using the old override syntax. Please convert this layer/metadata before attempting to use with a newer bitbake. | 22:59 |
boo | No implicated filename, no pointer to a conversion README.... seems we coulda done better than that. | 23:00 |
*** boo is now known as paulg | 23:01 | |
*** LetoThe2nd <LetoThe2nd!uid453638@id-453638.highgate.irccloud.com> has quit IRC (Quit: Connection closed for inactivity) | 23:10 | |
*** prabhakarlad <prabhakarlad!~prabhakar@pc.renesas.eu> has quit IRC (Quit: Client closed) | 23:28 | |
*** JaMa <JaMa!~martin@ip-109-238-218-228.aim-net.cz> has quit IRC (Quit: leaving) | 23:33 | |
*** roussinm <roussinm!~mroussin@bras-base-qubcpq1306w-grc-21-184-145-222-193.dsl.bell.ca> has joined #yocto | 23:58 | |
*** BCMM <BCMM!~BCMM@user/bcmm> has quit IRC (Ping timeout: 258 seconds) | 23:59 |
Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!