<bauen1>
apritzel: thanks, seems i'm getting around 27MB/s sequential read from the usb, so not perfect ; so it's probably encryption
apritzel has quit [Ping timeout: 480 seconds]
bauen1 has quit [Ping timeout: 480 seconds]
gsz has joined #linux-sunxi
<cyrozap>
apritzel: SD boot with the old U-Boot compiled with GCC 12.1.0 works fine. FEL boot with that same binary fails.
<cyrozap>
Also, for what it's worth, the latest U-Boot compiled with GCC 12.1.0 also works fine from SD.
<cyrozap>
And using the DTB from U-Boot, I can even boot a mainline kernel.
bauen1 has joined #linux-sunxi
<jernej>
Kernel should be always able to boot with old DT (backward compatibility). Other direction is not guaranteed (forward compatibility).
apritzel has joined #linux-sunxi
apritzel has quit [Ping timeout: 480 seconds]
apritzel has joined #linux-sunxi
<cyrozap>
jernej: Right, I just meant that I was able to boot the kernel, since there's no DTS for my board (or the H616 SoC) in mainline yet.
<cyrozap>
apritzel: I think you were offline when I sent my last messages, but to summarize them: yes, booting from SD works with all the versions of U-Boot/GCC I've tried, it's just FEL that for some reason isn't working.
evgeny_boger has joined #linux-sunxi
dliviu has quit [Quit: Going away]
dliviu has joined #linux-sunxi
bauen1 has quit [Ping timeout: 480 seconds]
bauen1 has joined #linux-sunxi
ftg has joined #linux-sunxi
gsz has quit [Ping timeout: 480 seconds]
gsz has joined #linux-sunxi
JohnDoe_71Rus has quit []
gsz has quit [Quit: leaving]
bauen1_ has joined #linux-sunxi
<apritzel>
cyrozap: thanks for the update. I am about to compile a GCC 12 here to reproduce that
bauen1 has quit [Ping timeout: 480 seconds]
vpeter has quit [Remote host closed the connection]
cnxsoft has quit []
user6476 has joined #linux-sunxi
JohnDoe_71Rus has joined #linux-sunxi
vpeter has joined #linux-sunxi
bauen1_ has quit [Ping timeout: 480 seconds]
bauen1 has joined #linux-sunxi
vagrantc has joined #linux-sunxi
bauen1 has quit [Ping timeout: 480 seconds]
evgeny_boger has quit [Ping timeout: 480 seconds]
bauen1 has joined #linux-sunxi
bauen1_ has joined #linux-sunxi
bauen1 has quit [Ping timeout: 480 seconds]
apritzel_ has joined #linux-sunxi
apritzel has quit [Ping timeout: 480 seconds]
apritzel_ has quit [Ping timeout: 480 seconds]
Moe_Icenowy has quit []
MoeIcenowy has joined #linux-sunxi
vpeter has quit [Remote host closed the connection]
<apritzel>
cyrozap: so I tried, but can't reproduce it
<apritzel>
I took GCC 12.1.0 from kernel.org, and compiled U-Boot and TF-A with that, for the H616 X96 Mate TV box
<apritzel>
and FEL boot into the U-Boot prompt worked fine there
hentai has quit [Quit: Leaving]
hentai has joined #linux-sunxi
hentai has quit [Read error: Connection reset by peer]
hentai has joined #linux-sunxi
hentai has quit [Remote host closed the connection]
hentai has joined #linux-sunxi
<cyrozap>
apritzel: Thank you for trying to reproduce the issue. Want me to send you the working and non-working U-Boot binaries I built? Maybe it's my hardware setup that's causing problems with one binary but not the other.
hlauer has quit [Ping timeout: 480 seconds]
<cyrozap>
I'm thinking that if both binaries work for you, then the issue is with my hardware, and if the new one fails, then the issue is with my toolchain.
<cyrozap>
I'm doing this on the Orange Pi Zero2, btw.
<cyrozap>
Not sure if that might make a difference.
anarsoul has quit [Ping timeout: 480 seconds]
anarsoul has joined #linux-sunxi
<apritzel>
cyrozap: does it already break in the SPL, before it returns? So when you do "sunxi-fel spl spl/sunxi-spl.bin", does it return cleanly?
<apritzel>
my OpiZero2 seems broken, unfortunately, so I am using some H616 TV box
<cyrozap>
apritzel: No, that command results in the same error. Building U-Boot with DEBUG=1, the last line printed on the UART is "Returning to FEL sp=53a18, lr=53ad8".
<apritzel>
cyrozap: can you send me just that SPL file?