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
juri_ has quit [Ping timeout: 480 seconds]
juri_ has joined #linux-sunxi
ftg has quit [Read error: Connection reset by peer]
<apritzel> I pushed my U-Boot A523 branch so far to my github: https://github.com/apritzel/u-boot/commits/a523/
<apritzel> includes all the SPL bits this time, including jernej's and junari's DRAM code
<apritzel> works nicely on the X96QPro+, with both FEL and SD boot, but no luck so far on the Avaota or Radxa boards :-(
apritzel has quit [Ping timeout: 480 seconds]
Turl has quit [Read error: Connection reset by peer]
Turl has joined #linux-sunxi
hexdump0815 has joined #linux-sunxi
hexdump01 has quit [Ping timeout: 480 seconds]
diego71 has quit [Ping timeout: 480 seconds]
diego71 has joined #linux-sunxi
JohnDoe_71Rus has joined #linux-sunxi
gsz has joined #linux-sunxi
gsz has quit [Ping timeout: 480 seconds]
apritzel has joined #linux-sunxi
apritzel has quit [Ping timeout: 480 seconds]
Schimsalabim has quit [Ping timeout: 480 seconds]
Schimsalabim has joined #linux-sunxi
dsimic is now known as Guest7449
dsimic has joined #linux-sunxi
Guest7449 has quit [Ping timeout: 480 seconds]
gsz has joined #linux-sunxi
szemzoa_ has joined #linux-sunxi
szemzoa has quit [Read error: Connection reset by peer]
apritzel has joined #linux-sunxi
szemzoa has joined #linux-sunxi
szemzoa_ has quit [Read error: Connection reset by peer]
montjoie has joined #linux-sunxi
montjoie_ has quit [Ping timeout: 480 seconds]
bauen1 has joined #linux-sunxi
junari has joined #linux-sunxi
<junari> apritzel: thanks, nice job. But I noticed one little thing that was missing, I think
<junari> and we will need to replace dram_timings with the proper values, not the hardcoded ones
<junari> I'm leaving for another city soon for my vacation, so I won't be able to take part in this for the next 2-3 weeks
bauen1_ has joined #linux-sunxi
bauen1 has quit [Ping timeout: 480 seconds]
<apritzel> junari: ah, good catch, thanks. I remember seeing this, but I "rebase -i"ed this so many times, it fell through the cracks
bauen1 has joined #linux-sunxi
bauen1_ has quit [Ping timeout: 480 seconds]
JohnDoe_71Rus has quit [Quit: KVIrc 5.2.6 Quasar http://www.kvirc.net/]
bauen1_ has joined #linux-sunxi
bauen1 has quit [Ping timeout: 480 seconds]
nashpa has quit []
dliviu has joined #linux-sunxi
JohnDoe_71Rus has joined #linux-sunxi
bauen1_ has quit [Ping timeout: 480 seconds]
bauen1 has joined #linux-sunxi
<jernej> apritzel: nice!
bauen1 has quit [Ping timeout: 480 seconds]
apritzel_ has joined #linux-sunxi
<junari> so my device booted into manjaro successfully https://gist.github.com/iuncuim/4697d3d752c352e0d659ad3f9afc435c
<junari> None of my wifi adapters worked, that's bad luck. I'll have to figure it out tomorrow
Jookia_ has left #linux-sunxi [#linux-sunxi]
Jookia has joined #linux-sunxi
bauen1 has joined #linux-sunxi
apritzel_ has quit [Ping timeout: 480 seconds]
apritzel has quit [Ping timeout: 480 seconds]
BroderTuck has joined #linux-sunxi
<BroderTuck> Right, fiunally managed to solder a https://www.aliexpress.com/item/1005007476733491.html onto the pads for a cr1220 battery holder on the x96qpro+ and it works, keeps time over a powerloss.
Schimsalabim has quit [Read error: Connection reset by peer]
Schimsalabim has joined #linux-sunxi
JohnDoe_71Rus has quit [Quit: KVIrc 5.2.6 Quasar http://www.kvirc.net/]
apritzel_ has joined #linux-sunxi
junari has quit [Remote host closed the connection]
junari has joined #linux-sunxi
apritzel_ has left #linux-sunxi [Leaving]
apritzel has joined #linux-sunxi
<apritzel> BroderTuck: ah, very nice! Can you put that information in the wiki?
paulk-bis has joined #linux-sunxi
<BroderTuck> apritzel: Sure, I can do that
paulk has quit [Ping timeout: 480 seconds]
<BroderTuck> And done. Hope my edit looks ok
<jernej> apritzel: I like the clean ups that you made. However, I'm stuck at PLL code. Manuals aren't completely consistent and BSP code also isn't "by the book"
<apritzel> jernej: well, this code was inspired by yours ;-)
<apritzel> happy to change it, of course. I was thinking for instance that writing the parameters first, then the enable bit is probably pointless
<apritzel> I cannot imagine the CCU doing anything with bits [15:8] unless it also sees some "action bits" set
<apritzel> and the write is surely atomic, so we can merge the parameter setting and the enable bits into one write
<apritzel> but that's all details that could be solved later, I think, unless they affect the DRAM setup?
<apritzel> jernej: you mentioned changes the other day that should the double size detection, were they already in that commit I took from you?
<jernej> sure, code looks fine as-is, maybe just add final update bit set at the end of the pll config procedure, as mandated by frequency switch algorithm? that's also implemented in BSP
<jernej> apritzel: you mean fixing size misdetection, which appeared as double size?
<jernej> oh, init_something() should be removed. That's done in TF-A
<jernej> and size detection should be updated
<jernej> in any case, there are few improvements to be made
<BroderTuck> I love this conversation, sounds like I can soon finally replace my SyterKit-based bootsetup
<apritzel> BroderTuck: for the X96QPro+ you could do already: it works fine for me, and I think junari reported the same
<apritzel> BroderTuck: you'd get all 8 cores (as long as you don't offline them)
<apritzel> jernej: yes, the size misdetection, I think I saw 8GB yesterday once
<apritzel> jernej: and sure, they are improvements required, that's why I didn't post it yet, just pushed to my github ;-)
<apritzel> since I think things like the FEL GICv3 bits haven't been out there before
<apritzel> ah, and after fixing one thing the branch actually works on the Avaota as well, at least via SD card
* apritzel gets lost in his boards, I meant the Radxa
<Jookia> I started back in T113 land today. Yay
* apritzel waves from the 8-core Cortex-A55 land :-D
<Jookia> Wow, 64 bits...
<Jookia> I still haven't actually touched a 64-bit ARM system outside the Librem 5 dev kit I have that I booted once then shelved
<Jookia> Actually a 3d printer I'm trying to fix has a 64-bit ARM Linux board I think
gsz has quit [Ping timeout: 480 seconds]
<apritzel> Jookia: it's a bit shocking that you say "wow" to 64 bits in 2025 ;-)
<Jookia> huh, really?
<Jookia> does ARM pump out any low power 64-bit cores? maybe allwinner is just cheaping out
<Jookia> the d1 is 64-bit
ftg has joined #linux-sunxi
bauen1 has quit [Ping timeout: 480 seconds]
<BroderTuck> apritzel: ditto on 8-core land :) (tf-a and u-boot recompiled and booted with)
<BroderTuck> survived 4 reboots without read errors, something the syterkit stuff wasn't really able to)
<apritzel> BroderTuck: oh, well done! We have a user ;-)
<BroderTuck> The only thing I changed was the value junari pointed to in u-boot, where I just changed the value without any ifs
<BroderTuck> Didn't test without the change
Schimsalabim has quit [Read error: Connection reset by peer]
<BroderTuck> and also, had to change a .mk file in tf-a since it wanted to use a triplet that was not available
<apritzel> BroderTuck: how so? Didn't setting CROSS_COMPILE work, like in U-Boot or the kernel?
Schimsalabim has joined #linux-sunxi
<BroderTuck> Compiling on device
BroderTuck has quit [Quit: Nighttime for me]