LetoThe2nd changed the topic of #yocto to: Welcome to the Yocto Project | Learn more: https://www.yoctoproject.org | Community: https://www.yoctoproject.org/community | IRC logs: http://irc.yoctoproject.org/irc/ | Having difficulty on the list, with someone on the list or on IRC, contact Yocto Project Community Manager Letothe2nd | CoC: https://www.yoctoproject.org/community/code-of-conduct
uartz has joined #yocto
uartz has quit [Ping timeout: 245 seconds]
uartz has joined #yocto
uartz has quit [Ping timeout: 245 seconds]
florian has quit [Ping timeout: 244 seconds]
frgo has joined #yocto
frgo has quit [Ping timeout: 260 seconds]
Articulus has quit [Quit: Leaving]
frgo has joined #yocto
frgo has quit [Ping timeout: 245 seconds]
enok has joined #yocto
enok has quit [Ping timeout: 265 seconds]
jclsn has quit [Ping timeout: 272 seconds]
jclsn has joined #yocto
Jones42 has quit [Ping timeout: 240 seconds]
Daanct12 has joined #yocto
sanbeam has joined #yocto
sanbeam9 has joined #yocto
sanbeam18 has joined #yocto
sanbeam has quit [Ping timeout: 248 seconds]
sanbeam9 has quit [Ping timeout: 248 seconds]
sanbeam9 has joined #yocto
sanbeam18 has quit [Ping timeout: 260 seconds]
sanbeam18 has joined #yocto
sanbeam9 has quit [Ping timeout: 248 seconds]
sanbeam18 has quit [Ping timeout: 276 seconds]
frgo has joined #yocto
frgo has quit [Ping timeout: 252 seconds]
Vonter has quit [Ping timeout: 252 seconds]
Vonter has joined #yocto
frgo has joined #yocto
enok has joined #yocto
enok has quit [Client Quit]
enok has joined #yocto
enok has quit [Client Quit]
frgo has quit [Ping timeout: 244 seconds]
enok has joined #yocto
frgo has joined #yocto
frgo has quit [Ping timeout: 252 seconds]
enok has quit [Ping timeout: 248 seconds]
frgo has joined #yocto
frgo has quit [Remote host closed the connection]
eLmankku has joined #yocto
frgo has joined #yocto
frgo has quit [Ping timeout: 245 seconds]
Xagen has quit [Read error: Connection reset by peer]
Xagen has joined #yocto
xmn has quit [Quit: ZZZzzz…]
goliath has joined #yocto
frgo has joined #yocto
frgo has quit [Read error: Connection reset by peer]
frgo has joined #yocto
ptsneves has joined #yocto
ptsneves has quit [Ping timeout: 248 seconds]
enok has joined #yocto
CrazyGecko has quit [Remote host closed the connection]
CrazyGecko has joined #yocto
frieder has joined #yocto
rfuentess has joined #yocto
mckoan|away is now known as mckoan
leon-anavi has joined #yocto
<derRichard> leon-anavi: lately i gave your meta-lts-mixins layer, branch scarthgap/u-boot a try on the rpi5. but it does not seem to boot, all i see is the u-boot logo on the hdmi output.
<derRichard> is there something new to set? i had a bref look at your howtos :-D
<leon-anavi> Hi derRichard, actually, I haven't contributed anything to meta-lts-mixins layer. Tim Orling created branch scarthgap/u-boot.
<leon-anavi> derRichard, which image are you trying to boot on rpi5?
<derRichard> leon-anavi: core-image-base
<derRichard> just like you stated here: https://www.youtube.com/watch?v=9tohomiv1Ug
<leon-anavi> what is your local.conf?
<derRichard> RPI_USE_U_BOOT = "1"
<derRichard> INIT_MANAGER = "systemd"
<derRichard> LICENSE_FLAGS_ACCEPTED = "synaptics-killswitch"
<leon-anavi> this looks good
<derRichard> with machine set to rpi5, of course
<derRichard> without u-boot it boots perfectly fine
<leon-anavi> Have you checked with version of the U-Boot recipe are you building in the image? You can do it with: bitbake-getvar PV -r u-boot
<derRichard> let me check
<leon-anavi> You need to be with 2024.04 or higher to boot rpi5.
<derRichard> it's 2024.04
<leon-anavi> meta-lts-mixins layer branch scarthgap/u-boot adds u-boot version 2024.04
<derRichard> as expecteed
<derRichard> *expected
<leon-anavi> hm, what is the output in the serial console?
<derRichard> nothing. but i have only uart at the gpios, not the new rpi5 debug uart thingy
<leon-anavi> you need to output from the dedicated UART connector on rpi5. Now it is different from the UART on the 40-pin header.
<derRichard> so, u-boot cannot use the uart on the 40pin header?
<leon-anavi> I suggest using Raspberry Pi Debug Probe as it has the needed cable that fits in the dedicated UART connector on the rpi5 (aka the one between the two microHDMI ports).
<derRichard> anyway, do you have an sdcard image i can try? maybe my rpi5 is broken/wonky
<leon-anavi> derRichard, by default: no
<leon-anavi> no, I don't distribute binary images, sorry.
<derRichard> ok
florian has joined #yocto
<leon-anavi> have a look at the UART log to debug further. If the rpi5 boots fine without u-boot most probably it is not a hw issue and some kind of configuraiton that is causing the problem.
ablu has quit [Ping timeout: 245 seconds]
olani has joined #yocto
ablu has joined #yocto
Vonter has quit [Ping timeout: 244 seconds]
Vonter has joined #yocto
prabhakalad has quit [Remote host closed the connection]
prabhakalad has joined #yocto
florian has quit [Ping timeout: 248 seconds]
florian has joined #yocto
<mcfrisk> any ideas why vim suddenly starts failing in devshell with "Vim: Caught deadly signal ABRT"?
enok has quit [Quit: enok]
enok has joined #yocto
enok has quit [Ping timeout: 245 seconds]
Vonter has quit [Ping timeout: 260 seconds]
enok has joined #yocto
Vonter has joined #yocto
<derRichard> leon-anavi: so, the problem is. u-boot does not run boot.scr, it just drops me into the u-boot shell
<leon-anavi> what happens if you just type boot from the u-boot shell? Does it boot?
<derRichard> let me try, loading the kernel manually worked fine before
<derRichard> i can sort this out myself, i'm just a little surprised that your examples does not work here
<leon-anavi> I am not sure what is going on your side. I guess it is a configuration mismatch. Could you please share your "Build Configuration" from bitbake when you build core-image-base?
<derRichard> leon-anavi: sure, here is my kas file: https://paste.debian.net/plain/1350715
<leon-anavi> looks good to me.
<derRichard> same to me :-D
<derRichard> i've flashed the image using bmap, maybe something else is left on the sdcard that confuses the hell out of u-boot?
<leon-anavi> Btw refspec has been deprecated since kas version 14 and will eventually be removed. But I see you are using an older kas version.
<derRichard> sure sure
<leon-anavi> hm... could it be because bmap?
<derRichard> sure, bmaptool writes only data claimed by the image. if the image has a hole and that hole has data on the sdcard, the data is unchanged
<derRichard> this is a super foodgun with u-boot env on mmc. if you saveenv but define no default env in your wic file, after bmap you'll still end up with the old env
florian_kc has joined #yocto
<leon-anavi> A colleague mentioned he had issues with the u-boot env part of the image when using bmap. As far as I remember he mentioned it will be skipped because if it is all zeroes. This may impact u-boot.env and there is a GitHub issue about it: https://github.com/yoctoproject/bmaptool/issues/29
<leon-anavi> derRichard, could you please try flashing the image with dd?
<derRichard> leon-anavi: yes
enok has quit [Quit: enok]
<derRichard> leon-anavi: yes, that works. so, the wic file is wonky. it forgets to set some data which is used by u-boot
<leon-anavi> hehe, cool :) We have figure it out ;)
<leon-anavi> derRichard, could you please take one step further and leave a comment about this particular problem with U-Boot in https://github.com/yoctoproject/bmaptool/issues/29 ?
<derRichard> sure!
<leon-anavi> it is a known issue for bmaptool but I think it make sense to increase the visibility of the impact.
<derRichard> but i'm not sure whether bmaptool is the problem
<derRichard> the problem is the wic file
<derRichard> you need to fix it
<leon-anavi> If it works fine for dd and doesn't work properly when using bmap, I would rather describe it as a bmap flaw. What is the fix for bmap in the wks file to avoid this issue?
<derRichard> yeah, i'm sure it needs to install a clear u-boot env to the mmc or such. like: part u-boot-env --source rawcopy --sourceparams="file=u-boot-foo-initial-env-sd.bin" --ondisk mmcblk --no-table --align 4096
<derRichard> u-boot somewhere tries to read from the mmc and fails due to old data. we need to figure what u-boot does and install that data using wic or stop u-boot from doing so
Tyaku has quit [Quit: leaving]
<mcfrisk> linux-yocto defconfig is not very modular. What kind of requirements or issues need built-in drivers instead of modules? I presume lack of initrd infra and udev hinder a bit, then also boot without initrd to rootfs in various configs needs to work
<leon-anavi> derRichard, sounds reasonable. I rarely use bmap so I don't bump often at this issue. I am a bit worried that there is a huge queue of open GitHub PR in meta-raspberrypi. According to me many of them should have been already merged as they are no remarks about them.
<leon-anavi> keep this in mind if you proceed with a PR to fix the u-boot-env in the wks from meta-raspberrypi.
olani has quit [Ping timeout: 260 seconds]
olani has joined #yocto
wak has quit [Quit: ZNC - https://znc.in]
wak has joined #yocto
tortoise has quit [Ping timeout: 246 seconds]
<leon-anavi> derRichard, do you encounter the same problem if you flash time image with bmap and the "--nobmap" option?
<leon-anavi> I shared your issue with a colleague and he suggested that this may be useful.
<derRichard> leon-anavi: didn't try yet.
tortoise has joined #yocto
darko311 has joined #yocto
<derRichard> lunch time
* derRichard hangry
<leon-anavi> hi darko311 :)
<darko311> hello
Vonter has quit [Ping timeout: 265 seconds]
Vonter has joined #yocto
savolla has joined #yocto
savolla has quit [Quit: WeeChat 4.4.3]
savolla has joined #yocto
beneth has quit [Ping timeout: 244 seconds]
darko311 has quit [Quit: Client closed]
Tyaku has joined #yocto
ello has quit [Read error: Connection reset by peer]
ello_ has joined #yocto
nerdboy has quit [Ping timeout: 265 seconds]
ptsneves has joined #yocto
nerdboy has joined #yocto
nerdboy has quit [Changing host]
nerdboy has joined #yocto
<kanavin_> rburton, have you seen 'office space' movie? do you remember the progress bar scene? :D
<rburton> kanavin_: yes, no. but i can imagine :)
<kanavin_> rburton, it's exactly what you just said on bitbake list :)
<rburton> yes that :)
Daanct12 has quit [Quit: WeeChat 4.5.1]
pidge has quit [Ping timeout: 260 seconds]
pidge has joined #yocto
|Xagen has joined #yocto
|Xagen has quit [Client Quit]
Xagen has quit [Ping timeout: 244 seconds]
uartz has joined #yocto
cyxae has joined #yocto
enok has joined #yocto
Xagen has joined #yocto
sanbeam18 has joined #yocto
leonanavi has joined #yocto
sanbeam9 has joined #yocto
sanbeam18 has quit [Ping timeout: 260 seconds]
<RP> JPEW: meta-mingw needs a patch refresh :/
leon-anavi has quit [Remote host closed the connection]
leonanavi has quit [Remote host closed the connection]
<JPEW> RP: ok
sanbeam has joined #yocto
Xagen has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
grma has quit [Ping timeout: 244 seconds]
sanbeam9 has quit [Ping timeout: 276 seconds]
savolla has quit [Ping timeout: 244 seconds]
sanbeam9 has joined #yocto
sanbeam has quit [Ping timeout: 248 seconds]
<RP> JPEW: there is also a gprc patch on the yocto-patches mailing list
<JPEW> Heh, well, that explains why I didn't see things. I forgot to subscribe to that ML when it switched over
enok has quit [Ping timeout: 260 seconds]
frieder has quit [Remote host closed the connection]
goliath has quit [Quit: SIGSEGV]
Xagen has joined #yocto
florian_kc has quit [Ping timeout: 252 seconds]
xmn has joined #yocto
sanbeam9 has quit [Quit: Leaving]
CrazyGecko has quit [Ping timeout: 252 seconds]
cambrian_invader has quit [Remote host closed the connection]
enok has joined #yocto
enok has quit [Client Quit]
enok has joined #yocto
enok has quit [Client Quit]
enok has joined #yocto
ehussain has joined #yocto
enok has quit [Client Quit]
enok71 has joined #yocto
enok71 has quit [Client Quit]
enok has joined #yocto
jmiehe has joined #yocto
darko311 has joined #yocto
<paulg> 0: rust-llvm-1.81.0-r0 do_compile - 2h26m11s (pid 23790) 57% |######### |
enok has quit [Remote host closed the connection]
enok71 has joined #yocto
<paulg> Have I mentioned how much rust-llvm wastes more electrons than a 1987 fractal screen saver?
<paulg> stupid steaming pile.
rfuentess has quit [Remote host closed the connection]
enok71 is now known as enok
<rburton> paulg: we _should_ be able to ditch that and use llvm
florian_kc has joined #yocto
<paulg> If we could, that would probably be a good thing. I'm largely ignorant to the whole rust/llvm stuff. All I know is that if you get cargo and rust-llvm and qemu building at the same time, it will OOM your kit, even if you have good stuff.
<paulg> And to that end, we exclude new yocto developers, because they just don't have the hardware to do a basic core-image-minimal build. That is the part that really bugs me.
<rburton> we should make the quickstart turn on public sstate for speed
ehussain has quit [Ping timeout: 272 seconds]
jmiehe has quit [Quit: jmiehe]
darko_ has joined #yocto
darko311 has quit [Quit: Client closed]
nvil has joined #yocto
<paulg> seems rust causes indigestion in lots of circles...
<Slimey> there are better ways to get iron in your system
dankm has quit [Remote host closed the connection]
dankm has joined #yocto
darko311 has joined #yocto
mckoan is now known as mckoan|away
enok has quit [Quit: enok]
enok71 has joined #yocto
enok71 has quit [Ping timeout: 268 seconds]
enok has joined #yocto
goliath has joined #yocto
florian has quit [Killed (NickServ (GHOST command used by florian_kc!~florian@dynamic-077-176-146-168.77.176.pool.telefonica.de))]
florian_kc is now known as florian
florian_kc has joined #yocto
enok has quit [Ping timeout: 244 seconds]
prabhakalad has quit [Ping timeout: 260 seconds]
prabhakalad has joined #yocto
darko_ has quit [Quit: Konversation terminated!]
darko_ has joined #yocto
<kanavin_> paulg rburton , you should read my proposal for ditching oe-init-build-env, and using bitbake-setup with guaranteed sstate. Then even new yocto developers will be able to do builds.
<kanavin_> bitbake-setup is largely ready, but not the supporting code/infra. I'm going to take the steps outlined in that proposal, then if RP takes the code, we're set.
darko311 has quit [Quit: Client closed]
nvil56 has joined #yocto
nvil56 has quit [Client Quit]
nvil36 has joined #yocto
jmiehe has joined #yocto
jmiehe has quit [Client Quit]
nvil has quit [Ping timeout: 240 seconds]
darko_ has quit [Quit: Konversation terminated!]
enok has joined #yocto
jerrycash has joined #yocto
<khem> paulg: yeah rust in kernel discussions are always intresting, and tend to flair up too much these days
khem has quit [Quit: WeeChat 4.5.1]
florian has quit [Ping timeout: 248 seconds]
khem has joined #yocto
florian has joined #yocto
Jones42 has joined #yocto
nvil36 has quit [Quit: Client closed]
savolla has joined #yocto
frgo has quit [Ping timeout: 252 seconds]
frgo has joined #yocto
bantu has quit []
bantu has joined #yocto
pidge has quit [Quit: ZNC - https://znc.in]
goliath has quit [Quit: SIGSEGV]
pidge has joined #yocto
pbsds35 has quit [Quit: Ping timeout (120 seconds)]
pbsds35 has joined #yocto
enok has quit [Ping timeout: 248 seconds]
enok has joined #yocto
druppy has joined #yocto
florian has quit [Ping timeout: 248 seconds]
enok has quit [Ping timeout: 268 seconds]
<Jones42> is there a wic-plugin that allows me to simply make a partition with a list of files? I'm looking for something similar to bootimg-partition but with a different list of files...
florian has joined #yocto
goliath has joined #yocto
enok has joined #yocto
<mischief> Jones42: image recipe + rawcopy?
frgo has quit [Remote host closed the connection]
<Jones42> miscief: hm, yeah, that should do it... thanks
Jones42 has quit [Quit: Client closed]
Jones42 has joined #yocto
enok has quit [Ping timeout: 244 seconds]
<RP> kanavin_: you missed the bit of the tech call today where I was sad I'm simply not getting to the bitbake setup stuff as I can't get through the patch queue :(
druppy has quit [Ping timeout: 272 seconds]
druppy has joined #yocto
Jones42 has quit [Ping timeout: 240 seconds]
vThor has quit [Excess Flood]
vThor has joined #yocto
vThor has quit [Changing host]
vThor has joined #yocto
florian has quit [Ping timeout: 245 seconds]
druppy has quit [Ping timeout: 245 seconds]
enok has joined #yocto
enok has quit [Ping timeout: 252 seconds]
cyxae has quit [Quit: cyxae]
Xagen has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
enok has joined #yocto
enok has quit [Ping timeout: 252 seconds]
ptsneves has quit [Ping timeout: 252 seconds]
prabhakalad has quit [Quit: Konversation terminated!]
prabhakalad has joined #yocto
prabhakalad has quit [Remote host closed the connection]
prabhakalad has joined #yocto
sudip has quit [Ping timeout: 245 seconds]
sudip has joined #yocto
savolla has quit [Ping timeout: 252 seconds]
frgo has joined #yocto
frgo has quit [Ping timeout: 265 seconds]
olani has quit [Ping timeout: 248 seconds]
goliath has quit [Quit: SIGSEGV]