montjoie has quit [Ping timeout: 264 seconds]
montjoie has joined #linux-amlogic
luka177 has quit [Read error: Connection reset by peer]
vagrantc has quit [Quit: leaving]
luka177 has joined #linux-amlogic
camus has quit [Ping timeout: 245 seconds]
vagrantc has joined #linux-amlogic
Danct12 has quit [Remote host closed the connection]
camus has joined #linux-amlogic
vagrantc has quit [Quit: leaving]
buzzmarshall has quit [Quit: Konversation terminated!]
luka177 has quit [Read error: Connection reset by peer]
jacobk has joined #linux-amlogic
luka177 has joined #linux-amlogic
Lyude has quit [Read error: Connection reset by peer]
Lyude has joined #linux-amlogic
luka177 has quit [Ping timeout: 264 seconds]
luka177 has joined #linux-amlogic
elastic_dog has quit [Ping timeout: 245 seconds]
jacobk has quit [Ping timeout: 260 seconds]
luka177 has quit [Read error: Connection reset by peer]
luka177 has joined #linux-amlogic
f_ has joined #linux-amlogic
<
f_>
I don't think I'll be reimplementing it or anything, but I want to know what it does.
<
f_>
First let's try using Ghidra the way it's intended to be used :P
<
f_>
I didn't have to name any of the struct members lol
<
f_>
Just importing the structs from timing.h into Ghidra and teaching it where the structs are names all members automatically!
<
f_>
And they're actually recognised as structs
<
f_>
Just pushed. Does make a difference!
<
f_>
Actually just imported from acs.h and timing.h
<
f_>
They're in U-Boot/arch/arm/include/asm/arch-gxb/
<
f_>
(in the Amlogic fork, not upstream U-Boot)
<
f_>
No need to spend a day naming all struct members now!
<
f_>
Actually readable code.
<
f_>
Compare this with the bl2.c from yesterday
<
f_>
Much more readable :)
<
f_>
I love Ghidra.
<
f_>
If only it was a TUI program with Vim keybindings though lol
JohnnyonF has quit [Read error: Connection reset by peer]
rockosov has quit [Ping timeout: 256 seconds]
rockosov has joined #linux-amlogic
f__ has joined #linux-amlogic
f_ has quit [Ping timeout: 250 seconds]
f__ is now known as f_
luka177 has quit [Read error: Connection reset by peer]
luka177 has joined #linux-amlogic
<
f_>
Still funny how acs.bin can help reverse-engineering bl2.bin
<
f_>
one line fix to fixup ACSBaby!!!
<
f_>
Will help me
*a lot*
buzzmarshall has joined #linux-amlogic
luka177 has quit [Read error: Connection reset by peer]
luka177 has joined #linux-amlogic
<
f_>
I'm now working on pctl init.
<
f_>
As said before, they did a total mess trying to define the registers to write.
<
f_>
(or it's Ghidra being Ghidra)
<
f_>
Didn't fully look at pre_init
<
f_>
but I figured out I could write pctl init while looking at a decompiled ddr_pctl_init() and ddr_pre_init() at the same time.
f_ has quit [Ping timeout: 250 seconds]
luka177 has quit [Ping timeout: 264 seconds]
luka177 has joined #linux-amlogic
luka177 has quit [Ping timeout: 252 seconds]
luka177 has joined #linux-amlogic
luka177 has quit [Read error: Connection reset by peer]
luka177 has joined #linux-amlogic
luka177 has quit [Read error: Connection reset by peer]
luka177 has joined #linux-amlogic
vagrantc has joined #linux-amlogic
luka177 has quit [Read error: Connection reset by peer]
luka177 has joined #linux-amlogic
luka177 has quit [Read error: Connection reset by peer]
luka177 has joined #linux-amlogic
JohnnyonFlame has joined #linux-amlogic
kenny has quit [Quit: WeeChat 3.8]
kenny has joined #linux-amlogic
kenny has quit [Client Quit]
kenny has joined #linux-amlogic
GNUtoo has quit [Remote host closed the connection]
GNUtoo has joined #linux-amlogic