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
jkl has joined #linux-amlogic
vagrantc has quit [Quit: leaving]
jelly has joined #linux-amlogic
naoki has joined #linux-amlogic
kenny has quit [Quit: WeeChat 4.0.2]
Lyude has quit [Ping timeout: 246 seconds]
Guest6443 has joined #linux-amlogic
Lyude has joined #linux-amlogic
Guest6443 has quit [Ping timeout: 260 seconds]
hexdump0815 has quit [Ping timeout: 244 seconds]
hexdump0815 has joined #linux-amlogic
buzzmarshall has quit [Quit: Konversation terminated!]
naoki has quit [Quit: naoki]
naoki has joined #linux-amlogic
jdp_t has joined #linux-amlogic
lyudess has joined #linux-amlogic
Lyude has quit [Read error: Connection reset by peer]
jdp_t has quit [Ping timeout: 258 seconds]
JohnnyonFlame has quit [Read error: Connection reset by peer]
luka177 has quit [*.net *.split]
naoki has quit [*.net *.split]
hexdump0815 has quit [*.net *.split]
dliviu has quit [*.net *.split]
ChanServ has quit [*.net *.split]
camus has quit [*.net *.split]
anessen97 has quit [*.net *.split]
rellla_ has quit [*.net *.split]
cottsay has quit [*.net *.split]
leah has quit [*.net *.split]
tsegers has quit [*.net *.split]
steev has quit [*.net *.split]
BlueMatt has quit [*.net *.split]
phh has quit [*.net *.split]
adema has quit [*.net *.split]
Consolatis has quit [*.net *.split]
zkrx has quit [*.net *.split]
rockosov has quit [*.net *.split]
jkl has quit [*.net *.split]
paddymahoney has quit [*.net *.split]
fiii has quit [*.net *.split]
xdarklight has quit [*.net *.split]
tomeu has quit [*.net *.split]
GNUtoo has quit [*.net *.split]
psydroid has quit [*.net *.split]
exkcmoeadmin[m] has quit [*.net *.split]
tortoise has quit [*.net *.split]
CounterPillow has quit [*.net *.split]
khilman has quit [*.net *.split]
ccaione has quit [*.net *.split]
kbingham has quit [*.net *.split]
Stricted has quit [*.net *.split]
iprusov has quit [*.net *.split]
kilobyte_ch has quit [*.net *.split]
gabes has quit [*.net *.split]
jelly has quit [*.net *.split]
ndufresne has quit [*.net *.split]
arnd has quit [*.net *.split]
narmstrong has quit [*.net *.split]
aeroraptor has quit [*.net *.split]
maku has quit [*.net *.split]
BlueMatt[m] has quit [*.net *.split]
Tartarus has quit [*.net *.split]
wens has quit [*.net *.split]
mdrjr has quit [*.net *.split]
dlan has quit [*.net *.split]
tsegers has joined #linux-amlogic
cottsay has joined #linux-amlogic
rellla_ has joined #linux-amlogic
camus has joined #linux-amlogic
phh has joined #linux-amlogic
GNUtoo has joined #linux-amlogic
rockosov has joined #linux-amlogic
anessen97 has joined #linux-amlogic
gabes has joined #linux-amlogic
tortoise has joined #linux-amlogic
iprusov has joined #linux-amlogic
kilobyte_ch has joined #linux-amlogic
dlan has joined #linux-amlogic
Stricted has joined #linux-amlogic
BlueMatt has joined #linux-amlogic
steev has joined #linux-amlogic
adema has joined #linux-amlogic
xdarklight has joined #linux-amlogic
wens has joined #linux-amlogic
fiii has joined #linux-amlogic
Consolatis has joined #linux-amlogic
hexdump0815 has joined #linux-amlogic
arnd has joined #linux-amlogic
mdrjr has joined #linux-amlogic
ndufresne has joined #linux-amlogic
paddymahoney has joined #linux-amlogic
jelly has joined #linux-amlogic
naoki has joined #linux-amlogic
narmstrong has joined #linux-amlogic
dliviu has joined #linux-amlogic
Tartarus has joined #linux-amlogic
aeroraptor has joined #linux-amlogic
luka177 has joined #linux-amlogic
leah has joined #linux-amlogic
zkrx has joined #linux-amlogic
jelly has quit [Max SendQ exceeded]
hays has quit [Max SendQ exceeded]
kbingham has joined #linux-amlogic
CounterPillow has joined #linux-amlogic
khilman has joined #linux-amlogic
ccaione has joined #linux-amlogic
ChanServ has joined #linux-amlogic
jkl has joined #linux-amlogic
jelly has joined #linux-amlogic
BlueMatt[m] has joined #linux-amlogic
luka177 has quit [Ping timeout: 260 seconds]
luka177 has joined #linux-amlogic
f_ has joined #linux-amlogic
<f_> Out of curiosity I tried to feed that aml_ddr.bin.dec file into Ghidra and to my surprise it detected multiple nested files inside(?)
psydroid has joined #linux-amlogic
exkcmoeadmin[m] has joined #linux-amlogic
tomeu has joined #linux-amlogic
maku has joined #linux-amlogic
<f_> But I threated it as a single file.......and it didn't find anything..
<f_> I chose AARCH64 V8A which worked with GXBB BL2 but I guess it uses a different arch.
<f_> And I got confused with *.fw files
<f_> I think aml_ddr.fw is indeed written by Amlogic.
<f_> The rest is most likely Synopsys.
<f_> $ strings aml_ddr.dec
<f_> <...>
<f_> ZBuilt : 15:37:51, Mar 26 2020. g12a gf098346 - gongwei.chen@droid11-sz
<f_> Yes, written by Amlogic.
<f_> So they did move some DDR init code somewhere else.
<f_> Just thought that could be interesting to share for other people interested by G12A+ SoCs and reverse-engineering.
<f_> (for now I'll stay on GXBB and maybe also start working on GXL)
<f_> (either alongside or after I'm done with GXBB)
jacobk has quit [Ping timeout: 246 seconds]
gabes has quit [Quit: The Lounge - https://thelounge.chat]
gabes has joined #linux-amlogic
ldevulder has joined #linux-amlogic
gabes2 has joined #linux-amlogic
gabes has quit [Read error: Connection reset by peer]
gabes2 is now known as gabes
ldevulder has quit [Ping timeout: 240 seconds]
asriel has quit [Quit: Don't drink the water. They put something in it to make you forget.]
asriel has joined #linux-amlogic
ldevulder has joined #linux-amlogic
kenny has joined #linux-amlogic
luka177 has quit [Ping timeout: 246 seconds]
luka177 has joined #linux-amlogic
buzzmarshall has joined #linux-amlogic
naoki has quit [Quit: naoki]
luka177 has quit [Ping timeout: 244 seconds]
luka177 has joined #linux-amlogic
luka177 has quit [Ping timeout: 245 seconds]
luka177 has joined #linux-amlogic
vagrantc has joined #linux-amlogic
iprusov has quit [Ping timeout: 250 seconds]
iprusov has joined #linux-amlogic
exkcmoeadmin[m] has quit [Quit: You have been kicked for being idle]
luka177 has quit [Ping timeout: 244 seconds]
luka177 has joined #linux-amlogic
<minute> f_: as far as i know the DDRC's ISA is ARC
<minute> f_: this is a IDA disassembly i got in 2019 from the imx8mq ddrc which should be the same http://dump.mntmn.com/lpddr4_pmu_train_1d_imem.asm.txt
luka177 has quit [Ping timeout: 244 seconds]
luka177 has joined #linux-amlogic
luka177 has quit [Ping timeout: 245 seconds]
luka177 has joined #linux-amlogic
<f_> hmm ok
<f_> minute: Thanks for the tip.
<minute> it could be reversible if one figures out register meanings and, unfortunately, some special "ext" vendor extensions
<f_> I still have to figure out what the registers mean on gxbb/gxl :)
<minute> there is a mechanism to load and store all the DDRC registers for the purpose of reloading them after deep sleep, so my guess is the DDRC fw also only pokes to these regs, and if they are mapped with similar offsets from the DDRC POV, one could deduce to which regs the fw is writing where.
<minute> but i also have kind of moved on from imx8mq to newer chips
<f_> Sure
<f_> unfourtunately don't own anything newer than gxbb or gxl
<f_> So I don't have G12A+, when they started using standalone DDR firmware.
<f_> But it does seem like they got ddr firmware from Synopsys and made their own separate blob.
<f_> aml_ddr.fw looks like they just moved DDR code there
<minute> ah i see
luka177 has quit [Ping timeout: 240 seconds]
luka177 has joined #linux-amlogic
luka177 has quit [Ping timeout: 250 seconds]
luka177 has joined #linux-amlogic
luka177 has quit [Ping timeout: 246 seconds]
luka177 has joined #linux-amlogic
luka177 has quit [Ping timeout: 246 seconds]
luka177 has joined #linux-amlogic
luka177 has quit [Ping timeout: 246 seconds]
luka177 has joined #linux-amlogic
luka177 has quit [Ping timeout: 245 seconds]
luka177 has joined #linux-amlogic
samueldr has joined #linux-amlogic
luka177 has quit [Ping timeout: 246 seconds]
luka177 has joined #linux-amlogic
f_ has quit [Quit: Disconnecting.]
naoki has joined #linux-amlogic
jdp_t has joined #linux-amlogic
luka177 has quit [Ping timeout: 250 seconds]
luka177 has joined #linux-amlogic
vagrantc has quit [Ping timeout: 258 seconds]
vagrantc has joined #linux-amlogic
vagrantc has quit [Ping timeout: 264 seconds]