FreeCalypso > hg > freecalypso-sw
annotate gsm-fw/L1/stand/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 | 10a1a99de746 |
children |
rev | line source |
---|---|
614
4274171eabd2
gsm-fw/L1/stand/l1_pei.c: getting close to passing compilation
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1 CC= arm-elf-gcc |
4274171eabd2
gsm-fw/L1/stand/l1_pei.c: getting close to passing compilation
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
2 CPPFLAGS=-I../../gpf/inc |
4274171eabd2
gsm-fw/L1/stand/l1_pei.c: getting close to passing compilation
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
3 CFLAGS= -O2 -fno-builtin -mthumb-interwork -mthumb |
4274171eabd2
gsm-fw/L1/stand/l1_pei.c: getting close to passing compilation
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
4 LD= arm-elf-ld |
4274171eabd2
gsm-fw/L1/stand/l1_pei.c: getting close to passing compilation
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
5 |
619
10a1a99de746
L1 standalone: gsm-fw/L1/stand should be complete
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
618
diff
changeset
|
6 OBJS= l1_pei.o forwarder.o dll_stubs.o |
614
4274171eabd2
gsm-fw/L1/stand/l1_pei.c: getting close to passing compilation
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
7 |
619
10a1a99de746
L1 standalone: gsm-fw/L1/stand should be complete
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
618
diff
changeset
|
8 all: xipcode.o |
10a1a99de746
L1 standalone: gsm-fw/L1/stand should be complete
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
618
diff
changeset
|
9 |
10a1a99de746
L1 standalone: gsm-fw/L1/stand should be complete
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
618
diff
changeset
|
10 xipcode.o: ${OBJS} |
10a1a99de746
L1 standalone: gsm-fw/L1/stand should be complete
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
618
diff
changeset
|
11 ${LD} -r -o $@ ${OBJS} |
614
4274171eabd2
gsm-fw/L1/stand/l1_pei.c: getting close to passing compilation
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
12 |
4274171eabd2
gsm-fw/L1/stand/l1_pei.c: getting close to passing compilation
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
13 clean: |
4274171eabd2
gsm-fw/L1/stand/l1_pei.c: getting close to passing compilation
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
14 rm -f *.[oa] *.out *errs |