Tartarus changed the topic of #u-boot to: SOURCE MOVED TO https://source.denx.de/u-boot/u-boot.git / U-Boot v2023.04 / Merge Window is OPEN, next branch is CLOSED / Release v2023.07 is scheduled for 03 July 2023 / Channel archives at https://libera.irclog.whitequark.org/u-boot
goliath has quit [Quit: SIGSEGV]
zibolo has quit [Ping timeout: 260 seconds]
zibolo has joined #u-boot
rburkholder has quit [Ping timeout: 246 seconds]
apritzel_ has quit [Ping timeout: 265 seconds]
EdSwarthout has quit [Ping timeout: 276 seconds]
Wouter010067044 has quit [Quit: The Lounge - https://thelounge.chat]
Wouter010067044 has joined #u-boot
thopiekar has quit [Ping timeout: 255 seconds]
thopiekar has joined #u-boot
macromorgan has joined #u-boot
mmu_man has quit [Ping timeout: 246 seconds]
alpernebbi has quit [Ping timeout: 246 seconds]
alpernebbi has joined #u-boot
<vigneshr> marex: hi, yes I plan to be at eoss. Hoping to see you there
srk has quit [Quit: ZNC 1.8.1 - https://znc.in]
srk has joined #u-boot
rburkholder has joined #u-boot
macromorgan has quit [Read error: Connection reset by peer]
macromorgan has joined #u-boot
ikarso has joined #u-boot
Peng_Fan has quit [Quit: Connection closed for inactivity]
Leopold has joined #u-boot
mncheck has joined #u-boot
guillaume_g has joined #u-boot
monstr has joined #u-boot
ldevulder has joined #u-boot
Wouter010067044 has quit [Quit: The Lounge - https://thelounge.chat]
Wouter010067044 has joined #u-boot
sszy has joined #u-boot
prabhakarlad has joined #u-boot
sylensky[m] has quit [Quit: You have been kicked for being idle]
<marex> vigneshr: I'll be around
mmu_man has joined #u-boot
sylensky[m] has joined #u-boot
goliath has joined #u-boot
mmu_man has quit [Ping timeout: 265 seconds]
mmu_man has joined #u-boot
rockosov has quit [Ping timeout: 276 seconds]
rockosov has joined #u-boot
guillaume_g has quit [Ping timeout: 256 seconds]
manu_ has joined #u-boot
g5pw has quit [Ping timeout: 252 seconds]
manu has quit [Read error: Connection reset by peer]
g5pw has joined #u-boot
guillaume_g has joined #u-boot
Net147 has quit [Read error: Connection reset by peer]
Net147 has joined #u-boot
Net147 has joined #u-boot
Net147 has quit [Changing host]
ldevulder has quit [Quit: Leaving]
Net147 has quit [Remote host closed the connection]
Net147 has joined #u-boot
Net147 has joined #u-boot
Net147 has quit [Changing host]
Net147 has quit [Remote host closed the connection]
ldevulder has joined #u-boot
Net147 has joined #u-boot
Net147 has joined #u-boot
Net147 has quit [Changing host]
hanetzer has quit [Quit: WeeChat 3.8]
hanetzer has joined #u-boot
prabhakarlad has quit [Quit: Client closed]
EdSwarthout has joined #u-boot
mmu_man has quit [Ping timeout: 246 seconds]
naoki has quit [Ping timeout: 255 seconds]
camus has quit [Quit: camus]
mmu_man has joined #u-boot
alan_o has quit [Remote host closed the connection]
alan_o has joined #u-boot
alan_o has quit [Read error: Connection reset by peer]
alan_o has joined #u-boot
torez has joined #u-boot
vagrantc has joined #u-boot
monstr has quit [Quit: Leaving]
prabhakarlad has joined #u-boot
Leopold has quit [Remote host closed the connection]
Leopold has joined #u-boot
guillaume_g has quit [Quit: Konversation terminated!]
stefanro has quit [Quit: Leaving.]
vagrantc has quit [Quit: leaving]
sszy has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
<macromorgan> shit... forgot to mark a patch as "V2"...
<macromorgan> should I resubmit or is it sufficient that there's a changelog in there to note "changes from V1?"
torez has quit [Remote host closed the connection]
vagrantc has joined #u-boot
mmu_man has quit [Ping timeout: 255 seconds]
Wouter010067044 has quit [Quit: The Lounge - https://thelounge.chat]
Wouter010067044 has joined #u-boot
ikarso has quit [Quit: Connection closed for inactivity]
<marex> macromorgan: language ffs !
<marex> macromorgan: also, just reply to the mail and say this is really a V2, reasonable maintainer won't be overly grumpy
<marex> macromorgan: or send a V3 and be done with it
prabhakarlad has quit [Quit: Client closed]
<macromorgan> okay, I'll reply. Also sorry for the language.
mmu_man has joined #u-boot
<rfs613> marex: I've addressed most of your comments for the RZ/N1 patches. Could post a new version. But I am struggling a bit with how to split up the DDR controller stuff between driver, arch, and board.
<sjg1> marex: yes that fdt_blob thing should be using map_to_sysmem()
ikarso has joined #u-boot
prabhakarlad has joined #u-boot
mmu_man has quit [Ping timeout: 240 seconds]
<marex> sjg1: the one in bdinfo ?
<marex> sjg1: so it should match fdtcontroladdr ?
mmu_man has joined #u-boot
Wouter010067044 has quit [Quit: The Lounge - https://thelounge.chat]
Wouter010067044 has joined #u-boot
___nick___ has joined #u-boot
<sjg1> marex: yes
___nick___ has quit [Ping timeout: 248 seconds]
___nick___ has joined #u-boot
ldevulder has quit [Quit: Leaving]
apritzel_ has joined #u-boot
<marex> sjg1: ah ok, I'll send a quick patch
<marex> ... is what I wanted to write before I found another potential bug in bdinfo :E~
stipa has quit [Read error: Connection reset by peer]
stipa has joined #u-boot
BWhitten has quit [Ping timeout: 276 seconds]
naoki has joined #u-boot
mncheck has quit [Ping timeout: 252 seconds]
flyback has quit [Remote host closed the connection]
___nick___ has quit [Ping timeout: 246 seconds]
flyback has joined #u-boot
<marex> rfs613: thanks. About the DRAM controller, ideally as much as possible in drivers/ , as little as possible elsewhere
<rfs613> marex: currently it is all in drivers/ram/cadence (new directory) apart from the table of magic values (which is now in the devicetree).
<rfs613> however there are some things that are specific to rzn1, such as the calls to clk_rzn1_reset_state()
<rfs613> (am just putting the kids to sleep, so a bit difficult to discuss right now...)
<marex> rfs613: cant you use clock and reset framework to abstract that part out ?
<rfs613> marex: possibly (am already using clock framework). But there are other things, such configuring for a single bank, the PHY setup, etc, which are board (or perhaps arch) specific.
<marex> rfs613: the DRAM settings should likely go into DT or board/ files
<marex> because yes, those are board specific
<rfs613> marex: there is a comment near the top of drivers/ram/cadence/ddr_ctrl.h which explains that one calls init, then a bunch of optional functions (depending on the desired configuration), and then cdns_ddr_ctrl_start()
<rfs613> so presumably that should go into board file (putting it in DT seems difficult)
<marex> seems like $ git grep -li cadence drivers/ram/ drivers/ddr/
<marex> already contains a cadence DDR driver
<marex> I am worried this will end up like the Designware one -- U-Boot now has 7 drivers for the same IP, each from different SoC vendor, each in different weird state
<marex> sigh
<marex> rfs613: I guess __weak board_do_some_dram_init() would be OK too
<rfs613> marex: yes there are several similar-ish versions of cadence denali driver already...
<marex> oh, yeah, denali ... about four
<marex> sigh
<rfs613> unfortunately it's quite hard to find out exactly what IP is present on a given SoC... and usually by the time software team sees a new piece of hardware, the "magic" for starting DDR etc has already been done. Any changes to it are met with a lot of resistance...
<rfs613> (by management I mean...)
<marex> rfs613: so what would it take to convince management to stop turning upstream into dumping ground for this crud ?
<marex> I mean, this is not maintainable in the long run
<rfs613> i have to agree with you there... but I don't know how we solve the problem...