00:04
jkl has joined #linux-amlogic
00:07
vagrantc has quit [Quit: leaving]
00:31
jelly has joined #linux-amlogic
01:33
naoki has joined #linux-amlogic
02:38
kenny has quit [Quit: WeeChat 4.0.2]
02:59
Lyude has quit [Ping timeout: 246 seconds]
03:02
Guest6443 has joined #linux-amlogic
03:13
Lyude has joined #linux-amlogic
03:16
Guest6443 has quit [Ping timeout: 260 seconds]
03:40
hexdump0815 has quit [Ping timeout: 244 seconds]
03:43
hexdump0815 has joined #linux-amlogic
03:51
buzzmarshall has quit [Quit: Konversation terminated!]
04:55
naoki has quit [Quit: naoki]
04:55
naoki has joined #linux-amlogic
05:07
jdp_t has joined #linux-amlogic
05:13
lyudess has joined #linux-amlogic
05:13
Lyude has quit [Read error: Connection reset by peer]
05:36
jdp_t has quit [Ping timeout: 258 seconds]
05:59
JohnnyonFlame has quit [Read error: Connection reset by peer]
07:11
luka177 has quit [*.net *.split]
07:11
naoki has quit [*.net *.split]
07:11
hexdump0815 has quit [*.net *.split]
07:11
dliviu has quit [*.net *.split]
07:11
ChanServ has quit [*.net *.split]
07:11
camus has quit [*.net *.split]
07:11
anessen97 has quit [*.net *.split]
07:11
rellla_ has quit [*.net *.split]
07:11
cottsay has quit [*.net *.split]
07:11
leah has quit [*.net *.split]
07:11
tsegers has quit [*.net *.split]
07:11
steev has quit [*.net *.split]
07:11
BlueMatt has quit [*.net *.split]
07:11
phh has quit [*.net *.split]
07:11
adema has quit [*.net *.split]
07:11
Consolatis has quit [*.net *.split]
07:11
zkrx has quit [*.net *.split]
07:11
rockosov has quit [*.net *.split]
07:11
jkl has quit [*.net *.split]
07:11
paddymahoney has quit [*.net *.split]
07:11
fiii has quit [*.net *.split]
07:11
xdarklight has quit [*.net *.split]
07:11
tomeu has quit [*.net *.split]
07:11
GNUtoo has quit [*.net *.split]
07:11
psydroid has quit [*.net *.split]
07:11
exkcmoeadmin[m] has quit [*.net *.split]
07:11
tortoise has quit [*.net *.split]
07:11
CounterPillow has quit [*.net *.split]
07:11
khilman has quit [*.net *.split]
07:11
ccaione has quit [*.net *.split]
07:11
kbingham has quit [*.net *.split]
07:11
Stricted has quit [*.net *.split]
07:11
iprusov has quit [*.net *.split]
07:11
kilobyte_ch has quit [*.net *.split]
07:11
gabes has quit [*.net *.split]
07:11
jelly has quit [*.net *.split]
07:11
ndufresne has quit [*.net *.split]
07:11
arnd has quit [*.net *.split]
07:11
narmstrong has quit [*.net *.split]
07:11
aeroraptor has quit [*.net *.split]
07:11
maku has quit [*.net *.split]
07:11
BlueMatt[m] has quit [*.net *.split]
07:11
Tartarus has quit [*.net *.split]
07:11
wens has quit [*.net *.split]
07:11
mdrjr has quit [*.net *.split]
07:11
dlan has quit [*.net *.split]
07:12
tsegers has joined #linux-amlogic
07:19
cottsay has joined #linux-amlogic
07:19
rellla_ has joined #linux-amlogic
07:19
camus has joined #linux-amlogic
07:19
phh has joined #linux-amlogic
07:19
GNUtoo has joined #linux-amlogic
07:19
rockosov has joined #linux-amlogic
07:19
anessen97 has joined #linux-amlogic
07:19
gabes has joined #linux-amlogic
07:19
tortoise has joined #linux-amlogic
07:19
iprusov has joined #linux-amlogic
07:19
kilobyte_ch has joined #linux-amlogic
07:19
dlan has joined #linux-amlogic
07:19
Stricted has joined #linux-amlogic
07:19
BlueMatt has joined #linux-amlogic
07:19
steev has joined #linux-amlogic
07:19
adema has joined #linux-amlogic
07:19
xdarklight has joined #linux-amlogic
07:19
wens has joined #linux-amlogic
07:19
fiii has joined #linux-amlogic
07:19
Consolatis has joined #linux-amlogic
07:19
hexdump0815 has joined #linux-amlogic
07:19
arnd has joined #linux-amlogic
07:19
mdrjr has joined #linux-amlogic
07:19
ndufresne has joined #linux-amlogic
07:19
paddymahoney has joined #linux-amlogic
07:19
jelly has joined #linux-amlogic
07:19
naoki has joined #linux-amlogic
07:19
narmstrong has joined #linux-amlogic
07:19
dliviu has joined #linux-amlogic
07:19
Tartarus has joined #linux-amlogic
07:19
aeroraptor has joined #linux-amlogic
07:19
luka177 has joined #linux-amlogic
07:19
leah has joined #linux-amlogic
07:19
zkrx has joined #linux-amlogic
07:19
jelly has quit [Max SendQ exceeded]
07:19
hays has quit [Max SendQ exceeded]
07:21
kbingham has joined #linux-amlogic
07:21
CounterPillow has joined #linux-amlogic
07:21
khilman has joined #linux-amlogic
07:21
ccaione has joined #linux-amlogic
07:21
ChanServ has joined #linux-amlogic
07:21
jkl has joined #linux-amlogic
07:22
jelly has joined #linux-amlogic
07:22
BlueMatt[m] has joined #linux-amlogic
07:35
luka177 has quit [Ping timeout: 260 seconds]
07:51
luka177 has joined #linux-amlogic
08:41
f_ has joined #linux-amlogic
09:33
<
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(?)
09:33
psydroid has joined #linux-amlogic
09:33
exkcmoeadmin[m] has joined #linux-amlogic
09:34
tomeu has joined #linux-amlogic
09:34
maku has joined #linux-amlogic
09:34
<
f_ >
But I threated it as a single file.......and it didn't find anything..
09:35
<
f_ >
I chose AARCH64 V8A which worked with GXBB BL2 but I guess it uses a different arch.
09:36
<
f_ >
And I got confused with *.fw files
09:36
<
f_ >
I think aml_ddr.fw is indeed written by Amlogic.
09:36
<
f_ >
The rest is most likely Synopsys.
09:37
<
f_ >
$ strings aml_ddr.dec
09:37
<
f_ >
ZBuilt : 15:37:51, Mar 26 2020. g12a gf098346 - gongwei.chen@droid11-sz
09:38
<
f_ >
Yes, written by Amlogic.
09:38
<
f_ >
So they did move some DDR init code somewhere else.
09:39
<
f_ >
Just thought that could be interesting to share for other people interested by G12A+ SoCs and reverse-engineering.
09:39
<
f_ >
(for now I'll stay on GXBB and maybe also start working on GXL)
09:40
<
f_ >
(either alongside or after I'm done with GXBB)
10:01
jacobk has quit [Ping timeout: 246 seconds]
11:06
gabes has joined #linux-amlogic
11:32
ldevulder has joined #linux-amlogic
11:55
gabes2 has joined #linux-amlogic
11:55
gabes has quit [Read error: Connection reset by peer]
11:55
gabes2 is now known as gabes
12:53
ldevulder has quit [Ping timeout: 240 seconds]
12:58
asriel has quit [Quit: Don't drink the water. They put something in it to make you forget.]
13:01
asriel has joined #linux-amlogic
13:04
ldevulder has joined #linux-amlogic
13:18
kenny has joined #linux-amlogic
13:24
luka177 has quit [Ping timeout: 246 seconds]
13:25
luka177 has joined #linux-amlogic
13:42
buzzmarshall has joined #linux-amlogic
14:09
naoki has quit [Quit: naoki]
14:19
luka177 has quit [Ping timeout: 244 seconds]
14:19
luka177 has joined #linux-amlogic
15:20
luka177 has quit [Ping timeout: 245 seconds]
15:23
luka177 has joined #linux-amlogic
15:55
vagrantc has joined #linux-amlogic
15:56
iprusov has quit [Ping timeout: 250 seconds]
15:56
iprusov has joined #linux-amlogic
16:03
exkcmoeadmin[m] has quit [Quit: You have been kicked for being idle]
16:19
luka177 has quit [Ping timeout: 244 seconds]
16:21
luka177 has joined #linux-amlogic
16:51
<
minute >
f_: as far as i know the DDRC's ISA is ARC
17:01
luka177 has quit [Ping timeout: 244 seconds]
17:02
luka177 has joined #linux-amlogic
17:06
luka177 has quit [Ping timeout: 245 seconds]
17:06
luka177 has joined #linux-amlogic
17:23
<
f_ >
minute: Thanks for the tip.
17:24
<
minute >
it could be reversible if one figures out register meanings and, unfortunately, some special "ext" vendor extensions
17:24
<
f_ >
I still have to figure out what the registers mean on gxbb/gxl :)
17:25
<
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.
17:26
<
minute >
but i also have kind of moved on from imx8mq to newer chips
17:26
<
f_ >
unfourtunately don't own anything newer than gxbb or gxl
17:27
<
f_ >
So I don't have G12A+, when they started using standalone DDR firmware.
17:29
<
f_ >
But it does seem like they got ddr firmware from Synopsys and made their own separate blob.
17:29
<
f_ >
aml_ddr.fw looks like they just moved DDR code there
18:08
luka177 has quit [Ping timeout: 240 seconds]
18:08
luka177 has joined #linux-amlogic
18:23
luka177 has quit [Ping timeout: 250 seconds]
18:27
luka177 has joined #linux-amlogic
18:32
luka177 has quit [Ping timeout: 246 seconds]
18:33
luka177 has joined #linux-amlogic
19:34
luka177 has quit [Ping timeout: 246 seconds]
19:37
luka177 has joined #linux-amlogic
20:33
luka177 has quit [Ping timeout: 246 seconds]
20:34
luka177 has joined #linux-amlogic
21:34
luka177 has quit [Ping timeout: 245 seconds]
21:35
luka177 has joined #linux-amlogic
22:10
samueldr has joined #linux-amlogic
22:34
luka177 has quit [Ping timeout: 246 seconds]
22:36
luka177 has joined #linux-amlogic
22:57
f_ has quit [Quit: Disconnecting.]
23:30
naoki has joined #linux-amlogic
23:32
jdp_t has joined #linux-amlogic
23:35
luka177 has quit [Ping timeout: 250 seconds]
23:36
luka177 has joined #linux-amlogic
23:46
vagrantc has quit [Ping timeout: 258 seconds]
23:49
vagrantc has joined #linux-amlogic
23:55
vagrantc has quit [Ping timeout: 264 seconds]