KREYREN_oftc has quit [Remote host closed the connection]
KREYREN_oftc has joined #linux-sunxi
macromorgan has joined #linux-sunxi
macromorgan has quit [Remote host closed the connection]
vagrantc has quit [Quit: leaving]
retpolanne has quit [Ping timeout: 480 seconds]
apritzel has quit [Ping timeout: 480 seconds]
KREYREN_oftc has quit [Remote host closed the connection]
KREYREN_oftc has joined #linux-sunxi
montjoie_ has joined #linux-sunxi
apritzel has joined #linux-sunxi
montjoie has quit [Ping timeout: 480 seconds]
apritzel has quit [Ping timeout: 480 seconds]
KREYREN_oftc has quit [Remote host closed the connection]
Asara has quit [Quit: leaving]
Asara has joined #linux-sunxi
JohnDoe_71Rus has joined #linux-sunxi
retpolanne has joined #linux-sunxi
retpolanne has quit [Ping timeout: 480 seconds]
hexdump0815 has joined #linux-sunxi
hexdump01 has quit [Ping timeout: 480 seconds]
Jookia has quit [Read error: Connection reset by peer]
Jookia has joined #linux-sunxi
apritzel has joined #linux-sunxi
chewitt has joined #linux-sunxi
warpme has joined #linux-sunxi
retpolanne has joined #linux-sunxi
<tokyovigilante>
have tested what I think is the DCDC3 line on the RG35XX+ before and after runnning the u-boot SPL, and getting -0.01v with power on but before running SPL, and a very reproducible 1.109v after, so it looks like it is being set ok
<tokyovigilante>
However the mystery of why it is then not loading the TF module deepens
<apritzel>
tokyovigilante: ah, good, thanks for checking that
<apritzel>
I am on the run, but can give you some instructions later how to move BSS to SRAM, which should make the SPL return to FEL
<apritzel>
then you can use "sunxi-fel readl" and friends to probe memory and dump registers
<tokyovigilante>
sounds good, thanks
<tokyovigilante>
at least we have a more-or-less working AXP717 driver
<Jookia>
okay, i've decided before i finish my audio patches i'm going to try tying in another DIN channel so i can read two codecs at once :)
<Jookia>
It will be interesting to see how far I can push the chip with handling 16 input channels. Maybe I can get to 24
apritzel has quit [Ping timeout: 480 seconds]
retpolanne has quit [Ping timeout: 480 seconds]
apritzel has joined #linux-sunxi
<apritzel>
tokyovigilante: speaking of AXP717: do you or macromorgan have anything for Linux already? I have the regulator and minimum MFD bits, which should make it boot, but cannot test it (yet)
<apritzel>
the AXP717 does much more though: GPIOs/IRQs, power key, battery charging, power supply, plus the entirely new USB-C part, but I think we can add those later
<tokyovigilante>
not at all sorry, I think macromorgan has more experience with the other Anbernic devices so hoping he can help more with the linux part. Yeah the charging aspect is obv. quite complex
<apritzel>
well, it's technically complex, but mostly done in hardware, and I think since we support battery charging on other AXP chips already, that's mostly a copy&paste exercise, with some glance into the datasheet
<apritzel>
the USB-C part is completely new to AXPs, so that's more work
<apritzel>
but from what I saw it only covers role switch and analogue audio, plus notifications. I didn't spot anything PD related, really
<apritzel>
so I guess it's 5V only, or handled entirely internally, so shouldn't interfere with the whole charging aspect, really
<apritzel>
at least that's my hope from looking at the three USB type-C related registers in the datasheet
<apritzel>
the regulator part is absolutely crucial for even getting booted to a prompt, so we will need that ASAP
<apritzel>
I will clean up the patches and put them on my github later
<apritzel>
That should move the BSS into SRAM. If you then do "sunxi-fel spl spl/sunxi-spl.bin", it should ideally return from FEL after the DRAM init, so you can issue further FEL commands
<apritzel>
at least that seems to work here on an OrangePi Zero3
<apritzel>
tokyovigilante: if you see sunxi-fel return, you should try to write to DRAM and read that back, for instance with sunxi-fel's write and read commands
<apritzel>
it that hangs, it's definitely a DRAM issue. Other thing I can imagine is that some bits are either stuck or redirected, which you might be able to spot in the read-back data
utsweetyfish has quit [Quit: ZNC 1.8.2+deb3.1 - https://znc.in]