FreeCalypso > hg > freecalypso-sw
view 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 |
line wrap: on
line source
CC= gcc CFLAGS= -O2 PROGS= fc-iram fc-loadtool fc-xram INSTBIN=/usr/local/bin EXTRA_OBJ= compalload.o IRAM_OBJS= defpath.o hexdecode.o hwparam.o hwparamstubs.o romload.o \ sercomm.o sertool.o srecreader.o ttypassthru.o ${EXTRA_OBJ} LOADTOOL_OBJS= crc32tab.o defpath.o flashops.o flcmplboot.o flmain.o flmisc.o \ flprogbin.o flprogsrec.o flutil.o hexdecode.o hwparam.o \ labaud.o ltdispatch.o ltdump.o ltexit.o lthelp.o ltmain.o \ ltmisc.o ltpassthru.o ltscript.o romload.o sercomm.o \ srecreader.o tpinterf.o tpinterf2.o tpinterf3.o ${EXTRA_OBJ} XRAM_OBJS= chainload.o clmain.o defpath.o hexdecode.o hwparam.o \ hwparamstubs.o initscript.o labaud.o romload.o sercomm.o \ srecreader.o tpinterf.o ttypassthru.o ${EXTRA_OBJ} all: ${PROGS} fc-iram: ${IRAM_OBJS} ${CC} ${CFLAGS} -o $@ ${IRAM_OBJS} fc-loadtool: ${LOADTOOL_OBJS} ${CC} ${CFLAGS} -o $@ ${LOADTOOL_OBJS} fc-xram: ${XRAM_OBJS} ${CC} ${CFLAGS} -o $@ ${XRAM_OBJS} install: mkdir -p ${INSTBIN} install -c ${PROGS} ${INSTBIN} ./install-helpers.sh clean: rm -f *.o *.out *errs ${PROGS}