FreeCalypso > hg > freecalypso-sw
annotate gsm-fw/g23m-aci/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 | 5c4381b80bd2 |
children |
rev | line source |
---|---|
821
5c4381b80bd2
g23m-aci/Makefile: everything hooked in
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
819
diff
changeset
|
1 LD= arm-elf-ld |
5c4381b80bd2
g23m-aci/Makefile: everything hooked in
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
819
diff
changeset
|
2 |
819
1e4dbee8dcfd
ati_ext/ati_ext_mech.c compiles
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
776
diff
changeset
|
3 SUBDIR= aci aci_dti_mng aci_ext ati_ext bat dti gdd_dio ksd l2p uart |
776
5a0c58760ae2
gsm-fw/g23m-aci: stub Makefile hierarchy created, hooked into make clean
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
4 |
821
5c4381b80bd2
g23m-aci/Makefile: everything hooked in
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
819
diff
changeset
|
5 XIP_OBJS= aci/xipcode.o aci_dti_mng/dti_conn_mng.o \ |
5c4381b80bd2
g23m-aci/Makefile: everything hooked in
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
819
diff
changeset
|
6 aci_ext/aci_ext_pers.o ati_ext/ati_ext_mech.o ksd/xipcode.o \ |
5c4381b80bd2
g23m-aci/Makefile: everything hooked in
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
819
diff
changeset
|
7 uart/xipcode.o |
5c4381b80bd2
g23m-aci/Makefile: everything hooked in
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
819
diff
changeset
|
8 |
5c4381b80bd2
g23m-aci/Makefile: everything hooked in
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
819
diff
changeset
|
9 all: xipcode.o dti |
776
5a0c58760ae2
gsm-fw/g23m-aci: stub Makefile hierarchy created, hooked into make clean
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
10 |
5a0c58760ae2
gsm-fw/g23m-aci: stub Makefile hierarchy created, hooked into make clean
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
11 ${SUBDIR}: FRC |
5a0c58760ae2
gsm-fw/g23m-aci: stub Makefile hierarchy created, hooked into make clean
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
12 cd $@; ${MAKE} ${MFLAGS} |
5a0c58760ae2
gsm-fw/g23m-aci: stub Makefile hierarchy created, hooked into make clean
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
13 |
821
5c4381b80bd2
g23m-aci/Makefile: everything hooked in
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
819
diff
changeset
|
14 aci/xipcode.o: aci |
5c4381b80bd2
g23m-aci/Makefile: everything hooked in
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
819
diff
changeset
|
15 @true |
5c4381b80bd2
g23m-aci/Makefile: everything hooked in
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
819
diff
changeset
|
16 |
5c4381b80bd2
g23m-aci/Makefile: everything hooked in
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
819
diff
changeset
|
17 aci_dti_mng/dti_conn_mng.o: aci_dti_mng |
5c4381b80bd2
g23m-aci/Makefile: everything hooked in
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
819
diff
changeset
|
18 @true |
5c4381b80bd2
g23m-aci/Makefile: everything hooked in
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
819
diff
changeset
|
19 |
5c4381b80bd2
g23m-aci/Makefile: everything hooked in
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
819
diff
changeset
|
20 aci_ext/aci_ext_pers.o: aci_ext |
5c4381b80bd2
g23m-aci/Makefile: everything hooked in
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
819
diff
changeset
|
21 @true |
5c4381b80bd2
g23m-aci/Makefile: everything hooked in
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
819
diff
changeset
|
22 |
5c4381b80bd2
g23m-aci/Makefile: everything hooked in
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
819
diff
changeset
|
23 ati_ext/ati_ext_mech.o: ati_ext |
5c4381b80bd2
g23m-aci/Makefile: everything hooked in
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
819
diff
changeset
|
24 @true |
5c4381b80bd2
g23m-aci/Makefile: everything hooked in
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
819
diff
changeset
|
25 |
5c4381b80bd2
g23m-aci/Makefile: everything hooked in
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
819
diff
changeset
|
26 ksd/xipcode.o: ksd |
5c4381b80bd2
g23m-aci/Makefile: everything hooked in
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
819
diff
changeset
|
27 @true |
5c4381b80bd2
g23m-aci/Makefile: everything hooked in
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
819
diff
changeset
|
28 |
5c4381b80bd2
g23m-aci/Makefile: everything hooked in
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
819
diff
changeset
|
29 uart/xipcode.o: uart |
5c4381b80bd2
g23m-aci/Makefile: everything hooked in
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
819
diff
changeset
|
30 @true |
5c4381b80bd2
g23m-aci/Makefile: everything hooked in
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
819
diff
changeset
|
31 |
5c4381b80bd2
g23m-aci/Makefile: everything hooked in
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
819
diff
changeset
|
32 xipcode.o: ${XIP_OBJS} |
5c4381b80bd2
g23m-aci/Makefile: everything hooked in
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
819
diff
changeset
|
33 ${LD} -r -o $@ ${XIP_OBJS} |
5c4381b80bd2
g23m-aci/Makefile: everything hooked in
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
819
diff
changeset
|
34 |
776
5a0c58760ae2
gsm-fw/g23m-aci: stub Makefile hierarchy created, hooked into make clean
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
35 clean: FRC |
5a0c58760ae2
gsm-fw/g23m-aci: stub Makefile hierarchy created, hooked into make clean
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
36 rm -f *.[oa] *.out *errs |
5a0c58760ae2
gsm-fw/g23m-aci: stub Makefile hierarchy created, hooked into make clean
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
37 for i in ${SUBDIR}; do (cd $$i; ${MAKE} ${MFLAGS} clean); done |
5a0c58760ae2
gsm-fw/g23m-aci: stub Makefile hierarchy created, hooked into make clean
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
38 |
5a0c58760ae2
gsm-fw/g23m-aci: stub Makefile hierarchy created, hooked into make clean
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
39 FRC: |