Tartarus changed the topic of #u-boot to: SOURCE MOVED TO https://source.denx.de/u-boot/u-boot.git / U-Boot v2024.04, v2024.07-rc4 are OUT / Merge Window is CLOSED, next branch is OPEN / Release v2024.07 is scheduled for 01 July 2024 / Channel archives at https://libera.irclog.whitequark.org/u-boot
stefanro has joined #u-boot
mmu_man has quit [Ping timeout: 246 seconds]
jclsn has quit [Ping timeout: 268 seconds]
jclsn has joined #u-boot
prabhakalad has quit [Ping timeout: 268 seconds]
prabhakalad has joined #u-boot
joeskb7 has quit [Ping timeout: 255 seconds]
joeskb7 has joined #u-boot
Clamor has joined #u-boot
enok has joined #u-boot
gsz has joined #u-boot
persmule has quit [Remote host closed the connection]
enok has quit [Ping timeout: 240 seconds]
goliath has joined #u-boot
monstr has joined #u-boot
monstr has quit [Remote host closed the connection]
enok has joined #u-boot
naoki has quit [Quit: naoki]
warpme has joined #u-boot
ldevulder has joined #u-boot
mckoan|away is now known as mckoan
warpme has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<mkorpershoek> marex: agreed !
enok has quit [Quit: enok]
enok has joined #u-boot
jfsimon1981_b has quit [Ping timeout: 256 seconds]
warpme has joined #u-boot
gsz has quit [Ping timeout: 240 seconds]
prabhakalad has quit [Quit: Konversation terminated!]
prabhakalad has joined #u-boot
ladis has joined #u-boot
gsz has joined #u-boot
sszy has joined #u-boot
jfsimon1981 has joined #u-boot
frieder has joined #u-boot
ikarso has joined #u-boot
enok has quit [Ping timeout: 264 seconds]
warpme has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
frieder has quit [Ping timeout: 256 seconds]
Stat_headcrabed has joined #u-boot
stefanro has quit [Quit: Leaving.]
frieder has joined #u-boot
slobodan has joined #u-boot
edwinistrator2 has joined #u-boot
Clamor has quit [Ping timeout: 272 seconds]
Clamor has joined #u-boot
edwinistrator2 has quit [Remote host closed the connection]
edwinistrator2 has joined #u-boot
slobodan_ has joined #u-boot
slobodan has quit [Ping timeout: 264 seconds]
edwinistrator2 has quit [Remote host closed the connection]
edwinistrator2 has joined #u-boot
Jones42 has joined #u-boot
Stat_headcrabed has quit [Quit: Stat_headcrabed]
gsz has quit [Ping timeout: 268 seconds]
Jones42 has quit [Ping timeout: 268 seconds]
slobodan__ has joined #u-boot
slobodan_ has quit [Ping timeout: 252 seconds]
naoki has joined #u-boot
warpme has joined #u-boot
edwinistrator2 has quit [Remote host closed the connection]
edwinistrator2 has joined #u-boot
Jones42 has joined #u-boot
enok has joined #u-boot
enok has quit [Quit: enok]
enok has joined #u-boot
gsz has joined #u-boot
mckoan is now known as mckoan|away
enok has quit [Ping timeout: 252 seconds]
enok has joined #u-boot
warpme has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
enok has quit [Read error: Connection reset by peer]
enok has joined #u-boot
naoki has quit [Quit: naoki]
edwinistrator2 has quit [Ping timeout: 264 seconds]
mmu_man has joined #u-boot
jfsimon1981 has quit [Remote host closed the connection]
jfsimon1981 has joined #u-boot
warpme has joined #u-boot
dsimic has quit [Ping timeout: 240 seconds]
dsimic has joined #u-boot
warpme has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
frieder has quit [Ping timeout: 260 seconds]
warpme has joined #u-boot
xroumegue has quit [Ping timeout: 255 seconds]
xroumegue has joined #u-boot
gsz has quit [Ping timeout: 252 seconds]
frieder has joined #u-boot
tec has joined #u-boot
gsz has joined #u-boot
stefanro has joined #u-boot
warpme has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Jones42 has quit [Ping timeout: 240 seconds]
<qschulz> sjg1: FYI, I cannot reach U-Boot CLI on my RK3588 boards when enabling DM_DEBUG
<qschulz> it seems to enable assert to do a reset of U-Boot when it fails
<qschulz> and typically, https://source.denx.de/u-boot/u-boot/-/commit/689204be9744db24fc8031229946f045fae02c07 triggers this in dev_read_u32 of scmi_optee_get_channel
<qschulz> because somehow of_offset = -1
<qschulz> (I assume in pre-reloc)
<qschulz> With this patch reverted, it goes further but still fails
<qschulz> Maybe we want to have a different symbol for enabling debug messages and making assert reset the board?
ikarso has quit [Quit: Connection closed for inactivity]
<qschulz> ok, there are unit tests for it and the s32 is actually just useful to know the size of data to fetch from the fdt
warpme has joined #u-boot
<qschulz> so the latter should work
<qschulz> Cannot find uclass for id 118: please add the UCLASS_DRIVER() declaration for this UCLASS_... id
<qschulz> drivers/core/ofnode.c:574: ofnode_find_subnode: Assertion `ofnode_valid(node)' failed.
<Kwiboo> qschulz: https://source.denx.de/u-boot/u-boot/-/blob/master/lib/smbios.c?ref_type=heads#L596 <<-- should prossibly include: && ofnode_valid(parent_node)
<Kwiboo> have had issue with similar when using full DEBUG build, have not sent any patch because I did not know if it was correct or may have other strange side effects
<Kwiboo> have also seen issues with asserts in DM core because of vbe simple, however, think that issue may have been fixed already
<qschulz> Kwiboo: with the suggested patch I reach the CLI
<qschulz> s/patch/change/
frieder has quit [Remote host closed the connection]
goliath has quit [Quit: SIGSEGV]
ikarso has joined #u-boot
persmule has joined #u-boot
mmu_man has quit [Quit: reboot]
mmu_man has joined #u-boot
<sjg1> qschulz: Enabling DEBUG should not cause a failure, unless there is actually an underlying issue to fix. Perhaps we need to enable DEBUG in CI in some places?
<qschulz> sjg1: I guess we could have some sandbox test check an assert that is known to fail so that when we build with DEBUG it still passes, but with -DASSERT or however we want to call the symbol, it does fail?
ldevulder has quit [Ping timeout: 246 seconds]
<qschulz> sjg1: maybe switching to use log_debug instead of debug in drivers/core?
<sjg1> Yes that sounds like a good idea; log_debug() is the new way but debug() is effectively made to do the same thing
warpme has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
rvalue has quit [Read error: Connection reset by peer]
rvalue has joined #u-boot
warpme has joined #u-boot
mmu_man has quit [Ping timeout: 256 seconds]
warpme has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
sszy has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
<qschulz> sjg1: Tried something, it's on the ML now :)
<qschulz> Kwiboo: select DM_WARN or increase the LOG_MAX_LEVEL value to 8+ to see the logs
ukky_ has quit [Ping timeout: 240 seconds]
ukky has quit [Ping timeout: 256 seconds]
ukky has joined #u-boot
ukky_ has joined #u-boot
Clamor has quit [Ping timeout: 252 seconds]
Clamor has joined #u-boot
enok has quit [Ping timeout: 240 seconds]
ikarso has quit [Quit: Connection closed for inactivity]
<pbrobinson> hey Tartarus, got a q about upstream DT pieces, how does that work for tar file releases? Should we expect the tar files to be complete or do we need to pull DTs from elsewhere?
<Tartarus> pbrobinson: Uh, good question, did I mess up the tarballs?
<marex> there are tarball of U-Boot releases? I thought after the XZ f....p everyone started pulling stuff from git
<marex> most certainly distros like centos or such
<pbrobinson> Tartarus: I think I'm probably missing something TBH
ladis has quit [Quit: Leaving]
iprusov has quit [Quit: WeeChat 3.5]
<Tartarus> pbrobinson: Well, tbh I did not think about if I need new flags to have subtrees included
<Tartarus> pbrobinson: OK, they should be included, yes
<Tartarus> I ran the command that's part of my release script and see "u-boot-HEAD/dts/upstream/src/arm/allwinner/sun8i-a23-q8-tablet.dts"
<pbrobinson> Tartarus: I see them now I'm digging in ./dts/upstream/src/arm64/rockchip/rk3566-quartz64-b.dts, but I'm not seeing an output dtb when I build it
<pbrobinson> but TBH I think the board has other config issues so I think I may go an experiment with a different one
<Tartarus> OK
joeskb7 has quit [Ping timeout: 252 seconds]
Jones42 has joined #u-boot
goliath has joined #u-boot
joeskb7 has joined #u-boot
Jones42 has quit [Ping timeout: 268 seconds]
Clamor has quit [Read error: Connection reset by peer]
ikarso has joined #u-boot
enok has joined #u-boot
<marex> pbrobinson: why not pull the sources from git ?
grs has quit [Remote host closed the connection]
grs has joined #u-boot
naoki has joined #u-boot
<Tartarus> There's good reasons too for distributions to use archives not SCM, SCM is a big download sometimes and always getting worsee
<Tartarus> I'm sure everyone groans when fetching the kernel via git in OE :)
<marex> Tartarus: have you heard about DLDIR yet ?
<marex> :)
<marex> Tartarus: just do incremental fetch on every release, that's fast
<marex> also git.k.o has many mirrors, so that's fast to fetch too
<quinq> That doesn't mean very much without an actual context
<Tartarus> linux-yocto is the bane of my builds every time I start poking something for a new customer and yes, I have a local mirror and archive
<Tartarus> It's between that or one of the other big git pulls as to what will take the longest with --runall=fetch
<quinq> At work some team started using yocto
<marex> Tartarus: and you do that exactly ... once ...
<marex> Tartarus:
<quinq> They need like GB of storage space just for that
<marex> yes, you need a lot of space to build the entire OS
<quinq> And that's only for base repo, then you start building and the monster unleashes its full wrath
<quinq> I don't understand why people cope with this kind of thing
<Tartarus> marex: and it sucks so bad every time, compared with 95% of the packages which are fetched quickly
<marex> Tartarus: why do you even keep fetching the stuff repeatedly ?
<marex> Tartarus: also, are you sure the other stuff that is fetched quietly does match what's in the git repo (cfr XZ mess) ?
<Tartarus> The cadence of when I need to start a new build for a new customer ends up such that yes, linux-yocto and glibc/binutils/etc end up being noticeable pain points compared with everything else, even when not cache hits
<Tartarus> So I can see how if everything defaulted to git clones instead it would be even worse
<Tartarus> And yes, the whole XZ mess shows a number of issues
<marex> ... solved by using git clones
<Tartarus> No? That was also "re-generate your autoconf files" too
<Tartarus> And/or don't ship pre-generated autoconf stuff
<marex> Tartarus: and how can you be sure the whatever autoreeverything.sh script isn't malicious ?
<marex> (or whatever is in the auto* files is not somehow problematic?)
<Tartarus> I mean, OE would have been fine with xz as an archive even if it got the trojan one because autotools.bbclass ?
Hypfer has quit [Quit: Ping timeout (120 seconds)]
<marex> Tartarus: the trojan wasnt in git in the first place, so pulling from git would avoid that problem altogether
<Tartarus> And fedora/debian/etc hitting git repos even more so than file archives would be a bigger impact on self-hosted projects
Hypfer has joined #u-boot
<Tartarus> Yes, a problem with xz was including things in the archives (generated files) that aren't in git. If they didn't do that, it wouldn't have been a vector
<marex> Tartarus: surely they have local code mirror, like salsa. for debian ?
* cambrian_invader would take a tarball over git any day
jclsn has quit [Quit: WeeChat 4.2.2]
mmu_man has joined #u-boot
Hypfer0 has joined #u-boot
Hypfer has quit [Ping timeout: 246 seconds]
Hypfer0 is now known as Hypfer
slobodan__ has quit [Ping timeout: 268 seconds]
mmu_man has quit [Ping timeout: 272 seconds]
mmu_man has joined #u-boot
Shiz has quit [Ping timeout: 272 seconds]
gsz has quit [Ping timeout: 240 seconds]
goliath has quit [Quit: SIGSEGV]
slobodan__ has joined #u-boot
enok has quit [Ping timeout: 240 seconds]
Danct12 has quit [Remote host closed the connection]
Danct12 has joined #u-boot
slobodan__ has quit [Ping timeout: 264 seconds]