FreeCalypso > hg > freecalypso-sw
annotate rvinterf/old/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 | f42854da4563 |
children |
rev | line source |
---|---|
126
811b138f1bed
rvtdump utility written, compiles
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1 CC= gcc |
811b138f1bed
rvtdump utility written, compiles
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
2 CFLAGS= -O2 |
811b138f1bed
rvtdump utility written, compiles
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
3 PROGS= rvtdump |
172
019120585a1c
etmsend hack-utility written, compiles
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
171
diff
changeset
|
4 XPROGS= etmsend |
126
811b138f1bed
rvtdump utility written, compiles
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
5 INSTBIN=/usr/local/bin |
811b138f1bed
rvtdump utility written, compiles
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
6 |
171
4d8e4c58df71
rvtdump: implemented Tx extension hack, compiles
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
134
diff
changeset
|
7 RVTDUMP_OBJS= log.o openport.o packetrx.o packettx.o rvtdump.o rvtdump_tx.o \ |
4d8e4c58df71
rvtdump: implemented Tx extension hack, compiles
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
134
diff
changeset
|
8 trdump.o |
126
811b138f1bed
rvtdump utility written, compiles
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
9 |
172
019120585a1c
etmsend hack-utility written, compiles
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
171
diff
changeset
|
10 all: ${PROGS} ${XPROGS} |
126
811b138f1bed
rvtdump utility written, compiles
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
11 |
811b138f1bed
rvtdump utility written, compiles
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
12 rvtdump: ${RVTDUMP_OBJS} |
811b138f1bed
rvtdump utility written, compiles
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
13 ${CC} ${CFLAGS} -o $@ ${RVTDUMP_OBJS} |
811b138f1bed
rvtdump utility written, compiles
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
14 |
172
019120585a1c
etmsend hack-utility written, compiles
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
171
diff
changeset
|
15 etmsend: etmsend.c |
019120585a1c
etmsend hack-utility written, compiles
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
171
diff
changeset
|
16 ${CC} ${CFLAGS} -o $@ $@.c |
019120585a1c
etmsend hack-utility written, compiles
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
171
diff
changeset
|
17 |
126
811b138f1bed
rvtdump utility written, compiles
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
18 install: ${PROGS} |
811b138f1bed
rvtdump utility written, compiles
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
19 mkdir -p ${INSTBIN} |
811b138f1bed
rvtdump utility written, compiles
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
20 install -c ${PROGS} ${INSTBIN} |
811b138f1bed
rvtdump utility written, compiles
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
21 |
811b138f1bed
rvtdump utility written, compiles
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
22 clean: |
172
019120585a1c
etmsend hack-utility written, compiles
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
171
diff
changeset
|
23 rm -f *.o *.out *errs ${PROGS} ${XPROGS} |