stikonas has quit [Quit: Konversation terminated!]
qschulz has quit [Remote host closed the connection]
qschulz has joined #linux-rockchip
chewitt has joined #linux-rockchip
hanetzer has joined #linux-rockchip
warpme has joined #linux-rockchip
warpme has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
warpme has joined #linux-rockchip
warpme has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ungeskriptet5 has joined #linux-rockchip
ungeskriptet has quit [Ping timeout: 252 seconds]
ungeskriptet5 is now known as ungeskriptet
warpme has joined #linux-rockchip
naoki has quit [Quit: naoki]
raster has joined #linux-rockchip
ungeskriptet5 has joined #linux-rockchip
ungeskriptet has quit [Ping timeout: 256 seconds]
ungeskriptet5 is now known as ungeskriptet
dsimic has quit [Ping timeout: 255 seconds]
dsimic has joined #linux-rockchip
Livio has joined #linux-rockchip
Livio has quit [Ping timeout: 256 seconds]
warpme has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
warpme has joined #linux-rockchip
psydroid has joined #linux-rockchip
stikonas has joined #linux-rockchip
Stat_headcrabed has joined #linux-rockchip
vagrantc has joined #linux-rockchip
warpme has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<macromorgan>
so I'm looking at the RAM code again for the RK3588 in U-Boot. If I want to keep moving forward with the ATAGS parsing for RK3588... would it make sense to flag the main dram_init_banksize() function as __weak so I can modify? Or am I being naive?
<macromorgan>
or I'm thinking of adding a weak function that returns 0 to that file... something like int __weak board_read_ram() and then defining the function in the rk3588 specific code
<macromorgan>
I'm just not sure what ramifications of that would be
<qschulz>
macromorgan: what are you trying to solve as a problem?
<macromorgan>
use ATAGS parsing to get the RAM banks for the RK3588
<macromorgan>
or rather that's the solution to the problem
<qschulz>
macromorgan: I don't see how this is helping, that's my issue
<macromorgan>
the problem is that 1) there are addresses we shouldn't write to and 2) the current RAM bank definitions don't include all available RAM
<qschulz>
do you mean you would redefine the board_read_ram in rk3588.c only?
<macromorgan>
I'm actually (now that I say it out loud) leaning towards a weak function in sdram.c that returns 0 and then redefine that function in rk3588.c so that it parses the ATAGS RAM banks
<macromorgan>
that way we can fall back to the old way of doing things if we can't read the ATAGS
<macromorgan>
without duplicating the code
<qschulz>
macromorgan: I'm not getting it (but it's also not my day, so probably nothing to do with your phrasing :) )
<qschulz>
what would this help compared to the v1 you sent on the ML today?
<macromorgan>
I should have phrased that as an RFC honestly rather than a V1, so that was my first mistake
<macromorgan>
but it seems like Kever doesn't want me to include all that ATAGS code which I get
<macromorgan>
I guess I can wait for further direction though before I continue on. Maybe there's another way we should be defining RAM banks (based on registers), or maybe there's some 3rd option I'm not aware of.
<qschulz>
I haven't played with bloblist yet (completely missed that train), but my assumption is that they want to parse the ATAGS into a bloblist so that we can reuse the bloblist functions to find what we want?
<macromorgan>
hmm... I guess I didn't take away that from the conversation but that makes more sense
<macromorgan>
I'll have to look into bloblists then
<qschulz>
if that's not what they want, I don't understand what they do want, because we get ATAGS from the TPL, and I can almost guarantee that Rockchip won't update their blobs to expose bloblists
<qschulz>
macromorgan: when things aren't clear when you receive feedback from the community, just ask for clarification (maybe by providing some hints at what you think you understood and asking for validation)
<qschulz>
that way you avoid wasting precious hours/days on things that were not requested/suggested :)
<macromorgan>
thanks, I'll do that next time
<qschulz>
I'm not in Kever's or Tom's head so cannot help you with that one
<qschulz>
but if that can make you feel better, I also wouldn't know where to go from your v1 based on that feedback :)
<macromorgan>
no, I think if there's a standard way (bloblist) that makes the most sense
<Ermine>
qschulz: that helped, thank you!
psydroid has quit [Remote host closed the connection]
chewitt has quit [Quit: Zzz..]
psydroid has joined #linux-rockchip
hanetzer has quit [Ping timeout: 246 seconds]
werdahias has joined #linux-rockchip
werdahias has quit [Ping timeout: 256 seconds]
warpme has joined #linux-rockchip
vagrantc has quit [Quit: leaving]
warpme has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
warpme has joined #linux-rockchip
warpme has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
System_Error has quit [Remote host closed the connection]
System_Error has joined #linux-rockchip
raster has quit [Quit: Gettin' stinky!]
System_Error has quit [Remote host closed the connection]