FreeCalypso > hg > freecalypso-reveng
annotate compal/Makefile @ 158:8ed06e07b19e
start of C123 bootloader re
author | Michael Spacefalcon <msokolov@ivan.Harhan.ORG> |
---|---|
date | Thu, 15 May 2014 06:43:14 +0000 |
parents | 85bb35342834 |
children | db3b300da465 |
rev | line source |
---|---|
158
8ed06e07b19e
start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
108
diff
changeset
|
1 C123= c123-boot.bin |
98
8eaa265ee292
C139 boot re setup using the new arm7dis
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
2 C139= c139-boot.90.04.bin |
99
3bd695d9b2b4
C139 boot re: C140 differences noted
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
98
diff
changeset
|
3 C140= c140-boot.bin |
108
85bb35342834
C156 boot code disassembly started
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
106
diff
changeset
|
4 C156= c156-boot.90.05.bin |
158
8ed06e07b19e
start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
108
diff
changeset
|
5 GEN= c123-boot.dis16 c123-boot.dis32 c123-boot.hex \ |
8ed06e07b19e
start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
108
diff
changeset
|
6 c139-boot.dis16 c139-boot.dis32 c139-boot.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
|
7 c140-boot.dis16 c140-boot.dis32 c140-boot.hex \ |
108
85bb35342834
C156 boot code disassembly started
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
106
diff
changeset
|
8 c156-boot.dis16 c156-boot.dis32 c156-boot.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
|
9 osmovoodoo osmovoodoo.bin |
98
8eaa265ee292
C139 boot re setup using the new arm7dis
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
10 ARMDIS= ../arm7dis/armdis |
8eaa265ee292
C139 boot re setup using the new arm7dis
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
11 THUMBDIS=../arm7dis/thumbdis |
8eaa265ee292
C139 boot re setup using the new arm7dis
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
12 |
8eaa265ee292
C139 boot re setup using the new arm7dis
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
13 all: ${GEN} |
8eaa265ee292
C139 boot re setup using the new arm7dis
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
14 |
158
8ed06e07b19e
start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
108
diff
changeset
|
15 c123-boot.dis16: ${C123} ${THUMBDIS} |
8ed06e07b19e
start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
108
diff
changeset
|
16 ${THUMBDIS} ${C123} > $@ |
8ed06e07b19e
start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
108
diff
changeset
|
17 |
8ed06e07b19e
start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
108
diff
changeset
|
18 c123-boot.dis32: ${C123} ${ARMDIS} |
8ed06e07b19e
start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
108
diff
changeset
|
19 ${ARMDIS} ${C123} > $@ |
8ed06e07b19e
start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
108
diff
changeset
|
20 |
8ed06e07b19e
start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
108
diff
changeset
|
21 c123-boot.hex: ${C123} |
8ed06e07b19e
start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
108
diff
changeset
|
22 hd ${C123} > $@ |
8ed06e07b19e
start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
108
diff
changeset
|
23 |
98
8eaa265ee292
C139 boot re setup using the new arm7dis
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
24 c139-boot.dis16: ${C139} ${THUMBDIS} |
8eaa265ee292
C139 boot re setup using the new arm7dis
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
25 ${THUMBDIS} ${C139} > $@ |
8eaa265ee292
C139 boot re setup using the new arm7dis
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
26 |
8eaa265ee292
C139 boot re setup using the new arm7dis
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
27 c139-boot.dis32: ${C139} ${ARMDIS} |
8eaa265ee292
C139 boot re setup using the new arm7dis
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
28 ${ARMDIS} ${C139} > $@ |
8eaa265ee292
C139 boot re setup using the new arm7dis
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
29 |
8eaa265ee292
C139 boot re setup using the new arm7dis
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
30 c139-boot.hex: ${C139} |
8eaa265ee292
C139 boot re setup using the new arm7dis
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
31 hd ${C139} > $@ |
8eaa265ee292
C139 boot re setup using the new arm7dis
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
32 |
99
3bd695d9b2b4
C139 boot re: C140 differences noted
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
98
diff
changeset
|
33 c140-boot.dis16: ${C140} ${THUMBDIS} |
3bd695d9b2b4
C139 boot re: C140 differences noted
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
98
diff
changeset
|
34 ${THUMBDIS} ${C140} > $@ |
3bd695d9b2b4
C139 boot re: C140 differences noted
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
98
diff
changeset
|
35 |
3bd695d9b2b4
C139 boot re: C140 differences noted
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
98
diff
changeset
|
36 c140-boot.dis32: ${C140} ${ARMDIS} |
3bd695d9b2b4
C139 boot re: C140 differences noted
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
98
diff
changeset
|
37 ${ARMDIS} ${C140} > $@ |
3bd695d9b2b4
C139 boot re: C140 differences noted
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
98
diff
changeset
|
38 |
3bd695d9b2b4
C139 boot re: C140 differences noted
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
98
diff
changeset
|
39 c140-boot.hex: ${C140} |
3bd695d9b2b4
C139 boot re: C140 differences noted
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
98
diff
changeset
|
40 hd ${C140} > $@ |
3bd695d9b2b4
C139 boot re: C140 differences noted
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
98
diff
changeset
|
41 |
108
85bb35342834
C156 boot code disassembly started
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
106
diff
changeset
|
42 c156-boot.dis16: ${C156} ${THUMBDIS} |
85bb35342834
C156 boot code disassembly started
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
106
diff
changeset
|
43 ${THUMBDIS} ${C156} > $@ |
85bb35342834
C156 boot code disassembly started
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
106
diff
changeset
|
44 |
85bb35342834
C156 boot code disassembly started
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
106
diff
changeset
|
45 c156-boot.dis32: ${C156} ${ARMDIS} |
85bb35342834
C156 boot code disassembly started
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
106
diff
changeset
|
46 ${ARMDIS} ${C156} > $@ |
85bb35342834
C156 boot code disassembly started
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
106
diff
changeset
|
47 |
85bb35342834
C156 boot code disassembly started
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
106
diff
changeset
|
48 c156-boot.hex: ${C156} |
85bb35342834
C156 boot code disassembly started
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
106
diff
changeset
|
49 hd ${C156} > $@ |
85bb35342834
C156 boot code disassembly started
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
106
diff
changeset
|
50 |
106
a39a38bbec4d
analysis of what osmocon's voodoo payloads disassemble to in ARM/Thumb
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
99
diff
changeset
|
51 osmovoodoo: osmovoodoo.c |
a39a38bbec4d
analysis of what osmocon's voodoo payloads disassemble to in ARM/Thumb
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
99
diff
changeset
|
52 gcc -O2 -o $@ $@.c |
a39a38bbec4d
analysis of what osmocon's voodoo payloads disassemble to in ARM/Thumb
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
99
diff
changeset
|
53 |
a39a38bbec4d
analysis of what osmocon's voodoo payloads disassemble to in ARM/Thumb
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
99
diff
changeset
|
54 osmovoodoo.bin: osmovoodoo |
a39a38bbec4d
analysis of what osmocon's voodoo payloads disassemble to in ARM/Thumb
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
99
diff
changeset
|
55 ./osmovoodoo |
a39a38bbec4d
analysis of what osmocon's voodoo payloads disassemble to in ARM/Thumb
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
99
diff
changeset
|
56 |
98
8eaa265ee292
C139 boot re setup using the new arm7dis
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
57 clean: |
8eaa265ee292
C139 boot re setup using the new arm7dis
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
58 rm -f ${GEN} |