![CONITEC GALEP-5 Скачать руководство пользователя страница 28](http://html1.mh-extra.com/html/conitec/galep-5/galep-5_manual_2652523028.webp)
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
At 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
Содержание GALEP-5
Страница 15: ......