comparison packages/hal/arm/pid/current/misc/Notes @ 2:443894e2e912 ecos-v1_2_1-release

Block commit of eCos version 1.2.1
author jlarmour
date Tue, 11 May 1999 12:24:34 +0000
parents
children a0774359f013
comparison
equal deleted inserted replaced
1:72f549f0d891 2:443894e2e912
1 ===========================================================================
2 ####COPYRIGHTBEGIN####
3
4 -------------------------------------------
5 The contents of this file are subject to the Cygnus eCos Public License
6 Version 1.0 (the "License"); you may not use this file except in
7 compliance with the License. You may obtain a copy of the License at
8 http://sourceware.cygnus.com/ecos
9
10 Software distributed under the License is distributed on an "AS IS"
11 basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
12 License for the specific language governing rights and limitations under
13 the License.
14
15 The Original Code is eCos - Embedded Cygnus Operating System, released
16 September 30, 1998.
17
18 The Initial Developer of the Original Code is Cygnus. Portions created
19 by Cygnus are Copyright (C) 1998,1999 Cygnus Solutions. All Rights Reserved.
20 -------------------------------------------
21
22 ####COPYRIGHTEND####
23 ===========================================================================
24
25 15 Jan 1999
26
27 How to build and install the GDB module on the PID
28
29 1. Configure a minimal eCos system with all packages except 'infra' disabled.
30 2. Edit <hal/hal.h> to enable GDB:
31 #define CYGDBG_HAL_DEBUG_GDB_INCLUDE_STUBS
32 #undef CYGDBG_HAL_DEBUG_GDB_BREAK_SUPPORT
33 #undef CYGDBG_HAL_DEBUG_GDB_THREAD_SUPPORT
34 3. make;make -C hal/arm/pid/current/misc
35 4. Download the image onto the PID board:
36 arm-elf-gdb -nw hal/arm/pid/current/misc/gdb_module.img
37 You can connect to the board using either existing GDB stubs or Angel.
38 This will download the stubs onto the board at 0x60000..0x64000
39 5. Configure a separate eCos system with all packages enabled.
40 6. make misc
41 7. Now download the FLASH programmer tool
42 arm-elf-gdb -nw hal/arm/pid/current/misc/prog_flash
43 8. Run the tool. The GDB stubs will now be programmed into the FLASH.
44
45 eCos GDB stubs should now be installed and set up as the default monitor when you
46 run from FLASH.