Tartarus changed the topic of #u-boot to: SOURCE MOVED TO https://source.denx.de/u-boot/u-boot.git / U-Boot v2023.07.02, v2023.10-rc3 are OUT / Merge Window is CLOSED, next branch is OPEN / Release v2023.10 is scheduled for 02 October 2023 / Channel archives at https://libera.irclog.whitequark.org/u-boot
vagrantc has joined #u-boot
mmu_man has quit [Ping timeout: 250 seconds]
camus has joined #u-boot
jclsn has quit [Ping timeout: 255 seconds]
persmule has quit [Ping timeout: 246 seconds]
jclsn has joined #u-boot
persmule has joined #u-boot
thopiekar has quit [Ping timeout: 246 seconds]
thopiekar has joined #u-boot
Clamor has joined #u-boot
vagrantc has quit [Quit: leaving]
sakman_ has joined #u-boot
sakman has quit [Ping timeout: 246 seconds]
Clamor has quit [Ping timeout: 240 seconds]
Clamor has joined #u-boot
Wouter0100670440 has quit [Quit: The Lounge - https://thelounge.chat]
Wouter0100670440 has joined #u-boot
sng_ has joined #u-boot
sng_ has quit [Remote host closed the connection]
ikarso has joined #u-boot
alpernebbi_ has joined #u-boot
goliath has joined #u-boot
sng_ has joined #u-boot
mckoan|away is now known as mckoan
frieder has joined #u-boot
monstr has joined #u-boot
ldevulder has joined #u-boot
monstr has quit [Ping timeout: 255 seconds]
sng_ has quit [Remote host closed the connection]
sng_ has joined #u-boot
Wouter0100670440 has quit [Quit: The Lounge - https://thelounge.chat]
Wouter0100670440 has joined #u-boot
mripard has joined #u-boot
slobodan has joined #u-boot
<__ad> marex: got hs400 working on imx, but, duble checking clock speed, it is 100Mhz, not 200. mmc info says hs400
Clamor has quit [Ping timeout: 240 seconds]
Clamor has joined #u-boot
frieder has quit [Ping timeout: 240 seconds]
Clamor has quit [Ping timeout: 248 seconds]
Clamor has joined #u-boot
sakman_ is now known as sakman
<marex> __ad: the bus clock should be 200 MHz
<marex> __ad: HS400 means ~400 MiB/s , which is 200 MHz DDR x8
<marex> __ad: missing some assigned-clock-rate ?
<__ad> marex: thanks
<__ad> i have now
<__ad> assigned-clocks = <&clks IMX7D_USDHC3_ROOT_CLK>;
<__ad> assigned-clock-rates = <400000000>;
<__ad> trying now 2000000000, let's see
prabhakarlad has quit [Quit: Client closed]
<marex> __ad: it should be 400 MHz ; try 'clk dump' and verify the usdhc3 root clock parent clock, maybe those are some 24 MHz clock instead of PLL ?
sng_ has quit [Remote host closed the connection]
<__ad> marex: clk dump: Not implemented
<__ad> in linux, i can see 200Mhz clock, so looks some u-boot setup thing
<__ad> ok missing CONFIG_CLK
mmu_man has joined #u-boot
frieder has joined #u-boot
<marex> __ad: ;)
sng_ has joined #u-boot
mmu_man has quit [Ping timeout: 245 seconds]
mmu_man has joined #u-boot
ezulian has joined #u-boot
jaganteki has joined #u-boot
dormito has quit [Ping timeout: 246 seconds]
dormito has joined #u-boot
jaganteki has quit [Quit: Client closed]
mripard has quit [Quit: mripard]
mripard has joined #u-boot
jaganteki has joined #u-boot
Clamor has quit [Read error: Connection reset by peer]
Clamor has joined #u-boot
naoki has quit [Quit: naoki]
jaganteki has quit [Quit: Client closed]
<__ad> no. it's not implemented for imx7, can't use clk
mmu_man has quit [Ping timeout: 245 seconds]
sng_ has quit [Remote host closed the connection]
Clamor has quit [Ping timeout: 255 seconds]
Clamor has joined #u-boot
slobodan has quit [Read error: Connection reset by peer]
slobodan has joined #u-boot
Clamor has quit [Ping timeout: 248 seconds]
Clamor has joined #u-boot
slobodan has quit [Remote host closed the connection]
slobodan has joined #u-boot
<marex> __ad: in the worst case, read the registers and decode by hand, see CCM part of MX7DRM
stefanro has joined #u-boot
stefanro has quit [Quit: Leaving.]
mmu_man has joined #u-boot
Tartarus changed the topic of #u-boot to: SOURCE MOVED TO https://source.denx.de/u-boot/u-boot.git / U-Boot v2023.07.02, v2023.10-rc4 are OUT / Merge Window is CLOSED, next branch is OPEN / Release v2023.10 is scheduled for 02 October 2023 / Channel archives at https://libera.irclog.whitequark.org/u-boot
mmu_man has quit [Ping timeout: 255 seconds]
sng_ has joined #u-boot
sng_ has quit [Remote host closed the connection]
<Tartarus> sjg1: Did you world build before/after that Kconfig series and size check it?
sng_ has joined #u-boot
goliath has quit [Quit: SIGSEGV]
<sjg1> Tartarus: Oh I tried to earlier, then hit a buildman problem and got sidetracked fixing that. So I am doing it now
Hammdist has joined #u-boot
<Hammdist> how do I build u-boot with my own chosen list of commands to run at boot?
sng_ has quit [Remote host closed the connection]
Stat_headcrabed has joined #u-boot
sng_ has joined #u-boot
ikarso has quit [Quit: Connection closed for inactivity]
sng_ has quit [Ping timeout: 240 seconds]
<Tartarus> Hammdist: Change CONFIG_BOOTCOMMAND
<Tartarus> xypron: Oh, the way the docs azure job is written it doesn't fail when it should, I'll go fix that
frieder has quit [Remote host closed the connection]
mmu_man has joined #u-boot
prabhakarlad has joined #u-boot
mripard has quit [Remote host closed the connection]
sng_ has joined #u-boot
Stat_headcrabed has quit [Quit: Stat_headcrabed]
sng_ has quit [Remote host closed the connection]
sng_ has joined #u-boot
sng_ has quit [Ping timeout: 240 seconds]
<sjg1> Tartarus: OK I ran it on kconf3...but there are differences
sakman has quit [Ping timeout: 255 seconds]
mmu_man has quit [Ping timeout: 246 seconds]
mmu_man has joined #u-boot
<sjg1> Tartarus: CONFIG_TIMESTAMP and CONFIG_ARCH_FIXUP_FDT_MEMORY were defined on some boards without CONFIG_FIT
mmu_man has quit [Ping timeout: 255 seconds]
mmu_man has joined #u-boot
mckoan is now known as mckoan|away
sng_ has joined #u-boot
sng_ has quit [Ping timeout: 255 seconds]
zkrx has quit [Ping timeout: 260 seconds]
<sjg1> Tartarus: But I think that is correct
sakman has joined #u-boot
Clamor has quit [Ping timeout: 240 seconds]
sakman_ has joined #u-boot
goliath has joined #u-boot
sakman has quit [Ping timeout: 240 seconds]
Clamor has joined #u-boot
mmu_man has quit [Ping timeout: 255 seconds]
Hammdist has quit [Quit: Client closed]
sng_ has joined #u-boot
xroumegue has quit [Ping timeout: 246 seconds]
sakman__ has joined #u-boot
sng_ has quit [Ping timeout: 248 seconds]
sakman_ has quit [Ping timeout: 240 seconds]
xroumegue has joined #u-boot
GNUtoo has joined #u-boot
mmu_man has joined #u-boot
<Tartarus> sjg1: What does FIT have to do with performing fixups on the device tree we pass to the OS?
<Tartarus> There really shouldn't be any differences, but if there are we need to understand why for sure and that it's really wrong today
<Tartarus> And it sounds like both of those symbols need to be re-thought in your series
<Tartarus> As I'd frankly prefer a zero size change series first, and a follow-up to fix any incorrect dependencies so it's easier and clearer to bisect to later if we're wrong
<Tartarus> Also, uh, how is 1c55d62fb9ccc107cb4fefa9bb04cb16395ca84c correct exactly? We now have one event triggered function that calls in to another event triggered function
<Tartarus> Is anyone with a sifive around that can test something, on top of current next?
<Tartarus> (which is where I stumbled on this, as it doesn't compile now)
Hammdist has joined #u-boot
Wouter0100670440 has quit [Quit: The Lounge - https://thelounge.chat]
Wouter0100670440 has joined #u-boot
mmu_man has quit [Ping timeout: 245 seconds]
sng_ has joined #u-boot
Wouter0100670440 has quit [Quit: The Lounge - https://thelounge.chat]
Wouter0100670440 has joined #u-boot
mmu_man has joined #u-boot
stipa has quit [Ping timeout: 255 seconds]
stipa has joined #u-boot
ikarso has joined #u-boot
<ja_02> @tartarus is my patch "Convert CFG_SYS_UBOOT_START to Kconfig" going to be merged soon?
<Tartarus> ja_02: Yes, somewhat soon
sng_ has quit [Remote host closed the connection]
sng_ has joined #u-boot
<ja_02> thanks!
ezulian has quit [Ping timeout: 255 seconds]
sng_ has quit [Remote host closed the connection]
d4ve_ has joined #u-boot
FergusL9 has joined #u-boot
bradfa_ has joined #u-boot
Peng_Fan_ has joined #u-boot
smurray_ has joined #u-boot
ad__ has joined #u-boot
ex--parrot has joined #u-boot
Lightsword_ has joined #u-boot
cyrozap_ has joined #u-boot
tafama has joined #u-boot
Lightsword has quit [Ping timeout: 246 seconds]
niska has quit [Ping timeout: 246 seconds]
tafa has quit [Ping timeout: 246 seconds]
d4ve has quit [Ping timeout: 246 seconds]
__ad has quit [Write error: Connection reset by peer]
bradfa has quit [Ping timeout: 246 seconds]
silurian_invader has quit [Ping timeout: 246 seconds]
FergusL has quit [Ping timeout: 246 seconds]
Peng_Fan has quit [Ping timeout: 246 seconds]
oddcoder has quit [Ping timeout: 246 seconds]
bradfa_ is now known as bradfa
FergusL9 is now known as FergusL
Peng_Fan_ is now known as Peng_Fan
d4ve_ is now known as d4ve
qsx has quit [Write error: Connection reset by peer]
ex-parrot has quit [Ping timeout: 246 seconds]
cyrozap has quit [Ping timeout: 246 seconds]
smurray has quit [Ping timeout: 246 seconds]
smurray_ is now known as smurray
bryanb has quit [Read error: Connection reset by peer]
d4ve has quit [Read error: Connection reset by peer]
ddevault has quit [Write error: Connection reset by peer]
oddcoder has joined #u-boot
Lightsword_ is now known as Lightsword
d4ve has joined #u-boot
bryanb has joined #u-boot
niska has joined #u-boot
ddevault has joined #u-boot
qsx has joined #u-boot
Clamor has quit [Read error: Connection reset by peer]
silurian_invader has joined #u-boot
prabhakarlad has quit [*.net *.split]
Hammdist has quit [*.net *.split]
sng_ has joined #u-boot
sng_ has quit [Ping timeout: 255 seconds]
slobodan has quit [Ping timeout: 255 seconds]
<mps> deathmist: this patch is enough to get starfive Visionfive V2 to select proper DTB and boot https://github.com/JamiKettunen/cports/blob/visionfive2/contrib/u-boot-starfive_visionfive2/patches/mainline-kernel-dtb.patch
<mps> tested it and it works
<mps> no need to specify dtb file, enough is fdtdir
<Tartarus> mps: Can you test https://patchwork.ozlabs.org/project/uboot/list/?series=371651 on top of current next please?
<mps> Tartarus: sure, but tomorrow. I closed 'workshop' for today. late is here
niska has quit [Ping timeout: 246 seconds]
dlg has quit [Ping timeout: 246 seconds]
marex has quit [Ping timeout: 246 seconds]
rockosov has quit [Ping timeout: 246 seconds]
Leopold has quit [Ping timeout: 246 seconds]
redbrain has quit [Ping timeout: 246 seconds]
Leopold has joined #u-boot
dlg has joined #u-boot
niska has joined #u-boot
marex has joined #u-boot
rockosov has joined #u-boot
redbrain has joined #u-boot
pratyush has quit [Server closed connection]
pratyush has joined #u-boot
<sjg1> Tartarus: Re RISC-V, I think one of those calls is for SPL and the other for U-Boot proper
mmu_man has quit [Ping timeout: 260 seconds]
<sjg1> Tartarus: Re changes, CONFIG_TIMESTAMP can be used with legacy images, so that is the difference. I didn't know that...
<Tartarus> mps: OK, thanks
<Tartarus> sjg1: nothing about SPL in that file
<Tartarus> sjg1: Keep poking until it's zero size changes, that's what's important and hard with Kconfig re-org stuff
<Tartarus> Fix problems you see in a follow-up so we can bisect if wrong :)
<Tartarus> sjg1: Or do we not have event stuff in SPL?
<sjg1> Tartarus: OK
<sjg1> Tartarus: No, I was rather hoping to avoid it in SPL
<Tartarus> Then yeah, I don't know, and it'll be good to have mps test it on real HW :)
<Tartarus> qemu is fine, but was fine before, so...
<sjg1> Tartarus: Yes...I thought someone did test in there, though? Perhaps a week ago?
<Tartarus> Yes, what's in tree was tested
<Tartarus> But looks wrong, and I needed to touch that for -next where EVENT_SPY is gone
<Tartarus> is how I tripped in to it.
<sjg1> Tartarus: ok
<sjg1> Tartarus: Re the kconf series I see that one of my patches is a partial rework of one you did in December!
<sjg1> Tartarus: Your patch moved many things to not depend on FIT and I am putting that back
<sjg1> SPL_LOAD_FIT_ADDRESS is a messss, since it seems boards have it set to 0 (by default) but don't use it
<sjg1> But none of those boards sets SPL_LOAD_FIT_ADDRESS so far as I can see
<sjg1> So they can't be using SPL_/TPL_RAM_SUPPORT, so we might as well remove the condition on SPL_LOAD_FIT_ADDRESS and just have that depend on SPL_LOAD_FIT
* marex reads ML
<sjg1> Tartarus: Which is what my series does, effectively, although I didn't drop the deps
<marex> sjg1: SPL_LOAD_FIT_ADDRESS is I think used by imx HAB
<marex> sjg1: the HAB usecase is really grotesque, since for imx HAB, the payload (i.e. fitImage) must be at specific address (i.e. CONFIG_SPL_LOAD_FIT_ADDRESS) and nowhere else, otherwise HAB wont authenticate it
<marex> bummer
<marex> the spl_ram usecase is weird, and it seems that is the only remaining one
<marex> but uh, that's where spl_ram loads temporary data, so, maybe that should be mallocated, but then it might fail for large payloads
ikarso has quit [Quit: Connection closed for inactivity]
<deathmist> mps: cool, wonder if something similar to that should be done upstream
<deathmist> mainline U-Boot for mainline kernel eh? ;)