vladest has quit [Remote host closed the connection]
camus has quit [Remote host closed the connection]
vladest1 is now known as vladest
camus1 is now known as camus
ykrons_ has quit [Ping timeout: 240 seconds]
goliath has quit [Quit: SIGSEGV]
ykrons_ has joined #yocto
ykrons_ has quit [Ping timeout: 264 seconds]
ykrons has joined #yocto
sakoman has quit [Quit: Leaving.]
deuteron has quit [Quit: leaving]
ykrons has quit [Ping timeout: 248 seconds]
behanw has joined #yocto
froooks has joined #yocto
<froooks>
Hello. I learning yocto. As a test project I trying to create custom layer that builds one cmake project and build pipeline that builds images for several raspberry pi versions.
<froooks>
I able to build test image already.
<froooks>
Now I looking good example of "production-ready" way to store and execute custom layers and build configurations.
<froooks>
Can someone provide github link or smth like this?
Thorn has joined #yocto
tunahan has quit [Quit: tunahan]
tunahan has joined #yocto
ykrons has joined #yocto
tunahan has quit [Quit: tunahan]
tunahan has joined #yocto
ykrons has quit [Ping timeout: 241 seconds]
ykrons has joined #yocto
amitk has joined #yocto
jclsn has quit [Ping timeout: 248 seconds]
jclsn has joined #yocto
ykrons has quit [Ping timeout: 240 seconds]
sakoman has joined #yocto
ykrons has joined #yocto
ykrons has quit [Ping timeout: 253 seconds]
mrpelotazo has quit [Read error: Connection reset by peer]
ykrons_ has joined #yocto
Thorn has quit [Ping timeout: 265 seconds]
mrpelotazo has joined #yocto
ykrons_ has quit [Ping timeout: 250 seconds]
tunahan has quit [Quit: tunahan]
tunahan has joined #yocto
Minvera has quit [Remote host closed the connection]
ykrons has joined #yocto
ykrons has quit [Ping timeout: 255 seconds]
ykrons has joined #yocto
prabhakarlad has quit [Quit: Client closed]
ykrons has quit [Ping timeout: 260 seconds]
froooks has quit [Quit: Client closed]
thomasd13 has joined #yocto
sakoman has quit [Quit: Leaving.]
<Entei[m]>
Trying to get llvm and clang package installed. Not using clang as the toolchain, just making it available as a package. There seem to be already built recipes. In the core (meta), there's recipe for `llvm`, but it throws error saying nothing PROVIDES 'llvm'. incompatible with host riscv64-unknown-linux
<Entei[m]>
Tried `clang` from meta-clang layer, but that too throws bunch of errors in `do_configure` stage.
<Entei[m]>
Anyone been able to get llvm in riscv64 based images?
static_rocket has joined #yocto
<Entei[m]>
PS: I just checked the `llvm_git.bb` recipe. In there, `COMPATIBLE_HOST:riscv64 = "null"` has been assigned. Could someone provide context on this?
rfuentess has joined #yocto
denix has quit [Read error: Connection reset by peer]
denix has joined #yocto
halstead has quit [Read error: Connection reset by peer]
mdp has quit [Read error: Connection reset by peer]
praneeth_ has quit [Read error: Connection reset by peer]
jonmason has quit [Read error: Connection reset by peer]
armpit has quit [Read error: Connection reset by peer]
halstead has joined #yocto
praneeth_ has joined #yocto
mdp has joined #yocto
armpit has joined #yocto
CosmicPenguin has quit [Read error: Connection reset by peer]
ecdhe has quit [Read error: Connection reset by peer]
ecdhe has joined #yocto
florian has joined #yocto
wooosaiiii has quit [Remote host closed the connection]
prabhakarlad has quit [Quit: Client closed]
<\dev\ice>
how to access settings in project-spec/configs/config in bitbacke script (e.g. CONFIG_SUBSYSTEM_HOSTNAME or CONFIG_YOCTO_MACHINE_NAME)?
goliath has joined #yocto
seninha has joined #yocto
prabhakarlad has joined #yocto
<LetoThe2nd>
can you please rephrase, or explain your actual goal?
Lihis has quit [Quit: Quitting]
GillesMM has quit [Ping timeout: 240 seconds]
<\dev\ice>
LetoThe2nd: I want to make /etc/hwrevision file with format like "my-board 0.1.0" as swupdate software expects
<\dev\ice>
and this info lives in this file as CONFIG_...
<\dev\ice>
also same info apears in /etc/petalinux/version and /etc/petalinux/product so it should be accesable
<LetoThe2nd>
"lives in this file as CONFIG_" is the point where you're losing me. Recipes can access their own variables, and global ones. So you'd write a recipe like hwrevision_1.0.bb that does this. In the do_compile or do_install task, you can then create /etc/hwrevision as needed. For finding out where the petalinux information comes from, I'd consult oe-pkgdata-util to find the corresponding recipe and inspect it.
<\dev\ice>
yes, i'm doing recipe and tryied to access those vars in do_install() like `echo "${CONFIG_SUBSYSTEM_FW_VERSION}" > ${D}${sysconfdir}/sw-versions`. will read about oe-pkgdata-util
<LetoThe2nd>
if I had to guess, then the variables are either derived or not global. CONFIG_SUBSYSTEM_FW_VERSION definitely doesn't ring a bell for me, probably is something board/set up specific.
Lihis has joined #yocto
<\dev\ice>
CONFIG_SUBSYSTEM_FW_VERSION from what I see in google is petalinux specific
prabhakarlad has quit [Quit: Client closed]
d-s-e has joined #yocto
rob_w has joined #yocto
maoti__ has joined #yocto
jpuhlman has quit [Ping timeout: 260 seconds]
rfuentess has quit [Remote host closed the connection]
seninha has quit [Remote host closed the connection]
<Entei[m]>
<rburton> "khem: ^^^ Entei above" <- I don't remember where I read about the progress on riscv, but I thought `llvm` was working since 2019?
seninha_ has joined #yocto
<rburton>
you'd have to wait for khem to wake up, but you can try just removing that line and seeing what breaks
seninha has quit [Remote host closed the connection]
camus has quit [Remote host closed the connection]
seninha_ has quit [Remote host closed the connection]
seninha_ has joined #yocto
thomasd13 has quit [Ping timeout: 240 seconds]
car1t has quit [Quit: leaving]
kalj has joined #yocto
xmn has joined #yocto
bps2 has joined #yocto
d-s-e has quit [Ping timeout: 248 seconds]
d-s-e has joined #yocto
bps has quit [Ping timeout: 252 seconds]
<Ad0>
are there any known issues with raspberry pi 3b+ and yocto? my image works on 3B but not on a newer 3B+, but it should basically be the same device. weird
tunahan has quit [Quit: tunahan]
tunahan has joined #yocto
kscherer has joined #yocto
<LetoThe2nd>
Ad0: what would the expression "works" mean? "not sit on a couch all day?"
<Ad0>
hehe
seninha_ has quit [Quit: Leaving]
seninha has joined #yocto
<Ad0>
I use mender as well so it might impact things. but the story is that I built an image with machine raspberry pi 3, and my image works on a 3B but not 3B+. it flashes green 4 times, then 7 fast times
<LetoThe2nd>
Ad0: it might indeed impact things, especially if an update is involved.
<Ad0>
it's a fresh image
<Ad0>
using dunfell
<LetoThe2nd>
Ad0: and nothing on serial?
<Ad0>
nada
<Ad0>
it's like it can't read the microsd, the same microsd works in a 3B no problem
<LetoThe2nd>
Ad0: hm. the raspi integration actually doesn't bring any invasive patching or so
<Ad0>
I did a git pull on meta-raspberrypi and there's nothing new
<Ad0>
at least on dunfell
<LetoThe2nd>
Ad0: care to give kirkstone a try?
<Ad0>
that would involve massive work I am afraid
<Ad0>
I mean it's been around for a while it should work in dunfell
<LetoThe2nd>
Ad0: why? not including any of your applications, just the base poky+oe+mender stack. I just don't have 3B and 3B+ around so I can't test it, sorry.
<Ad0>
I have lots of other stuff included that takes an eternity to build
<Ad0>
and kernel config + patches for some drivers, but those are not relevant at this stage
<Ad0>
it's just weird that it can't read the boot files and produce some kind of output
d-s-e has quit [Quit: Konversation terminated!]
<Ad0>
it was start*.elf
<Ad0>
it got further at least lol
<Ad0>
oh maaaaaaaan what a headache
sakoman has joined #yocto
linex[m] has quit [Ping timeout: 246 seconds]
luffy[m]1 has quit [Ping timeout: 246 seconds]
tenko[m] has quit [Ping timeout: 246 seconds]
<Ad0>
not even sure where those files come from
<Ad0>
if they are downloaded and cached, they are closed sourced blobs
<Ad0>
I guess I have to reset it somehow
<LetoThe2nd>
Ad0: wipe tmp
<Ad0>
tmp-glibc?
<Ad0>
if I do that I am looking for hours of building and running out of memory b/c of rust
<Ad0>
can't I completely clean the image recipe or something ?
amitk_ has quit [Ping timeout: 265 seconds]
<LetoThe2nd>
Ad0: no, almost everything will be coming directly from sstate
<LetoThe2nd>
Ad0: if you don't believe me, then just rename it to tmp-glibc-old and give it a try
<Ad0>
ok so I am not looking at a brutal recompilation? :D
linex[m] has joined #yocto
<LetoThe2nd>
no. and if you never tried full recompilations then you're basically in trouble anyways because there is certainly something hidden in your build that you can't reproduce.
tenko[m] has joined #yocto
kalj has quit [Ping timeout: 245 seconds]
<Ad0>
ok thanks
<Ad0>
I've done recompilations when switching between yocto distros and other stuff
seninha has quit [Quit: Leaving]
<Ad0>
after removing tmp, the image itself seems to be corrupt, or I am extremely unlucky with my flashing ..
<yudjinn[m]>
asking again, since it got buried: So I'm a little stuck with something. I want to semver my images so that "major" changes only happen if there was a rebuild of specific major packages (libc, kernel, etc). I keep my MAJOR version stored as a var in major.inc so anything building artifacts also tags them appropriately. Is there any way to effectively say "if X is rebuilt, make sure MAJOR == OLD_MAJOR ? I plan on making OLD_MAJOR roll with a
<yudjinn[m]>
CI job, so it should always be up to date, Im just not sure how to handle this. I thought taskdepends may help but I dont have much experience and assumed there has to be a more used method, and this cant be the first time this problem arose
bps2 has quit [Ping timeout: 246 seconds]
<Ad0>
hm same result. must be old / bad boot files as a part of it
leon-anavi has quit [Remote host closed the connection]
seninha has joined #yocto
tunahan has quit [Quit: tunahan]
tunahan has joined #yocto
ptsneves has quit [Ping timeout: 240 seconds]
alessioigor has quit [Quit: alessioigor]
Thorn has quit [Ping timeout: 246 seconds]
sakoman has quit [Quit: Leaving.]
sakoman has joined #yocto
florian_kc has joined #yocto
Thorn has joined #yocto
florian_kc has quit [Ping timeout: 246 seconds]
xmn has quit [Ping timeout: 260 seconds]
xmn has joined #yocto
<khem>
Entei: if you have meta-riscv added everything should work we have clang for target working with rv32 and rv64 both
<khem>
and I advise to use master branch for best results
<khem>
but dunfell and kirkstone should work ok too
florian_kc has joined #yocto
xmn has quit [Read error: Connection reset by peer]
maoti__ is now known as jpuhlman
xmn has joined #yocto
<rburton>
khem: does the clang/llvm recipe still need the exclusions then?
<Entei[m]>
khem @khem:matrix.org: I don't see any files related to llvm in meta-riscv.
alejandr1 has quit [Ping timeout: 248 seconds]
kevinrowland has joined #yocto
florian_kc has quit [Ping timeout: 246 seconds]
<nerdboy>
arg, i have this qt recipe that builds/installs fine unless i try setting -DBUILD_SHARED_LIBS=ON and then it refuses to install/package anything