Tartarus changed the topic of #u-boot to: SOURCE MOVED TO https://source.denx.de/u-boot/u-boot.git / U-Boot v2023.01, v2023.04-rc2 / Merge Window is CLOSED, next branch is OPEN / Release v2023.04 is scheduled for 2023-04-03 / Channel archives at https://libera.irclog.whitequark.org/u-boot
Wouter010067044 has quit [Quit: The Lounge - https://thelounge.chat]
Wouter010067044 has joined #u-boot
doppo_ has quit [Ping timeout: 246 seconds]
stipa_ has joined #u-boot
stipa has quit [Ping timeout: 246 seconds]
stipa_ is now known as stipa
doppo has joined #u-boot
qschulz has quit [Remote host closed the connection]
qschulz has joined #u-boot
prabhakarlad has quit [Ping timeout: 260 seconds]
naoki has joined #u-boot
camus has quit [Quit: camus]
camus has joined #u-boot
stipa_ has joined #u-boot
stipa has quit [Ping timeout: 255 seconds]
stipa_ is now known as stipa
mmu_man has quit [Ping timeout: 264 seconds]
thopiekar has quit [Ping timeout: 264 seconds]
thopiekar has joined #u-boot
swiftgeek has quit [Ping timeout: 268 seconds]
swiftgeek has joined #u-boot
stipa_ has joined #u-boot
stipa has quit [Ping timeout: 268 seconds]
stipa_ is now known as stipa
rvalue has quit [Read error: Connection reset by peer]
rvalue has joined #u-boot
doppo has quit [Ping timeout: 248 seconds]
doppo has joined #u-boot
ikarso has joined #u-boot
<hays> anyone know for amlogic odroid n2 and n2-plus is it more correct to flash uboot.bin to sector 512 onward, or to flash uboot.bin.sd.bin with a 440:512 hole?
<hays> i am aware of the documentation
<hays> which links to an example showing method 2
stefanro has joined #u-boot
stefanro has quit [Remote host closed the connection]
stefanro has joined #u-boot
clarity has quit [Ping timeout: 265 seconds]
clarity has joined #u-boot
clarity has quit [Ping timeout: 255 seconds]
clarity has joined #u-boot
stipa has quit [Read error: Connection reset by peer]
stipa has joined #u-boot
hanetzer has quit [Ping timeout: 265 seconds]
hanetzer has joined #u-boot
Wouter010067044 has quit [Quit: The Lounge - https://thelounge.chat]
Wouter010067044 has joined #u-boot
kivikakk is now known as kivikakk[i]
kivikakk[i] has left #u-boot [#u-boot]
mmu_man has joined #u-boot
goliath has joined #u-boot
mncheckm has joined #u-boot
wooosaiiii has quit [Quit: wooosaiiii]
wooosaiiii has joined #u-boot
frieder has joined #u-boot
guillaume_g has joined #u-boot
mmu_man has quit [Ping timeout: 265 seconds]
mckoan|away is now known as mckoan
matthias_bgg has joined #u-boot
ldevulder has joined #u-boot
monstr has joined #u-boot
prabhakarlad has joined #u-boot
sszy has joined #u-boot
elvishjerricco has quit [Quit: You have been kicked for being idle]
naoki has quit [Quit: naoki]
slobodan has joined #u-boot
clarity has quit [Ping timeout: 240 seconds]
clarity has joined #u-boot
clarity has quit [Ping timeout: 250 seconds]
clarity has joined #u-boot
clarity has quit [Ping timeout: 260 seconds]
clarity has joined #u-boot
vfazio has quit [Remote host closed the connection]
vfazio has joined #u-boot
wooosaiiii has quit [Quit: wooosaiiii]
wooosaiiii has joined #u-boot
wooosaiiii has quit [Client Quit]
wooosaiiii has joined #u-boot
clarity has quit [Ping timeout: 260 seconds]
clarity has joined #u-boot
clarity has quit [Ping timeout: 240 seconds]
clarity has joined #u-boot
mmu_man has joined #u-boot
Wouter010067044 has quit [Quit: The Lounge - https://thelounge.chat]
Wouter010067044 has joined #u-boot
mmu_man has quit [Ping timeout: 240 seconds]
mmu_man has joined #u-boot
mmu_man has quit [Ping timeout: 240 seconds]
ilunev has joined #u-boot
prabhakarlad has quit [Quit: Client closed]
<Tartarus> marex: OK, if you rebase your m68k stuff on top of current next, or just cherry-pick e3059db90b699c6ab595bbb54dec95b9d2dc7a6b you should get pytest to run now
prabhakarlad has joined #u-boot
bryanb has quit [Remote host closed the connection]
ddevault has quit [Remote host closed the connection]
bryanb has joined #u-boot
frieder has quit [Ping timeout: 240 seconds]
ddevault has joined #u-boot
mmu_man has joined #u-boot
TheEldest has joined #u-boot
TheEldest has quit [Client Quit]
mmu_man has quit [Ping timeout: 250 seconds]
frieder has joined #u-boot
mmu_man has joined #u-boot
<marex> Tartarus: lets see
mmu_man has quit [Ping timeout: 252 seconds]
<marex> Tartarus: lets see if it blows up or what https://source.denx.de/u-boot/custodians/u-boot-sh/-/pipelines/15696
ikarso has quit [Quit: Connection closed for inactivity]
bryanb has quit [Remote host closed the connection]
ddevault has quit [Remote host closed the connection]
prabhakarlad has quit [Quit: Client closed]
<Tartarus> marex: Hum, hit the retry button and see if it fails again?
ddevault has joined #u-boot
bryanb has joined #u-boot
<Tartarus> The spawn timeout thing sounds like what happens sometimes, annoyingly
<Tartarus> And tangent, I think I want to see about adding a pip download stage to the dockerfile, that should at least make some parts quicker, and it's just a cache, too
mmu_man has joined #u-boot
thopiekar has quit [Ping timeout: 268 seconds]
thopiekar has joined #u-boot
monstr has quit [Remote host closed the connection]
stefanro has quit [Quit: Leaving.]
<marex> Tartarus: just a sec
vagrantc has joined #u-boot
prabhakarlad has joined #u-boot
Net147_ has quit [Ping timeout: 256 seconds]
<marex> Tartarus: seems better, one of the bdinfo tests failed, but otherwise OK
<Tartarus> OK
<Tartarus> I'll wait until you tell me for sure the patch for the hooks repo is right before applying
<Tartarus> Just in case that ends up needing some tweak or another
mmu_man has quit [Ping timeout: 246 seconds]
<marex> https://source.denx.de/u-boot/custodians/u-boot-sh/-/jobs/598904 based on that, the hook looks OKish
<Tartarus> ok
<marex> Tartarus: jeez
<marex> Tartarus: the ram base failure is because the console log is too long ?
<marex> Tartarus: probably postpone the hooks for now
<Tartarus> Er
<marex> Tartarus: what ?
<marex> Tartarus: if you already pushed it, then if something goes weird, I'll send a fix
<Tartarus> Checking something on ARM quick
<marex> back in a bit
<Tartarus> What's confusing is that the console stream is split
Net147 has joined #u-boot
Net147 has joined #u-boot
Net147 has quit [Changing host]
<Tartarus> If you look at say https://u-boot.source-pages.denx.de/-/custodians/u-boot-sh/-/jobs/598871/artifacts/test-log.html we take in much longer console output fine, and there's no obvious buffer limit in the find_ram_base function
<Tartarus> Something is "up" with the console itself, or what we're expecting, see how we get ('/builds/u-boot/custodians/u-boot-sh/test/py/tests/test_env.py', 142, 'Skipped: Space in variable value on non-Hush shell') on m68k too?
<Tartarus> Just above the find_ram_base one
mmu_man has joined #u-boot
<Tartarus> marex: Oh!
<Tartarus> I bet having the prompt be "-> " is messing things up
<Tartarus> Since we look for "->" in places
<Tartarus> Change CONFIG_SYS_PROMPT to something else and I bet it works, and we run more tests too
guillaume_g has quit [Quit: Konversation terminated!]
TheEldest_ has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
sszy has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
mmu_man has quit [Ping timeout: 265 seconds]
<marex> Tartarus: jeeze , why -> for prompt 3/
___nick___ has joined #u-boot
<hays> i've been doing some work on amlogic s922x and there is a debate about what approach is correct for flashing u-boot
<hays> one approach is to flash u-boot.bin.sd.bin with "holes" at 440-512. the other is to flash u-boot.bin at 512 offset.
<marex> hays: where is u-boot.bin.sd.bin generated ?
<marex> hays: git grep indicates multiple readmes using the sd.bin approach
<marex> doc/board/amlogic/khadas-vim2.rst: $ dd if=fip/u-boot.bin.sd.bin of=$DEV conv=fsync,notrunc bs=1 count=444
<hays> marex: the docs point to here https://github.com/LibreELEC/amlogic-boot-fip
<hays> yeah sometimes to 440, sometimes to 444
mmu_man has joined #u-boot
<Tartarus> hays: Poke narmstrong or #linux-amlogic for a more targetted audience
redbrain has quit [Read error: Connection reset by peer]
redbrain has joined #u-boot
___nick___ has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
___nick___ has joined #u-boot
___nick___ has quit [Client Quit]
___nick___ has joined #u-boot
frieder has quit [Remote host closed the connection]
prabhakarlad has quit [Quit: Client closed]
<Tartarus> pip cache is a little quicker
Wouter010067044 has quit [Quit: The Lounge - https://thelounge.chat]
Wouter010067044 has joined #u-boot
clarity has quit [Ping timeout: 268 seconds]
clarity has joined #u-boot
ldevulder has quit [Quit: Leaving]
clarity has quit [Ping timeout: 248 seconds]
clarity has joined #u-boot
ikarso has joined #u-boot
<vagrantc> sjg1_: trying to apply v3 of to fix boot failures on rk3399 and related ... but the first patch fails to apply ... what commit was it generated from?
<vagrantc> the updating all the defconfig parts is what is making it hard to test the rest...
prabhakarlad has joined #u-boot
konradybcio[m] has joined #u-boot
<konradybcio[m]> hello, I'm trying to consolidate Qualcomm reset and clock support (Qualcomm's clock controllers are also reset controllers), is it possible to register sort of two different drivers with different UCLASS-es in u-boot?
<konradybcio[m]> ugh english is hard :), this should have been "it possible to register sort of two different drivers with different UCLASS-es in u-boot that are bound to the same DT node"
___nick___ has quit [Ping timeout: 265 seconds]
<marex> konradybcio[m]: yeah , hold on
niska has quit [Quit: Leaving]
<marex> konradybcio[m]: look at this driver -- https://source.denx.de/u-boot/u-boot/-/blob/master/drivers/clk/renesas/r8a7795-cpg-mssr.c#L391 , notice how it only calls gen3_cpg_bind()
<konradybcio[m]> I'll take a look, thanks a lot!
<marex> konradybcio[m]: Renesas R-Car has very much the same behavior, clock and reset block are combined in one IP with one DT node
niska has joined #u-boot
matthias_bgg has quit [Read error: Connection reset by peer]
<slobodan> anyone from China here ?
zibolo has quit [Ping timeout: 248 seconds]
zibolo has joined #u-boot
prabhakarlad has quit [Quit: Client closed]
matthias_bgg has joined #u-boot
slobodan has quit [Remote host closed the connection]
slobodan has joined #u-boot
<sjg1_> vagrantc: It is at u-boot-dm / fix-rk-working. But you might be able to drop the resync patch. It was just to save generating a confusing delta in a later patch. Tom normally does the resyncs himself every now and then
<vagrantc> sjg1_: thanks, will take a look
<konradybcio[m]> how ABI-like are DTs stored in arch/arm/dts? do I have to keep backwards compatibility in mind? if not, I'll happily clean up the Qualcomm drivers to be compatible with the upstream Linux DTs!
ikarso has quit [Quit: Connection closed for inactivity]
<konradybcio[m]> FWIW these DTs - as far as Qualcomm support goes - have things that are entirely u-boot-specific, they will not boot any other OS
<vagrantc> there is a mechanism to split the u-boot specific stuff into a separate include
<vagrantc> see arch/arm/dts/*u-boot*.dtsi for how it is used
<vagrantc> konradybcio[m]: ^^
<kettenis> the goal of at least some of us here is to have u-boot always provide a dt that can properly boot an OS
<kettenis> the best way to achieve this is to use the dst files from mainline linux and use the *-u-boot.dtsi mechanism that vagrantc describes to add a few u-boot specific things to it
<Tartarus> sjg1_: In general, resyncing the defconfigs in a series is a bad idea, it makes applying harder, fwiw
<Tartarus> marex: nice! hush is really not enabled there?
<sjg1_> Tartarus: Yes, I did not mean to send that patch... probably my config-changing patch would have applied anywayq
<sjg1_> Tartarus: Re the clang crash, it seems to be dropping U_BOOT_PCI_DEVICE() records. Sign
<sjg1_> Sign of more pain
<sjg1_> Tartarus: There is this patch which seems to be needed for some situations: https://patchwork.ozlabs.org/project/uboot/patch/CAA4tuqeTvEhC3EEibbovk+6q=UqvfHdybyn4G_4m3a_9GEJR+w@mail.gmail.com/
<sjg1_> But it doesn't help this one
<sjg1_> Tartarus: If you print out 'id' in the loop in pci_find_and_bind_driver() you can see that none is present
<sjg1_> Tartarus: Clang is so desperate to remove important code...
<konradybcio[m]> kettenis: after some code fixes, the upstream dts need would no additional changes
matthias_bgg has quit [Read error: Connection reset by peer]
<konradybcio[m]> So my question is, can i change the code without caring about people using old uboot DTs (which would have never booted Linux anyway) with newer uboot binaries?
matthias_bgg has joined #u-boot
<kettenis> I'd say so, yes
<konradybcio[m]> frankly, that's fantastic to hear!
<Tartarus> sjg1_: So we aren't marking stuff as needed enough then :)
<Tartarus> I'll grab that attribute one tho
<Tartarus> Wait, no, that patch needs a v2 at least