FreeCalypso > hg > freecalypso-sw
annotate loadtools/Makefile @ 923:10b4bed10192
gsm-fw/L1: fix for the DSP patch corruption bug
The L1 code we got from the LoCosto fw contains a feature for DSP CPU load
measurement. This feature is a LoCosto-ism, i.e., not applicable to earlier
DBB chips (Calypso) with their respective earlier DSP ROMs. Most of the
code dealing with that feature is conditionalized as #if (DSP >= 38),
but one spot was missed, and the MCU code was writing into an API word
dealing with this feature. In TCS211 this DSP API word happens to be
used by the DSP code patch, hence that write was corrupting the patched
DSP code.
author | Mychaela Falconia <falcon@ivan.Harhan.ORG> |
---|---|
date | Mon, 19 Oct 2015 17:13:56 +0000 |
parents | bf49e348576b |
children | 86ff6d0b0a97 |
rev | line source |
---|---|
8
acaac9162574
loadtools modules coming along
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1 CC= gcc |
acaac9162574
loadtools modules coming along
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
2 CFLAGS= -O2 |
48
38664e0b7c32
fc-sertool renamed to fc-iram
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
46
diff
changeset
|
3 PROGS= fc-iram fc-loadtool fc-xram |
30
af6d763badfb
loadtools: install target added
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
29
diff
changeset
|
4 INSTBIN=/usr/local/bin |
379
7b3fd0e2a352
loadtools: compalstage support implemented in fc-iram
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
105
diff
changeset
|
5 |
7b3fd0e2a352
loadtools: compalstage support implemented in fc-iram
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
105
diff
changeset
|
6 EXTRA_OBJ= compalload.o |
9
fea204bc7674
fc-sertool compiles
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
8
diff
changeset
|
7 |
55
278052b6afda
loadtools: started laying the foundation for flash support
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
53
diff
changeset
|
8 IRAM_OBJS= defpath.o hexdecode.o hwparam.o hwparamstubs.o romload.o \ |
84
ccc5161848c7
loadtools: support building for GTA0x AP
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
70
diff
changeset
|
9 sercomm.o sertool.o srecreader.o ttypassthru.o ${EXTRA_OBJ} |
8
acaac9162574
loadtools modules coming along
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
10 |
412
bf49e348576b
fc-loadtool: flcmplboot.c (boot-reflash-hack) code started
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
405
diff
changeset
|
11 LOADTOOL_OBJS= crc32tab.o defpath.o flashops.o flcmplboot.o flmain.o flmisc.o \ |
bf49e348576b
fc-loadtool: flcmplboot.c (boot-reflash-hack) code started
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
405
diff
changeset
|
12 flprogbin.o flprogsrec.o flutil.o hexdecode.o hwparam.o \ |
bf49e348576b
fc-loadtool: flcmplboot.c (boot-reflash-hack) code started
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
405
diff
changeset
|
13 labaud.o ltdispatch.o ltdump.o ltexit.o lthelp.o ltmain.o \ |
bf49e348576b
fc-loadtool: flcmplboot.c (boot-reflash-hack) code started
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
405
diff
changeset
|
14 ltmisc.o ltpassthru.o ltscript.o romload.o sercomm.o \ |
bf49e348576b
fc-loadtool: flcmplboot.c (boot-reflash-hack) code started
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
405
diff
changeset
|
15 srecreader.o tpinterf.o tpinterf2.o tpinterf3.o ${EXTRA_OBJ} |
21
67a39d8914a8
starting work on loadtool
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
17
diff
changeset
|
16 |
45
16315ed6401a
init-script logic implemented in fc-xram
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
42
diff
changeset
|
17 XRAM_OBJS= chainload.o clmain.o defpath.o hexdecode.o hwparam.o \ |
55
278052b6afda
loadtools: started laying the foundation for flash support
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
53
diff
changeset
|
18 hwparamstubs.o initscript.o labaud.o romload.o sercomm.o \ |
84
ccc5161848c7
loadtools: support building for GTA0x AP
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
70
diff
changeset
|
19 srecreader.o tpinterf.o ttypassthru.o ${EXTRA_OBJ} |
42
5da0cbee2b89
fc-xram tool written, compiles, now needs to be debugged
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
35
diff
changeset
|
20 |
23
aca1948e9713
loadtool: initial version compiles and links
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
22
diff
changeset
|
21 all: ${PROGS} |
9
fea204bc7674
fc-sertool compiles
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
8
diff
changeset
|
22 |
48
38664e0b7c32
fc-sertool renamed to fc-iram
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
46
diff
changeset
|
23 fc-iram: ${IRAM_OBJS} |
84
ccc5161848c7
loadtools: support building for GTA0x AP
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
70
diff
changeset
|
24 ${CC} ${CFLAGS} -o $@ ${IRAM_OBJS} |
8
acaac9162574
loadtools modules coming along
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
25 |
23
aca1948e9713
loadtool: initial version compiles and links
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
22
diff
changeset
|
26 fc-loadtool: ${LOADTOOL_OBJS} |
84
ccc5161848c7
loadtools: support building for GTA0x AP
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
70
diff
changeset
|
27 ${CC} ${CFLAGS} -o $@ ${LOADTOOL_OBJS} |
23
aca1948e9713
loadtool: initial version compiles and links
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
22
diff
changeset
|
28 |
42
5da0cbee2b89
fc-xram tool written, compiles, now needs to be debugged
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
35
diff
changeset
|
29 fc-xram: ${XRAM_OBJS} |
84
ccc5161848c7
loadtools: support building for GTA0x AP
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
70
diff
changeset
|
30 ${CC} ${CFLAGS} -o $@ ${XRAM_OBJS} |
42
5da0cbee2b89
fc-xram tool written, compiles, now needs to be debugged
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
35
diff
changeset
|
31 |
384
7ef814efbebe
loadtools: make install logic refactored in light of compalstage addition
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
379
diff
changeset
|
32 install: |
46
eb97cfe5e31a
finally, a real make install for loadtools and loadagent
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
45
diff
changeset
|
33 mkdir -p ${INSTBIN} |
eb97cfe5e31a
finally, a real make install for loadtools and loadagent
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
45
diff
changeset
|
34 install -c ${PROGS} ${INSTBIN} |
384
7ef814efbebe
loadtools: make install logic refactored in light of compalstage addition
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
379
diff
changeset
|
35 ./install-helpers.sh |
30
af6d763badfb
loadtools: install target added
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
29
diff
changeset
|
36 |
8
acaac9162574
loadtools modules coming along
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
37 clean: |
9
fea204bc7674
fc-sertool compiles
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
8
diff
changeset
|
38 rm -f *.o *.out *errs ${PROGS} |