00:01
luka177 has quit [Ping timeout: 255 seconds]
00:21
montjoie has quit [Ping timeout: 250 seconds]
00:23
montjoie has joined #linux-amlogic
00:51
jkl has quit [Server closed connection]
00:51
jkl has joined #linux-amlogic
01:06
hays has joined #linux-amlogic
01:18
_whitelogger has quit [Ping timeout: 240 seconds]
01:24
phh has quit [Changing host]
01:24
_whitelogger has joined #linux-amlogic
01:24
dlan has joined #linux-amlogic
01:24
dlan has quit [Changing host]
01:24
dlan has joined #linux-amlogic
01:25
wens has joined #linux-amlogic
01:25
wens_ has quit [Ping timeout: 240 seconds]
01:31
cottsay has joined #linux-amlogic
01:32
mdrjr has joined #linux-amlogic
01:32
jkl has joined #linux-amlogic
01:33
elastic_dog has joined #linux-amlogic
01:33
montjoie has joined #linux-amlogic
01:59
mdrjr has quit [Ping timeout: 255 seconds]
02:00
mdrjr has joined #linux-amlogic
02:01
wens has quit [Ping timeout: 255 seconds]
02:02
wens has joined #linux-amlogic
02:07
luka177 has joined #linux-amlogic
02:59
hays has joined #linux-amlogic
03:34
Danct12 has joined #linux-amlogic
04:00
luka177 has quit [Read error: Connection reset by peer]
05:26
luka177 has joined #linux-amlogic
06:40
f11f12 has joined #linux-amlogic
07:28
ldevulder has joined #linux-amlogic
07:29
JohnnyonFlame has joined #linux-amlogic
07:47
ldevulder has quit [Remote host closed the connection]
08:01
ldevulder has joined #linux-amlogic
08:03
luka177 has quit [Ping timeout: 240 seconds]
08:09
luka177 has joined #linux-amlogic
08:22
ldevulder has quit [Read error: Connection reset by peer]
08:22
ldevulder has joined #linux-amlogic
08:30
Cheaterman has quit [Server closed connection]
08:30
Cheaterman has joined #linux-amlogic
08:30
JohnnyonFlame has quit [Read error: Connection reset by peer]
08:31
ldevulder has quit [Quit: Leaving]
08:41
luka177 has quit [Read error: Connection reset by peer]
08:43
luka177 has joined #linux-amlogic
09:11
ldevulder has joined #linux-amlogic
09:24
anessen97 has joined #linux-amlogic
10:33
f_ has joined #linux-amlogic
11:25
<
f_ >
Still working on ACSBaby
11:25
<
f_ >
It can parse the ACS footer. The rest can be worked on later.
11:41
montjoie has quit [Ping timeout: 260 seconds]
11:43
montjoie has joined #linux-amlogic
12:03
luka177 has quit [Ping timeout: 260 seconds]
12:17
<
f_ >
I can analyse my eMMC backup (if I set the right offset)
12:20
<
f_ >
Example output!
12:21
luka177 has joined #linux-amlogic
12:23
<
f_ >
BTW: the `-t u-boot` isn't needed. If you don't specify the image type it will try to find it automatically (by e.g. looking for an "@AML" header (=> u-boot.bin), the "Built :" string at the top (=> acs.bin))
12:23
<
f_ >
(and otherwise assume it's a BL2)
12:24
<
f_ >
Works quite well enough. If it can't find the right image type you can force it to think it's e.g. a U-Boot binary.
12:29
ndufresne has joined #linux-amlogic
13:14
<
f_ >
Aaand it can generate C files as well!
13:24
<
f_ >
narmstrong: Want to test on random binaries?
13:25
<
narmstrong >
f_: nice :-) is it for gxbb only ?
13:26
<
f_ >
Might work on other non-gxbb ACS binaries.
13:27
<
f_ >
narmstrong: Does it work? =)
13:28
<
narmstrong >
help yoursefl!
13:29
<
f_ >
But for U-Boot binaries you do need to specify the offset which...sucks
13:29
<
f_ >
Else it defaults to 0xa4e0, and prints a warning.
13:29
<
f_ >
(which happens to be the offset where it's found on a U-Boot p201 binary)
13:30
<
f_ >
I mostly tested on a p201 U-Boot binary, but I also tested on my KII Pro eMMC backup and it seems to work fine there as well.
13:30
<
f_ >
Let's test a non-gxbb board!
13:30
luka177 has quit [Ping timeout: 240 seconds]
13:31
<
f_ >
The offset seems to differ even on acs.bin binaries..
13:31
luka177 has joined #linux-amlogic
13:34
<
f_ >
But still! I can specify the offset with -o!
13:34
<
f_ >
With the right offset it seems to work as well!
13:35
<
f_ >
That's with the WeTek Core2 acs.bin
13:35
<
f_ >
And it works with the Beelink GT1 acs.bin as well!
13:36
<
f_ >
So it does work on non-gxbb boards.
13:38
<
f_ >
narmstrong: And try with `-f c`!
13:39
<
f_ >
I get the same output with the WeTek Core2 acs.bin
13:42
luka177 has quit [Ping timeout: 246 seconds]
13:42
luka177 has joined #linux-amlogic
13:44
<
narmstrong >
I don't think they changed the ACS format
13:46
<
f_ >
But now I can try to dump all C structures defined!
13:46
<
f_ >
The addresses in memory actually point to `struct`s!
13:47
<
f_ >
And when reading in a hex dump I can actually see meaningful data!
13:47
<
f_ >
So, all that to say: this is going to be easy.
13:47
<
narmstrong >
I hope it will be!
13:48
<
f_ >
What's going to be hard, is writing code in a clean way
13:48
<
f_ >
But the actual logic is going to be easy
13:48
<
f_ >
Just read the bytes, copy in a struct, call it a day, repeat.
13:49
<
f_ >
The size will vary though
13:49
<
f_ >
Also took the time to copy-paste Amlogic's timing.h file and clean it up.
13:50
<
f_ >
I won't treat `char`s as integers like Amlogic.
13:51
psydroid has quit [Read error: Connection reset by peer]
13:51
exkcmoeadmin[m] has quit [Read error: Connection reset by peer]
13:51
tomeu has quit [Read error: Connection reset by peer]
13:51
BlueMatt[m] has quit [Read error: Connection reset by peer]
13:51
maku has quit [Read error: Connection reset by peer]
13:51
<
f_ >
Let's not talk until appservice-IRC undies.
13:56
BlueMatt[m] has joined #linux-amlogic
13:58
<
f_ >
At least one survived.
13:58
psydroid has joined #linux-amlogic
13:59
exkcmoeadmin[m] has joined #linux-amlogic
13:59
maku has joined #linux-amlogic
13:59
tomeu has joined #linux-amlogic
14:16
kenny has quit [Quit: WeeChat 3.8]
14:21
kenny has joined #linux-amlogic
14:36
<
f11f12 >
f_: I have a partial ACS parser
14:37
<
f11f12 >
so far only used for g12a/g12b
14:37
luka177 has quit [Ping timeout: 240 seconds]
14:37
luka177 has joined #linux-amlogic
14:38
<
f_ >
Can I take a look at it?
14:47
<
f11f12 >
of course.
14:53
f_[xmpp] has joined #linux-amlogic
15:10
JohnnyonFlame has joined #linux-amlogic
15:37
tetrakist_ is now known as tetrakist
15:38
luka177 has quit [Ping timeout: 256 seconds]
15:41
luka177 has joined #linux-amlogic
16:39
luka177 has quit [Ping timeout: 260 seconds]
16:40
luka177 has joined #linux-amlogic
17:37
montjoie has quit [Ping timeout: 240 seconds]
17:39
montjoie has joined #linux-amlogic
17:39
luka177 has quit [Ping timeout: 240 seconds]
17:41
luka177 has joined #linux-amlogic
18:08
ldevulder has quit [Quit: Leaving]
18:15
luka177 has quit [Read error: Connection reset by peer]
18:15
luka177 has joined #linux-amlogic
20:00
luka177 has quit [Read error: Connection reset by peer]
20:02
f_ has quit [Quit: zzz]
20:15
Stricted has quit [Server closed connection]
20:15
Stricted has joined #linux-amlogic
20:15
luka177 has joined #linux-amlogic
21:29
luka177 has quit [Read error: Connection reset by peer]
21:30
luka177 has joined #linux-amlogic