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>
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>
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>
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.
<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
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]