Tartarus changed the topic of #u-boot to: SOURCE MOVED TO https://source.denx.de/u-boot/u-boot.git / U-Boot v2025.04 is OUT / Merge Window is OPEN, next branch is CLOSED / Release v2025.07 is scheduled for 07 July 2025 / Channel archives at https://libera.irclog.whitequark.org/u-boot
haritz has quit [Quit: ZNC 1.8.2+deb3.1+deb12u1 - https://znc.in]
ikarso has quit [Quit: Connection closed for inactivity]
davlefou has quit [Ping timeout: 265 seconds]
davlefou_ has quit [Ping timeout: 265 seconds]
apritzel_ has quit [Ping timeout: 265 seconds]
davlefou has joined #u-boot
davlefou_ has joined #u-boot
flyback has quit [Quit: Leaving]
<sjg1> Tartarus: I would need to take a look, but it seems unlikely to me
Jones42 has quit [Ping timeout: 276 seconds]
Jones42 has joined #u-boot
flyback has joined #u-boot
polprog has quit [Ping timeout: 244 seconds]
persmule has quit [Ping timeout: 264 seconds]
qschulz has quit [Ping timeout: 276 seconds]
haritz has joined #u-boot
haritz has joined #u-boot
haritz has quit [Changing host]
persmule has joined #u-boot
jclsn has quit [Ping timeout: 272 seconds]
jclsn has joined #u-boot
polprog has joined #u-boot
qschulz has joined #u-boot
LeSpocky has quit [Ping timeout: 248 seconds]
LeSpocky has joined #u-boot
Daanct12 has joined #u-boot
KREYREN has quit [Remote host closed the connection]
KREYREN has joined #u-boot
KREYREN has quit [Remote host closed the connection]
clamor has joined #u-boot
tlwoerner_ has quit [Quit: Leaving]
tlwoerner has joined #u-boot
Daanct12 has quit [Ping timeout: 276 seconds]
Daanct12 has joined #u-boot
clamor has quit [Ping timeout: 248 seconds]
clamor has joined #u-boot
enok has joined #u-boot
apritzel_ has joined #u-boot
monstr has joined #u-boot
ldevulder has joined #u-boot
monstr has quit [Ping timeout: 252 seconds]
haritz has quit [Quit: ZNC 1.8.2+deb3.1+deb12u1 - https://znc.in]
ikarso has joined #u-boot
apritzel_ has quit [Ping timeout: 260 seconds]
Hypfer6 has quit [Quit: The Lounge - https://thelounge.github.io]
Hypfer6 has joined #u-boot
KREYREN has joined #u-boot
ldevulder has quit [Quit: Leaving]
mckoan|away is now known as mckoan
Daanct12 has quit [Ping timeout: 248 seconds]
KREYREN has quit [Ping timeout: 264 seconds]
gsz has joined #u-boot
Poltawer has joined #u-boot
ldevulder has joined #u-boot
wooosaiiii has quit [Remote host closed the connection]
wooosaiiii has joined #u-boot
ungeskriptet has joined #u-boot
Poltawer has quit [Quit: WeeChat 4.6.1]
sszy has joined #u-boot
LainIwakura has joined #u-boot
apritzel has joined #u-boot
clamor has quit [Ping timeout: 260 seconds]
ikarso has quit [Quit: Connection closed for inactivity]
LainIwakura has quit [Quit: Client closed]
enok has quit [Remote host closed the connection]
enok has joined #u-boot
monstr has joined #u-boot
ikarso has joined #u-boot
goliath has joined #u-boot
<dormito> I'm running into some clock related issues: so I "#define DEBUG" at the top of drivers/clk/clk-uclass.c, however now my i.mxrt1170 dies on boot. Because it appears to be trying to write to the uart... (about clocking changinge) while reconfiguring the UARTs clock. obviously this won't work, but does u-boot already have any approach for resolving this sort of paradox?
<dormito> I was thinking, mabye change the debug() macro to feed debug_cond() a function call instead of the const _DEBUG... Maybe by making log.h's _DEBUG define only if it's not already defined...
<marex> dormito: is that on next ? does it happen on 2025.04 ?
<sjg1> Tartarus: It seems to work without the header and I don't immediately see any need for avoiding U-Boot's malloc() in that file
mmu_man has joined #u-boot
mmu_man has quit [Client Quit]
mmu_man has joined #u-boot
<dormito> marex: the clocking problem I am trying to debug is related to changes I made. But I'm wonder if u-boots framework has a way to both "enable a verbose debug block" and prevent it from killing the system when it would print at an inopertune time
<marex> dormito: if the UART driver did not resolve clock yet, then the UART driver is not probed at all and not used at all
<dormito> Hmmm. that's strange
<dormito> that's the output where it dies
<dormito> specifically you can see it's trying to mess with 'lpuart1_sel' ... which is the very uart it's printing out of.
<dormito> my changes are currently based off: 32c9a6518dcef9b4250461e70b2c719101a305ef (which is a stupid place for them, but I think I was checking if upstream had effected my code, and forgot to go back to a saner commit base)
<marex> dormito: I did some changes to the imx clock code, they are in next and current master, so try 2025.04 and see if that unbreaks things
<dormito> oh nice. did you change imxrt1170_clk_probe ? that code block looked suspicous to me, but I'm not familiar enough with u-boots clocking to know how it should be done (though it feels like much of that function should be represented in the device tree)
<marex> dormito: maybe a bit
<dormito> hmmm. may take a while to test that. will either need to wait till I got back to where the device is located, or figure out how to inject u-boot live over a openocd/gdb session
haritz has joined #u-boot
haritz has joined #u-boot
monstr has quit [Remote host closed the connection]
monstr has joined #u-boot
jmasson has joined #u-boot
jmasson has left #u-boot [#u-boot]
naoki has quit [Quit: naoki]
clamor has joined #u-boot
<soxrok2212> marex: not slotted. the SPD is hardcoded afaik
enok has quit [Quit: enok]
enok71 has joined #u-boot
enok71 is now known as enok
KREYREN has joined #u-boot
enok has quit [Ping timeout: 248 seconds]
ldevulder has quit [Ping timeout: 268 seconds]
ldevulder has joined #u-boot
dsimic has quit [Ping timeout: 252 seconds]
dsimic has joined #u-boot
<marex> soxrok2212: then maybe just write the SPD EEPROM blob content (there might be some generator for that) and extract timing parameters from the DRAM chip datasheet
<soxrok2212> im stuck creating the odt config... its ddr3 whereas the odt_config struct expects params2, which is apparently only used for ddr4
KREYREN has quit [Ping timeout: 264 seconds]
ldevulder has quit [Ping timeout: 245 seconds]
apritzel has quit [Ping timeout: 260 seconds]
baltazar has quit [Quit: Lost terminal]
ldevulder has joined #u-boot
mmu_man has quit [Ping timeout: 265 seconds]
monstr has quit [Remote host closed the connection]
mckoan is now known as mckoan|away
mmu_man has joined #u-boot
Slimey has quit [Remote host closed the connection]
vagrantc has joined #u-boot
clamor has quit [Ping timeout: 260 seconds]
mmu_man has quit [Ping timeout: 265 seconds]
sszy has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
mmu_man has joined #u-boot
ldevulder has quit [Quit: Leaving]
gsz has quit [Ping timeout: 244 seconds]
mmu_man has quit [Ping timeout: 248 seconds]
mmu_man has joined #u-boot
mripard has quit [Ping timeout: 265 seconds]
mripard has joined #u-boot
mripard has quit [Ping timeout: 272 seconds]
mripard has joined #u-boot
KREYREN has joined #u-boot
mmu_man has quit [Quit: reboot]
KREYREN has quit [Remote host closed the connection]
KREYREN has joined #u-boot
mmu_man has joined #u-boot
Jones42 has quit [Ping timeout: 272 seconds]
<soxrok2212> marex: so theres an option to disable dram and run u-boot in l2 cache; i tried this just to get around the ddr config for now. it starts and prints "U-Boot <version/build>" but that's it. im not very familiar with the process here/.. do you have any places where i should look to start debugging?
<soxrok2212> s/have/know
<marex> er ... how big is your L2 ?
<soxrok2212> according to one of the commits adding octeon support, 4mb
<soxrok2212> its a guess... soc in this board is cn7030. that commit was 73xx
<marex> soxrok2212: ha ... common/board_{r,f}.c ... add printf("%s[%d]\n", __func__, __LINE__); ... that automatically prints function name and line number for you
<marex> spam these files and see how far it gets
<marex> also ... do you use u-boot/master for this ?
<soxrok2212> master, yep
rvalue has quit [Read error: Connection reset by peer]
rvalue has joined #u-boot
<soxrok2212> checkcpu[883]
<soxrok2212> is where it looks stuck :)
ALTracer has joined #u-boot
drmpeg has quit [Ping timeout: 260 seconds]
KREYREN has quit [Ping timeout: 264 seconds]
drmpeg has joined #u-boot
laina has joined #u-boot
laina has quit [Ping timeout: 240 seconds]
<marex> soxrok2212: look into the function
broski has joined #u-boot
broski28 has joined #u-boot
broski has quit [Ping timeout: 240 seconds]
broskia has joined #u-boot
flyback has quit [Quit: Leaving]
broski28 has quit [Quit: Client closed]
broskia has quit [Quit: Client closed]
flyback has joined #u-boot
bron has joined #u-boot
bron has quit [Ping timeout: 240 seconds]
vagrantc has quit [Ping timeout: 248 seconds]