FreeCalypso > hg > freecalypso-reveng
annotate compal/boot/Makefile @ 400:5377f91aea97
compal/boot/c123-boot.disasm: annotate with symbols
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Sat, 14 Jan 2023 09:47:46 +0000 |
parents | 81cda18b0487 |
children |
rev | line source |
---|---|
160
db3b300da465
malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
158
diff
changeset
|
1 C118= c118-3.0.81.E-boot.bin |
398
e5e5ed527cc1
compal: one more flash bootloader version
Mychaela Falconia <falcon@freecalypso.org>
parents:
214
diff
changeset
|
2 C118DF= c118-2.2.84.N-boot.bin |
158
8ed06e07b19e
start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
108
diff
changeset
|
3 C123= c123-boot.bin |
214
6b40617d00e6
analysis of ultra-malicious new C123 boot code from Ajay Fuloria
Mychaela Falconia <falcon@freecalypso.org>
parents:
213
diff
changeset
|
4 C123NEW=c123-newboot.bin |
98
8eaa265ee292
C139 boot re setup using the new arm7dis
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
5 C139= c139-boot.90.04.bin |
213
05d2d34f5015
compal directory: added analysis of C139 boot code version with 1004 signature
Mychaela Falconia <falcon@freecalypso.org>
parents:
161
diff
changeset
|
6 C139NEW=c139-boot1004.bin |
161
237bb836521d
starting to examine Tracfone's locked C139 bootloader
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
160
diff
changeset
|
7 C139TF= c139-tfboot.bin |
99
3bd695d9b2b4
C139 boot re: C140 differences noted
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
98
diff
changeset
|
8 C140= c140-boot.bin |
108
85bb35342834
C156 boot code disassembly started
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
106
diff
changeset
|
9 C156= c156-boot.90.05.bin |
160
db3b300da465
malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
158
diff
changeset
|
10 GEN= c118-newboot.dis16 c118-newboot.dis32 c118-newboot.hex \ |
398
e5e5ed527cc1
compal: one more flash bootloader version
Mychaela Falconia <falcon@freecalypso.org>
parents:
214
diff
changeset
|
11 c118-dfboot.dis16 c118-dfboot.dis32 c118-dfboot.hex \ |
160
db3b300da465
malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
158
diff
changeset
|
12 c123-boot.dis16 c123-boot.dis32 c123-boot.hex \ |
214
6b40617d00e6
analysis of ultra-malicious new C123 boot code from Ajay Fuloria
Mychaela Falconia <falcon@freecalypso.org>
parents:
213
diff
changeset
|
13 c123-newboot.dis16 c123-newboot.dis32 c123-newboot.hex \ |
158
8ed06e07b19e
start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
108
diff
changeset
|
14 c139-boot.dis16 c139-boot.dis32 c139-boot.hex \ |
213
05d2d34f5015
compal directory: added analysis of C139 boot code version with 1004 signature
Mychaela Falconia <falcon@freecalypso.org>
parents:
161
diff
changeset
|
15 c139-newboot.dis16 c139-newboot.dis32 c139-newboot.hex \ |
161
237bb836521d
starting to examine Tracfone's locked C139 bootloader
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
160
diff
changeset
|
16 c139-tfboot.dis16 c139-tfboot.dis32 c139-tfboot.hex \ |
106
a39a38bbec4d
analysis of what osmocon's voodoo payloads disassemble to in ARM/Thumb
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
99
diff
changeset
|
17 c140-boot.dis16 c140-boot.dis32 c140-boot.hex \ |
399
81cda18b0487
compal: move all bootloader analysis work into boot subdir
Mychaela Falconia <falcon@freecalypso.org>
parents:
398
diff
changeset
|
18 c156-boot.dis16 c156-boot.dis32 c156-boot.hex |
81cda18b0487
compal: move all bootloader analysis work into boot subdir
Mychaela Falconia <falcon@freecalypso.org>
parents:
398
diff
changeset
|
19 ARMDIS= ../../arm7dis/armdis |
81cda18b0487
compal: move all bootloader analysis work into boot subdir
Mychaela Falconia <falcon@freecalypso.org>
parents:
398
diff
changeset
|
20 THUMBDIS=../../arm7dis/thumbdis |
98
8eaa265ee292
C139 boot re setup using the new arm7dis
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
21 |
8eaa265ee292
C139 boot re setup using the new arm7dis
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
22 all: ${GEN} |
8eaa265ee292
C139 boot re setup using the new arm7dis
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
23 |
398
e5e5ed527cc1
compal: one more flash bootloader version
Mychaela Falconia <falcon@freecalypso.org>
parents:
214
diff
changeset
|
24 c118-dfboot.dis16: ${C118DF} ${THUMBDIS} |
e5e5ed527cc1
compal: one more flash bootloader version
Mychaela Falconia <falcon@freecalypso.org>
parents:
214
diff
changeset
|
25 ${THUMBDIS} ${C118DF} > $@ |
e5e5ed527cc1
compal: one more flash bootloader version
Mychaela Falconia <falcon@freecalypso.org>
parents:
214
diff
changeset
|
26 |
e5e5ed527cc1
compal: one more flash bootloader version
Mychaela Falconia <falcon@freecalypso.org>
parents:
214
diff
changeset
|
27 c118-dfboot.dis32: ${C118DF} ${ARMDIS} |
e5e5ed527cc1
compal: one more flash bootloader version
Mychaela Falconia <falcon@freecalypso.org>
parents:
214
diff
changeset
|
28 ${ARMDIS} ${C118DF} > $@ |
e5e5ed527cc1
compal: one more flash bootloader version
Mychaela Falconia <falcon@freecalypso.org>
parents:
214
diff
changeset
|
29 |
e5e5ed527cc1
compal: one more flash bootloader version
Mychaela Falconia <falcon@freecalypso.org>
parents:
214
diff
changeset
|
30 c118-dfboot.hex: ${C118DF} |
e5e5ed527cc1
compal: one more flash bootloader version
Mychaela Falconia <falcon@freecalypso.org>
parents:
214
diff
changeset
|
31 hd ${C118DF} > $@ |
e5e5ed527cc1
compal: one more flash bootloader version
Mychaela Falconia <falcon@freecalypso.org>
parents:
214
diff
changeset
|
32 |
160
db3b300da465
malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
158
diff
changeset
|
33 c118-newboot.dis16: ${C118} ${THUMBDIS} |
db3b300da465
malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
158
diff
changeset
|
34 ${THUMBDIS} ${C118} > $@ |
db3b300da465
malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
158
diff
changeset
|
35 |
db3b300da465
malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
158
diff
changeset
|
36 c118-newboot.dis32: ${C118} ${ARMDIS} |
db3b300da465
malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
158
diff
changeset
|
37 ${ARMDIS} ${C118} > $@ |
db3b300da465
malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
158
diff
changeset
|
38 |
db3b300da465
malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
158
diff
changeset
|
39 c118-newboot.hex: ${C118} |
db3b300da465
malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
158
diff
changeset
|
40 hd ${C118} > $@ |
db3b300da465
malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
158
diff
changeset
|
41 |
158
8ed06e07b19e
start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
108
diff
changeset
|
42 c123-boot.dis16: ${C123} ${THUMBDIS} |
8ed06e07b19e
start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
108
diff
changeset
|
43 ${THUMBDIS} ${C123} > $@ |
8ed06e07b19e
start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
108
diff
changeset
|
44 |
8ed06e07b19e
start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
108
diff
changeset
|
45 c123-boot.dis32: ${C123} ${ARMDIS} |
8ed06e07b19e
start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
108
diff
changeset
|
46 ${ARMDIS} ${C123} > $@ |
8ed06e07b19e
start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
108
diff
changeset
|
47 |
8ed06e07b19e
start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
108
diff
changeset
|
48 c123-boot.hex: ${C123} |
8ed06e07b19e
start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
108
diff
changeset
|
49 hd ${C123} > $@ |
8ed06e07b19e
start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
108
diff
changeset
|
50 |
214
6b40617d00e6
analysis of ultra-malicious new C123 boot code from Ajay Fuloria
Mychaela Falconia <falcon@freecalypso.org>
parents:
213
diff
changeset
|
51 c123-newboot.dis16: ${C123NEW} ${THUMBDIS} |
6b40617d00e6
analysis of ultra-malicious new C123 boot code from Ajay Fuloria
Mychaela Falconia <falcon@freecalypso.org>
parents:
213
diff
changeset
|
52 ${THUMBDIS} ${C123NEW} > $@ |
6b40617d00e6
analysis of ultra-malicious new C123 boot code from Ajay Fuloria
Mychaela Falconia <falcon@freecalypso.org>
parents:
213
diff
changeset
|
53 |
6b40617d00e6
analysis of ultra-malicious new C123 boot code from Ajay Fuloria
Mychaela Falconia <falcon@freecalypso.org>
parents:
213
diff
changeset
|
54 c123-newboot.dis32: ${C123NEW} ${ARMDIS} |
6b40617d00e6
analysis of ultra-malicious new C123 boot code from Ajay Fuloria
Mychaela Falconia <falcon@freecalypso.org>
parents:
213
diff
changeset
|
55 ${ARMDIS} ${C123NEW} > $@ |
6b40617d00e6
analysis of ultra-malicious new C123 boot code from Ajay Fuloria
Mychaela Falconia <falcon@freecalypso.org>
parents:
213
diff
changeset
|
56 |
6b40617d00e6
analysis of ultra-malicious new C123 boot code from Ajay Fuloria
Mychaela Falconia <falcon@freecalypso.org>
parents:
213
diff
changeset
|
57 c123-newboot.hex: ${C123NEW} |
6b40617d00e6
analysis of ultra-malicious new C123 boot code from Ajay Fuloria
Mychaela Falconia <falcon@freecalypso.org>
parents:
213
diff
changeset
|
58 hd ${C123NEW} > $@ |
6b40617d00e6
analysis of ultra-malicious new C123 boot code from Ajay Fuloria
Mychaela Falconia <falcon@freecalypso.org>
parents:
213
diff
changeset
|
59 |
98
8eaa265ee292
C139 boot re setup using the new arm7dis
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
60 c139-boot.dis16: ${C139} ${THUMBDIS} |
8eaa265ee292
C139 boot re setup using the new arm7dis
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
61 ${THUMBDIS} ${C139} > $@ |
8eaa265ee292
C139 boot re setup using the new arm7dis
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
62 |
8eaa265ee292
C139 boot re setup using the new arm7dis
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
63 c139-boot.dis32: ${C139} ${ARMDIS} |
8eaa265ee292
C139 boot re setup using the new arm7dis
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
64 ${ARMDIS} ${C139} > $@ |
8eaa265ee292
C139 boot re setup using the new arm7dis
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
65 |
8eaa265ee292
C139 boot re setup using the new arm7dis
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
66 c139-boot.hex: ${C139} |
8eaa265ee292
C139 boot re setup using the new arm7dis
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
67 hd ${C139} > $@ |
8eaa265ee292
C139 boot re setup using the new arm7dis
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
68 |
213
05d2d34f5015
compal directory: added analysis of C139 boot code version with 1004 signature
Mychaela Falconia <falcon@freecalypso.org>
parents:
161
diff
changeset
|
69 c139-newboot.dis16: ${C139NEW} ${THUMBDIS} |
05d2d34f5015
compal directory: added analysis of C139 boot code version with 1004 signature
Mychaela Falconia <falcon@freecalypso.org>
parents:
161
diff
changeset
|
70 ${THUMBDIS} ${C139NEW} > $@ |
05d2d34f5015
compal directory: added analysis of C139 boot code version with 1004 signature
Mychaela Falconia <falcon@freecalypso.org>
parents:
161
diff
changeset
|
71 |
05d2d34f5015
compal directory: added analysis of C139 boot code version with 1004 signature
Mychaela Falconia <falcon@freecalypso.org>
parents:
161
diff
changeset
|
72 c139-newboot.dis32: ${C139NEW} ${ARMDIS} |
05d2d34f5015
compal directory: added analysis of C139 boot code version with 1004 signature
Mychaela Falconia <falcon@freecalypso.org>
parents:
161
diff
changeset
|
73 ${ARMDIS} ${C139NEW} > $@ |
05d2d34f5015
compal directory: added analysis of C139 boot code version with 1004 signature
Mychaela Falconia <falcon@freecalypso.org>
parents:
161
diff
changeset
|
74 |
05d2d34f5015
compal directory: added analysis of C139 boot code version with 1004 signature
Mychaela Falconia <falcon@freecalypso.org>
parents:
161
diff
changeset
|
75 c139-newboot.hex: ${C139NEW} |
05d2d34f5015
compal directory: added analysis of C139 boot code version with 1004 signature
Mychaela Falconia <falcon@freecalypso.org>
parents:
161
diff
changeset
|
76 hd ${C139NEW} > $@ |
05d2d34f5015
compal directory: added analysis of C139 boot code version with 1004 signature
Mychaela Falconia <falcon@freecalypso.org>
parents:
161
diff
changeset
|
77 |
161
237bb836521d
starting to examine Tracfone's locked C139 bootloader
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
160
diff
changeset
|
78 c139-tfboot.dis16: ${C139TF} ${THUMBDIS} |
237bb836521d
starting to examine Tracfone's locked C139 bootloader
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
160
diff
changeset
|
79 ${THUMBDIS} ${C139TF} > $@ |
237bb836521d
starting to examine Tracfone's locked C139 bootloader
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
160
diff
changeset
|
80 |
237bb836521d
starting to examine Tracfone's locked C139 bootloader
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
160
diff
changeset
|
81 c139-tfboot.dis32: ${C139TF} ${ARMDIS} |
237bb836521d
starting to examine Tracfone's locked C139 bootloader
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
160
diff
changeset
|
82 ${ARMDIS} ${C139TF} > $@ |
237bb836521d
starting to examine Tracfone's locked C139 bootloader
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
160
diff
changeset
|
83 |
237bb836521d
starting to examine Tracfone's locked C139 bootloader
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
160
diff
changeset
|
84 c139-tfboot.hex: ${C139TF} |
237bb836521d
starting to examine Tracfone's locked C139 bootloader
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
160
diff
changeset
|
85 hd ${C139TF} > $@ |
237bb836521d
starting to examine Tracfone's locked C139 bootloader
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
160
diff
changeset
|
86 |
99
3bd695d9b2b4
C139 boot re: C140 differences noted
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
98
diff
changeset
|
87 c140-boot.dis16: ${C140} ${THUMBDIS} |
3bd695d9b2b4
C139 boot re: C140 differences noted
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
98
diff
changeset
|
88 ${THUMBDIS} ${C140} > $@ |
3bd695d9b2b4
C139 boot re: C140 differences noted
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
98
diff
changeset
|
89 |
3bd695d9b2b4
C139 boot re: C140 differences noted
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
98
diff
changeset
|
90 c140-boot.dis32: ${C140} ${ARMDIS} |
3bd695d9b2b4
C139 boot re: C140 differences noted
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
98
diff
changeset
|
91 ${ARMDIS} ${C140} > $@ |
3bd695d9b2b4
C139 boot re: C140 differences noted
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
98
diff
changeset
|
92 |
3bd695d9b2b4
C139 boot re: C140 differences noted
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
98
diff
changeset
|
93 c140-boot.hex: ${C140} |
3bd695d9b2b4
C139 boot re: C140 differences noted
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
98
diff
changeset
|
94 hd ${C140} > $@ |
3bd695d9b2b4
C139 boot re: C140 differences noted
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
98
diff
changeset
|
95 |
108
85bb35342834
C156 boot code disassembly started
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
106
diff
changeset
|
96 c156-boot.dis16: ${C156} ${THUMBDIS} |
85bb35342834
C156 boot code disassembly started
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
106
diff
changeset
|
97 ${THUMBDIS} ${C156} > $@ |
85bb35342834
C156 boot code disassembly started
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
106
diff
changeset
|
98 |
85bb35342834
C156 boot code disassembly started
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
106
diff
changeset
|
99 c156-boot.dis32: ${C156} ${ARMDIS} |
85bb35342834
C156 boot code disassembly started
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
106
diff
changeset
|
100 ${ARMDIS} ${C156} > $@ |
85bb35342834
C156 boot code disassembly started
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
106
diff
changeset
|
101 |
85bb35342834
C156 boot code disassembly started
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
106
diff
changeset
|
102 c156-boot.hex: ${C156} |
85bb35342834
C156 boot code disassembly started
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
106
diff
changeset
|
103 hd ${C156} > $@ |
85bb35342834
C156 boot code disassembly started
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
106
diff
changeset
|
104 |
98
8eaa265ee292
C139 boot re setup using the new arm7dis
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
105 clean: |
8eaa265ee292
C139 boot re setup using the new arm7dis
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
106 rm -f ${GEN} |