ndec changed the topic of #yocto to: "Welcome to the Yocto Project | Learn more: https://www.yoctoproject.org | Join us or Speak at Yocto Project Summit (2022.11) Nov 29-Dec 1, more: https://yoctoproject.org/summit | Join the community: https://www.yoctoproject.org/community | IRC logs available at https://www.yoctoproject.org/irc/ | Having difficulty on the list or with someone on the list, contact YP community mgr ndec"
leon-anavi has quit [Remote host closed the connection]
seninha has joined #yocto
Fanfwe has quit [Ping timeout: 252 seconds]
amsobr has quit [Quit: Konversation terminated!]
Fanfwe has joined #yocto
amsobr has joined #yocto
Wouter010067044 has quit [Quit: The Lounge - https://thelounge.chat]
Wouter010067044 has joined #yocto
nemik has quit [Ping timeout: 260 seconds]
nemik has joined #yocto
roussinm has quit [Quit: WeeChat 3.3-dev]
jimbo has joined #yocto
<Entei[m]> <khem> "one of the valid tunes in oe-..." <- Yes I used that. Maybe I am misunderstanding where to define the tune though.
<Entei[m]> In my `build/conf/local.conf` I have `MACHINE = "qemuriscv64" `like before, and in the openembedded core directory `meta/conf/machine/include/riscv/arch-riscv.inc` I added the line the `DEFAULTTUNE = "riscv64nc" ` . In `meta/conf/machine/include/riscv/tune-riscv.inc`, I added `riscv64nc` to `AVAILTUNES` variable.
Jham has quit [Quit: Leaving]
chep has quit [Quit: ZNC 1.8.2 - https://znc.in]
chep has joined #yocto
seninha has quit [Remote host closed the connection]
chep has quit [Quit: ZNC 1.8.2 - https://znc.in]
chep has joined #yocto
kscherer has quit [Quit: Konversation terminated!]
davidinux has quit [Ping timeout: 246 seconds]
davidinux has joined #yocto
jimbo has quit [Quit: Going offline, see ya! (www.adiirc.com)]
Fanfwe has quit [Ping timeout: 246 seconds]
abelloni has quit [Ping timeout: 246 seconds]
abelloni has joined #yocto
Fanfwe has joined #yocto
starblue has quit [Ping timeout: 248 seconds]
starblue has joined #yocto
sakoman has joined #yocto
nemik has quit [Ping timeout: 255 seconds]
nemik has joined #yocto
nemik has quit [Ping timeout: 268 seconds]
nemik has joined #yocto
jclsn has quit [Ping timeout: 255 seconds]
jclsn has joined #yocto
Thorn has joined #yocto
Fanfwe has quit [Ping timeout: 268 seconds]
Fanfwe has joined #yocto
amitk has joined #yocto
camus has quit [Ping timeout: 246 seconds]
camus has joined #yocto
sakoman has quit [Quit: Leaving.]
rob_w has joined #yocto
aak-rookie has joined #yocto
Thorn has quit [Ping timeout: 255 seconds]
<aak-rookie> hi, im working with imx8mq(coral-dev-board). i can run image in SD mode, but when i switch it to EMMC mode, i get an error. log: https://pastebin.com/tt8T39zY
<aak-rookie> i tried to indicate the important places by putting "----".
<aak-rookie> i also set
<aak-rookie> UBOOT_CONFIG = "emmc"
<aak-rookie> UBOOT_CONFIG[emmc] = "imx8mq_phanbell_defconfig,sdcard"
rfuentess has joined #yocto
xmn has quit [Ping timeout: 255 seconds]
Joel63 has joined #yocto
<mckoan> good morning
<aak-rookie> morning
<LetoThe2nd> yo dudX
PhoenixM2ge is now known as PhoenixMage
aak-rookie has quit [Quit: Client closed]
aak-rookie has joined #yocto
kroon has joined #yocto
olani- has quit [Ping timeout: 255 seconds]
olani- has joined #yocto
kroon has quit [Quit: Leaving]
Schlumpf has joined #yocto
amitk_ has joined #yocto
azcraft has joined #yocto
Wouter010067044 has quit [Quit: The Lounge - https://thelounge.chat]
Wouter010067044 has joined #yocto
olani- has quit [Remote host closed the connection]
florian has joined #yocto
olani- has joined #yocto
<Entei[m]> > <@dai_enkai:matrix.org> Yes I used that. Maybe I am misunderstanding where to define the tune though.
<Entei[m]> > In my `build/conf/local.conf` I have `MACHINE = "qemuriscv64" `like before, and in the openembedded core directory `meta/conf/machine/include/riscv/arch-riscv.inc` I added the line the `DEFAULTTUNE = "riscv64nc" ` . In `meta/conf/machine/include/riscv/tune-riscv.inc`, I added `riscv64nc` to `AVAILTUNES` variable.
<Entei[m]> Now I even tried making making a custom machine config called `qemuriscv64nc.conf` which uses the same config as `qemuriscv64.conf` but adds `DEFAULTTUNE= "riscv64nc"`. However it gives the error that could not find BSP definition of qemuriscv64nc/standard.
<LetoThe2nd> Entei[m]: usually creating a custom machine that requires the original one and then overrides is a good approach.
leon-anavi has joined #yocto
amitk_ has quit [Ping timeout: 248 seconds]
<LetoThe2nd> Entei[m]: modifying anything in an upstream layer is a bad idea, though. so i'd say 1) create your own layer, 2) create a machine there that is your desired name, but essentially just replicates the original via require+OVERRIDES 3) build 4) then work from there.
aak-rookie has quit [Quit: Client closed]
amitk_ has joined #yocto
<Entei[m]> <LetoThe2nd> "Entei: modifying anything in..." <- But that's exactly what I am doing right now. Made my own machine config. It gave out errors regarding `COMPATIBLE_MACHINE`. Added my machine name to couple of linux kernel bb files which had the variable `COMPATIBLE_MACHINE`, and started building. Only to get error at the very end of process....
<LetoThe2nd> Entei[m]: well then don't do it ;-)
<Joel63> Good morning! What recipe provides the dd utility? The one I get is from busybox and it doesn't support the iodirect flag.
<Entei[m]> So....what's the next possible solution to the problem? I see couple of tunes in the riscv-tunes including riscv64nf, riscv64nc, so it should be possible.
<LetoThe2nd> Entei[m]: the key is that your custom machine needs to build upon the original machine. and you can always bbappend the kernel to extend compatible machine.
aak-rookie has joined #yocto
tilman[m] has quit [Quit: You have been kicked for being idle]
<Joel63> Thank you LetoThe2nd
<Entei[m]> LetoThe2nd: Could you suggest some examples I could look into? Any other machine configs that could help me do custom machine conf?
Thorn has joined #yocto
<Entei[m]> LetoThe2nd: Thanks
florian_kc has joined #yocto
ptsneves has joined #yocto
Joel63 has left #yocto [#yocto]
<KareemZarka[m]> hey , so i submitted a test with [PATCH] meta/lib/oeqa/selftest/cases/wic ,i got a feedback that this test case fails on auto-builds with an error that indicates that mtools package in not installed there .. what can i do about this ? whats the right way of solving this issue ? can i add a dependency to core-image-minimal ``` DEPENDS = "mtools" or in local.conf?
<KareemZarka[m]> ````
<KareemZarka[m]> * hey , so i submitted a test with \[PATCH\] meta/lib/oeqa/selftest/cases/wic ,i got a feedback that this test case fails on auto-builds with an error that indicates that mtools package in not installed there .. what can i do about this ? whats the right way of solving this issue ? can i add a dependency to core-image-minimal \`\`\` DEPENDS = "mtools" or in local.conf?
<rburton> bitbake mtools-native before trying to use the binaries
<KareemZarka[m]> * test with \[PATCH, * [PATCH\] meta/lib/oeqa/selftest/cases/wic, * = "mtools"``` or
<Entei[m]> <LetoThe2nd> "Entei: https://github.com/..."; <- Well I followed it verbatim, still getting the same error saying could not locate BSP definition for qemuriscv64nc/standard
<LetoThe2nd> Entei[m]: "it says". who or what is "it"? a recipe? the parser?
<Entei[m]> Oops sorry for being vague. Give me a min, I'll need to copy through a usb drive. I am doing this on a different machine on a different network.
<KareemZarka[m]> KareemZarka[m]: would that be a legit solution ?
<LetoThe2nd> Entei[m]: if i had to *GUESS* (well which i have to), then you are running into woes due to the yocto-ized qemu kernel. so a possible starting point for more digging is maybe https://github.com/lmajewski/meta-y2038/blob/master/conf/machine/qemux86-64-x32.conf
camus1 has joined #yocto
camus has quit [Ping timeout: 246 seconds]
camus1 is now known as camus
<LetoThe2nd> Entei[m]: just what i guessed.
<Entei[m]> Tried the other conf you sent, still the same error...
<Entei[m]> Unable to find much on internet how to tune the machine config
<LetoThe2nd> Entei[m]: no, you're on the wrong track. it is not about a problem with the tunes. it is that the kernel recipe that you are using has quite a bit of magic for the qemu-machines.
<LetoThe2nd> Entei[m]: plus, where does 5.19 come from?
<Entei[m]> LetoThe2nd: Not too sure tbh. I am on Langdale
<LetoThe2nd> Entei[m]: what layers are involved?
<LetoThe2nd> Entei[m]: ok, langdale has 5.15 and 5.19.
<Entei[m]> meta, meta-poky, meta-yocto-bsp, meta-riscv. The riscv layer was added manually, others were defaults from poky
<LetoThe2nd> Entei[m]: I'm unfortunately not very experienced with the linux-yocto internals, but again, *guessing* it has something to do with KMACHINE/KBRANCH.
<LetoThe2nd> maybe somebody else can chip in here.
<Entei[m]> LetoThe2nd: Yeah I am trying to find a branch in yocto kernel repository right now.
amitk_ has quit [Ping timeout: 255 seconds]
camus has quit [Quit: camus]
kroon has joined #yocto
starblue has quit [Ping timeout: 246 seconds]
starblue has joined #yocto
leonanavi has joined #yocto
leon-anavi has quit [Ping timeout: 252 seconds]
seninha has joined #yocto
dgriego has quit [Ping timeout: 252 seconds]
rob_w has quit [Remote host closed the connection]
dgriego has joined #yocto
brazuca has joined #yocto
kroon has quit [Quit: Leaving]
d-fens_ has joined #yocto
<d-fens_> re, any idea how to give non root users acces to the gpio on a raspi ?
Schlumpf has quit [Quit: Client closed]
brazuca has quit [Quit: Client closed]
<d-fens_> ok i did this, hope its legit
<d-fens_> USERADD_PARAM:${PN} = "-m -g pi -G gpio -p 'xxx' pi"
<d-fens_> GROUPADD_PARAM:${PN} = "pi gpio"
<d-fens_> do_install() {
<d-fens_>
<d-fens_> chown -R pi:pi ${D}/home/pi
<d-fens_>
<d-fens_> #Set the group ownership of the GPIO device files
<d-fens_> chgrp gpio ${D}/dev/gpiomem ${D}/dev/mem
<d-fens_> chmod g+rw ${D}/dev/gpiomem ${D}/dev/mem
<d-fens_> }
<d-fens_>
<d-fens_> # Include the device files in the package
<d-fens_> FILES_${PN} += "/dev/gpiomem /dev/mem"
<d-fens_> spoiler , it doesn't work, chgrp: cannot access '/build/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/firmware/0.1+gitAUTOINC+798afc4d43-r0/image/dev/mem': No such file or directory
Starfoxxes has quit [Ping timeout: 248 seconds]
seninha has quit [Ping timeout: 252 seconds]
prabhakarlad has joined #yocto
prabhakarlad has quit [Quit: Client closed]
xmn has joined #yocto
Starfoxxes has joined #yocto
<d-fens_> udev rules did it
prabhakarlad has joined #yocto
Wouter010067044 has quit [Quit: The Lounge - https://thelounge.chat]
Wouter010067044 has joined #yocto
seninha has joined #yocto
Fanfwe has quit [Ping timeout: 255 seconds]
sakoman has joined #yocto
Fanfwe has joined #yocto
Joel17 has joined #yocto
<Joel17> Folks, how do I find out what recipes provide fastboot and adb?
kscherer has joined #yocto
<rburton> Joel17: layers.openembedded.org is the usual search tool. they're both android things though, so you might need to write recipes if you want to use them.
<JaMa> there are recipes for these android-tools
<rburton> the summary should mention them so they're searchable :)
<Joel17> Looks like android-tools is a recipe. Thanks!
<rburton> oh god i hate cmake and llvm so much
<rburton> "quick cleanup", I said
<JaMa> more than nodejs this week? :)
<rburton> oh yes
Joel17 has quit [Quit: Client closed]
NTShetty has joined #yocto
shivamurthy has quit [Excess Flood]
shivamurthy has joined #yocto
<RP> rburton: I will be shocked when you find something you like ;-)
<rburton> haha
rfuentess has quit [Remote host closed the connection]
aak-rookie has quit [Quit: Client closed]
<landgraf> rburton: do you like rburton ? :)
brazuca has joined #yocto
louis_ has quit [Quit: Lost terminal]
NTShetty has quit [Ping timeout: 260 seconds]
seninha has quit [Remote host closed the connection]
vladest has quit [Remote host closed the connection]
vladest has joined #yocto
invalidopcode1 has quit [Remote host closed the connection]
invalidopcode1 has joined #yocto
mason has joined #yocto
<mason> Hi all! I'm new to Yocto and hitting an issue I don't yet understand. I'm adding a kernel patch to an existing layer, but my build is erroring out because my patch file isn't being found. I'm saying FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:" and SEC_URI += "file://001-my.patch" and it's not finding my patch file, where 001-my.patch is in this same directory next to linux-intel_5.15.bbappend. Is this
<mason> something obvious to you folks that know the system better?
<JPEW> It needs to be in a subdirectory named "linux-intel"
<mason> aha, my subdir that this stuff is in was "linux"
<JPEW> Leave the bbappend where it is
<mason> JPEW: Do I want "linux-intel" to contain bbappend, and also contain a "linux-intel" dir with the patchfile?
<RP> there is something disturbing with a test suite reporting INFO: ... unexpected success
<mason> Alright, so "linux" with bbappend and a linux-intel directory, patch in the latter? Trying that.
Estrella has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
<JPEW> mason: it should look like:
<JPEW> recipes-kernel/linux/linux-intel_5.15.bbappend
<JPEW> recipes-kernel/linux/linux-intel/001-my.patch
<mason> JPEW: You rock. Thank you so much! What's the best stuff to read about this so I can learn to fish on my own?
<mason> JPEW: Build's already getting further than it was, so you've nailed it. THANK YOU.
<mason> I'm going to start lurking here as Yocto is going to be an increasingly large part of my life moving forward.
<JPEW> `FILESEXTRAPATHS` tells bitbake what extra paths to search: `${THISDIR}` is the directory that the bbappend file lives in (recipes-kernel/linux), and `${PN}` is the name of the recipe (linux-intel)
<mason> Aha, I dind't know what ${PN} represented.
<JPEW> Therefore, when you say FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:" you are telling bitbake to look for files in "recipes-kernel/linux/linux-intel"
<JPEW> mason: Ya, PN is the name of the recipe, and PV is the version (5.15 in your case)
<mason> JPEW: Hrm. One of my tries, I thought I'd just set "${THISDIR}" and that failed. I'd think that'd not fail, but maybe I'm misremembering.
<JPEW> mason: `FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:"` is the recommended thing to do unless you have a good reason to do otherwise
<JaMa> mason: and you should always use BPN in this instead of PN (or multilib will hunt you in sleep later)
<mason> kk, I'm fine with convention
<JPEW> (maybe you forgot the trailing ":")
<JPEW> JaMa: Ah, right
<JPEW> I need update my vim plugin
<mason> JPEW: Ah! I bet I did. I'll try it.
<JaMa> or native
<mason> JaMa: Where can I read about how PN differs from BPN? None of my co-workers are a ton more familiar with Yocto than me and we're all using it henceforth.
Estrella has joined #yocto
<mason> JaMa: Fair enough.
<mason> ty ty
yssh has joined #yocto
<RP> JaMa, JPEW: Did one of you use icecc? I'm curious about your thoughts on that network flag patch
<JPEW> mason: It's related to multilib (e.g. having multiple different architectures installed at the same time, like i686 & x86-64), but I'm not familiar with it.
<JPEW> We used to
<JPEW> I'll look
<JaMa> RP: some people at @LGE still use it and I've already replied to ML
<JaMa> since the network was enabled I've overlayed that .bbclass in our layers not to enable the network globaly and asked people who use it to enable it only for recipes where it matters (e.g. chromium)
<JPEW> RP: Ya, the inline version from JaMa is better :)
<RP> JaMa: I see you did reply, thanks
<RP> Well, it is "better" and even more parse overhead
<RP> I should stop caring
<JaMa> RP: more overhead than anonymous fce?
<RP> JaMa: yes :(
<mason> I think we're going to do some multilib stuff, and I've passed https://docs.yoctoproject.org/ref-manual/variables.html#term-BPN along to the team, and we'll all read a bit more.
<JaMa> ah, I didn't expect that
<RP> JaMa: anoynmous python gets run once, the other at every variable expansion event
<JaMa> because it's 4 times the expression?
<JaMa> ah :(
<RP> JaMa: right and we have to rerun it any time a setVar occurs and nukes the expand cache
<JaMa> than I'm happy with Jose's version and I shouldn't even ask for that network flag evaluation :/ sorry
<RP> JaMa: your version is neater and I can see why people like it, it just won't perform as well :/
<JPEW> RP: Someone wanted it for export too right?
<RP> JPEW: people have wanted it for various flags but yes
<JaMa> RP: it also predates Jose's version quite a bit :)
<JPEW> Ah, this is the `FOO[export] = ""` still enables the export problem
<JaMa> as I did it as well as expanding network varflag as soon as I've noticed the original icecc.bbclass
<JaMa> before realizing what I'm getting into :)
florian has quit [Quit: Ex-Chat]
<RP> JaMa: its a tricky one :/
florian_kc has quit [Ping timeout: 252 seconds]
ptsneves has quit [Ping timeout: 252 seconds]
Herrie has quit [Ping timeout: 255 seconds]
mckoan is now known as mckoan|away
Herrie has joined #yocto
leonanavi has quit [Quit: Leaving]
<JaMa> mason: it's not only multilib, PN-native and nativesdk-PN have the same behavior, so unless you really need to have e.g. different patch for native version of that recipe, you should just use BPN in FILESEXTRAPATHS to be safe
<mason> JaMa: Alright, noted.
<RP> tlwoerner: FWIW, "qemu-system-x86_64 tmp/deploy/images/qemux86-64/build-appliance-image-qemux86-64.wic.vmdk -enable-kvm" nearly works so I think we can boot these images under runqemu with some small tweaks
<tlwoerner> RP: ok
<RP> tlwoerner: I feel a bit bad pushing discussion on some of this, I am really happy to see this getting some tlc!
<tlwoerner> it'll be nice to be able to test pseudo proactively
<RP> tlwoerner: amongst other uses, yes!
<RP> "./scripts/yocto_testresults_query.py regression-report 4.2_M1 4.2_M2 " on master-next is quite cool
<RP> It doesn't fully work yet but is getting there
invalidopcode1 has quit [Remote host closed the connection]
invalidopcode1 has joined #yocto
<mrybczyn[m]> rburton: sakoman: the new nvd fetcher posted as rfc
amitk_ has joined #yocto
azcraft has quit [Remote host closed the connection]
azcraft has joined #yocto
shoragan has quit [Ping timeout: 246 seconds]
OnkelUlla has quit [Ping timeout: 246 seconds]
hnez has quit [Ping timeout: 248 seconds]
Wouter010067044 has quit [Quit: The Lounge - https://thelounge.chat]
Wouter010067044 has joined #yocto
hnez has joined #yocto
amsobr_ has joined #yocto
amsobr has quit [Ping timeout: 255 seconds]
shoragan has joined #yocto
rpcme has joined #yocto
amsobr_ has quit [Ping timeout: 255 seconds]
vvmeson has joined #yocto
vmeson has quit [Ping timeout: 264 seconds]
<rburton> mrybczyn[m]: awesome
vvmeson has quit [Ping timeout: 255 seconds]
amitk_ has quit [Ping timeout: 252 seconds]
vvmeson has joined #yocto
vvmeson is now known as vmeson
invalidopcode1 has quit [Remote host closed the connection]
invalidopcode1 has joined #yocto
amsobr_ has joined #yocto
Vonter has quit [Ping timeout: 255 seconds]
nemik has quit [Ping timeout: 248 seconds]
nemik has joined #yocto
nemik has quit [Ping timeout: 252 seconds]
yssh has quit [Quit: Client closed]
nemik has joined #yocto
amsobr_ has quit [Quit: Konversation terminated!]
seninha has joined #yocto
invalidopcode1 has quit [Remote host closed the connection]
invalidopcode1 has joined #yocto
florian_kc has joined #yocto
<sakoman> mrybczyn[m]: I saw that! Many thanks for doing that
rob_w has joined #yocto
tangofoxtrot has quit [Remote host closed the connection]
rob_w has quit [Read error: Connection reset by peer]
Herrie has quit [Ping timeout: 246 seconds]
Herrie has joined #yocto
tangofoxtrot has joined #yocto
kscherer has quit [Quit: Konversation terminated!]
Thorn has quit [Ping timeout: 252 seconds]
azcraft has quit [Quit: Leaving]
florian_kc has quit [Ping timeout: 255 seconds]