narmstrong changed the topic of #linux-amlogic to: Amlogic mainline kernel development discussion - our wiki http://linux-meson.com/ - ml linux-amlogic@lists.infradead.org - official channel moved from Freenode - publicly logged on https://libera.irclog.whitequark.org/linux-amlogic
gis has quit [Ping timeout: 256 seconds]
naoki has joined #linux-amlogic
naoki has quit [Quit: naoki]
gis has joined #linux-amlogic
jacobk has joined #linux-amlogic
jacobk has quit [Ping timeout: 250 seconds]
jacobk has joined #linux-amlogic
JohnnyonF has joined #linux-amlogic
JohnnyonFlame has quit [Ping timeout: 240 seconds]
buzzmarshall has quit [Quit: Konversation terminated!]
camus has quit [Ping timeout: 250 seconds]
camus has joined #linux-amlogic
gis has quit [Ping timeout: 250 seconds]
<exkcnoe[m]> when the mi box 3 will be added to mainline kernel?
<exkcnoe[m]> *mi box 3 dts
<exkcnoe[m]> ,narmstrong
gis has joined #linux-amlogic
JohnnyonF has quit [Read error: Connection reset by peer]
JohnnyonFlame has joined #linux-amlogic
ebach has joined #linux-amlogic
<narmstrong> exkcnoe[m]: sorry for the delay, I thought chewitt would review v2
elastic_dog has quit [Ping timeout: 250 seconds]
elastic_dog has joined #linux-amlogic
f_ has joined #linux-amlogic
rockosov_ has quit [Ping timeout: 250 seconds]
rockosov_ has joined #linux-amlogic
f_ has quit [Ping timeout: 250 seconds]
elastic_dog has quit [Ping timeout: 240 seconds]
elastic_dog has joined #linux-amlogic
ebach has quit [Remote host closed the connection]
ebach has joined #linux-amlogic
ebach has quit [Remote host closed the connection]
ebach has joined #linux-amlogic
gis has quit [Ping timeout: 256 seconds]
JohnnyonFlame has quit [Read error: Connection reset by peer]
gis has joined #linux-amlogic
JohnnyonFlame has joined #linux-amlogic
<minute> narmstrong: audio works now @ bpi reform! (wm8960)
<narmstrong> minute: nice!
<narmstrong> now I was a mnt reform 2 laptop with a311d ^^
<minute> narmstrong: maybe we can make you a good deal!
<minute> just need to fix wifi somehow
<narmstrong> sure ! no hurry for now
<minute> i would definitely want to provide you with one
<narmstrong> I would love that!
f_ has joined #linux-amlogic
<f_> Let's reverse-engineer BL2!
<f_> We're lucky here because (1) it's based on TF-A and (2) Amlogic released old sources before.
<f_> (circa 2015, but still)
<f_> Reverse-engineering will (I'm copying what narmstrong said before) help us figure out which additions they added.
<f_> But right now I'm struggling to get Ghidra to work.
<f_> The decompiler doesn't work :S
<f_> There we go. It works!
<f_> Now let's import some "function IDs" to make reverse-engineering a little easier.
buzzmarshall has joined #linux-amlogic
JohnnyonFlame has quit [Ping timeout: 240 seconds]
JohnnyonFlame has joined #linux-amlogic
vagrantc has joined #linux-amlogic
<f_> Sigh
<f_> I have to fix all of amlogic's stuff...
<f_> Oh well
<f_> linking fails, but I actually don't need to final bl2.bin.....all I need are object files
<f_> Now that I have those I can analyse them and use their symbols!
<minute> is BL2 the only closed part of TF-A?
<f_> TF-A is libre.
<f_> Amlogic, however, have made their TF-A fork proprietary, so that includes BL2 and BL31.
<f_> I assume BL30/SCP is based on ARM SCP-Firmware, but I'm not sure.
<f_> At some point they freed BL2 (~2015) but they made it proprietary afterwards.
<f_> minute: But someone reverse-engineered Amlogic's BL31 and thus TF-A BL31 now supports most amlogic SoCs =)
<f_> (it's a minimal implementation, but it works)
<f_> (and it works reliably enough according to my tests)
<f_> What I'm about to do though, I could do it with any Amlogic SoC's BL2 binary, because I suspect they kept using the same codebase.
<f_> I have most object files I want. Let's analyse all that!
f_ has quit [Quit: Lost terminal]
jacobk has quit [Ping timeout: 250 seconds]
vagrantc has quit [Quit: leaving]