ChanServ changed the topic of #linux-sunxi to: Allwinner/sunxi development - Did you try looking at our wiki? https://linux-sunxi.org - Don't ask to ask. Just ask and wait for an answer! - This channel is logged at https://oftc.irclog.whitequark.org/linux-sunxi
digetx is now known as Guest2819
digetx has joined #linux-sunxi
Guest2819 has quit [Ping timeout: 480 seconds]
KREYREN_oftc has quit [Remote host closed the connection]
KREYREN_oftc has joined #linux-sunxi
KREYREN_oftc has quit [Remote host closed the connection]
KREYREN_oftc has joined #linux-sunxi
KREYREN_oftc has quit [Remote host closed the connection]
KREYREN_oftc has joined #linux-sunxi
montjoie_ has joined #linux-sunxi
montjoie has quit [Ping timeout: 480 seconds]
abdberkana has joined #linux-sunxi
abdberkana has quit [Remote host closed the connection]
vagrantc has quit [Ping timeout: 480 seconds]
wasutton- has quit [Remote host closed the connection]
vagrantc has joined #linux-sunxi
wasutton3 has joined #linux-sunxi
apritzel has quit [Ping timeout: 480 seconds]
abdberkana has joined #linux-sunxi
abdberkana has quit [Remote host closed the connection]
abdberkana has joined #linux-sunxi
<macromorgan> looks like we have bootm in the U-Boot image, and if it fails to boot it will take my commands over serial.
<macromorgan> good news too is it looks like I can directly poke at the RAM registers from U-Boot
<macromorgan> so TL;DR if I take away anything that's bootable then U-Boot will let me interact with it
<macromorgan> I'm going to start work on a very simple device tree and see if I can get it to boot at all
vagrantc has quit [Quit: leaving]
abdberkana has quit [Ping timeout: 480 seconds]
hexdump01 has joined #linux-sunxi
hexdump0815 has quit [Ping timeout: 480 seconds]
abdberkana has joined #linux-sunxi
junari has joined #linux-sunxi
<junari> So T507 phy_init variant is compatible with H700
<junari> In the AW bootloader, one or another variant is selected based on the one register (SID maybe? I don't remember). I think in the mainline u-boot should be something similar
<junari> I’m currently on a pause on the project with t507, only in a few months will I be able to work on this in more detail
apritzel has joined #linux-sunxi
apritzel has quit [Ping timeout: 480 seconds]
JohnDoe_71Rus has joined #linux-sunxi
junari has quit [Ping timeout: 480 seconds]
tlwoerner has quit [Remote host closed the connection]
tlwoerner has joined #linux-sunxi
tlwoerner has quit [Remote host closed the connection]
tlwoerner has joined #linux-sunxi
apritzel has joined #linux-sunxi
abdberkana has quit [Ping timeout: 480 seconds]
abdberkana has joined #linux-sunxi
KREYREN_oftc has quit [Remote host closed the connection]
KREYREN_oftc has joined #linux-sunxi
dsimic is now known as Guest2871
dsimic has joined #linux-sunxi
Guest2871 has quit [Ping timeout: 480 seconds]
JohnDoe_71Rus has quit [Quit: KVIrc 5.0.1 Aria http://www.kvirc.net/]
evgeny_boger has joined #linux-sunxi
JohnDoe_71Rus has joined #linux-sunxi
Schimsalabim has quit [Quit: Schimsalabim]
KREYREN_oftc has quit [Remote host closed the connection]
KREYREN_oftc has joined #linux-sunxi
<jernej> junari, apritzel: libdram check value of 0x3006200 and then selects appropriate phy_init array
<jernej> I guess having 2 arrays per DRAM type isn't that bad for SPL size?
joao has joined #linux-sunxi
<apritzel> jernej: for the H616 the SPL size is not critical. So 0x3006200 is the SID base, so is that the same value we check already ("die revision"), for the RVBAR register location?
joao has left #linux-sunxi [#linux-sunxi]
Schimsalabim has joined #linux-sunxi
<jernej> where can I find this code?
evgeny_boger has quit [Ping timeout: 480 seconds]
<apritzel> ah, no, we use a different register for that (in the "SRAM controller", at 0x3000024)
<apritzel> but we use some SID registers already in the D1/T113-s3 DRAM code, look for SUNXI_SID_BASE in drivers/ram/sunxi/dram_sun20i_d1.c
<apritzel> I think the first word of the SID is the one we also use for the bin detection in the cpufreq code
<jernej> idk what it is, but it has the same value as this one, reported in boot0 log: https://gist.github.com/macromorgan/77a92a734c2029983ba1d6090d983a25#file-uart-bootlog-L14
abdberkana has quit [Ping timeout: 480 seconds]
vagrantc has joined #linux-sunxi
<apritzel> jernej: do you know which bits there are? [15:0]? The first SID word on my OPi-Zero3 reads 33802000
abdberkana has joined #linux-sunxi
<jernej> apritzel: this is LPDDR4 check: https://pasteboard.co/ynJM2WeTsidq.png
<jernej> not sure why some bits are masked
<jernej> yes, seems to be the same
<jernej> although I think speedgrade isn't proper name
<jernej> or maybe it could be only a part of it, so masks are used in code I linked before
<apritzel> it's probably a bin or batch number, and in the context of the cpufreq that translates to "speed grades". The name might even come from BSP code?
<jernej> I still think this number is mostly chip dependent, like all H616 will have 0x2000 or similar, but not 0x6c00, which seems to be used on T507
<jernej> anyway, I haven't looked much into this
apritzel has quit [Ping timeout: 480 seconds]
abdberkana has quit [Ping timeout: 480 seconds]
JohnDoe_71Rus has quit [Quit: KVIrc 5.2.0 Quasar http://www.kvirc.net/]
abdberkana has joined #linux-sunxi
abdberkana has quit [Ping timeout: 480 seconds]
apritzel has joined #linux-sunxi
abdberkana has joined #linux-sunxi
abdberkana has quit [Ping timeout: 480 seconds]
abdberkana has joined #linux-sunxi
abdberkana has quit [Ping timeout: 480 seconds]
abdberkana has joined #linux-sunxi
abdberkana has quit [Ping timeout: 480 seconds]