<smurray>
khem: almost seems Fedora et al might have hit that with perl in their switch to enabling v2/v3 versions of things?
<khem>
seems not
<khem>
some more digging reveals that if I use -fno-builtin-memcpy then things work
<khem>
that atleast explains why it works with clang and not with gcc
<khem>
memcpy intrinsic assumes certain things especially around alignments
<khem>
when we enable SSE4.2 and AVX
<khem>
gcc's intrinsic for __builtin_memcpy assumes non-overlapping regions and is vectorized
<smurray>
I'm kind of surprised that perl has issues like this these days with all the platforms it's been ported to
<khem>
oh it has many things like questionable pointer punning.
<khem>
thats why -fno-strict-aliasing is needed
Articulus5 has joined #yocto
Articulus has quit [Read error: Connection reset by peer]
florian has quit [Ping timeout: 244 seconds]
florian has joined #yocto
florian has quit [Ping timeout: 248 seconds]
jmd has joined #yocto
alimon has quit [Server closed connection]
Xagen has quit [Ping timeout: 244 seconds]
Xagen has joined #yocto
zeemate has joined #yocto
_whitelogger has joined #yocto
druppy has joined #yocto
florian has joined #yocto
druppy has quit [Ping timeout: 244 seconds]
<walter>
I have a question, is there a place that mentiones that you need to clean a recipe after you make some changes? I've missed such a thing in the docs, but it seems to be required. For example, I've added `PACKAGECONFIG:pn-xserver-xorg:append = " udev glx"`, then I had to clean it before rebuilding. I feel like this is something that is given after you know yocto, but a gotcha when you get started.
<walter>
Also, party time!!! I've managed to build yocto for my board. I'm not sure if it works, I'll get the SBC next week, but yocto is building, so that's progress!
<walter>
Question, where does this DTB come from? /build/tmp/deploy/images/rock-pi-4b/rk3399-rock-pi-4b.dtb -- Is it generated for the kernel source code? The thing is I need a different DTS from there, one with an extra "-plus" in the name. Do I need to provide my own machine for this?
goliath has joined #yocto
<walter>
So, I've managed to add an extra machine file to the meta-rockchip layer and it seems to work, but I don't know how to deal with the uboot defconfig, do I need to clone uboot locally and use it somehow? or how do I provide an alternative defconfig for it, I saw that the uboot defconfig contains a reference to the DTS, which needs to be changed.
ptsneves has quit [Read error: Connection reset by peer]
zeemate has quit [Ping timeout: 260 seconds]
kanavin has joined #yocto
walter has quit [Quit: Konversation terminated!]
LainIwakura has joined #yocto
walter has joined #yocto
walter has quit [Changing host]
walter has joined #yocto
zeemate has joined #yocto
LainIwakura has quit [Quit: Client closed]
RyanEatmon has quit [Remote host closed the connection]
RyanEatmon has joined #yocto
pita has joined #yocto
pita has quit [Read error: Connection reset by peer]
pita has joined #yocto
savolla has quit [Quit: WeeChat 4.7.0]
savolla has joined #yocto
savolla has quit [Client Quit]
savolla has joined #yocto
florian has quit [Ping timeout: 252 seconds]
florian has joined #yocto
savolla has quit [Quit: WeeChat 4.7.0]
savolla has joined #yocto
zeemate has quit [Ping timeout: 252 seconds]
jmd has left #yocto [ERC 5.4 (IRC client for GNU Emacs 28.2)]
xphn has quit [Server closed connection]
xphn has joined #yocto
goliath has quit [Quit: SIGSEGV]
florian_kc has joined #yocto
florian has quit [Ping timeout: 244 seconds]
savolla has quit [Quit: WeeChat 4.7.0]
pita has quit [Read error: Connection reset by peer]
pita has joined #yocto
micka has joined #yocto
lukesbytes has joined #yocto
warthog9 has quit [Server closed connection]
pita has quit [Ping timeout: 255 seconds]
pita has joined #yocto
crazy_imp has quit [Server closed connection]
crazy_imp has joined #yocto
Articulus5 has quit [Read error: Connection reset by peer]
starblue has quit [Quit: WeeChat 4.6.3]
pita has quit [Read error: Connection reset by peer]
pita has joined #yocto
warthog9 has joined #yocto
druppy has joined #yocto
<khem>
walter: I suggest to use git for recording your local changes, its quite powerful that way. You can then revise all local changes you did on top of known base
<khem>
DTB is usually built as part of kernel or maybe bootloader in some machine types
tammranil has quit [Server closed connection]
tammranil has joined #yocto
<khem>
Generally KERNEL_DEVICETREE variable defined in machine conf file dicatates what it will be for that machine, you can however change it either in the machine conf or via some other config metadata change like in local.conf or some such if you dont want to change the machine config from BSP layer
<walter>
I ended up creating a new layer and moved local.conf changes to there, I then moved everything outside of poky, because the default poky tutorial makes you work in a build directory inside the poky source code. I didn't bother with git, since I still don't know what I'm doing, so a simple backup of the conf file worked until now.
<walter>
Question, are UBoot device trees the same as those from the kernel? Or are they usually different? I'm thinking of sending patches when I get to test the build onto a real board.
<walter>
(The kernel has dts files for my board, but not UBoot)
jdiez has quit [Server closed connection]
jdiez has joined #yocto
<fray>
u-boot device trees in my experience are implementation specific. With that said, where I work, we've decided to recommend to customers that they use the same deviec tree for Linux and u-boot.. but you can absolutely have different ones