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
DuClare_ has quit [Ping timeout: 480 seconds]
ftg has quit [Read error: Connection reset by peer]
DuClare_ has joined #linux-sunxi
Schimsalabim has quit [Ping timeout: 480 seconds]
Schimsalabim has joined #linux-sunxi
DuClare has quit [Ping timeout: 480 seconds]
apritzel has quit [Ping timeout: 480 seconds]
jernej- has joined #linux-sunxi
tokyovigilante has quit [Remote host closed the connection]
jernej has quit [Read error: Connection reset by peer]
tokyovigilante has joined #linux-sunxi
Schimsalabim has quit [Read error: Connection reset by peer]
Schimsalabim has joined #linux-sunxi
aggi has quit [Remote host closed the connection]
aggi has joined #linux-sunxi
cnxsoft has joined #linux-sunxi
Daanct12 has joined #linux-sunxi
cnxsoft has quit [Read error: Connection reset by peer]
cnxsoft has joined #linux-sunxi
cnxsoft has quit [Read error: Connection reset by peer]
hexdump01 has joined #linux-sunxi
vagrantc has quit [Quit: leaving]
hexdump0815 has quit [Ping timeout: 480 seconds]
cnxsoft has joined #linux-sunxi
gsz has joined #linux-sunxi
aggi has quit [Ping timeout: 480 seconds]
aggi has joined #linux-sunxi
tlwoerner_ has joined #linux-sunxi
tlwoerner has quit [Ping timeout: 480 seconds]
aggi has quit [Remote host closed the connection]
aggi has joined #linux-sunxi
cnxsoft has quit [Read error: Connection reset by peer]
cnxsoft has joined #linux-sunxi
<Net147> I am getting "failed to set mode: Function not implemented" when trying to use modeset on A20 to test HDMI output with Linux 6.12.38. any ideas?
gsz has quit [Ping timeout: 480 seconds]
sdfgsdfs has quit [Ping timeout: 480 seconds]
<Net147> *modetest
apritzel has joined #linux-sunxi
warpme has joined #linux-sunxi
apritzel has quit [Ping timeout: 480 seconds]
warpme has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
chewitt has joined #linux-sunxi
warpme has joined #linux-sunxi
Schimsalabim has quit [Ping timeout: 480 seconds]
Schimsalabim has joined #linux-sunxi
Schimsalabim has quit [Read error: Connection reset by peer]
Schimsalabim has joined #linux-sunxi
evgeny_boger has joined #linux-sunxi
tlwoerner has joined #linux-sunxi
tlwoerner_ has quit [Ping timeout: 480 seconds]
evgeny_boger has quit [Ping timeout: 480 seconds]
<wens> you might have to enable more debug messages to figure out what function isn't implemented?
evgeny_boger has joined #linux-sunxi
Schimsalabim has quit [Ping timeout: 480 seconds]
Schimsalabim has joined #linux-sunxi
apritzel has joined #linux-sunxi
warpme has quit []
evgeny_boger has quit [Quit: evgeny_boger]
evgeny_boger has joined #linux-sunxi
warpme has joined #linux-sunxi
linkmauve has left #linux-sunxi [not in this room]
linkmauve has joined #linux-sunxi
linkmauve has left #linux-sunxi [Error from remote client]
tlwoerner_ has joined #linux-sunxi
tlwoerner has quit [Ping timeout: 480 seconds]
linkmauve has joined #linux-sunxi
apritzel_ has joined #linux-sunxi
apritzel_ has quit []
tlwoerner has joined #linux-sunxi
tlwoerner_ has quit [Ping timeout: 480 seconds]
jernej| has joined #linux-sunxi
jernej has joined #linux-sunxi
jernej| has quit [Read error: Connection reset by peer]
jernej has joined #linux-sunxi
jernej- has quit [Ping timeout: 480 seconds]
jernej has quit [Remote host closed the connection]
jernej has joined #linux-sunxi
jernej has quit [Remote host closed the connection]
jernej has joined #linux-sunxi
jernej has quit [Remote host closed the connection]
jernej has joined #linux-sunxi
warpme has quit []
warpme has joined #linux-sunxi
jernej has quit [Read error: Connection reset by peer]
jernej has joined #linux-sunxi
ungeskriptet_ has joined #linux-sunxi
ungeskriptet has quit [Ping timeout: 480 seconds]
sdfgsdfs has joined #linux-sunxi
warpme has quit []
warpme has joined #linux-sunxi
aggi has quit [Remote host closed the connection]
aggi has joined #linux-sunxi
<dlan> apritzel: jump from FEL to SPL(uboot-spl), how does the core switch from arm32 to aarch64? just found all instructions in FEL were compiled as armv5te, while u-boot-spl as aarch64..
<apritzel> yes, since FEL is a BootROM routine, and the BROM is fully v7 still, we have to issue AArch32 instructions for everything FEL related. The switch to AArch64 is done at the very end, in fel.c:aw_rmr_request()
<apritzel> so you write the start address into the RVBAR (reset vector base address register) MMIO registers, then write the RMR (reset management register) system register to trigger a core-only warmboot
<apritzel> bit 0 of the RMR register tells the core whether to reset in AArch64 or AArch32
<dlan> ok, that's magic.. I will take a look at it - having problem that first SPL instruction fail to run.. on a733
<apritzel> mainline U-Boot's SPL has the same code, so if you enter the SPL in AArch32, it will switch to AArch64. It's in arch/arm/include/asm/arch-sunxi/boot0.h
<apritzel> for FEL booting we must enter the SPL in AArch32, so that the FEL state can be saved. Then we switch to AArch64 to execute the actual SPL code
<apritzel> at the end we switch back to AArch32, to continue executing the FEL routines in BootROM. Then sunxi-fel does the switch to AArch64 again, to run TF-A
<apritzel> it's all a bit convoluted, thank Allwinner for sticking to an AArch32 BootROM ...
<apritzel> dlan: so are you working on upstream patches for the A733 / Cubie A7A?
evgeny_boger has quit [Ping timeout: 480 seconds]
evgeny_boger has joined #linux-sunxi
evgeny_boger1 has joined #linux-sunxi
evgeny_boger has quit [Ping timeout: 480 seconds]
Daanct12 has quit [Quit: WeeChat 4.6.3]
gsz has joined #linux-sunxi
gsz has quit []
JohnDoe_71Rus has joined #linux-sunxi
<dlan> apritzel: I'm only taking a look at uboot for now, not 100% for sure will upstream them, but want to get it work first (in the worst case, I'd happy someone could continue from my work..)
<dlan> thanks for the arch/arm/include/asm/arch-sunxi/boot0.h note, I think I've got a broken SPL while I'm doing the initial port..
<apritzel> dlan: ok, just wanted to check, for coordination purposes. I am about to finish up the Linux pinctrl driver now, and would start the clocks afterwards
<apritzel> which is all writing code by looking at other code or the manual atm. Without having a nicely accessible board there is not much testing I can do ...
<dlan> you don't have A733 board for now?
<apritzel> I have a tablet only, with secure boot enabled (so extra churn), and no UART except via the SD card pins. I can do some work on it, but it's painful
evgeny_boger has joined #linux-sunxi
evgeny_boger1 has quit [Ping timeout: 480 seconds]
Schimsalabim has quit [Ping timeout: 480 seconds]
Schimsalabim has joined #linux-sunxi
evgeny_boger has quit [Ping timeout: 480 seconds]
cnxsoft has quit [Ping timeout: 480 seconds]
<dlan> apritzel: how do you inspect to get value of rvbar_reg? or CONFIG_SUNXI_RVBAR_ADDRESS in uboot, is there any convenient command from sunxi-fel?
<apritzel> dlan: that's in the user manual (CLU0_RVBARADDR0_L in 5.1.5.1 "CPU_SUBSYS_CTRL Register List"), should be 0x08001004
warpme has quit []
warpme has joined #linux-sunxi
<dlan> apritzel: ok, 0x08001004 works! I've got SPL running finally, thanks
<apritzel> \o/
<apritzel> dlan: what did you do for the DRAM initialisation? "Borrowed" some boot0 code?
<apritzel> or are you not there yet, it's just the early SPL code?
<dlan> No DRAM initialisation!
<dlan> yes, very early SPL code.. basically nothing, with only uart print
<apritzel> good work anyway!
dsimic is now known as Guest22017
dsimic has joined #linux-sunxi
vagrantc has joined #linux-sunxi
Guest22017 has quit [Ping timeout: 480 seconds]
warpme has quit []
gsz has joined #linux-sunxi
hazardchem has quit [Read error: Connection reset by peer]
hazardchem has joined #linux-sunxi
warpme has joined #linux-sunxi
evgeny_boger has joined #linux-sunxi
Schimsalabim has quit [Read error: Connection reset by peer]
Schimsalabim has joined #linux-sunxi
apritzel has quit [Ping timeout: 480 seconds]
warpme has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
evgeny_boger1 has joined #linux-sunxi
warpme has joined #linux-sunxi
evgeny_boger has quit [Ping timeout: 480 seconds]
warpme has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
gsz has quit [Ping timeout: 480 seconds]
warpme has joined #linux-sunxi
Raqbit3398905552 has quit []
Raqbit3398905552 has joined #linux-sunxi
JohnDoe_71Rus has quit [Quit: KVIrc 5.2.6 Quasar http://www.kvirc.net/]
warpme has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
apritzel has joined #linux-sunxi
ungeskriptet_ has quit [Ping timeout: 480 seconds]
ungeskriptet has joined #linux-sunxi
digetx has quit [Remote host closed the connection]
digetx has joined #linux-sunxi
ftg has joined #linux-sunxi