*** falk0n <falk0n!~falk0n@a79-168-247-49.cpe.netcabo.pt> has joined #yocto | 00:14 | |
*** falk0n_ <falk0n_!~falk0n@a109-49-128-212.cpe.netcabo.pt> has quit IRC | 00:17 | |
*** nighty- <nighty-!~nighty@kyotolabs.asahinet.com> has joined #yocto | 00:35 | |
*** BCMM <BCMM!~BCMM@unaffiliated/bcmm> has quit IRC | 00:37 | |
*** nighty- <nighty-!~nighty@kyotolabs.asahinet.com> has quit IRC | 00:42 | |
*** nighty- <nighty-!~nighty@kyotolabs.asahinet.com> has joined #yocto | 00:42 | |
la_croix_ | How would I add the module snd-rpi-simple-card to my yocto build? This didn't work: KERNEL-MODULE-AUTOLOAD-append = " snd-rpi-simple-card " It built, but the module is not there. Other modules have worked with this method | 00:59 |
---|---|---|
*** Willy-- <Willy--!~william@drmons0544w-156-34-8-55.dhcp-dynamic.fibreop.ns.bellaliant.net> has joined #yocto | 01:07 | |
*** learningc <learningc!~learningc@mti-37-145.tm.net.my> has joined #yocto | 01:22 | |
*** kaspter <kaspter!~Instantbi@183.128.184.32> has joined #yocto | 01:37 | |
*** falk0n_ <falk0n_!~falk0n@a79-168-246-222.cpe.netcabo.pt> has joined #yocto | 01:38 | |
*** falk0n <falk0n!~falk0n@a79-168-247-49.cpe.netcabo.pt> has quit IRC | 01:41 | |
*** rovanceo <rovanceo!~rovanceo@80.97.64.55> has quit IRC | 01:50 | |
*** rovanceo <rovanceo!~rovanceo@80.97.64.55> has joined #yocto | 01:51 | |
*** sgw1 <sgw1!~sgw@88.130.230.178> has joined #yocto | 02:01 | |
*** sgw <sgw!~sgw@88.130.230.178> has quit IRC | 02:03 | |
*** anujm <anujm!anujm@nat/intel/x-xxwmoiomduyaottg> has joined #yocto | 02:24 | |
*** falk0n <falk0n!~falk0n@a79-168-244-20.cpe.netcabo.pt> has joined #yocto | 03:02 | |
*** falk0n_ <falk0n_!~falk0n@a79-168-246-222.cpe.netcabo.pt> has quit IRC | 03:04 | |
OutBackDingo | khem: alive ? | 04:22 |
yocti | New news from stackoverflow: Bitbake gets failed while fetching gstreamer from deault offline folder <https://stackoverflow.com/questions/53256364/bitbake-gets-failed-while-fetching-gstreamer-from-deault-offline-folder> | 05:38 |
*** falk0n_ <falk0n_!~falk0n@a79-168-244-200.cpe.netcabo.pt> has joined #yocto | 05:49 | |
*** ravichandranjm_ <ravichandranjm_!b64836f2@gateway/web/freenode/ip.182.72.54.242> has joined #yocto | 05:52 | |
*** falk0n <falk0n!~falk0n@a79-168-244-20.cpe.netcabo.pt> has quit IRC | 05:52 | |
ravichandranjm_ | Hi all, I working as integrator in one project where both lib32 & lib64 need to be supported. Hence, lib32-glibc & glibc both are there in yocto build. In the final toolchain, after running "bitbake <image> -c populate-sdk", it is randomly, lib32-glibc headers are getting populated instead of glibc headers. Ex: in the toolchain, <sysroots_dir>/aarch64/usr/include/bits/endian.h - lib32-glibc header file content seen instead g | 05:53 |
*** hamis <hamis!~irfan@110.93.212.98> has joined #yocto | 05:56 | |
*** CoLa|work <CoLa|work!~cordlandw@91.239.177.14> has joined #yocto | 06:03 | |
*** georgem_home <georgem_home!uid210681@gateway/web/irccloud.com/x-jwimzhaazlyjrmwu> has quit IRC | 06:04 | |
*** AndersD <AndersD!~AndersD@194-237-220-218.customer.telia.com> has joined #yocto | 06:28 | |
*** AndersD <AndersD!~AndersD@194-237-220-218.customer.telia.com> has quit IRC | 06:29 | |
*** AndersD <AndersD!~AndersD@194-237-220-218.customer.telia.com> has joined #yocto | 06:30 | |
*** falk0n <falk0n!~falk0n@a109-49-128-254.cpe.netcabo.pt> has joined #yocto | 06:30 | |
*** falk0n_ <falk0n_!~falk0n@a79-168-244-200.cpe.netcabo.pt> has quit IRC | 06:32 | |
*** chandana73 <chandana73!~ckalluri@149.199.62.131> has joined #yocto | 06:57 | |
*** sgw1 <sgw1!~sgw@88.130.230.178> has quit IRC | 06:57 | |
*** chandana73 <chandana73!~ckalluri@149.199.62.131> has quit IRC | 06:57 | |
*** frsc <frsc!~frsc@2003:a:e7a:6200:246c:2a8b:f45a:a33d> has joined #yocto | 07:16 | |
*** BCMM <BCMM!~BCMM@unaffiliated/bcmm> has joined #yocto | 07:28 | |
*** rob_w <rob_w!~rob@unaffiliated/rob-w/x-1112029> has joined #yocto | 07:29 | |
*** hamis <hamis!~irfan@110.93.212.98> has quit IRC | 07:31 | |
*** Carton__ <Carton__!~jo@213.55.211.27> has joined #yocto | 07:39 | |
*** hamis <hamis!~irfan@110.93.212.98> has joined #yocto | 07:47 | |
*** diembed <diembed!~diembed@34.16-66-87.adsl-static.isp.belgacom.be> has joined #yocto | 07:51 | |
*** learningc <learningc!~learningc@mti-37-145.tm.net.my> has quit IRC | 07:52 | |
*** sgw <sgw!~sgw@193.158.83.230> has joined #yocto | 07:59 | |
*** learningc <learningc!~learningc@mti-37-145.tm.net.my> has joined #yocto | 07:59 | |
*** fl0v0 <fl0v0!~fvo@i577B9B4E.versanet.de> has joined #yocto | 08:02 | |
*** lusus <lusus!~lusus@62.91.23.180> has joined #yocto | 08:08 | |
yocti | New news from stackoverflow: Bitbake gets failed while fetching gstreamer from default offline folder <https://stackoverflow.com/questions/53256364/bitbake-gets-failed-while-fetching-gstreamer-from-default-offline-folder> | 08:09 |
*** lfa <lfa!~lfa@217.19.35.51> has joined #yocto | 08:16 | |
*** ankebut <ankebut!55613cf4@gateway/web/freenode/ip.85.97.60.244> has joined #yocto | 08:22 | |
ankebut | (Excuse me for my english I am not native) I Searched this question on google, stackoverflow but I did not find. I am using DISTRO=poky MACHINE=intel-corei7-64 IMAGE=core-image-x11 sceme. The machine which I want to install image, doesn’t allow bootx64 but it works when I install x32 efi. I checked this (I copied first bootx32.efi and then bootx64.efi) and as I understand my machine has x64 arch but only support x32-efi. | 08:23 |
ankebut | So how can I build an image which is intel-corei7-64 but has grup-efi 32 bit? Would you advice me please to what should I read to accomplish and learn this? | 08:23 |
*** henriknj <henriknj!~hnje@193.106.123.182> has quit IRC | 08:23 | |
LetoThe2nd | ankebut: sounds like you need to create your own machine based of intel-core7-64, and tweak the relevant bits | 08:26 |
*** prabhakarlad <prabhakarlad!~prabhakar@194.75.40.178> has joined #yocto | 08:26 | |
*** ankebut <ankebut!55613cf4@gateway/web/freenode/ip.85.97.60.244> has quit IRC | 08:27 | |
*** Bunio_FH <Bunio_FH!~bunio@clj-165.netdrive.pl> has joined #yocto | 08:32 | |
OutBackDingo | khem: ok im at a bootable initramfs with core-image-weston i ran cryptsetup and all steps for mmcblk0p2 ... whhat needed to be modified configured to get it to boot / prompt for a password | 08:32 |
*** varjag <varjag!~user@122.62-97-226.bkkb.no> has joined #yocto | 08:35 | |
*** anujm <anujm!anujm@nat/intel/x-xxwmoiomduyaottg> has quit IRC | 08:36 | |
*** ant_work <ant_work!~ant__@host78-176-dynamic.27-79-r.retail.telecomitalia.it> has joined #yocto | 08:38 | |
*** TobSnyder <TobSnyder!~schneider@ip5f5aa32f.dynamic.kabel-deutschland.de> has joined #yocto | 08:40 | |
OutBackDingo | nrossi: yupp still no joy :) | 08:42 |
*** Bunio_FH <Bunio_FH!~bunio@clj-165.netdrive.pl> has quit IRC | 08:56 | |
*** kaspter <kaspter!~Instantbi@183.128.184.32> has quit IRC | 08:57 | |
*** kaspter <kaspter!~Instantbi@183.128.184.32> has joined #yocto | 08:57 | |
*** nighty- <nighty-!~nighty@kyotolabs.asahinet.com> has quit IRC | 08:58 | |
*** tprrt <tprrt!~tprrt@217.114.201.133> has joined #yocto | 08:59 | |
*** Bunio_FH <Bunio_FH!~bunio@81-18-201-214.static.chello.pl> has joined #yocto | 09:00 | |
*** Net147 <Net147!~Net147@unaffiliated/net147> has quit IRC | 09:05 | |
*** Net147 <Net147!~Net147@unaffiliated/net147> has joined #yocto | 09:10 | |
*** kanavin_home <kanavin_home!~ak@2a02:8109:b5c0:1a5d:ada5:a270:4516:9891> has joined #yocto | 09:11 | |
kanavin_home | test | 09:11 |
OutBackDingo | kanavin_home: its working | 09:18 |
*** falk0n_ <falk0n_!~falk0n@a109-49-128-254.cpe.netcabo.pt> has joined #yocto | 09:21 | |
*** falk0n <falk0n!~falk0n@a109-49-128-254.cpe.netcabo.pt> has quit IRC | 09:21 | |
*** kanavin_home <kanavin_home!~ak@2a02:8109:b5c0:1a5d:ada5:a270:4516:9891> has quit IRC | 09:21 | |
*** kanavin_home <kanavin_home!~ak@2a02:8109:b5c0:1a5d:ada5:a270:4516:9891> has joined #yocto | 09:21 | |
*** ant_work <ant_work!~ant__@host78-176-dynamic.27-79-r.retail.telecomitalia.it> has quit IRC | 09:34 | |
*** ant_work <ant_work!~ant__@87.13.122.174> has joined #yocto | 09:40 | |
*** nighty- <nighty-!~nighty@s229123.ppp.asahi-net.or.jp> has joined #yocto | 09:46 | |
*** gtristan <gtristan!~tristanva@110.11.179.2> has joined #yocto | 09:49 | |
*** ravichandranjm_ <ravichandranjm_!b64836f2@gateway/web/freenode/ip.182.72.54.242> has quit IRC | 10:00 | |
*** OutBackDingo <OutBackDingo!~quassel@unaffiliated/outbackdingo> has quit IRC | 10:03 | |
*** cvasilak <cvasilak!~cvasilak@ppp-94-66-8-209.home.otenet.gr> has joined #yocto | 10:06 | |
*** rburton <rburton!~rburton@35.106.2.81.in-addr.arpa> has joined #yocto | 10:07 | |
*** AndersD_ <AndersD_!~AndersD@194-237-220-218.customer.telia.com> has joined #yocto | 10:07 | |
*** sgw <sgw!~sgw@193.158.83.230> has quit IRC | 10:08 | |
*** AndersD <AndersD!~AndersD@194-237-220-218.customer.telia.com> has quit IRC | 10:10 | |
RP | rburton: we have something in -next causing the autobuilder builds to hang. I removed the rng stuff but its not that, my patches are the next suspect :/ | 10:12 |
*** hamis <hamis!~irfan@110.93.212.98> has quit IRC | 10:12 | |
*** hamis <hamis!~irfan@110.93.212.98> has joined #yocto | 10:12 | |
*** bluelightning_ <bluelightning_!~paul@pdpc/supporter/professional/bluelightning> has joined #yocto | 10:14 | |
rburton | hm how annoying | 10:16 |
*** ak77 <ak77!c12e4b03@gateway/web/freenode/ip.193.46.75.3> has joined #yocto | 10:18 | |
*** bluelightning <bluelightning!~paul@pdpc/supporter/professional/bluelightning> has quit IRC | 10:18 | |
*** henriknj <henriknj!~hnje@193.106.123.182> has joined #yocto | 10:28 | |
*** berton <berton!~berton@181.220.65.91> has joined #yocto | 10:43 | |
*** berton <berton!~berton@181.220.65.91> has quit IRC | 10:46 | |
ak77 | hello, where can I look for minimal systemd setup? systemd recipe as is includes a lot of services I don't need | 10:54 |
*** OutBackDingo <OutBackDingo!~quassel@unaffiliated/outbackdingo> has joined #yocto | 10:54 | |
ak77 | define my own FILES_${PN} for systemd ? | 10:54 |
* OutBackDingo is back | 10:55 | |
*** lukma <lukma!~lukma@85-222-111-42.dynamic.chello.pl> has joined #yocto | 10:57 | |
LetoThe2nd | ak77: probably it would already strip down systemd considerably if you disable all unneeded package configs | 10:57 |
*** andrey_utkin <andrey_utkin!~andrey_ut@gentoo/developer/andrey-utkin> has joined #yocto | 10:58 | |
LetoThe2nd | ak77: otherwise you'd have to hack up an alternative do_install, i think. just removing things in FILES will give you warnings about files that are installed, but not shipped | 10:58 |
ak77 | LetoThe2nd: yes, you're corret | 10:59 |
ak77 | LetoThe2nd: *right | 10:59 |
ak77 | :) | 10:59 |
*** kanavin_home <kanavin_home!~ak@2a02:8109:b5c0:1a5d:ada5:a270:4516:9891> has quit IRC | 11:00 | |
*** kanavin_home1 <kanavin_home1!~ak@2a02:8109:b5c0:1a5d:ada5:a270:4516:9891> has joined #yocto | 11:00 | |
*** rob_w <rob_w!~rob@unaffiliated/rob-w/x-1112029> has quit IRC | 11:01 | |
*** berton <berton!~berton@181.220.65.91> has joined #yocto | 11:07 | |
la_croix_ | Morning all. How would I add the module snd-rpi-simple-card to my yocto build? This didn't work: KERNEL-MODULE-AUTOLOAD-append = " snd-rpi-simple-card " It built, but the module is not there. Other modules have worked with this method | 11:08 |
LetoThe2nd | la_croix_: the line you mentioned should only trigger autoloading, AFAIK. have you tried and manually added it to IMAGE_INSTALL? is it an in-tree modules? | 11:10 |
la_croix_ | LetoThe2nd No, I'm not really sure how to do that | 11:11 |
LetoThe2nd | la_croix_: in your image, you should have something that is called IMAGE_INSTALL. look there first, what gets installed. maybe there als kernel-modules gets added as a whole? | 11:12 |
la_croix_ | Ah, yes: IMAGE_INSTALL_append = " kernel-modules " | 11:14 |
LetoThe2nd | ok, then it actually should get pulled in automatically. | 11:14 |
LetoThe2nd | how did you verify that it gets built? | 11:14 |
la_croix_ | Well, I tried to build it, and it didn't fail | 11:18 |
la_croix_ | I know that probably sounds stupid, but that's about my level of knowledge with yocto at the moment | 11:18 |
LetoThe2nd | how did you "try to build it"? | 11:19 |
LetoThe2nd | just asking, remember that we cannot see your screen here. | 11:20 |
*** User_ <User_!~learningc@mti-37-145.tm.net.my> has joined #yocto | 11:21 | |
la_croix_ | No problem, I'm happy to explain! Added the layers with bitbake, and then ran bitbake core-img-full-cmdline | 11:22 |
LetoThe2nd | well that does build the image, but not necessarily a particular module | 11:23 |
la_croix_ | Ah, I assumed that if you told it to include a module, and it could not do so, the build would fail | 11:23 |
*** learningc <learningc!~learningc@mti-37-145.tm.net.my> has quit IRC | 11:23 | |
LetoThe2nd | so a possible explanation would be that it "worked" so far because you always picked modules that were built and installed anyways. but this time its something that your kernel config does not provide, hence.. it does not "work" | 11:24 |
LetoThe2nd | la_croix_: hum no, you misunderstood something. you didn't tell the build to "include" a module. you told the runtime that "if this module is installed, please load it upon boot." | 11:24 |
*** andrey_utkin <andrey_utkin!~andrey_ut@gentoo/developer/andrey-utkin> has left #yocto | 11:25 | |
la_croix_ | Ah, fair enough | 11:25 |
LetoThe2nd | you're on meta-raspberrypi i guess? | 11:25 |
la_croix_ | Yes | 11:25 |
LetoThe2nd | which rpi and kernel version? | 11:26 |
la_croix_ | 3b+, 4.14.68 | 11:27 |
*** User_ <User_!~learningc@mti-37-145.tm.net.my> has quit IRC | 11:27 | |
la_croix_ | Aside from that, there are layers for mender, multimedia (ALSA etc) and networking (just to activate the ethernet port) | 11:29 |
*** rperier <rperier!~rperier@unaffiliated/bambee> has quit IRC | 11:31 | |
LetoThe2nd | well, i just skimmed the kernel source tree and totally can't find anything by the name of snd-rpi-simple-card. | 11:32 |
LetoThe2nd | and googling also reveals nothing. so what gave you this idea? | 11:34 |
*** falk0n <falk0n!~falk0n@a109-49-141-84.cpe.netcabo.pt> has joined #yocto | 11:36 | |
*** rperier <rperier!~rperier@2001:41d0:52:100::44a> has joined #yocto | 11:38 | |
*** falk0n_ <falk0n_!~falk0n@a109-49-128-254.cpe.netcabo.pt> has quit IRC | 11:39 | |
*** kpo <kpo!~bob@piq58.internetdsl.tpnet.pl> has joined #yocto | 11:40 | |
la_croix_ | LetoThe2nd It's a bit of an ordeal at this stage. I've been trying to get this microphone: https://learn.adafruit.com/adafruit-i2s-mems-microphone-breakout/raspberry-pi-wiring-and-test to work with the pi. The instructions in that link work for raspbian, but I need yocto, so that I can generate mender artifacts and update the pis OTA (since once (if) this works, there will be scores of them). I added the alsa-utils, and I also added the | 11:40 |
la_croix_ | snd-soc-bcm2835-i2s module. The snd-rpi-simple-card was a suggestion from somebody on #alsa, and given that I'm three days into trying to fix this, I'll give anything a go | 11:40 |
LetoThe2nd | la_croix_: my suggestion would be to leave yocto and mender aside for now, and get things working. once you know whats needed, you can still pour it back into your yocto build. | 11:42 |
la_croix_ | LetoThe2nd I've been through the instructions on raspbian, and it works | 11:43 |
LetoThe2nd | la_croix_: the guide you referenced incorporates an out-of-tree driver, by the way. | 11:43 |
LetoThe2nd | -> https://github.com/PaulCreaser/rpi-i2s-audio | 11:43 |
la_croix_ | So I need to add that to the yocto kernel? | 11:44 |
LetoThe2nd | by the way, one of the most ugly module repos i've seen in quite some time. | 11:44 |
la_croix_ | I'm starting to think this was a poor choice of microphone | 11:45 |
LetoThe2nd | its a "cheap" choice | 11:46 |
LetoThe2nd | here is the relevant part of the documents: https://www.yoctoproject.org/docs/latest/kernel-dev/kernel-dev.html#working-with-out-of-tree-modules | 11:46 |
LetoThe2nd | you will have to write a recipe that builds this particular module, then you can add it to IMAGE_INSTALL, and then things might work (if there's no other obstacles to hit) | 11:47 |
la_croix_ | LetoThe2nd Perfect, thank you. I'll give it a go, and inevitably come back cap in hand in a few hours :P | 11:48 |
LetoThe2nd | have fun | 11:49 |
LetoThe2nd | (incidentially i just yesterday submitted a talk to a conference that is upon the topic why raspi + armbian/raspian is often a poor choice for getting started in iot...) | 11:50 |
RP | rburton: on the plus side the source mirror test is working, on the downside the source mirror is not :/ | 11:51 |
la_croix_ | LetoThe2nd I'd be interested in a link to that, when you have it | 11:51 |
rburton | RP: swings and roundabouts | 11:51 |
LetoThe2nd | la_croix_: heh, first it has to be accepted. only then i'll properly prepare it. | 11:52 |
rburton | LetoThe2nd: step 1) hack hack hack hack hack 2) it sort of works! 3) put on something else. oh. :( | 11:55 |
rburton | LetoThe2nd: literally nobody handles the jump from 2 to 3 | 11:55 |
rburton | whereas yocto for newbies makes 1 to 2 hard | 11:55 |
rburton | :( | 11:55 |
LetoThe2nd | rburton: 4) hack more until it kinda works again 5) erm, how do we put this into a proper physical product? 6) .... | 11:57 |
LetoThe2nd | 7) ... | 11:57 |
LetoThe2nd | 8) ... | 11:57 |
LetoThe2nd | 9) bite own arse and start expensive rearchitecturing on real life hardware. | 11:57 |
LetoThe2nd | and 9 is where the *REAL* money is spent. | 11:57 |
*** bluelightning_ <bluelightning_!~paul@pdpc/supporter/professional/bluelightning> has quit IRC | 11:59 | |
la_croix_ | What does this mean? No bb files matched BBFILE_PATTERN_yoctobsp '^/home/ubuntu/dev/poky/meta-i2s/' | 12:02 |
*** sgw1 <sgw1!~sgw@88.128.80.177> has joined #yocto | 12:03 | |
*** sgw1 is now known as sgw_ | 12:04 | |
*** sgw1 <sgw1!~sgw@88.128.80.177> has joined #yocto | 12:05 | |
*** sgw1 is now known as sgw_ | 12:06 | |
*** rperier <rperier!~rperier@2001:41d0:52:100::44a> has quit IRC | 12:12 | |
*** rperier <rperier!~rperier@unaffiliated/bambee> has joined #yocto | 12:12 | |
OutBackDingo | rburton: LOL... ima hacking, and it wurkin :) | 12:12 |
OutBackDingo | so ffar only one item blocking ffinishing it | 12:13 |
OutBackDingo | the one time someone says can it do this, i run smack into a wall... and ive done it on othher boards 1000 times | 12:14 |
* OutBackDingo requires the enlighhtenment of khem oor nrossi... last little tidbit of insight | 12:16 | |
nrossi | OutBackDingo: what do you need my help for exactly? :) | 12:17 |
*** falk0n_ <falk0n_!~falk0n@a109-49-134-133.cpe.netcabo.pt> has joined #yocto | 12:18 | |
*** radsquirrel <radsquirrel!~bradleyb@mail.fuzziesquirrel.com> has quit IRC | 12:18 | |
*** fatalhalt <fatalhalt!~fatalhalt@c-67-163-60-93.hsd1.il.comcast.net> has joined #yocto | 12:19 | |
OutBackDingo | i looked at your files that you posted to me and i notced.... initramfs initramfs.gz followkernel at the bottom, is required for config.txt ? | 12:19 |
OutBackDingo | nrossi: ^ | 12:19 |
LetoThe2nd | nrossi: side note: whenever i read that nick, i get the feeling that i should have a glass of red wine. | 12:19 |
*** radsquirrel <radsquirrel!~bradleyb@mail.fuzziesquirrel.com> has joined #yocto | 12:19 | |
nrossi | OutBackDingo: thats how to tell the raspberrypi bootloader to load an initramfs from the boot device and pass it to the booting kernel | 12:20 |
OutBackDingo | where in your initramfs isnt emnbedded in the kerrnel | 12:20 |
*** falk0n <falk0n!~falk0n@a109-49-141-84.cpe.netcabo.pt> has quit IRC | 12:20 | |
nrossi | OutBackDingo: no in my use, its not built-in with e.g. INITRAMFS_IMAGE_BUNDLE. | 12:20 |
OutBackDingo | nrossi: ok, so your building it manually ? | 12:21 |
nrossi | OutBackDingo: the initramfs? | 12:21 |
OutBackDingo | yes, initramfs this is whats throowing me | 12:21 |
nrossi | OutBackDingo: no it comes for the target image. In the metadata i linked its "core-image-toolbox", the file "initramfs" is just renamed from the image name using the bootfiles -> https://github.com/nathanrossi/meta-random/blob/master/recipes-toolbox/images/disk-image-toolbox.bb#L18 | 12:22 |
OutBackDingo | nrossi: so i can bitbake coire-image-toolbox from your meta-toolbox? | 12:25 |
*** ravichandran_jm <ravichandran_jm!b64836f2@gateway/web/freenode/ip.182.72.54.242> has joined #yocto | 12:25 | |
OutBackDingo | or inherit it into core-image-weston | 12:25 |
*** radsquirrel <radsquirrel!~bradleyb@mail.fuzziesquirrel.com> has quit IRC | 12:25 | |
nrossi | OutBackDingo: you don't need to use my meta. But let me understand exactly what you are trying to do? Is core-image-weston your initramfs? | 12:26 |
OutBackDingo | nrossi: simply put, i want too have core-image-weston boot from encrypoted rootfs | 12:26 |
nrossi | OutBackDingo: as in your initramfs is core-image-weston and you have a secondary rootfs that you want to pivot to? or is core-image-weston the encrypted rootfs that you want to pivot to? | 12:27 |
ravichandran_jm | I am working in one project where both lib32 & lib64 need to be supported. Hence, lib32-glibc & glibc both are there in yocto build. In the final toolchain, after running "bitbake <image> -c populate-sdk", it is randomly, lib32-glibc headers are getting populated instead of glibc headers. | 12:27 |
ravichandran_jm | Ex: in the toolchain, <sysroots_dir>/aarch64/usr/include/bits/endian.h - lib32-glibc header file content seen instead glibc header file content. | 12:27 |
ravichandran_jm | Please let me know if anybody has any solution/work-around for this. | 12:27 |
OutBackDingo | and ive gone down the initramffs path, included all the crypte on mmcblk0p2 but cant seem to get it to booot / ask me for a password to unlock it | 12:27 |
OutBackDingo | nrossi: core image weston is the rootfs | 12:28 |
*** CTerasa <CTerasa!591b882f@gateway/web/freenode/ip.89.27.136.47> has joined #yocto | 12:28 | |
OutBackDingo | basically boot weston from encryptedfs, meaning i required initramfs for luks | 12:28 |
OutBackDingo | nrossi: unless like you stated, thhere is another way | 12:28 |
*** radsquirrel <radsquirrel!~bradleyb@mail.fuzziesquirrel.com> has joined #yocto | 12:28 | |
nrossi | OutBackDingo: im not familar with luks let me have a quick reference lookup | 12:29 |
OutBackDingo | nrossi: if theres another method for a complete rootfs encryption with keys to unlock im game | 12:29 |
OutBackDingo | basically with luks you have to boot initramfs... crypotsetup should prompt u for a password / key | 12:30 |
OutBackDingo | i have initrramffs booting into weston and moounting mmcblk0p2 as rootfs fine | 12:30 |
OutBackDingo | but whhen i get to theencryptioon poireeve it ffailsd | 12:30 |
OutBackDingo | s/encryptioon piece/g | 12:31 |
OutBackDingo | nrossi: i folowed this after i got initramfs to boot weston into a gui | 12:32 |
OutBackDingo | https://github.com/NicoHood/NicoHood.github.io/wiki/Raspberry-Pi-Encrypt-Root-Partition-Tutorial | 12:32 |
OutBackDingo | but it is raspbian based | 12:32 |
OutBackDingo | where initramfs is external to the image | 12:32 |
OutBackDingo | well kernel image | 12:32 |
nrossi | OutBackDingo: Yer so whether you have the initramfs in the kernel or not shouldn't really matter at all. | 12:33 |
nrossi | OutBackDingo: What is the failure though? what sort of message is being generated or broken behaviour you observe? | 12:34 |
OutBackDingo | nrossi: thats why i belive its down to configuration ... cmdline.txt and conffig.txt | 12:34 |
OutBackDingo | none.. from initramfs i dont even see boot messages... black screeen until weston loads | 12:34 |
nrossi | OutBackDingo: have you checked that the kernel is getting the cmdline.txt you expect? the boot log should show you the cmd line or /proc/cmdline | 12:35 |
nrossi | OutBackDingo: are you working entirely on HDMI+keyboard or have you got the uart hooked up to see the serial console? | 12:35 |
OutBackDingo | touch screen + ssh no keyboard :) | 12:36 |
OutBackDingo | but good point | 12:36 |
OutBackDingo | nrossi: note that i also generated thhe initramfs out of https://github.com/jiazhang0/meta-secure-core | 12:37 |
OutBackDingo | probably overkill for the needs | 12:37 |
OutBackDingo | but it works :) at leat unencrypted | 12:37 |
OutBackDingo | im sure this is config issues, because unencryted the initram boot and loads weston fine | 12:38 |
rburton | RP: revert the rpcbind upgrade please | 12:39 |
nrossi | OutBackDingo: sure, its liking a very simple bug. But figuring out what the issue is can be hard if you can see error messages or log info ;) | 12:39 |
nrossi | s/liking/likely/ | 12:40 |
OutBackDingo | nrossi: hence thhe reason im loooking for someone who can whip this out.... or guide me on achieving it... even for $$$s if needed | 12:41 |
OutBackDingo | my first crack at encrypted rootfs on a pi hhas been miserable, any other devicce, NXP Lyrat SiFive ... no problems | 12:41 |
nrossi | OutBackDingo: did you have a serial console on those devices? :) makes debugging soooo much easier. But failing that if you still have SSH and the system is still alive after the error you should be able to look at dmesg/logs etc. | 12:42 |
OutBackDingo | nrossi: unencryopted i can ssh in fine, as networking is up, rootfs is mounted from mmcblk0p2 ffine once i do the encryption i cant even ssh to it, as its stuck unlocking mmcblk0p2 i think | 12:44 |
OutBackDingo | guess i have to get the usb debugger out and hook it up | 12:45 |
OutBackDingo | whichh means rip the whole device aprt to get to the pi :) | 12:45 |
nrossi | OutBackDingo: it might be a pain to hook up the serial console. But otherwise you might spend days trying to debug in the dark ;) | 12:46 |
*** rob_w <rob_w!~rob@unaffiliated/rob-w/x-1112029> has joined #yocto | 12:47 | |
la_croix_ | How do I make bitbake completely re-add a layer from scratch? | 12:57 |
LetoThe2nd | ? | 12:57 |
la_croix_ | When I add a layer to bitbake for the first time, it spends some time adding it (45 seconds). This time, it reported that it couldn't find some stuff, so I fixed it (I think), and re-added it. This time, it did not spend any time adding the layer, which suggests to me that it hasn't incorporated the changes. Also, the module hasn't been loaded, so I'm pretty confident it didn't incorporate the change | 13:00 |
LetoThe2nd | la_croix_: layers get added only once, and then re-read. look at the conf/bblayers.conf file, you'll see the layer is already there. | 13:01 |
LetoThe2nd | if you kick off another task through bitbake, it will automagically reread the layers and detect changes. | 13:02 |
la_croix_ | Right, in that case trying to add that module seems to have failed | 13:02 |
LetoThe2nd | thats of course possible. | 13:02 |
LetoThe2nd | you can look at what bitbake thinks of your module by "bitbake -e $YOURFUNNYRECIPENAME | less" | 13:03 |
LetoThe2nd | the less is obviously not mandatory, but... helpful. | 13:03 |
la_croix_ | When I first added it, it gave me this error: No bb files matched BBFILE_PATTERN_yoctobsp '^/home/ubuntu/dev/poky/meta-i2s/, so I rejigged the directory structure | 13:03 |
LetoThe2nd | well if you get no error anymore, it means that now somehting matches the pattern. | 13:04 |
la_croix_ | Ok, but I have very little clue what to make of the output of that command | 13:05 |
la_croix_ | One irrelevant warning, but that's all | 13:06 |
LetoThe2nd | the error basically just said: "see you added that layer, but to me it contains nothing." | 13:06 |
LetoThe2nd | if you don't get the warning anymore, then bitbake found something in your layer, and is happy with it. | 13:06 |
la_croix_ | In that case, I think this is probably the problem, but I'm not sure how to fix it: | 13:07 |
LetoThe2nd | well if you run bitbake again, does the warning show up again? | 13:07 |
LetoThe2nd | if not, then you already fixed it, for good or bad. | 13:08 |
la_croix_ | Yes, I think I've fixed it, n o warning | 13:08 |
la_croix_ | The layer is meta-i2s -> recipes-kernel -> i2s -> i2s-rpi-mod.bb. That last file contains: RPROVIDES_${PN} += "kernel-module-rpi-i2s". I've currently put "KERNEL-MODULE-AUTOLOAD-append = " kernel-module-rpi-i2s "" into local.conf. Is this a naming issue? | 13:09 |
LetoThe2nd | what is a naming issue? | 13:09 |
la_croix_ | KERNEL-MODULE-AUTOLOAD-append = " kernel-module-rpi-i2s ", is that the correct name of the module? It shouldn't be i2s, or i2s-rpi-mod or something? | 13:11 |
LetoThe2nd | la_croix_: as far as i can see, it should be the name of the ko file that the recipe builds. | 13:12 |
la_croix_ | Ah, it might be: 3f203000.i2s | 13:14 |
LetoThe2nd | no | 13:15 |
LetoThe2nd | that sounds like some device tree thing. | 13:15 |
la_croix_ | Oh, in that case, my_loader.ko. | 13:16 |
la_croix_ | That seems to. be the clever thing they names it | 13:16 |
RP | rburton: will drop it, well spotted | 13:16 |
LetoThe2nd | la_croix_: well, i told you that this particular kernel module source is ugly. | 13:16 |
*** demonimin <demonimin!~demonimin@unaffiliated/demonimin> has quit IRC | 13:17 | |
la_croix_ | Heheh, true. So what does this line do? RPROVIDES_${PN} += "kernel-module-rpi-i2s" | 13:17 |
LetoThe2nd | la_croix_: it says: "the main artifact of this recipe provides 'kernel-module-rpi-i2s' for runtime" | 13:18 |
LetoThe2nd | (in a nutshell) | 13:18 |
la_croix_ | Ok, so I can change my KERNEL-MODULE-AUTOLOAD-append to "my_loader"? | 13:18 |
LetoThe2nd | you can always go ahead and try it, no? | 13:19 |
la_croix_ | Yep :) | 13:19 |
LetoThe2nd | and you can also always just try manually on your target. think modprobe, insmod, rmmod | 13:19 |
la_croix_ | If nothing else, I'm learning more about linux | 13:23 |
LetoThe2nd | thats the spirit! | 13:23 |
*** demonimin <demonimin!~demonimin@5.51.222.165> has joined #yocto | 13:24 | |
*** demonimin <demonimin!~demonimin@unaffiliated/demonimin> has joined #yocto | 13:24 | |
*** sgw_ <sgw_!~sgw@88.128.80.177> has quit IRC | 13:25 | |
la_croix_ | modprobe can't find it, so I'll, build a new image | 13:36 |
ak77 | I am compiling a single file with ${CC} in a recipe. this file references on systemd's sd_notify. I have added systemd to DEPENDS list, I have tried `pkg-config --libs --cflags libsysemd` and just -lsystemd, but linker still complains about "undefined reference to `sd_notify`". Am I missing something? | 13:39 |
*** sgw1 <sgw1!~sgw@88.128.80.177> has joined #yocto | 13:39 | |
*** andrey_utkin <andrey_utkin!~andrey_ut@gentoo/developer/andrey-utkin> has joined #yocto | 13:40 | |
*** andrey_utkin <andrey_utkin!~andrey_ut@gentoo/developer/andrey-utkin> has left #yocto | 13:40 | |
*** andrey_utkin <andrey_utkin!~andrey_ut@gentoo/developer/andrey-utkin> has joined #yocto | 13:40 | |
JPEW | ak77: Can you share the recipe? | 13:45 |
OutBackDingo | nrossi: okay... hrmmm | 13:46 |
*** sgw1 <sgw1!~sgw@88.128.80.177> has quit IRC | 13:47 | |
OutBackDingo | you got another minute :) | 13:47 |
*** sgw1 <sgw1!~sgw@88.128.80.177> has joined #yocto | 13:47 | |
*** sgw1 is now known as sgw_ | 13:48 | |
nrossi | OutBackDingo: sure | 13:49 |
*** Crofton <Crofton!~balister@2601:5c0:c100:b84:c22d:c40:ab44:9e37> has quit IRC | 13:51 | |
la_croix_ | LetoThe2nd it doesn't seem to be able to find it | 13:51 |
*** berton <berton!~berton@181.220.65.91> has quit IRC | 13:52 | |
la_croix_ | Does it matter that the makefile in that repo is very different to the yocto template makefile? | 13:52 |
LetoThe2nd | la_croix_: then find out if it was properly installed.. check the manifest files, look at the logs of your recipes bild to find out which files actually have been installed, then crosscheck those on the actual image. | 13:53 |
*** Crofton <Crofton!~balister@2601:5c0:c100:b84:c22d:c40:ab44:9e37> has joined #yocto | 13:55 | |
OutBackDingo | nrossi: if i wanted to build a simple core-image-base with initramfs i can do that with your meta- | 13:58 |
nrossi | OutBackDingo: you don't need my meta for anything ;). You can build and initramfs cpio by just setting up the IMAGE_FSTYPES_append = " cpio" | 13:59 |
nrossi | OutBackDingo: And you can just build that into your kernel | 13:59 |
la_croix_ | LetoThe2nd The build logs aren't very informative, but seem fine. The manifest is more helpful. Grepping for 'i2s' gives: kernel-module-snd-soc-bcm2835-i2s-4.14.68 raspberrypi3 4.14.68+git0+8c8666ff6c, but I think we've already established that that is there, because it shows up in lsmod. Grepping for 'my_loader' gives nothig | 14:02 |
LetoThe2nd | huh? | 14:02 |
LetoThe2nd | if lsmod shows it, then it is there and properly loaded. | 14:03 |
*** ant_work <ant_work!~ant__@87.13.122.174> has quit IRC | 14:03 | |
la_croix_ | lsmod shows the snd-soc-bcm2835-i2s module, but it seems to also need this other module (from the dodgy repo) | 14:03 |
LetoThe2nd | yeah, you should go hunting that module, not the bcm-whatever one. and if your package name is not being listed in the manifest, then it also is not installed | 14:04 |
LetoThe2nd | have you added it to IMAGE_INSTALL? | 14:04 |
la_croix_ | Image install: IMAGE_INSTALL_append = " kernel-modules " | 14:06 |
*** Willy-- <Willy--!~william@drmons0544w-156-34-8-55.dhcp-dynamic.fibreop.ns.bellaliant.net> has quit IRC | 14:06 | |
la_croix_ | and: KERNEL_MODULE_AUTOLOAD_append = " snd-soc-bcm2835-i2s " KERNEL-MODULE-AUTOLOAD-append = " my_loader " | 14:06 |
LetoThe2nd | la_croix_: you have to explicitly add your package to IMAGE_INSTALL. kernel-modules only refers to the internal ones of the kernel source, not to wharever you do externall.y | 14:08 |
la_croix_ | Ah, ok, so I'll add IMAGE_INSTALL_append = " my_loader ", should I remove KERNEL-MODULE-AUTOLOAD-append = " my_loader "? | 14:09 |
LetoThe2nd | la_croix_: no. again. these are two fundamentally different things. IMAGE_INSTALL defines what goes into the image. the AUTOLOAD defines what gets automagically loaded upon boot. | 14:10 |
la_croix_ | Right, ok | 14:10 |
LetoThe2nd | la_croix_: so for things to work, you need both correctly set up. | 14:10 |
la_croix_ | Ok, big error, the source of which seems to be: make: *** No targets. Stop. | 14:15 |
RP | rburton: http://git.yoctoproject.org/cgit.cgi/poky/commit/?h=master-next&id=9dc3ee7be30fb198d944721d9a7441a1da0c218b fixes the hangs :/ | 14:15 |
LetoThe2nd | see, now bitbake tries to build your recipe (and fails) | 14:15 |
la_croix_ | Yes, oddly it seems like a step forward :P | 14:16 |
LetoThe2nd | la_croix_: now its time to fix your recipe :) | 14:17 |
*** hamis <hamis!~irfan@110.93.212.98> has quit IRC | 14:19 | |
la_croix_ | LetoThe2nd Indeed :/ Does it have something to do with the makefile being nearly empty? https://github.com/PaulCreaser/rpi-i2s-audio/blob/master/Makefile | 14:19 |
LetoThe2nd | la_croix_: i don't think so. a trivial kernel module does not require a lot in the makefile. rather that you missed something in the recipe. maybe put it into a pastebin so we can have a look here. | 14:20 |
la_croix_ | https://pastebin.com/7N5Vv9YF | 14:23 |
*** ravichandran_jm <ravichandran_jm!b64836f2@gateway/web/freenode/ip.182.72.54.242> has quit IRC | 14:23 | |
la_croix_ | LetoThe2nd I've included everything in that layer. All the files whose contents I haven't pasted, are exactly as they are in the rpo | 14:25 |
la_croix_ | *repo | 14:25 |
LetoThe2nd | la_croix_: ah ok. had a second look, and the makefile in the repo is definitively too "short" | 14:27 |
LetoThe2nd | la_croix_: replace it with http://wiki.kaeilos.com/index.php/Howto_build_a_kernel_module_out_of_the_kernel_tree that you need to beat into shape tastefully :-P | 14:28 |
la_croix_ | LetoThe2nd I was so happy until I read the last bit of that sentence :P | 14:28 |
rburton | RP: so its was the package management bits? | 14:28 |
LetoThe2nd | la_croix_: c'mon, the Makefile mentioned there has only one source file reference. that should really be doable. | 14:29 |
la_croix_ | I'm only joking :) | 14:29 |
la_croix_ | LetoThe2nd I think my beating into shape failed: make: *** No rule to make target 'clean'. Stop. | 14:33 |
la_croix_ | Different error, though | 14:33 |
*** sgw_ <sgw_!~sgw@88.128.80.177> has quit IRC | 14:35 | |
*** sgw1 <sgw1!~sgw@88.128.80.177> has joined #yocto | 14:35 | |
*** falk0n <falk0n!~falk0n@a109-49-158-90.cpe.netcabo.pt> has joined #yocto | 14:36 | |
*** falk0n_ <falk0n_!~falk0n@a109-49-134-133.cpe.netcabo.pt> has quit IRC | 14:39 | |
*** andrey_utkin <andrey_utkin!~andrey_ut@gentoo/developer/andrey-utkin> has left #yocto | 14:40 | |
*** andrey_utkin <andrey_utkin!~andrey_ut@gentoo/developer/andrey-utkin> has joined #yocto | 14:40 | |
*** dmoseley <dmoseley!48b86a4a@gateway/web/cgi-irc/kiwiirc.com/ip.72.184.106.74> has joined #yocto | 14:40 | |
*** dmoseley <dmoseley!48b86a4a@gateway/web/cgi-irc/kiwiirc.com/ip.72.184.106.74> has quit IRC | 14:43 | |
RP | rburton: yes, would appear to be | 14:43 |
*** highyield <highyield!d907f7af@gateway/web/freenode/ip.217.7.247.175> has joined #yocto | 14:44 | |
*** dmoseley <dmoseley!48b86a4a@gateway/web/freenode/ip.72.184.106.74> has joined #yocto | 14:44 | |
la_croix_ | LetoThe2nd This is the beaten makefile: https://pastebin.com/vpBhj1Nj | 14:46 |
LetoThe2nd | la_croix_: well if bitbake complaind about missing a clean target, how about giving it one? | 14:48 |
highyield | hi everyone, I just recently started using yocto and could not find recipes for virtualbox (though recipes exist for qemu). Is there a reason why apparently no one used yocto with virtualbox before? | 14:48 |
la_croix_ | LetoThe2nd I'm not sure how to do that, and I assumed that it was optional, since the template makefile doesn't mention it. I'll do some googling | 14:49 |
*** comptroller <comptroller!~comptroll@47-213-222-253.paolcmtc01.res.dyn.suddenlink.net> has quit IRC | 15:00 | |
*** AndersD_ <AndersD_!~AndersD@194-237-220-218.customer.telia.com> has quit IRC | 15:01 | |
*** dmoseley <dmoseley!48b86a4a@gateway/web/freenode/ip.72.184.106.74> has quit IRC | 15:03 | |
*** dmoseley <dmoseley!48b86a4a@gateway/web/cgi-irc/kiwiirc.com/ip.72.184.106.74> has joined #yocto | 15:03 | |
*** comptroller <comptroller!~comptroll@47-213-222-253.paolcmtc01.res.dyn.suddenlink.net> has joined #yocto | 15:04 | |
*** stephano <stephano!~stephano@134.134.139.76> has joined #yocto | 15:09 | |
ak77 | JPEW: https://pastebin.com/S2yUYJMP | 15:09 |
*** rcw <rcw!~rcw@128.224.252.2> has joined #yocto | 15:10 | |
*** adelcast <adelcast!~adelcast@130.164.62.136> has joined #yocto | 15:12 | |
*** sgw1 <sgw1!~sgw@88.128.80.177> has quit IRC | 15:16 | |
la_croix_ | LetoThe2nd Ok, got it to build. It still doesn't work out of the box, but modprobe my_loader is now an empty result, rather than "Module not found". Presumably the lack of details is because the repo is crap. | 15:17 |
LetoThe2nd | la_croix_: not exactly. if a module does not produce any output intentionally, then modprob'ing/insmod'ing it does not yield any output. | 15:18 |
LetoThe2nd | la_croix_: after modprobe, look at lsmod, and if its there, its properly loaded. | 15:18 |
LetoThe2nd | if it also works then is a whole different story, of course. | 15:18 |
la_croix_ | It does seem to be there! | 15:19 |
*** falk0n_ <falk0n_!~falk0n@a109-49-128-177.cpe.netcabo.pt> has joined #yocto | 15:19 | |
la_croix_ | And arecord -l now shows something that it didn't show before | 15:19 |
la_croix_ | Assuming this works, how do I make it load by default? | 15:19 |
LetoThe2nd | add the name that you just used for modprobe to the AUTOLOAD variable that you loved so much earlier :-) | 15:19 |
la_croix_ | Haha | 15:20 |
LetoThe2nd | ;-) | 15:20 |
la_croix_ | Actually, I think it's already there | 15:20 |
la_croix_ | Let me test the mic | 15:20 |
LetoThe2nd | 1, 2, 1, 2.....*beeeeeeeeep* | 15:21 |
LetoThe2nd | "can't touch this! | 15:21 |
*** TobSnyder <TobSnyder!~schneider@ip5f5aa32f.dynamic.kabel-deutschland.de> has quit IRC | 15:21 | |
ak77 | JPEW: if I remove TARGET_CC_ARCH, it works, but it complaints about "No GNU_HASH in the elf binary" | 15:22 |
*** falk0n <falk0n!~falk0n@a109-49-158-90.cpe.netcabo.pt> has quit IRC | 15:22 | |
JPEW | ak77: Does it work if you use ${CCLD} instead of ${CC} ? | 15:22 |
la_croix_ | LetoThe2nd You, sir, are wonderful. Thank you for your help! | 15:22 |
LetoThe2nd | la_croix_: i hereby license my provided work under the MPL, short for metal public license. this microphone must never be used to record anything other than heavy metal. | 15:23 |
la_croix_ | LetoThe2nd Haha, deal | 15:24 |
JPEW | ak77: Also, I *think* you might also want something like: ${CCLD} ${CFLAGS} ${LDFLAGS} .... | 15:24 |
LetoThe2nd | la_croix_: seriously, have fun, and hope you learned a bit or two. | 15:24 |
*** Aethenelle_ <Aethenelle_!~Aethenell@38.98.162.253> has joined #yocto | 15:25 | |
ak77 | JPEW: as I add ${LDFLAGS} it starts to to miss sd_notify | 15:25 |
la_croix_ | LetoThe2nd I definitely did, and it has piqued my interest enough to delve a bit further, and try to figure out how this stuff actually works :) | 15:25 |
JPEW | Ah, perhaps -Wl,--as-needed is what is killing you. | 15:26 |
JPEW | ak77: Try moving the -lsystemd to the end of the command line | 15:26 |
*** zagor <zagor!~zagor@rockbox/developer/Zagor> has joined #yocto | 15:27 | |
JPEW | ak77: I'm not sure how -Wl,--as-needed interacts with a single line compile/link... | 15:27 |
*** highyield <highyield!d907f7af@gateway/web/freenode/ip.217.7.247.175> has quit IRC | 15:29 | |
JPEW | ak77: You might also try adding ASNEEDED = "" to your recipe to disable it. | 15:29 |
*** WillMiles <WillMiles!~Will@static-209-87-231-80.storm.ca> has joined #yocto | 15:29 | |
*** Aethenelle_ <Aethenelle_!~Aethenell@38.98.162.253> has quit IRC | 15:29 | |
*** Aethenelle_ <Aethenelle_!~Aethenell@38.98.162.245> has joined #yocto | 15:30 | |
*** learningc <learningc!~learningc@210.195.72.146> has joined #yocto | 15:31 | |
ak77 | JPEW: moving to the end did the trick | 15:32 |
ak77 | JPEW: thank you | 15:32 |
JPEW | ak77: no problem. I'm pretty sure thats cause by -Wl,--as-needed. It's gotten me several times ;) | 15:33 |
rburton | link order is *very* picky when you have asneeded | 15:33 |
*** rob_w <rob_w!~rob@unaffiliated/rob-w/x-1112029> has quit IRC | 15:34 | |
kergoth | RP: what are the current tools you've been using for bitbake profiling, memory and cpu? it's been a while since i investigated that, same as we used to use? | 15:35 |
RP | kergoth: I've not found anything new, no. Not had much of a chance to "play" :( | 15:42 |
* kergoth nods, him either | 15:42 | |
*** comptroller <comptroller!~comptroll@47-213-222-253.paolcmtc01.res.dyn.suddenlink.net> has quit IRC | 15:44 | |
*** berton <berton!~berton@181.220.65.91> has joined #yocto | 15:47 | |
*** comptroller <comptroller!~comptroll@47-213-222-253.paolcmtc01.res.dyn.suddenlink.net> has joined #yocto | 15:55 | |
*** Aethenelle_ <Aethenelle_!~Aethenell@38.98.162.245> has quit IRC | 16:06 | |
OutBackDingo | nrossi: so adding IMAGE_FSTYPES_append = " cpio" will inject the initramfs into the sdimg ? | 16:06 |
*** cvasilak <cvasilak!~cvasilak@ppp-94-66-8-209.home.otenet.gr> has quit IRC | 16:06 | |
*** yates <yates!~user@rrcs-96-10-234-158.midsouth.biz.rr.com> has quit IRC | 16:07 | |
*** lusus <lusus!~lusus@62.91.23.180> has quit IRC | 16:08 | |
yocti | New news from stackoverflow: How to add pciutils package in yocto AGL? <https://stackoverflow.com/questions/53002460/how-to-add-pciutils-package-in-yocto-agl> | 16:10 |
*** frsc <frsc!~frsc@2003:a:e7a:6200:246c:2a8b:f45a:a33d> has quit IRC | 16:11 | |
*** learningc <learningc!~learningc@210.195.72.146> has quit IRC | 16:12 | |
*** tprrt <tprrt!~tprrt@217.114.201.133> has quit IRC | 16:17 | |
*** Aethenelle_ <Aethenelle_!~Aethenell@38.98.162.253> has joined #yocto | 16:21 | |
*** awe00 <awe00!~awe00@unaffiliated/awe00> has quit IRC | 16:23 | |
*** Aethenelle_ <Aethenelle_!~Aethenell@38.98.162.253> has quit IRC | 16:26 | |
*** Aethenelle_ <Aethenelle_!~Aethenell@38.98.162.245> has joined #yocto | 16:28 | |
*** rajm <rajm!~robertmar@cpc126996-macc4-2-0-cust25.1-3.cable.virginm.net> has joined #yocto | 16:34 | |
*** chandana73 <chandana73!~ckalluri@149.199.62.130> has joined #yocto | 16:35 | |
kergoth | hmm | 16:48 |
*** berton <berton!~berton@181.220.65.91> has quit IRC | 16:57 | |
*** berton <berton!~berton@181.220.65.91> has joined #yocto | 16:57 | |
*** berton <berton!~berton@181.220.65.91> has quit IRC | 16:59 | |
*** berton <berton!~berton@181.220.65.91> has joined #yocto | 16:59 | |
*** Carton__ <Carton__!~jo@213.55.211.27> has quit IRC | 17:00 | |
*** CTerasa <CTerasa!591b882f@gateway/web/freenode/ip.89.27.136.47> has quit IRC | 17:07 | |
*** berton <berton!~berton@181.220.65.91> has quit IRC | 17:12 | |
*** berton <berton!~berton@181.220.65.91> has joined #yocto | 17:14 | |
*** fl0v0 <fl0v0!~fvo@i577B9B4E.versanet.de> has quit IRC | 17:24 | |
yocti | New news from stackoverflow: psplash not shown during boottime although its callable from console <https://stackoverflow.com/questions/53267094/psplash-not-shown-during-boottime-although-its-callable-from-console> | 17:41 |
*** boucman_work <boucman_work!~jrosen@wesnoth/developer/boucman> has quit IRC | 17:49 | |
*** diembed <diembed!~diembed@34.16-66-87.adsl-static.isp.belgacom.be> has quit IRC | 17:53 | |
*** dmoseley_ <dmoseley_!~dmoseley@072-184-106-074.res.spectrum.com> has joined #yocto | 18:25 | |
*** dmoseley <dmoseley!48b86a4a@gateway/web/cgi-irc/kiwiirc.com/ip.72.184.106.74> has quit IRC | 18:27 | |
*** dmoseley_ is now known as dmoseley | 18:27 | |
*** moto-timo <moto-timo!~ttorling@fsf/member/moto-timo> has quit IRC | 18:35 | |
*** feddischson <feddischson!~feddischs@55d4efce.access.ecotel.net> has joined #yocto | 18:41 | |
*** TellMeMore <TellMeMore!~oryn@catv-188-142-200-211.catv.broadband.hu> has joined #yocto | 18:46 | |
*** rob_w <rob_w!~rob@unaffiliated/rob-w/x-1112029> has joined #yocto | 19:06 | |
*** berton_ <berton_!~berton@181.220.65.91> has joined #yocto | 19:09 | |
*** berton <berton!~berton@181.220.65.91> has quit IRC | 19:12 | |
*** bluelightning <bluelightning!~paul@pdpc/supporter/professional/bluelightning> has joined #yocto | 19:13 | |
*** Alchemical <Alchemical!~al@unaffiliated/alchemical> has quit IRC | 19:28 | |
*** AmarOk1412 <AmarOk1412!~AmarOk@2a00:5881:4008:508::253> has joined #yocto | 19:36 | |
AmarOk1412 | hello people! I'm currently using poky (yeah I know, not the latest, but no choice for now) and I'm currently building a initramfs image. | 19:38 |
AmarOk1412 | But a step is failing with "install: cannot stat ‘arch/arm/boot/fitImage’: No such file or directory" in do_bundle_initramfs | 19:40 |
AmarOk1412 | anyone has already seen this error? | 19:40 |
AmarOk1412 | ok https://patchwork.openembedded.org/patch/145017/ | 19:47 |
*** rob_w <rob_w!~rob@unaffiliated/rob-w/x-1112029> has quit IRC | 19:50 | |
*** berton_ <berton_!~berton@181.220.65.91> has quit IRC | 20:01 | |
*** yates <yates!~user@rrcs-96-10-234-158.midsouth.biz.rr.com> has joined #yocto | 20:08 | |
yates | where would i "tweak" to modify the fstab generated into my rootfs? | 20:08 |
bluelightning | yates: I think you'd add a recipes-core/base-files/base-files_%.bbappend to your custom layer and supply your own modified version | 20:19 |
bluelightning | (or perhaps more flexibly you could have the bbappend modify ${D}${sysconfdir}/fstab in a do_install_append) | 20:20 |
*** JaMa <JaMa!~martin@217.30.68.212> has joined #yocto | 20:20 | |
*** kpo <kpo!~bob@piq58.internetdsl.tpnet.pl> has quit IRC | 20:28 | |
*** OpenSorceress <OpenSorceress!~opensorce@unaffiliated/screamingbanshee> has quit IRC | 20:31 | |
*** OpenSorceress <OpenSorceress!~opensorce@216-82-197-9.static.grandenetworks.net> has joined #yocto | 20:32 | |
*** OpenSorceress <OpenSorceress!~opensorce@unaffiliated/screamingbanshee> has joined #yocto | 20:32 | |
*** feddischson <feddischson!~feddischs@55d4efce.access.ecotel.net> has quit IRC | 20:33 | |
yates | bluelightning: so the bbappend would do something like define a function do_install_append() which would append a new line to the default fstab? | 20:35 |
*** demonimin <demonimin!~demonimin@unaffiliated/demonimin> has quit IRC | 20:36 | |
bluelightning | yates: yes | 20:36 |
yates | ok, thx | 20:36 |
yates | does the do_install_append() function have to be named uniquely? i.e., if that function was already defined in the base layer .bb, could I still use that name in my custom layer? | 20:37 |
yates | (seems like possibly a stupid question, but hey ...) | 20:39 |
*** gtristan <gtristan!~tristanva@110.11.179.2> has quit IRC | 20:40 | |
bluelightning | yates: do_install_appends are all applied, they don't overwrite eachother, so no issue there | 20:42 |
bluelightning | I should check if that's in the FAQ | 20:42 |
*** georgem_home <georgem_home!uid210681@gateway/web/irccloud.com/x-hzcewoymosrbowwj> has joined #yocto | 20:45 | |
yates | thanks | 20:45 |
*** demonimin <demonimin!~demonimin@unaffiliated/demonimin> has joined #yocto | 20:47 | |
*** feddischson <feddischson!~feddischs@55d4efce.access.ecotel.net> has joined #yocto | 20:49 | |
bluelightning | https://wiki.yoctoproject.org/wiki/Technical_FAQ#There.27s_a_bbappend_in_a_layer_I.27m_using_that_defines_a_do_something_append.28.29_and_I_want_to_append_to_that_function_also.2C_how_do_I_do_this.3F | 20:49 |
bluelightning | (just added) | 20:49 |
yates | very good! | 21:00 |
yates | i'm still confused about the naming requirements of such .bbappends. could i add a <custom-layer>/recipes-kernel/base-files/base-files_%.bbapend instead of <custom-layer>/recipes-core/base-files/base-files_%.bbapend? if not, why not? | 21:02 |
*** demonimin <demonimin!~demonimin@unaffiliated/demonimin> has quit IRC | 21:11 | |
bluelightning | yates: yes you could - the path is not considered, only the file name | 21:11 |
bluelightning | yates: the path need only match whatever conf/layer.conf for the layer is adding to BBFILES | 21:11 |
yates | so the other structure is just by convention? | 21:12 |
bluelightning | yes, typically for bbappends you'd keep the same path as it appears in the layer where the original recipe is, but there's no technical requirement to do so | 21:12 |
yates | so i could even name it <custom-layer>/recipes-kernel/another-folder-name/base-files_%.bbapend ? | 21:14 |
yates | yes, yyou stated that, sorry | 21:14 |
yates | only the "FILE NAME" | 21:14 |
*** pn <pn!~parthi@62.91.23.180> has quit IRC | 21:15 | |
*** pn <pn!~parthi@62.91.23.180> has joined #yocto | 21:16 | |
yates | is there a way to bitbake just the rootfs? | 21:18 |
*** demonimin <demonimin!~demonimin@5.51.222.165> has joined #yocto | 21:22 | |
*** demonimin <demonimin!~demonimin@unaffiliated/demonimin> has joined #yocto | 21:22 | |
bluelightning | yates: in what scenario? | 21:25 |
*** tprrt <tprrt!~tprrt@ram31-1-82-234-79-177.fbx.proxad.net> has joined #yocto | 21:27 | |
yates | nm, i think i was ocnfused on my reasonsing | 21:27 |
kergoth | yates: as long as its filename matches the .bb and its path is covered by the wildcards in BBFILES in your layer, that's all bitbake cares about in that rregard | 21:29 |
*** rcw <rcw!~rcw@128.224.252.2> has quit IRC | 21:34 | |
*** WillMiles <WillMiles!~Will@static-209-87-231-80.storm.ca> has quit IRC | 21:35 | |
*** learningc <learningc!~learningc@210.195.72.146> has joined #yocto | 21:43 | |
*** andrey_utkin <andrey_utkin!~andrey_ut@gentoo/developer/andrey-utkin> has left #yocto | 21:55 | |
*** JaMa <JaMa!~martin@217.30.68.212> has quit IRC | 22:01 | |
*** demonimin <demonimin!~demonimin@unaffiliated/demonimin> has quit IRC | 22:21 | |
*** rburton <rburton!~rburton@35.106.2.81.in-addr.arpa> has quit IRC | 22:24 | |
*** demonimin <demonimin!~demonimin@unaffiliated/demonimin> has joined #yocto | 22:26 | |
*** Net147 <Net147!~Net147@unaffiliated/net147> has quit IRC | 22:33 | |
*** Net147 <Net147!~Net147@unaffiliated/net147> has joined #yocto | 22:33 | |
*** Net147 <Net147!~Net147@unaffiliated/net147> has quit IRC | 22:37 | |
*** Net147 <Net147!~Net147@unaffiliated/net147> has joined #yocto | 22:38 | |
*** TellMeMore <TellMeMore!~oryn@catv-188-142-200-211.catv.broadband.hu> has quit IRC | 22:45 | |
*** demonimin <demonimin!~demonimin@unaffiliated/demonimin> has quit IRC | 23:00 | |
*** tprrt <tprrt!~tprrt@ram31-1-82-234-79-177.fbx.proxad.net> has quit IRC | 23:03 | |
*** kanavin_home1 <kanavin_home1!~ak@2a02:8109:b5c0:1a5d:ada5:a270:4516:9891> has quit IRC | 23:06 | |
*** demonimin <demonimin!~demonimin@5.51.222.165> has joined #yocto | 23:10 | |
*** demonimin <demonimin!~demonimin@unaffiliated/demonimin> has joined #yocto | 23:10 | |
*** chandana73 <chandana73!~ckalluri@149.199.62.130> has quit IRC | 23:18 | |
*** feddischson <feddischson!~feddischs@55d4efce.access.ecotel.net> has quit IRC | 23:31 | |
*** nighty- <nighty-!~nighty@s229123.ppp.asahi-net.or.jp> has quit IRC | 23:45 | |
*** demonimin <demonimin!~demonimin@unaffiliated/demonimin> has quit IRC | 23:54 | |
*** chandana73 <chandana73!~ckalluri@149.199.62.131> has joined #yocto | 23:55 | |
*** demonimin <demonimin!~demonimin@unaffiliated/demonimin> has joined #yocto | 23:57 |
Generated by irclog2html.py 4.0.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!