view loadtools/install-helpers.sh @ 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 7ef814efbebe
children
line wrap: on
line source

#!/bin/sh
# A functional installation of FreeCalypso loadtools consists of not only
# the fc-* host binaries, but also the loadagent and compalstage target
# binaries and some script and help files.  This shell script is
# responsible for installing the latter.

instdir=/usr/local/share/freecalypso
set -ex
mkdir -p $instdir

# The target-binaries directory may or may not be present.  Loadagent and
# compalstage are built in the target-utils tree with the ARM7 toolchain,
# hence having prebuilt binaries would be an important convenience for
# end user releases.  But if one is working with just a source tree, with
# nothing prebuilt, there will be no target-binaries directory here;
# one needs to have the ARM7 toolchain installed, then build target-utils,
# then do a 'make install' there.

if [ -d target-binaries ]
then
	install -c target-binaries/* $instdir
fi

# scripts and loadtool.help should always be present
install -c scripts/* loadtool.help $instdir