EasyManua.ls Logo

CONITEC GALEP-5 - Page 28

CONITEC GALEP-5
30 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Required software
For compiling OpenOCD for GALEP-5, you'll need:
1. A cross toolchain for ARM
2. Make, Automake, Autoconf-2.13, ...
3. The GALEP-5 API (see above)
4. The current GALEP-5 OCD patch (see above)
5. The official OpenOCD distribution.
Cross Toolchain for ARM
A
cross toolchain consist of a cross compiler and linker for the ARM9 platform. You can use our Arm&Eva
Linux Board toolchain that is precompiled for Linux (32bit) and available from:
http://armeva.conitec.net/i686/tar_bz2/carmeva
-dev-cc-3.4.1-glibc-2.3.3-bin-1.1-9_i386.tar.bz2
GALEP-5 -API und g5ocd-Patch
You'll find them under http://www.conitec.net/down/g5ocd.zip
.
Open OCD Sources
The OpenOCD project offers a Subversion repository where you can get the current sources (links see
below).
Compiling OpenOCD with GALEP-5 Support
A
t first preperare the source files.
Generate an empty directory “g5ocd” .
Copy the sources into it, creating the following structure:
Unzip the GALEP patch
Configure
g5ocd
|-- g5API
| |-- hdw
| | ‘-- openocd.bin
| |-- include
| | |-- ...
| |-- lib
| | ‘-- libg5api.so
| |-- src
| | |-- ...
‘-- openocd
|-- doc
|-- ...
|-- ecosflash
|-- ...
|-- testing
|-- ...
|-- src
|-- ...
|-- g5ocd-svn-538M.patch.bz2
cd g5ocd/openocd
bzip2 -dc g5ocd-svn-xyz.patch.bz2 |patch -p0
./bootstrap