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
<smaeul> szemzoa: where did optee come from? did you build it yourself?
<smaeul> if it is a vendor blob, it probably requires patching in some "head" structure at the beginning
apritzel has quit [Ping timeout: 480 seconds]
rajkosto has quit [Quit: Leaving]
ftg^ has quit [Ping timeout: 480 seconds]
cnxsoft has joined #linux-sunxi
Daanct12 has joined #linux-sunxi
Daaanct12 has joined #linux-sunxi
Daanct12 has quit [Ping timeout: 480 seconds]
Daanct12 has joined #linux-sunxi
Daaanct12 has quit [Remote host closed the connection]
rajkosto has joined #linux-sunxi
Daanct12 has quit [Ping timeout: 480 seconds]
Rajko has joined #linux-sunxi
rajkosto has quit [Read error: Connection reset by peer]
vagrantc has quit [Quit: leaving]
Rajko has quit [Read error: Connection reset by peer]
Daanct12 has joined #linux-sunxi
Daaanct12 has joined #linux-sunxi
Daanct12 has quit [Read error: Connection reset by peer]
Daaanct12 is now known as Daanct12
hentai has joined #linux-sunxi
Daaanct12 has joined #linux-sunxi
hentai has quit []
Daanct12 has quit [Ping timeout: 480 seconds]
Daaanct12 has quit [Remote host closed the connection]
Daanct12 has joined #linux-sunxi
Daaanct12 has joined #linux-sunxi
Daanct12 has quit [Read error: Connection reset by peer]
Daanct12 has joined #linux-sunxi
Daaanct12 has quit [Read error: Connection reset by peer]
Daanct12 has quit [Ping timeout: 480 seconds]
sunshavi_ has quit [Ping timeout: 480 seconds]
hlauer has joined #linux-sunxi
Asara has joined #linux-sunxi
Asara has quit [Ping timeout: 480 seconds]
sunshavi_ has joined #linux-sunxi
Asara has joined #linux-sunxi
Daanct12 has joined #linux-sunxi
paulk-ter has quit [Ping timeout: 480 seconds]
Daanct12 has quit [Read error: Connection reset by peer]
Daanct12 has joined #linux-sunxi
<szemzoa> smaeul: I'm new in the magical world of the aw blobs, but I'm pretty sure the problem comes from some header tricks. I've a vendor based buildroot bsp, it generates an sdcard.img. Than I replaced the boot0 binary on the sdcard, and that is the output.
paulk-ter has joined #linux-sunxi
Asara_ has joined #linux-sunxi
Asara has quit [Ping timeout: 480 seconds]
szemzoa has quit [Remote host closed the connection]
szemzoa has joined #linux-sunxi
apritzel has joined #linux-sunxi
Asara_ has quit [Ping timeout: 480 seconds]
szemzoa has quit [Remote host closed the connection]
szemzoa has joined #linux-sunxi
Asara has joined #linux-sunxi
Daanct12 has quit [Ping timeout: 480 seconds]
Daanct12 has joined #linux-sunxi
igraltist has joined #linux-sunxi
szemzoa has quit [Remote host closed the connection]
szemzoa has joined #linux-sunxi
apritzel has quit [Ping timeout: 480 seconds]
Daaanct12 has joined #linux-sunxi
igraltist has quit [Remote host closed the connection]
igraltist has joined #linux-sunxi
Daanct12 has quit [Ping timeout: 480 seconds]
szemzoa has quit [Remote host closed the connection]
Daanct12 has joined #linux-sunxi
szemzoa has joined #linux-sunxi
Daaanct12 has quit [Ping timeout: 480 seconds]
szemzoa has quit [Ping timeout: 480 seconds]
szemzoa has joined #linux-sunxi
Asara has quit [Ping timeout: 480 seconds]
Daanct12 has quit [Quit: Leaving]
gamiee2 has joined #linux-sunxi
apritzel has joined #linux-sunxi
Asara has joined #linux-sunxi
arnd has joined #linux-sunxi
ftg^ has joined #linux-sunxi
Danct12 has quit [Quit: Quitting]
cnxsoft has quit [Remote host closed the connection]
cnxsoft has joined #linux-sunxi
Danct12 has joined #linux-sunxi
<apritzel> szemzoa: please don't get used to AW blobs, that is mostly a dead end, and a distraction from the real thing (mainline U-Boot)
gamiee2 has quit [Ping timeout: 480 seconds]
<szemzoa> apritzel: ok, so for now, I'm finished with this spl, should I send it somewhere?
<apritzel> szemzoa: we don't want this separate SPL, that's just a kludge for the D1, because that is RISC-V, not ARM
<apritzel> szemzoa: what we want is to integrate the T113 into mainline U-Boot, which is not really complicated, if we ignore the DRAM part
<apritzel> szemzoa: so if you could put what you have somewhere, I would, at some point, make a proper U-Boot port
<apritzel> szemzoa: or you beat me to it ...
szemzoa_ has joined #linux-sunxi
szemzoa has quit [Read error: Connection reset by peer]
szemzoa_ has quit []
szemzoa has joined #linux-sunxi
<szemzoa> apritzel: ok, understood. I don't touched u-boot in the recent years, so we will see how it goes :)
<apritzel> szemzoa: yeah, don't sweat it ;-)
<apritzel> for a start, a LOT has changed in U-Boot in the last years, and the sunxi port is special in some ways anyway
<apritzel> but also I have some V5 patches in the making, which will probably cover the vast majority of the T113 port already
<apritzel> so ideally it's the DRAM code, and then just announcing that the T113 is yet another ARMv7 SUN50I_GEN_H6 port with small DRAM
dliviu has quit []
dliviu has joined #linux-sunxi
<szemzoa> apritzel: these are good news :)
<apritzel> szemzoa: what is the hardware you are doing this on? some available devboard?
<szemzoa> apritzel: no, it's a cheap board with only a few parts: https://github.com/mangopi-sbc/MQ-Dual
<apritzel> so is the T113 the R528 with embedded DRAM? And the F133-A is the embedded DRAM version of the D1? And they are the same die, with the Cortex cores disabled in the RISC-V version?
rajkosto has joined #linux-sunxi
apritzel_ has joined #linux-sunxi
<szemzoa> apritzel: I think yes. For example the D1 and T113 clock are the same, the difference is CPUX_AXI_CFG_REG on D1 is CCM_BASE + 0xD00, on T113 it's CCM_BASE + 0x500
<apritzel> that's an annoying difference, but fits perfectly in what AW would do ;-)
<szemzoa> apritzel: yes, took about an hour to figure out why the clock setup isn't working :)
apritzel_ has quit [Ping timeout: 480 seconds]
vagrantc has joined #linux-sunxi
JohnDoe_71Rus has joined #linux-sunxi
gamiee2 has joined #linux-sunxi
<smaeul> apritzel: szemzoa: none of the registers moved between T113 and D1. the ARM clock is at 0x500 and the RISC-V clock is at 0xD00 on both. you just need to choose the right clock for the CPU you are running on
<apritzel> smaeul: yeah, was wondering about that
<apritzel> szemzoa: unfortunately "cheap board" is really relative these days, I find it for 32 USD on Aliexpress ...
<apritzel> szemzoa: unless you have a cheaper source
<smaeul> both the MQ and MQ-R come in T113 and F133 versions
<apritzel> smaeul: cool, thanks! And yes, one has to be careful with the numbers there ...
cnxsoft has quit [Remote host closed the connection]
rajkosto has quit [Read error: Connection reset by peer]
hlauer has quit [Ping timeout: 480 seconds]
paulk-ter has quit [Ping timeout: 480 seconds]
Hypfer has joined #linux-sunxi
Hypfer3 has quit [Ping timeout: 480 seconds]
Hypfer is now known as Hypfer3
paulk-ter has joined #linux-sunxi
apritzel has quit [Ping timeout: 480 seconds]
veremitz has quit [Ping timeout: 480 seconds]
jernej has quit [Remote host closed the connection]
jernej has joined #linux-sunxi
veremitz has joined #linux-sunxi
apritzel_ has joined #linux-sunxi
sunshavi_ has quit []
sunshavi has joined #linux-sunxi
JohnDoe_71Rus has quit []
apritzel_ has quit [Ping timeout: 480 seconds]
montjoie_ has joined #linux-sunxi
gamiee2 has quit [Ping timeout: 480 seconds]
apritzel_ has joined #linux-sunxi
arti has quit [Quit: arti]
apritzel_ has left #linux-sunxi [#linux-sunxi]
apritzel has joined #linux-sunxi
vagrantc has quit [Quit: leaving]