buzzmarshall has quit [Quit: Konversation terminated!]
vagrantc has quit [Quit: leaving]
wens has quit [Ping timeout: 252 seconds]
wens has joined #linux-amlogic
cottsay has quit [Ping timeout: 252 seconds]
cottsay has joined #linux-amlogic
JohnnyonFlame has quit [Read error: Connection reset by peer]
f_ has joined #linux-amlogic
hexdump0815 has quit [Quit: WeeChat 1.9.1]
hexdump0815 has joined #linux-amlogic
<f_>
Made some changes to then support gxl
<f_>
e.g. moved binman configuration to meson-gx-u-boot.dtsi
<f_>
I also updated the kii-pro defconfig
<f_>
Hopefully I didn't break gxbb support :D
<f_>
(quickly tested, I didn't)
<f_>
I think porting to gxl will be a little more complicated than what I thought
<f_>
e.g. bit 22 in gxbb sets the rank mode while in gxl it enables DDR4 IIRC
* f_
looks at lepotato acs
<f_>
I assume that using one rank should work everywhere
<f_>
(lepotato)
<f_>
huh
<f_>
CPU clock is set to 1200 MHz?
luka177 has quit [Ping timeout: 258 seconds]
<lvrp16>
Yes the stock clocks are set to 1.2Ghz
<f_>
We hardcoded the clock to 1.5 GHz with the assumption that all gxbb and gxl would work normally
<f_>
Seems like that's not the case :D
<lvrp16>
The datasheet mentioned something about dropping below 1.2ghz between > 1.2ghz transitions.
<f_>
Makes me remember about this: 06:35 <lvrp16> i'm surprised S905 is able to get to 1.75GHz with overvolting. S905X breaks down not much after 1.45GHz.
<lvrp16>
Yeah at the stock PWM voltages, even if you max out, it cannot go much higher than 1.5GHz.
chewitt has joined #linux-amlogic
<f_>
Anyway, let's hardcode it to 1.2 GHz!
<lvrp16>
I think with PWM going at full, it is 1.140V
<f_>
Even if it can do 1.5 GHz I would still prefer using the stock values.
<lvrp16>
Rockchip sets voltages much higher for RK3328
<lvrp16>
I think 1.4GHz on RK3328 is 1.35V or something like that.
<f_>
I still assume the stock values have been tested to an extent by either Amlogic or at your factory
<f_>
So I'll stick to these for now
<f_>
I guess I'll probably need to reverse gxl BL2 for dram init, even for lepotato
Danct12 has quit [Quit: What if we rewrite the code?]
<f_>
Seeing how DMC_DDR_CTRL differs makes me think that they modified some other registers as well
luka177 has joined #linux-amlogic
Danct12 has joined #linux-amlogic
<lvrp16>
Yeah they provide the reference DDR design so the software will just work.
* f_
looks at lepotato bl21
<f_>
Oh well
<f_>
I need to support VCCK being set at 1120 mv
<f_>
Should be straightforward.
<f_>
Done
<f_>
Now syncing libretech-cc_defconfig with videostrong-kii-pro_defconfig
<f_>
But then again, I think most people would probably want to use SPL+TF-A BL31 rather than AmlBL2+TF-A BL31
<f_>
Kwiboo: Ah!
<f_>
Sure
<Kwiboo>
the parameter send to tf-a contains a small header struct at from_bl2->h, version, size and attr, so we can just put something special there :)
<f_>
In the config they just set the size and rank mode
<f_>
But apart from that p200 acs and WP2 acs are identical
<f_>
p200 bl21 is identical to WP2 p200
f_ has quit [Ping timeout: 252 seconds]
jacobk has quit [Ping timeout: 240 seconds]
jacobk has joined #linux-amlogic
hexdump0815 has quit [Quit: WeeChat 1.9.1]
hexdump0815 has joined #linux-amlogic
<hexdump0815>
f_[xmpp]: i'll test your stuff for sure at some point, but i'm busy with other stuff right now
<hexdump0815>
f_[xmpp]: my gxbb box has nand, so testing it will not be trivial - but i think using a hdmi dongle i can force it to boot from sd card maybe
<hexdump0815>
f_[xmpp]: i just checked - i have created boot blocks got gxbb as well when i did all my u-boot builds, so i guess i successfully tested it with the hdmi dongle on gxbb back then as well