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
ftg has quit [Ping timeout: 480 seconds]
apritzel has quit [Ping timeout: 480 seconds]
sauln_ has joined #linux-sunxi
sauln_ has quit []
cnxsoft has joined #linux-sunxi
Daanct12 has joined #linux-sunxi
Daanct12 has quit [Remote host closed the connection]
Daanct12 has joined #linux-sunxi
apritzel has joined #linux-sunxi
JohnDoe_71Rus has joined #linux-sunxi
Daanct12 has quit [Quit: Leaving]
apritzel has quit [Ping timeout: 480 seconds]
Turl has quit [Quit: . o O ( why am I quitting? )]
Turl has joined #linux-sunxi
anarsoul|2 has joined #linux-sunxi
eldondev_ has quit [Remote host closed the connection]
eldondev has joined #linux-sunxi
anarsoul has quit [Read error: Connection reset by peer]
diveben_ has quit [Remote host closed the connection]
diveben_ has joined #linux-sunxi
samueldr_ has quit [Remote host closed the connection]
samueldr 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 joined #linux-sunxi
aggi has quit [Remote host closed the connection]
aggi has joined #linux-sunxi
bauen1 has joined #linux-sunxi
<cyrozap> apritzel: Do you mean the address of the fel_stash struct in .data? Or the address of the fel_stash_addr label where the address of the fel_stash struct in .data gets written to? If you meant the former, no, the address of the fel_stash struct in .data hasn't changed (0x28030 in both the working SPL and broken SPL). If you meant the latter, yes, the fel_stash_addr label is located at 0x21ff0 in the
<cyrozap> working SPL and 0x22060 in the broken one.
<apritzel> cyrozap: yeah, thanks, was just clasping for straws here
<apritzel> I started comparing the disassembly of dram_sun50i_h616.o line by line, so far I didn't see any issue (but I am only half-way in)
<apritzel> a colleague suggested "compiler bisecting": combine half of the .o files from GCC 10 with the other half compiled by GCC 12, then keep narrowing this in
<apritzel> but it sounds somewhat involved to pull this off in U-Boot
<cyrozap> apritzel: I did my binary comparison using Ghidra (FOSS) to disassemble the files and Google BinDiff (unfortunately proprietary, but free of charge) to do the comparison, and it saved quite a lot of time for me. If you're not opposed to running the occasional proprietary tool, BinDiff could significantly speed up your diffing efforts since it can compare not just the disassembly, but also the CFGs of
<cyrozap> the functions.
<gamiee> oh, didn't knew about bindiff, thanks!
<cyrozap> Here's the link to download BinDiff, if you're interested: https://www.zynamics.com/software.html
<cyrozap> The process to use it is: 1) Build BinExport (https://github.com/google/binexport/tree/67be7ce3b30076374c31789636558a7e8b1374fc/java) for your version of Ghidra and install the plugin in Ghidra, 2) Use Ghidra to disassemble each binary, 3) Use Ghidra's export function to export the disassembled binaries as BinExport files, 4) Load the BinExport files into BinDiff for diffing.
<apritzel> cyrozap: so does that sync back when a few instructions differ, then become the same again? Because that's the main issue when diff'ing objdumps
<apritzel> for instance I saw that the one GCC version decided to flip the branches of an "if" statement (handling else/if vs. if/else)
gnarface has quit [Remote host closed the connection]
gnarface has joined #linux-sunxi
Danct12 has quit [Quit: Quitting]
anarsoul|2 has quit [Ping timeout: 480 seconds]
anarsoul has joined #linux-sunxi
duol_ has joined #linux-sunxi
duol has quit [Read error: Connection reset by peer]
duol has joined #linux-sunxi
JohnDoe_71Rus has quit []
duol_ has quit [Ping timeout: 480 seconds]
sunshavi has joined #linux-sunxi
ftg has joined #linux-sunxi
duol has quit [Ping timeout: 480 seconds]
JohnDoe_71Rus has joined #linux-sunxi
vagrantc has joined #linux-sunxi
cnxsoft has quit []
anarsoul|2 has joined #linux-sunxi
anarsoul has quit [Read error: Connection reset by peer]
evgeny_boger has quit [Ping timeout: 480 seconds]
anarsoul has joined #linux-sunxi
anarsoul|2 has quit [Read error: Connection reset by peer]
apritzel has quit [Ping timeout: 480 seconds]
evgeny_boger has joined #linux-sunxi
JohnDoe_71Rus has quit []
apritzel has joined #linux-sunxi
linusw__ has joined #linux-sunxi
Danct12 has joined #linux-sunxi
evgeny_boger has quit [Quit: evgeny_boger]
ftg has quit [Ping timeout: 480 seconds]
evgeny_boger has joined #linux-sunxi
ftg has joined #linux-sunxi
bauen1 has quit [Ping timeout: 480 seconds]