annotate packages/hal/arm/pid/current/misc/Notes @ 46:797268ecc331 ecos-sw-1999-10-19

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