<Tartarus>
LordKalma: er, strip off the checksum header and use dumpimage -l to see what it says
<LordKalma>
Tartarus, thank you. In the meanwhile I got a reply, and it what I needed to do was load the file with offset 0x8040 (aka start of U-Boot + header), at regular address 0x4A00'0000
<LordKalma>
Tartarus, okay, let me get you up to speed. It's an Allwinner R16, which is basically an A33. Mainline U-Boot runs just fine and boots the linux kernel just fine. We already decompiled the DTS and with the help of people from #linux-sunxi on OFTC we made a clean DTS that looks like an "upstream" one. I haven't submited a patch because we're still
<LordKalma>
if you check the buildroot we have a beautiful DTS, uboot and kernel defconfigs, buildroot defconfig
<LordKalma>
wifi and USB host is working, everything is working
<LordKalma>
except for the panel, that only works when vendor's u-boot is flashed over my compiled-from-source one
<LordKalma>
and I don't want that
<LordKalma>
I want to fix this
<LordKalma>
that's why I took the effort to understand how to load this in Ghidra, I pin pointed the right function
<LordKalma>
and now we want to 1) understand how to add this initialization to mainline uboot (first maybe via a patch on our buildroot or forked uboot, and then upstream it), or 2) forget about the LCD panel at uboot time and just add the initialization code to the linux driver
<LordKalma>
we're thinking the latter might be easier
<LordKalma>
but we still need to understand all the vendor u-boot is doing to initialize the panel
<LordKalma>
so we can port it to the driver
Leopold has quit [Remote host closed the connection]
Leopold has joined #u-boot
persmule__ has joined #u-boot
persmule_ has quit [Remote host closed the connection]
vagrantc has joined #u-boot
Leopold has quit [Ping timeout: 255 seconds]
<marex>
LordKalma: do the proper init in Linux
Leopold has joined #u-boot
clarity has quit [Ping timeout: 252 seconds]
sbach has quit [Read error: Connection reset by peer]