Mercurial > flash_v2
annotate packages/redboot/current/cdl/redboot.cdl @ 1725:e0ebd07e25f3
* cdl/redboot.cdl: Change CYGNUM_REDBOOT_FLASH_BASE to a booldata
so we don't always look at address 0 for the flash!
| author | asl |
|---|---|
| date | Tue, 14 Sep 2004 14:02:47 +0000 |
| parents | faaea4243d52 |
| children |
| rev | line source |
|---|---|
|
115
6ed91473a1cd
Merge from eCos master repository on 2000-08-21-22:40:54-BST
jlarmour
parents:
diff
changeset
|
1 # ==================================================================== |
|
6ed91473a1cd
Merge from eCos master repository on 2000-08-21-22:40:54-BST
jlarmour
parents:
diff
changeset
|
2 # |
|
6ed91473a1cd
Merge from eCos master repository on 2000-08-21-22:40:54-BST
jlarmour
parents:
diff
changeset
|
3 # redboot.cdl |
|
6ed91473a1cd
Merge from eCos master repository on 2000-08-21-22:40:54-BST
jlarmour
parents:
diff
changeset
|
4 # |
|
6ed91473a1cd
Merge from eCos master repository on 2000-08-21-22:40:54-BST
jlarmour
parents:
diff
changeset
|
5 # Redboot package configuration data |
|
6ed91473a1cd
Merge from eCos master repository on 2000-08-21-22:40:54-BST
jlarmour
parents:
diff
changeset
|
6 # |
|
6ed91473a1cd
Merge from eCos master repository on 2000-08-21-22:40:54-BST
jlarmour
parents:
diff
changeset
|
7 # ==================================================================== |
|
208
e0c0827131d1
Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents:
202
diff
changeset
|
8 #####ECOSGPLCOPYRIGHTBEGIN#### |
|
210
d2c90368aeef
Merge from eCos master repository on 2002-05-23-21:39:14-BST
jlarmour
parents:
208
diff
changeset
|
9 ## ------------------------------------------- |
|
d2c90368aeef
Merge from eCos master repository on 2002-05-23-21:39:14-BST
jlarmour
parents:
208
diff
changeset
|
10 ## This file is part of eCos, the Embedded Configurable Operating System. |
|
d2c90368aeef
Merge from eCos master repository on 2002-05-23-21:39:14-BST
jlarmour
parents:
208
diff
changeset
|
11 ## Copyright (C) 1998, 1999, 2000, 2001, 2002 Red Hat, Inc. |
| 1485 | 12 ## Copyright (C) 2002, 2003, 2004 Gary Thomas |
|
210
d2c90368aeef
Merge from eCos master repository on 2002-05-23-21:39:14-BST
jlarmour
parents:
208
diff
changeset
|
13 ## |
|
d2c90368aeef
Merge from eCos master repository on 2002-05-23-21:39:14-BST
jlarmour
parents:
208
diff
changeset
|
14 ## eCos is free software; you can redistribute it and/or modify it under |
|
d2c90368aeef
Merge from eCos master repository on 2002-05-23-21:39:14-BST
jlarmour
parents:
208
diff
changeset
|
15 ## the terms of the GNU General Public License as published by the Free |
|
d2c90368aeef
Merge from eCos master repository on 2002-05-23-21:39:14-BST
jlarmour
parents:
208
diff
changeset
|
16 ## Software Foundation; either version 2 or (at your option) any later version. |
|
d2c90368aeef
Merge from eCos master repository on 2002-05-23-21:39:14-BST
jlarmour
parents:
208
diff
changeset
|
17 ## |
|
d2c90368aeef
Merge from eCos master repository on 2002-05-23-21:39:14-BST
jlarmour
parents:
208
diff
changeset
|
18 ## eCos is distributed in the hope that it will be useful, but WITHOUT ANY |
|
d2c90368aeef
Merge from eCos master repository on 2002-05-23-21:39:14-BST
jlarmour
parents:
208
diff
changeset
|
19 ## WARRANTY; without even the implied warranty of MERCHANTABILITY or |
|
d2c90368aeef
Merge from eCos master repository on 2002-05-23-21:39:14-BST
jlarmour
parents:
208
diff
changeset
|
20 ## FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
|
d2c90368aeef
Merge from eCos master repository on 2002-05-23-21:39:14-BST
jlarmour
parents:
208
diff
changeset
|
21 ## for more details. |
|
d2c90368aeef
Merge from eCos master repository on 2002-05-23-21:39:14-BST
jlarmour
parents:
208
diff
changeset
|
22 ## |
|
d2c90368aeef
Merge from eCos master repository on 2002-05-23-21:39:14-BST
jlarmour
parents:
208
diff
changeset
|
23 ## You should have received a copy of the GNU General Public License along |
|
d2c90368aeef
Merge from eCos master repository on 2002-05-23-21:39:14-BST
jlarmour
parents:
208
diff
changeset
|
24 ## with eCos; if not, write to the Free Software Foundation, Inc., |
|
d2c90368aeef
Merge from eCos master repository on 2002-05-23-21:39:14-BST
jlarmour
parents:
208
diff
changeset
|
25 ## 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. |
|
d2c90368aeef
Merge from eCos master repository on 2002-05-23-21:39:14-BST
jlarmour
parents:
208
diff
changeset
|
26 ## |
|
d2c90368aeef
Merge from eCos master repository on 2002-05-23-21:39:14-BST
jlarmour
parents:
208
diff
changeset
|
27 ## As a special exception, if other files instantiate templates or use macros |
|
d2c90368aeef
Merge from eCos master repository on 2002-05-23-21:39:14-BST
jlarmour
parents:
208
diff
changeset
|
28 ## or inline functions from this file, or you compile this file and link it |
|
d2c90368aeef
Merge from eCos master repository on 2002-05-23-21:39:14-BST
jlarmour
parents:
208
diff
changeset
|
29 ## with other works to produce a work based on this file, this file does not |
|
d2c90368aeef
Merge from eCos master repository on 2002-05-23-21:39:14-BST
jlarmour
parents:
208
diff
changeset
|
30 ## by itself cause the resulting work to be covered by the GNU General Public |
|
d2c90368aeef
Merge from eCos master repository on 2002-05-23-21:39:14-BST
jlarmour
parents:
208
diff
changeset
|
31 ## License. However the source code for this file must still be made available |
|
d2c90368aeef
Merge from eCos master repository on 2002-05-23-21:39:14-BST
jlarmour
parents:
208
diff
changeset
|
32 ## in accordance with section (3) of the GNU General Public License. |
|
d2c90368aeef
Merge from eCos master repository on 2002-05-23-21:39:14-BST
jlarmour
parents:
208
diff
changeset
|
33 ## |
|
d2c90368aeef
Merge from eCos master repository on 2002-05-23-21:39:14-BST
jlarmour
parents:
208
diff
changeset
|
34 ## This exception does not invalidate any other reasons why a work based on |
|
d2c90368aeef
Merge from eCos master repository on 2002-05-23-21:39:14-BST
jlarmour
parents:
208
diff
changeset
|
35 ## this file might be covered by the GNU General Public License. |
|
d2c90368aeef
Merge from eCos master repository on 2002-05-23-21:39:14-BST
jlarmour
parents:
208
diff
changeset
|
36 ## |
|
d2c90368aeef
Merge from eCos master repository on 2002-05-23-21:39:14-BST
jlarmour
parents:
208
diff
changeset
|
37 ## Alternative licenses for eCos may be arranged by contacting Red Hat, Inc. |
|
d2c90368aeef
Merge from eCos master repository on 2002-05-23-21:39:14-BST
jlarmour
parents:
208
diff
changeset
|
38 ## at http://sources.redhat.com/ecos/ecos-license/ |
|
d2c90368aeef
Merge from eCos master repository on 2002-05-23-21:39:14-BST
jlarmour
parents:
208
diff
changeset
|
39 ## ------------------------------------------- |
|
208
e0c0827131d1
Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents:
202
diff
changeset
|
40 #####ECOSGPLCOPYRIGHTEND#### |
|
115
6ed91473a1cd
Merge from eCos master repository on 2000-08-21-22:40:54-BST
jlarmour
parents:
diff
changeset
|
41 # ==================================================================== |
|
6ed91473a1cd
Merge from eCos master repository on 2000-08-21-22:40:54-BST
jlarmour
parents:
diff
changeset
|
42 ######DESCRIPTIONBEGIN#### |
|
6ed91473a1cd
Merge from eCos master repository on 2000-08-21-22:40:54-BST
jlarmour
parents:
diff
changeset
|
43 # |
|
126
518f42066aba
Merge from eCos master repository on 2000-09-19-06:25:26-BST
jlarmour
parents:
119
diff
changeset
|
44 # Author(s): gthomas |
|
115
6ed91473a1cd
Merge from eCos master repository on 2000-08-21-22:40:54-BST
jlarmour
parents:
diff
changeset
|
45 # Original data: gthomas |
|
306
eb332fa195ca
Add CDL control over FIS entry size - from Thomas Koeller
gthomas
parents:
284
diff
changeset
|
46 # Contributors: Philippe Robin, Andrew Lunn, tkoeller |
|
126
518f42066aba
Merge from eCos master repository on 2000-09-19-06:25:26-BST
jlarmour
parents:
119
diff
changeset
|
47 # Date: 2000-05-01 |
|
115
6ed91473a1cd
Merge from eCos master repository on 2000-08-21-22:40:54-BST
jlarmour
parents:
diff
changeset
|
48 # |
|
6ed91473a1cd
Merge from eCos master repository on 2000-08-21-22:40:54-BST
jlarmour
parents:
diff
changeset
|
49 #####DESCRIPTIONEND#### |
|
6ed91473a1cd
Merge from eCos master repository on 2000-08-21-22:40:54-BST
jlarmour
parents:
diff
changeset
|
50 # |
|
6ed91473a1cd
Merge from eCos master repository on 2000-08-21-22:40:54-BST
jlarmour
parents:
diff
changeset
|
51 # ==================================================================== |
|
6ed91473a1cd
Merge from eCos master repository on 2000-08-21-22:40:54-BST
jlarmour
parents:
diff
changeset
|
52 cdl_package CYGPKG_REDBOOT { |
|
126
518f42066aba
Merge from eCos master repository on 2000-09-19-06:25:26-BST
jlarmour
parents:
119
diff
changeset
|
53 display "Redboot ROM monitor" |
| 737 | 54 doc ref/redboot.html |
|
115
6ed91473a1cd
Merge from eCos master repository on 2000-08-21-22:40:54-BST
jlarmour
parents:
diff
changeset
|
55 define_header redboot.h |
|
6ed91473a1cd
Merge from eCos master repository on 2000-08-21-22:40:54-BST
jlarmour
parents:
diff
changeset
|
56 description " |
|
6ed91473a1cd
Merge from eCos master repository on 2000-08-21-22:40:54-BST
jlarmour
parents:
diff
changeset
|
57 This package supports the Redboot \[stand-alone debug monitor\] |
|
6ed91473a1cd
Merge from eCos master repository on 2000-08-21-22:40:54-BST
jlarmour
parents:
diff
changeset
|
58 using eCos as the underlying board support mechanism." |
|
6ed91473a1cd
Merge from eCos master repository on 2000-08-21-22:40:54-BST
jlarmour
parents:
diff
changeset
|
59 |
| 1485 | 60 # Use of separate interrupt stack causes problems when running |
| 61 # programs as they can end up trashing RedBoot's stack | |
| 62 requires { CYGIMP_HAL_COMMON_INTERRUPTS_USE_INTERRUPT_STACK == 0 } | |
| 63 | |
|
115
6ed91473a1cd
Merge from eCos master repository on 2000-08-21-22:40:54-BST
jlarmour
parents:
diff
changeset
|
64 # Since the CYGDAT_REDBOOT_CONSOLE_DEV setting ends up in the platform |
|
6ed91473a1cd
Merge from eCos master repository on 2000-08-21-22:40:54-BST
jlarmour
parents:
diff
changeset
|
65 # HAL header, we need to include that here (via hal.h). |
|
6ed91473a1cd
Merge from eCos master repository on 2000-08-21-22:40:54-BST
jlarmour
parents:
diff
changeset
|
66 define_proc { |
|
6ed91473a1cd
Merge from eCos master repository on 2000-08-21-22:40:54-BST
jlarmour
parents:
diff
changeset
|
67 puts $::cdl_header "#include <pkgconf/hal.h>" |
|
6ed91473a1cd
Merge from eCos master repository on 2000-08-21-22:40:54-BST
jlarmour
parents:
diff
changeset
|
68 } |
|
6ed91473a1cd
Merge from eCos master repository on 2000-08-21-22:40:54-BST
jlarmour
parents:
diff
changeset
|
69 |
|
208
e0c0827131d1
Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents:
202
diff
changeset
|
70 cdl_option CYGSEM_REDBOOT_ELF { |
|
e0c0827131d1
Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents:
202
diff
changeset
|
71 flavor bool |
|
e0c0827131d1
Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents:
202
diff
changeset
|
72 display "Include support for ELF file format" |
|
e0c0827131d1
Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents:
202
diff
changeset
|
73 default_value 1 |
|
e0c0827131d1
Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents:
202
diff
changeset
|
74 } |
|
1717
faaea4243d52
* cdl/redboot.cdl: Fixed the type of CYGNUM_REDBOOT_FLASH_BASE
asl
parents:
1514
diff
changeset
|
75 |
|
264
57f3c72256bb
Reorg CLI functions into separate files. Update CDL. Fix macros in scripts.
gthomas
parents:
231
diff
changeset
|
76 |
|
57f3c72256bb
Reorg CLI functions into separate files. Update CDL. Fix macros in scripts.
gthomas
parents:
231
diff
changeset
|
77 cdl_interface CYGINT_REDBOOT_LOAD_METHOD { |
|
57f3c72256bb
Reorg CLI functions into separate files. Update CDL. Fix macros in scripts.
gthomas
parents:
231
diff
changeset
|
78 display "Methods of loading images using redboot" |
|
57f3c72256bb
Reorg CLI functions into separate files. Update CDL. Fix macros in scripts.
gthomas
parents:
231
diff
changeset
|
79 } |
|
57f3c72256bb
Reorg CLI functions into separate files. Update CDL. Fix macros in scripts.
gthomas
parents:
231
diff
changeset
|
80 |
|
126
518f42066aba
Merge from eCos master repository on 2000-09-19-06:25:26-BST
jlarmour
parents:
119
diff
changeset
|
81 cdl_component CYGBLD_BUILD_REDBOOT { |
|
115
6ed91473a1cd
Merge from eCos master repository on 2000-08-21-22:40:54-BST
jlarmour
parents:
diff
changeset
|
82 display "Build Redboot ROM ELF image" |
|
6ed91473a1cd
Merge from eCos master repository on 2000-08-21-22:40:54-BST
jlarmour
parents:
diff
changeset
|
83 default_value 0 |
|
6ed91473a1cd
Merge from eCos master repository on 2000-08-21-22:40:54-BST
jlarmour
parents:
diff
changeset
|
84 requires CYGPKG_INFRA |
|
191
678094f34118
Merge from eCos master repository on 2001-10-19-06:43:02-BST
jlarmour
parents:
186
diff
changeset
|
85 requires CYGPKG_ISOINFRA |
| 1434 | 86 |
|
126
518f42066aba
Merge from eCos master repository on 2000-09-19-06:25:26-BST
jlarmour
parents:
119
diff
changeset
|
87 requires ! CYGDBG_HAL_DEBUG_GDB_CTRLC_SUPPORT |
|
518f42066aba
Merge from eCos master repository on 2000-09-19-06:25:26-BST
jlarmour
parents:
119
diff
changeset
|
88 requires ! CYGDBG_HAL_COMMON_INTERRUPTS_SAVE_MINIMUM_CONTEXT |
|
117
bd1a71e3e476
Merge from eCos master repository on 2000-08-25-19:22:58-BST
jlarmour
parents:
115
diff
changeset
|
89 requires ! CYGDBG_HAL_COMMON_CONTEXT_SAVE_MINIMUM |
|
159
511f4dc167f6
Merge from eCos master repository on 2001-05-18-01:30:05-BST
jlarmour
parents:
157
diff
changeset
|
90 requires CYGSEM_HAL_VIRTUAL_VECTOR_SUPPORT |
|
115
6ed91473a1cd
Merge from eCos master repository on 2000-08-21-22:40:54-BST
jlarmour
parents:
diff
changeset
|
91 |
|
182
f62680ef1804
Merge from eCos master repository on 2001-09-07-06:43:02-BST
jlarmour
parents:
179
diff
changeset
|
92 requires CYGINT_ISO_STRING_MEMFUNCS |
|
f62680ef1804
Merge from eCos master repository on 2001-09-07-06:43:02-BST
jlarmour
parents:
179
diff
changeset
|
93 requires CYGINT_ISO_STRING_STRFUNCS |
|
264
57f3c72256bb
Reorg CLI functions into separate files. Update CDL. Fix macros in scripts.
gthomas
parents:
231
diff
changeset
|
94 requires CYGINT_REDBOOT_LOAD_METHOD |
|
191
678094f34118
Merge from eCos master repository on 2001-10-19-06:43:02-BST
jlarmour
parents:
186
diff
changeset
|
95 |
| 1434 | 96 cdl_option CYGBLD_BUILD_REDBOOT_WITH_GDB { |
| 97 display "Include GDB support in RedBoot" | |
| 98 no_define | |
| 99 default_value 1 | |
| 100 active_if CYGINT_HAL_DEBUG_GDB_STUBS | |
| 101 requires CYGDBG_HAL_DEBUG_GDB_INCLUDE_STUBS | |
| 102 requires CYGDBG_HAL_DEBUG_GDB_BREAK_SUPPORT | |
| 103 description " | |
| 104 RedBoot normally includes support for the GDB debugging protocols. | |
| 105 This option allows this to be disabled which may yield a substantial | |
| 106 savings in terms of code and memory usage by RedBoot." | |
| 107 } | |
| 108 | |
|
126
518f42066aba
Merge from eCos master repository on 2000-09-19-06:25:26-BST
jlarmour
parents:
119
diff
changeset
|
109 cdl_option CYGBLD_BUILD_REDBOOT_WITH_THREADS { |
|
171
42f843b391aa
Merge from eCos master repository on 2001-07-18-03:13:25-BST
jlarmour
parents:
165
diff
changeset
|
110 display "Threads debugging support" |
|
126
518f42066aba
Merge from eCos master repository on 2000-09-19-06:25:26-BST
jlarmour
parents:
119
diff
changeset
|
111 no_define |
|
171
42f843b391aa
Merge from eCos master repository on 2001-07-18-03:13:25-BST
jlarmour
parents:
165
diff
changeset
|
112 description " |
|
42f843b391aa
Merge from eCos master repository on 2001-07-18-03:13:25-BST
jlarmour
parents:
165
diff
changeset
|
113 Enabling this option will include special code in the GDB stubs to |
|
42f843b391aa
Merge from eCos master repository on 2001-07-18-03:13:25-BST
jlarmour
parents:
165
diff
changeset
|
114 support debugging of threaded programs. In the case of eCos programs, |
|
42f843b391aa
Merge from eCos master repository on 2001-07-18-03:13:25-BST
jlarmour
parents:
165
diff
changeset
|
115 this support allows GDB to have complete access to the eCos threads |
|
42f843b391aa
Merge from eCos master repository on 2001-07-18-03:13:25-BST
jlarmour
parents:
165
diff
changeset
|
116 in the program." |
|
132
0ae0bc38e387
Merge from eCos master repository on 2000-10-31-00:30:36-GMT
jlarmour
parents:
130
diff
changeset
|
117 active_if { CYG_HAL_STARTUP != "RAM" } |
|
126
518f42066aba
Merge from eCos master repository on 2000-09-19-06:25:26-BST
jlarmour
parents:
119
diff
changeset
|
118 requires CYGDBG_HAL_DEBUG_GDB_THREAD_SUPPORT |
|
518f42066aba
Merge from eCos master repository on 2000-09-19-06:25:26-BST
jlarmour
parents:
119
diff
changeset
|
119 } |
|
518f42066aba
Merge from eCos master repository on 2000-09-19-06:25:26-BST
jlarmour
parents:
119
diff
changeset
|
120 |
|
172
cd45958b28ff
Merge from eCos master repository on 2001-07-20-10:24:43-BST
jlarmour
parents:
171
diff
changeset
|
121 cdl_option CYGDAT_REDBOOT_CUSTOM_VERSION { |
|
cd45958b28ff
Merge from eCos master repository on 2001-07-20-10:24:43-BST
jlarmour
parents:
171
diff
changeset
|
122 display "Customized version string" |
|
cd45958b28ff
Merge from eCos master repository on 2001-07-20-10:24:43-BST
jlarmour
parents:
171
diff
changeset
|
123 flavor booldata |
|
cd45958b28ff
Merge from eCos master repository on 2001-07-20-10:24:43-BST
jlarmour
parents:
171
diff
changeset
|
124 default_value 0 |
|
cd45958b28ff
Merge from eCos master repository on 2001-07-20-10:24:43-BST
jlarmour
parents:
171
diff
changeset
|
125 description " |
|
cd45958b28ff
Merge from eCos master repository on 2001-07-20-10:24:43-BST
jlarmour
parents:
171
diff
changeset
|
126 Use this option to define a customized version \"string\" for |
|
cd45958b28ff
Merge from eCos master repository on 2001-07-20-10:24:43-BST
jlarmour
parents:
171
diff
changeset
|
127 RedBoot. Note: this value is only cosmetic, displayed by the |
|
cd45958b28ff
Merge from eCos master repository on 2001-07-20-10:24:43-BST
jlarmour
parents:
171
diff
changeset
|
128 \"version\" command, but is useful for providing site specific |
|
cd45958b28ff
Merge from eCos master repository on 2001-07-20-10:24:43-BST
jlarmour
parents:
171
diff
changeset
|
129 information about the RedBoot configuration." |
|
cd45958b28ff
Merge from eCos master repository on 2001-07-20-10:24:43-BST
jlarmour
parents:
171
diff
changeset
|
130 } |
|
cd45958b28ff
Merge from eCos master repository on 2001-07-20-10:24:43-BST
jlarmour
parents:
171
diff
changeset
|
131 |
|
194
feb0fcf83327
Merge from eCos master repository on 2001-10-26-06:43:03-BST
jlarmour
parents:
191
diff
changeset
|
132 cdl_option CYGNUM_REDBOOT_CMD_LINE_EDITING { |
|
feb0fcf83327
Merge from eCos master repository on 2001-10-26-06:43:03-BST
jlarmour
parents:
191
diff
changeset
|
133 display "Enable command line editing" |
|
feb0fcf83327
Merge from eCos master repository on 2001-10-26-06:43:03-BST
jlarmour
parents:
191
diff
changeset
|
134 flavor data |
|
feb0fcf83327
Merge from eCos master repository on 2001-10-26-06:43:03-BST
jlarmour
parents:
191
diff
changeset
|
135 default_value 16 |
|
feb0fcf83327
Merge from eCos master repository on 2001-10-26-06:43:03-BST
jlarmour
parents:
191
diff
changeset
|
136 description " |
|
feb0fcf83327
Merge from eCos master repository on 2001-10-26-06:43:03-BST
jlarmour
parents:
191
diff
changeset
|
137 If this option is non-zero, RedBoot will remember the last N command |
|
feb0fcf83327
Merge from eCos master repository on 2001-10-26-06:43:03-BST
jlarmour
parents:
191
diff
changeset
|
138 lines. These lines may be reused. Enabling this history will also |
|
feb0fcf83327
Merge from eCos master repository on 2001-10-26-06:43:03-BST
jlarmour
parents:
191
diff
changeset
|
139 enable rudimentary editting of the lines themselves." |
|
feb0fcf83327
Merge from eCos master repository on 2001-10-26-06:43:03-BST
jlarmour
parents:
191
diff
changeset
|
140 } |
|
feb0fcf83327
Merge from eCos master repository on 2001-10-26-06:43:03-BST
jlarmour
parents:
191
diff
changeset
|
141 |
| 1032 | 142 cdl_option CYGBLD_REDBOOT_CMD_LINE_HISTORY { |
| 143 display "Enable history command and expansion" | |
| 144 requires { CYGNUM_REDBOOT_CMD_LINE_EDITING > 0 } | |
| 145 flavor bool | |
| 146 default_value 1 | |
| 147 description " | |
| 148 Enabling this option will allow RedBoot to provide a history command | |
| 149 to list previous commands. Also enables history expansion via '!' | |
| 150 character similar to bash shell." | |
| 151 } | |
|
1223
dbcfe4e0dbd2
New platform - TAMS MOAB - and generic changes to support it
gthomas
parents:
1169
diff
changeset
|
152 |
|
dbcfe4e0dbd2
New platform - TAMS MOAB - and generic changes to support it
gthomas
parents:
1169
diff
changeset
|
153 cdl_option CYGBLD_REDBOOT_MAX_MEM_SEGMENTS { |
|
dbcfe4e0dbd2
New platform - TAMS MOAB - and generic changes to support it
gthomas
parents:
1169
diff
changeset
|
154 display "Number of unique RAM segments on platform" |
|
dbcfe4e0dbd2
New platform - TAMS MOAB - and generic changes to support it
gthomas
parents:
1169
diff
changeset
|
155 flavor data |
|
dbcfe4e0dbd2
New platform - TAMS MOAB - and generic changes to support it
gthomas
parents:
1169
diff
changeset
|
156 default_value 1 |
|
dbcfe4e0dbd2
New platform - TAMS MOAB - and generic changes to support it
gthomas
parents:
1169
diff
changeset
|
157 description " |
|
dbcfe4e0dbd2
New platform - TAMS MOAB - and generic changes to support it
gthomas
parents:
1169
diff
changeset
|
158 Change this option to be the number of memory segments which are |
|
dbcfe4e0dbd2
New platform - TAMS MOAB - and generic changes to support it
gthomas
parents:
1169
diff
changeset
|
159 supported by the platform. If the value is greater than 1, then |
|
dbcfe4e0dbd2
New platform - TAMS MOAB - and generic changes to support it
gthomas
parents:
1169
diff
changeset
|
160 a platform specific function must provide information about the |
|
dbcfe4e0dbd2
New platform - TAMS MOAB - and generic changes to support it
gthomas
parents:
1169
diff
changeset
|
161 additional segments." |
|
dbcfe4e0dbd2
New platform - TAMS MOAB - and generic changes to support it
gthomas
parents:
1169
diff
changeset
|
162 } |
| 1032 | 163 |
|
1492
8b3549abe4ac
* cdl/redboot.cdl: Bring CYGNUM_REDBOOT_LOAD_ZLIB_BUFFER under
jlarmour
parents:
1485
diff
changeset
|
164 cdl_component CYGBLD_BUILD_REDBOOT_WITH_ZLIB { |
|
264
57f3c72256bb
Reorg CLI functions into separate files. Update CDL. Fix macros in scripts.
gthomas
parents:
231
diff
changeset
|
165 display "Include support gzip/zlib decompression" |
|
57f3c72256bb
Reorg CLI functions into separate files. Update CDL. Fix macros in scripts.
gthomas
parents:
231
diff
changeset
|
166 active_if CYGPKG_COMPRESS_ZLIB |
|
57f3c72256bb
Reorg CLI functions into separate files. Update CDL. Fix macros in scripts.
gthomas
parents:
231
diff
changeset
|
167 default_value 1 |
|
57f3c72256bb
Reorg CLI functions into separate files. Update CDL. Fix macros in scripts.
gthomas
parents:
231
diff
changeset
|
168 implements CYGINT_COMPRESS_ZLIB_LOCAL_ALLOC |
|
57f3c72256bb
Reorg CLI functions into separate files. Update CDL. Fix macros in scripts.
gthomas
parents:
231
diff
changeset
|
169 compile decompress.c |
|
1492
8b3549abe4ac
* cdl/redboot.cdl: Bring CYGNUM_REDBOOT_LOAD_ZLIB_BUFFER under
jlarmour
parents:
1485
diff
changeset
|
170 |
|
8b3549abe4ac
* cdl/redboot.cdl: Bring CYGNUM_REDBOOT_LOAD_ZLIB_BUFFER under
jlarmour
parents:
1485
diff
changeset
|
171 cdl_option CYGNUM_REDBOOT_LOAD_ZLIB_BUFFER { |
|
8b3549abe4ac
* cdl/redboot.cdl: Bring CYGNUM_REDBOOT_LOAD_ZLIB_BUFFER under
jlarmour
parents:
1485
diff
changeset
|
172 display "Size of zlib decompression buffer" |
|
8b3549abe4ac
* cdl/redboot.cdl: Bring CYGNUM_REDBOOT_LOAD_ZLIB_BUFFER under
jlarmour
parents:
1485
diff
changeset
|
173 flavor data |
|
8b3549abe4ac
* cdl/redboot.cdl: Bring CYGNUM_REDBOOT_LOAD_ZLIB_BUFFER under
jlarmour
parents:
1485
diff
changeset
|
174 default_value 64 |
|
8b3549abe4ac
* cdl/redboot.cdl: Bring CYGNUM_REDBOOT_LOAD_ZLIB_BUFFER under
jlarmour
parents:
1485
diff
changeset
|
175 legal_values 5 to 256 |
|
8b3549abe4ac
* cdl/redboot.cdl: Bring CYGNUM_REDBOOT_LOAD_ZLIB_BUFFER under
jlarmour
parents:
1485
diff
changeset
|
176 description " |
|
8b3549abe4ac
* cdl/redboot.cdl: Bring CYGNUM_REDBOOT_LOAD_ZLIB_BUFFER under
jlarmour
parents:
1485
diff
changeset
|
177 This is the size of the buffer filled with incoming data |
|
8b3549abe4ac
* cdl/redboot.cdl: Bring CYGNUM_REDBOOT_LOAD_ZLIB_BUFFER under
jlarmour
parents:
1485
diff
changeset
|
178 during load before calls are made to the decompressor |
|
8b3549abe4ac
* cdl/redboot.cdl: Bring CYGNUM_REDBOOT_LOAD_ZLIB_BUFFER under
jlarmour
parents:
1485
diff
changeset
|
179 function. For ethernet downloads this can be made bigger |
|
8b3549abe4ac
* cdl/redboot.cdl: Bring CYGNUM_REDBOOT_LOAD_ZLIB_BUFFER under
jlarmour
parents:
1485
diff
changeset
|
180 (at the cost of memory), but for serial downloads on slow |
|
8b3549abe4ac
* cdl/redboot.cdl: Bring CYGNUM_REDBOOT_LOAD_ZLIB_BUFFER under
jlarmour
parents:
1485
diff
changeset
|
181 processors it may be necessary to reduce the size to |
|
8b3549abe4ac
* cdl/redboot.cdl: Bring CYGNUM_REDBOOT_LOAD_ZLIB_BUFFER under
jlarmour
parents:
1485
diff
changeset
|
182 avoid serial overruns. zlib appears to bail out if less than |
|
8b3549abe4ac
* cdl/redboot.cdl: Bring CYGNUM_REDBOOT_LOAD_ZLIB_BUFFER under
jlarmour
parents:
1485
diff
changeset
|
183 five bytes are available initially so this is the minimum." |
|
8b3549abe4ac
* cdl/redboot.cdl: Bring CYGNUM_REDBOOT_LOAD_ZLIB_BUFFER under
jlarmour
parents:
1485
diff
changeset
|
184 } |
|
8b3549abe4ac
* cdl/redboot.cdl: Bring CYGNUM_REDBOOT_LOAD_ZLIB_BUFFER under
jlarmour
parents:
1485
diff
changeset
|
185 |
|
8b3549abe4ac
* cdl/redboot.cdl: Bring CYGNUM_REDBOOT_LOAD_ZLIB_BUFFER under
jlarmour
parents:
1485
diff
changeset
|
186 cdl_option CYGPRI_REDBOOT_ZLIB_FLASH { |
|
8b3549abe4ac
* cdl/redboot.cdl: Bring CYGNUM_REDBOOT_LOAD_ZLIB_BUFFER under
jlarmour
parents:
1485
diff
changeset
|
187 display "Support compression of Flash images" |
|
8b3549abe4ac
* cdl/redboot.cdl: Bring CYGNUM_REDBOOT_LOAD_ZLIB_BUFFER under
jlarmour
parents:
1485
diff
changeset
|
188 active_if CYGPKG_REDBOOT_FLASH |
|
8b3549abe4ac
* cdl/redboot.cdl: Bring CYGNUM_REDBOOT_LOAD_ZLIB_BUFFER under
jlarmour
parents:
1485
diff
changeset
|
189 active_if !CYGSEM_IO_FLASH_READ_INDIRECT |
|
8b3549abe4ac
* cdl/redboot.cdl: Bring CYGNUM_REDBOOT_LOAD_ZLIB_BUFFER under
jlarmour
parents:
1485
diff
changeset
|
190 calculated 1 |
|
8b3549abe4ac
* cdl/redboot.cdl: Bring CYGNUM_REDBOOT_LOAD_ZLIB_BUFFER under
jlarmour
parents:
1485
diff
changeset
|
191 description " |
|
8b3549abe4ac
* cdl/redboot.cdl: Bring CYGNUM_REDBOOT_LOAD_ZLIB_BUFFER under
jlarmour
parents:
1485
diff
changeset
|
192 This CDL indicates whether flash images can |
|
8b3549abe4ac
* cdl/redboot.cdl: Bring CYGNUM_REDBOOT_LOAD_ZLIB_BUFFER under
jlarmour
parents:
1485
diff
changeset
|
193 be decompressed from gzip/zlib format into RAM." |
|
8b3549abe4ac
* cdl/redboot.cdl: Bring CYGNUM_REDBOOT_LOAD_ZLIB_BUFFER under
jlarmour
parents:
1485
diff
changeset
|
194 } |
|
264
57f3c72256bb
Reorg CLI functions into separate files. Update CDL. Fix macros in scripts.
gthomas
parents:
231
diff
changeset
|
195 } |
|
57f3c72256bb
Reorg CLI functions into separate files. Update CDL. Fix macros in scripts.
gthomas
parents:
231
diff
changeset
|
196 |
|
57f3c72256bb
Reorg CLI functions into separate files. Update CDL. Fix macros in scripts.
gthomas
parents:
231
diff
changeset
|
197 cdl_option CYGBLD_BUILD_REDBOOT_WITH_XYZMODEM { |
|
57f3c72256bb
Reorg CLI functions into separate files. Update CDL. Fix macros in scripts.
gthomas
parents:
231
diff
changeset
|
198 display "Include support for xyzModem downloads" |
| 737 | 199 doc ref/download-command.html |
|
264
57f3c72256bb
Reorg CLI functions into separate files. Update CDL. Fix macros in scripts.
gthomas
parents:
231
diff
changeset
|
200 no_define |
|
57f3c72256bb
Reorg CLI functions into separate files. Update CDL. Fix macros in scripts.
gthomas
parents:
231
diff
changeset
|
201 default_value 1 |
|
57f3c72256bb
Reorg CLI functions into separate files. Update CDL. Fix macros in scripts.
gthomas
parents:
231
diff
changeset
|
202 implements CYGINT_REDBOOT_LOAD_METHOD |
|
57f3c72256bb
Reorg CLI functions into separate files. Update CDL. Fix macros in scripts.
gthomas
parents:
231
diff
changeset
|
203 compile -library=libextras.a xyzModem.c |
|
57f3c72256bb
Reorg CLI functions into separate files. Update CDL. Fix macros in scripts.
gthomas
parents:
231
diff
changeset
|
204 } |
|
57f3c72256bb
Reorg CLI functions into separate files. Update CDL. Fix macros in scripts.
gthomas
parents:
231
diff
changeset
|
205 |
|
208
e0c0827131d1
Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents:
202
diff
changeset
|
206 cdl_option CYGBLD_BUILD_REDBOOT_WITH_CKSUM { |
|
e0c0827131d1
Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents:
202
diff
changeset
|
207 display "Include POSIX checksum command" |
| 737 | 208 doc ref/cksum-command.html |
|
208
e0c0827131d1
Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents:
202
diff
changeset
|
209 default_value 1 |
|
264
57f3c72256bb
Reorg CLI functions into separate files. Update CDL. Fix macros in scripts.
gthomas
parents:
231
diff
changeset
|
210 compile -library=libextras.a cksum.c |
|
208
e0c0827131d1
Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents:
202
diff
changeset
|
211 } |
|
e0c0827131d1
Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents:
202
diff
changeset
|
212 |
|
e0c0827131d1
Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents:
202
diff
changeset
|
213 cdl_option CYGBLD_BUILD_REDBOOT_WITH_MFILL { |
|
e0c0827131d1
Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents:
202
diff
changeset
|
214 display "Include memory fill command" |
| 737 | 215 doc ref/mfill-command.html |
|
208
e0c0827131d1
Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents:
202
diff
changeset
|
216 default_value 1 |
|
264
57f3c72256bb
Reorg CLI functions into separate files. Update CDL. Fix macros in scripts.
gthomas
parents:
231
diff
changeset
|
217 compile -library=libextras.a mfill.c |
|
208
e0c0827131d1
Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents:
202
diff
changeset
|
218 } |
|
e0c0827131d1
Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents:
202
diff
changeset
|
219 |
|
e0c0827131d1
Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents:
202
diff
changeset
|
220 cdl_option CYGBLD_BUILD_REDBOOT_WITH_MCMP { |
|
e0c0827131d1
Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents:
202
diff
changeset
|
221 display "Include memory compare command" |
| 737 | 222 doc ref/mcmp-command.html |
|
208
e0c0827131d1
Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents:
202
diff
changeset
|
223 default_value 1 |
|
264
57f3c72256bb
Reorg CLI functions into separate files. Update CDL. Fix macros in scripts.
gthomas
parents:
231
diff
changeset
|
224 compile -library=libextras.a mcmp.c |
|
57f3c72256bb
Reorg CLI functions into separate files. Update CDL. Fix macros in scripts.
gthomas
parents:
231
diff
changeset
|
225 } |
|
57f3c72256bb
Reorg CLI functions into separate files. Update CDL. Fix macros in scripts.
gthomas
parents:
231
diff
changeset
|
226 |
| 1087 | 227 cdl_option CYGBLD_BUILD_REDBOOT_WITH_MCOPY { |
| 228 display "Include memory copy command" | |
| 229 doc ref/mcopy-command.html | |
| 230 default_value 1 | |
| 231 compile -library=libextras.a mcopy.c | |
| 232 } | |
| 233 | |
|
264
57f3c72256bb
Reorg CLI functions into separate files. Update CDL. Fix macros in scripts.
gthomas
parents:
231
diff
changeset
|
234 cdl_option CYGBLD_BUILD_REDBOOT_WITH_DUMP { |
|
57f3c72256bb
Reorg CLI functions into separate files. Update CDL. Fix macros in scripts.
gthomas
parents:
231
diff
changeset
|
235 display "Include memory dump command" |
| 737 | 236 doc ref/dump-command.html |
|
264
57f3c72256bb
Reorg CLI functions into separate files. Update CDL. Fix macros in scripts.
gthomas
parents:
231
diff
changeset
|
237 default_value 1 |
|
57f3c72256bb
Reorg CLI functions into separate files. Update CDL. Fix macros in scripts.
gthomas
parents:
231
diff
changeset
|
238 compile -library=libextras.a dump.c |
|
57f3c72256bb
Reorg CLI functions into separate files. Update CDL. Fix macros in scripts.
gthomas
parents:
231
diff
changeset
|
239 } |
|
57f3c72256bb
Reorg CLI functions into separate files. Update CDL. Fix macros in scripts.
gthomas
parents:
231
diff
changeset
|
240 |
|
57f3c72256bb
Reorg CLI functions into separate files. Update CDL. Fix macros in scripts.
gthomas
parents:
231
diff
changeset
|
241 cdl_option CYGBLD_BUILD_REDBOOT_WITH_CACHES { |
|
57f3c72256bb
Reorg CLI functions into separate files. Update CDL. Fix macros in scripts.
gthomas
parents:
231
diff
changeset
|
242 display "Include cache command" |
| 737 | 243 doc ref/cache-command.html |
|
264
57f3c72256bb
Reorg CLI functions into separate files. Update CDL. Fix macros in scripts.
gthomas
parents:
231
diff
changeset
|
244 default_value 1 |
|
57f3c72256bb
Reorg CLI functions into separate files. Update CDL. Fix macros in scripts.
gthomas
parents:
231
diff
changeset
|
245 compile -library=libextras.a caches.c |
|
57f3c72256bb
Reorg CLI functions into separate files. Update CDL. Fix macros in scripts.
gthomas
parents:
231
diff
changeset
|
246 } |
|
57f3c72256bb
Reorg CLI functions into separate files. Update CDL. Fix macros in scripts.
gthomas
parents:
231
diff
changeset
|
247 |
|
57f3c72256bb
Reorg CLI functions into separate files. Update CDL. Fix macros in scripts.
gthomas
parents:
231
diff
changeset
|
248 cdl_option CYGBLD_BUILD_REDBOOT_WITH_EXEC { |
|
57f3c72256bb
Reorg CLI functions into separate files. Update CDL. Fix macros in scripts.
gthomas
parents:
231
diff
changeset
|
249 display "Include exec command" |
| 737 | 250 doc ref/exec-command.html |
|
264
57f3c72256bb
Reorg CLI functions into separate files. Update CDL. Fix macros in scripts.
gthomas
parents:
231
diff
changeset
|
251 default_value 1 |
|
57f3c72256bb
Reorg CLI functions into separate files. Update CDL. Fix macros in scripts.
gthomas
parents:
231
diff
changeset
|
252 # Implemented within the platform HAL |
|
208
e0c0827131d1
Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents:
202
diff
changeset
|
253 } |
|
e0c0827131d1
Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents:
202
diff
changeset
|
254 |
|
115
6ed91473a1cd
Merge from eCos master repository on 2000-08-21-22:40:54-BST
jlarmour
parents:
diff
changeset
|
255 no_define |
|
6ed91473a1cd
Merge from eCos master repository on 2000-08-21-22:40:54-BST
jlarmour
parents:
diff
changeset
|
256 description "This option enables the building of the Redboot ELF image. |
|
6ed91473a1cd
Merge from eCos master repository on 2000-08-21-22:40:54-BST
jlarmour
parents:
diff
changeset
|
257 The image may require further relocation or symbol |
|
6ed91473a1cd
Merge from eCos master repository on 2000-08-21-22:40:54-BST
jlarmour
parents:
diff
changeset
|
258 stripping before being converted to a binary image. |
|
6ed91473a1cd
Merge from eCos master repository on 2000-08-21-22:40:54-BST
jlarmour
parents:
diff
changeset
|
259 This is handled by a rule in the target CDL." |
|
6ed91473a1cd
Merge from eCos master repository on 2000-08-21-22:40:54-BST
jlarmour
parents:
diff
changeset
|
260 |
| 1169 | 261 |
| 262 cdl_option CYGDBG_REDBOOT_TICK_GRANULARITY { | |
| 263 display "Granularity of timer/ticks" | |
| 264 flavor data | |
| 265 legal_values { 50 100 250 500 1000 } | |
| 266 default_value 250 | |
| 267 description " | |
| 268 This option controls the granularity of the timers. | |
| 269 Faster CPUs can afford higher granularity (lower values) | |
| 270 which should give higher network performance since the stack | |
| 271 is purely polled." | |
| 272 } | |
| 273 | |
| 284 | 274 compile main.c |
|
228
e1b642d73533
Improve load command - make I/O methods table driven.
gthomas
parents:
210
diff
changeset
|
275 compile misc_funs.c io.c parse.c ticks.c syscall.c alias.c |
|
264
57f3c72256bb
Reorg CLI functions into separate files. Update CDL. Fix macros in scripts.
gthomas
parents:
231
diff
changeset
|
276 compile -library=libextras.a load.c |
|
115
6ed91473a1cd
Merge from eCos master repository on 2000-08-21-22:40:54-BST
jlarmour
parents:
diff
changeset
|
277 |
|
6ed91473a1cd
Merge from eCos master repository on 2000-08-21-22:40:54-BST
jlarmour
parents:
diff
changeset
|
278 make -priority 320 { |
|
154
e2d866e32dac
Merge from eCos master repository on 2001-02-26-23:18:05-GMT
jlarmour
parents:
151
diff
changeset
|
279 <PREFIX>/bin/redboot.elf : $(PREFIX)/lib/target.ld $(PREFIX)/lib/vectors.o $(PREFIX)/lib/libtarget.a $(PREFIX)/lib/libextras.a |
|
115
6ed91473a1cd
Merge from eCos master repository on 2000-08-21-22:40:54-BST
jlarmour
parents:
diff
changeset
|
280 @sh -c "mkdir -p $(dir $@)" |
|
156
b939e9cada46
Merge from eCos master repository on 2001-03-29-21:44:39-BST
jlarmour
parents:
154
diff
changeset
|
281 $(CC) -c $(INCLUDE_PATH) $(CFLAGS) -o $(PREFIX)/lib/version.o $(REPOSITORY)/$(PACKAGE)/src/version.c |
|
159
511f4dc167f6
Merge from eCos master repository on 2001-05-18-01:30:05-BST
jlarmour
parents:
157
diff
changeset
|
282 $(CC) $(LDFLAGS) -L$(PREFIX)/lib -Ttarget.ld -o $@ $(PREFIX)/lib/version.o |
|
115
6ed91473a1cd
Merge from eCos master repository on 2000-08-21-22:40:54-BST
jlarmour
parents:
diff
changeset
|
283 } |
|
6ed91473a1cd
Merge from eCos master repository on 2000-08-21-22:40:54-BST
jlarmour
parents:
diff
changeset
|
284 |
|
632
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
285 cdl_component CYGPKG_REDBOOT_NETWORKING { |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
286 display "Redboot Networking" |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
287 flavor bool |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
288 active_if CYGPKG_IO_ETH_DRIVERS |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
289 default_value 1 |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
290 implements CYGINT_REDBOOT_LOAD_METHOD |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
291 compile net/bootp.c net/udp.c net/ip.c net/pktbuf.c net/cksum.c |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
292 compile net/enet.c net/icmp.c net/tcp.c net/timers.c net/arp.c |
| 1514 | 293 compile net/inet_addr.c |
| 294 compile -library=libextras.a net/ping.c net/net_io.c | |
|
632
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
295 description "This option includes networking support in RedBoot." |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
296 define_proc { |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
297 puts $::cdl_system_header "#define CYGNUM_HAL_VIRTUAL_VECTOR_AUX_CHANNELS 1" |
|
184
022f1e506033
Merge from eCos master repository on 2001-10-02-17:59:22-BST
jlarmour
parents:
183
diff
changeset
|
298 } |
|
632
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
299 |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
300 cdl_option CYGDBG_REDBOOT_NET_DEBUG { |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
301 display "Print net debug information" |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
302 flavor bool |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
303 default_value 0 |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
304 description " |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
305 This option is overriden by the configuration stored in flash." |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
306 } |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
307 |
| 886 | 308 cdl_option CYGSEM_REDBOOT_NET_TFTP_DOWNLOAD { |
| 309 display "Support TFTP for download" | |
| 310 flavor bool | |
| 311 default_value 1 | |
| 312 compile -library=libextras.a net/tftp_client.c | |
| 313 description " | |
| 314 This option enables the use of the TFTP protocol for download" | |
| 315 } | |
| 316 | |
|
632
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
317 cdl_option CYGSEM_REDBOOT_NET_HTTP_DOWNLOAD { |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
318 display "Support HTTP for download" |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
319 flavor bool |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
320 default_value 1 |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
321 compile -library=libextras.a net/http_client.c |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
322 description " |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
323 This option enables the use of the HTTP protocol for download" |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
324 } |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
325 |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
326 cdl_component CYGDAT_REDBOOT_DEFAULT_IP_ADDR { |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
327 display "Default IP address" |
| 231 | 328 flavor booldata |
| 329 default_value CYGSEM_REDBOOT_FLASH_CONFIG ? 0 : \ | |
| 330 { "0, 0, 0, 0" } | |
| 331 description " | |
| 332 This IP address is the default used by RedBoot if a BOOTP/DHCP | |
| 333 server does not respond. The numbers should be separated by | |
| 334 *commas*, and not dots. If an IP address is configured into | |
| 335 the Flash configuration, that will be used in preference." | |
|
632
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
336 |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
337 cdl_option CYGSEM_REDBOOT_DEFAULT_NO_BOOTP { |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
338 display "Do not try to use BOOTP" |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
339 flavor bool |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
340 default_value 0 |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
341 description " |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
342 By default Redboot tries to use BOOTP to get an IP |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
343 address. If there's no BOOTP server on your network |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
344 use this option to avoid to wait until the |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
345 timeout. This option is overriden by the |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
346 configuration stored in flash." |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
347 } |
| 231 | 348 } |
|
632
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
349 |
| 1227 | 350 cdl_component CYGSEM_REDBOOT_NETWORKING_DHCP { |
| 351 display "Use DHCP to get IP information" | |
| 352 flavor bool | |
| 353 default_value 1 | |
| 354 description " | |
| 355 Use DHCP protocol to obtain pertinent IP addresses, such as | |
| 356 the client, server, gateway, etc." | |
| 357 } | |
| 358 | |
|
632
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
359 cdl_component CYGSEM_REDBOOT_NETWORKING_USE_GATEWAY { |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
360 display "Use a gateway for non-local IP traffic" |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
361 flavor bool |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
362 default_value 1 |
| 1227 | 363 requires CYGSEM_REDBOOT_NETWORKING_DHCP |
|
632
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
364 description " |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
365 Enabling this option will allow the RedBoot networking |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
366 stack to use a \[single\] gateway to reach a non-local |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
367 IP address. If disabled, RedBoot will only be able to |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
368 reach nodes on the same subnet." |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
369 |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
370 cdl_component CYGDAT_REDBOOT_DEFAULT_GATEWAY_IP_ADDR { |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
371 display "Default gateway IP address" |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
372 flavor booldata |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
373 default_value CYGSEM_REDBOOT_FLASH_CONFIG ? 0 : \ |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
374 { "0, 0, 0, 0" } |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
375 description " |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
376 This IP address is the default used by RedBoot if a BOOTP/DHCP |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
377 server does not respond. The numbers should be separated by |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
378 *commas*, and not dots. If an IP address is configured into |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
379 the Flash configuration, that will be used in preference." |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
380 } |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
381 |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
382 cdl_component CYGDAT_REDBOOT_DEFAULT_IP_ADDR_MASK { |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
383 display "Default IP address mask" |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
384 flavor booldata |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
385 default_value CYGSEM_REDBOOT_FLASH_CONFIG ? 0 : \ |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
386 { "255, 255, 255, 0" } |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
387 description " |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
388 This IP address mask is the default used by RedBoot if a BOOTP/DHCP |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
389 server does not respond. The numbers should be separated by |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
390 *commas*, and not dots. If an IP address is configured into |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
391 the Flash configuration, that will be used in preference." |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
392 } |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
393 } |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
394 |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
395 cdl_option CYGNUM_REDBOOT_NETWORKING_TCP_PORT { |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
396 display "TCP port to listen for incoming connections" |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
397 flavor data |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
398 default_value 9000 |
| 231 | 399 description " |
|
632
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
400 RedBoot will 'listen' on this port for incoming TCP connections. |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
401 This allows outside connections to be made to the platform, either |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
402 for GDB or RedBoot commands." |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
403 } |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
404 |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
405 cdl_option CYGNUM_REDBOOT_NETWORKING_MAX_PKTBUF { |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
406 display "Number of \[network\] packet buffers" |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
407 flavor data |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
408 default_value 4 |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
409 legal_values 3 to 8 |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
410 description " |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
411 RedBoot may need to buffer network data to support various connections. |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
412 This option allows control over the number of such buffered packets, |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
413 and in turn, controls the amount of memory used by RedBoot (which |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
414 is not available to user applications). Each packet buffer takes up |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
415 about 1514 bytes. Note: there is little need to make this larger |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
416 than the default." |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
417 } |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
418 |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
419 cdl_component CYGPKG_REDBOOT_NETWORKING_DNS { |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
420 display "DNS support" |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
421 default_value 1 |
|
1231
3c221a743075
Remove DNS from RedBoot template & adjust .ecm files - BUG #57316
gthomas
parents:
1227
diff
changeset
|
422 active_if CYGPKG_NS_DNS |
|
632
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
423 requires !CYGPKG_NS_DNS_BUILD |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
424 compile net/dns.c |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
425 description " |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
426 When this option is enabled, RedBoot will be built with |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
427 support for DNS, allowing use of hostnames on the command |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
428 line." |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
429 |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
430 cdl_option CYGPKG_REDBOOT_NETWORKING_DNS_IP { |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
431 display "Default DNS IP" |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
432 flavor data |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
433 active_if !CYGSEM_REDBOOT_FLASH_CONFIG |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
434 default_value { "0.0.0.0" } |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
435 description " |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
436 This option sets the IP of the default DNS. The IP can be |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
437 changed at runtime as well." |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
438 } |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
439 |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
440 cdl_option CYGNUM_REDBOOT_NETWORKING_DNS_TIMEOUT { |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
441 display "Timeout in DNS lookup" |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
442 flavor data |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
443 default_value 10 |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
444 description " |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
445 This option sets the timeout used when looking up an |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
446 address via the DNS. Default is 10 seconds." |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
447 } |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
448 |
| 231 | 449 } |
| 849 | 450 |
| 451 cdl_option CYGNUM_REDBOOT_DEFAULT_NETWORK_DEVICE { | |
| 452 display "Default network device driver" | |
| 453 flavor data | |
| 454 active_if { !CYGSEM_REDBOOT_FLASH_CONFIG && CYGHWR_NET_DRIVERS > 1 } | |
| 455 legal_values 0 to CYGHWR_NET_DRIVERS-1 | |
| 456 default_value 0 | |
| 457 description " | |
| 458 This is the index of the first network device driver that | |
| 459 RedBoot will try to initialize." | |
| 460 } | |
| 231 | 461 } |
|
632
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
462 |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
463 cdl_option CYGPKG_REDBOOT_ANY_CONSOLE { |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
464 display "Allow RedBoot to use any I/O channel for its console." |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
465 flavor bool |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
466 default_value 1 |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
467 description " |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
468 If this option is enabled then RedBoot will attempt to use all |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
469 defined serial I/O channels for its console device. Once input |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
470 arrives at one of these channels then the console will use only |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
471 that port." |
|
115
6ed91473a1cd
Merge from eCos master repository on 2000-08-21-22:40:54-BST
jlarmour
parents:
diff
changeset
|
472 } |
|
632
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
473 |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
474 cdl_option CYGSEM_REDBOOT_VARIABLE_BAUD_RATE { |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
475 display "Allow RedBoot to adjust the baud rate on the serial console." |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
476 flavor bool |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
477 default_value 1 |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
478 active_if CYGINT_HAL_VIRTUAL_VECTOR_COMM_BAUD_SUPPORT |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
479 description " |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
480 If this option is enabled then RedBoot will support commands to set |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
481 and query the baud rate on the selected console." |
|
115
6ed91473a1cd
Merge from eCos master repository on 2000-08-21-22:40:54-BST
jlarmour
parents:
diff
changeset
|
482 } |
|
632
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
483 |
|
1223
dbcfe4e0dbd2
New platform - TAMS MOAB - and generic changes to support it
gthomas
parents:
1169
diff
changeset
|
484 cdl_option CYGSEM_REDBOOT_PLF_STARTUP { |
|
dbcfe4e0dbd2
New platform - TAMS MOAB - and generic changes to support it
gthomas
parents:
1169
diff
changeset
|
485 display "Run a platform specific startup function." |
|
dbcfe4e0dbd2
New platform - TAMS MOAB - and generic changes to support it
gthomas
parents:
1169
diff
changeset
|
486 flavor bool |
|
dbcfe4e0dbd2
New platform - TAMS MOAB - and generic changes to support it
gthomas
parents:
1169
diff
changeset
|
487 default_value 0 |
|
dbcfe4e0dbd2
New platform - TAMS MOAB - and generic changes to support it
gthomas
parents:
1169
diff
changeset
|
488 description " |
|
dbcfe4e0dbd2
New platform - TAMS MOAB - and generic changes to support it
gthomas
parents:
1169
diff
changeset
|
489 If this option is enabled then RedBoot will execute a platform |
|
dbcfe4e0dbd2
New platform - TAMS MOAB - and generic changes to support it
gthomas
parents:
1169
diff
changeset
|
490 specific startup function before entering into its command line |
|
dbcfe4e0dbd2
New platform - TAMS MOAB - and generic changes to support it
gthomas
parents:
1169
diff
changeset
|
491 processing. This allows the platform to perform any special |
|
dbcfe4e0dbd2
New platform - TAMS MOAB - and generic changes to support it
gthomas
parents:
1169
diff
changeset
|
492 setups before RedBoot actually starts running. Note: the entire |
|
dbcfe4e0dbd2
New platform - TAMS MOAB - and generic changes to support it
gthomas
parents:
1169
diff
changeset
|
493 RedBoot environment will already be initialized at this point." |
|
dbcfe4e0dbd2
New platform - TAMS MOAB - and generic changes to support it
gthomas
parents:
1169
diff
changeset
|
494 } |
|
dbcfe4e0dbd2
New platform - TAMS MOAB - and generic changes to support it
gthomas
parents:
1169
diff
changeset
|
495 |
|
1265
734edfe6c859
Allow platform to provide routine to validate ethernet addresses
gthomas
parents:
1233
diff
changeset
|
496 cdl_option CYGSEM_REDBOOT_PLF_ESA_VALIDATE { |
|
734edfe6c859
Allow platform to provide routine to validate ethernet addresses
gthomas
parents:
1233
diff
changeset
|
497 display "Run a platform specific ESA validation function." |
|
734edfe6c859
Allow platform to provide routine to validate ethernet addresses
gthomas
parents:
1233
diff
changeset
|
498 flavor bool |
|
734edfe6c859
Allow platform to provide routine to validate ethernet addresses
gthomas
parents:
1233
diff
changeset
|
499 default_value 0 |
|
734edfe6c859
Allow platform to provide routine to validate ethernet addresses
gthomas
parents:
1233
diff
changeset
|
500 description " |
|
734edfe6c859
Allow platform to provide routine to validate ethernet addresses
gthomas
parents:
1233
diff
changeset
|
501 If this option is enabled then RedBoot will execute a platform |
|
734edfe6c859
Allow platform to provide routine to validate ethernet addresses
gthomas
parents:
1233
diff
changeset
|
502 specific function to validate an ethernet ESA. This would be |
|
734edfe6c859
Allow platform to provide routine to validate ethernet addresses
gthomas
parents:
1233
diff
changeset
|
503 useful if the address must conform to standards set by the |
|
734edfe6c859
Allow platform to provide routine to validate ethernet addresses
gthomas
parents:
1233
diff
changeset
|
504 hardware manufacturer, etc." |
|
734edfe6c859
Allow platform to provide routine to validate ethernet addresses
gthomas
parents:
1233
diff
changeset
|
505 } |
|
734edfe6c859
Allow platform to provide routine to validate ethernet addresses
gthomas
parents:
1233
diff
changeset
|
506 |
|
632
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
507 cdl_option CYGPKG_REDBOOT_MAX_CMD_LINE { |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
508 display "Maximum command line length" |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
509 flavor data |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
510 default_value 256 |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
511 description " |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
512 This option allows control over how long the CLI command line |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
513 should be. This space will be allocated statically |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
514 rather than from RedBoot's stack." |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
515 } |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
516 |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
517 cdl_option CYGNUM_REDBOOT_CLI_IDLE_TIMEOUT { |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
518 display "Command processing idle timeout (ms)" |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
519 flavor data |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
520 default_value 10 |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
521 description " |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
522 This option controls the timeout period before the |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
523 command processing is considered 'idle'. Making this |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
524 number smaller will cause idle processing to take place |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
525 more often, etc. The default value of 10ms is a reasonable |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
526 tradeoff between responsiveness and overhead." |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
527 } |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
528 |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
529 cdl_option CYGSEM_REDBOOT_VALIDATE_USER_RAM_LOADS { |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
530 display "Validate RAM addresses during load" |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
531 flavor bool |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
532 default_value 1 |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
533 description " |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
534 This option controls whether or not RedBoot will make sure that |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
535 memory being used by the \"load\" command is in fact in user RAM. |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
536 Leaving the option enabled makes for a safer environment, but this |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
537 check may not be valid on all platforms, thus the ability to |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
538 disable it. ** Disable this only with great care **" |
|
138
289bf90c6a9b
Merge from eCos master repository on 2000-11-24-06:43:05-GMT
jlarmour
parents:
136
diff
changeset
|
539 } |
|
632
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
540 |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
541 cdl_component CYGPKG_REDBOOT_FLASH { |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
542 display "Allow RedBoot to support FLASH programming" |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
543 flavor bool |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
544 default_value 1 |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
545 active_if CYGHWR_IO_FLASH_DEVICE |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
546 description " |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
547 If this option is enabled then RedBoot will provide commands |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
548 to manage images in FLASH memory. These images can be loaded |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
549 into memory for execution or executed in place." |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
550 compile -library=libextras.a flash.c |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
551 |
|
1717
faaea4243d52
* cdl/redboot.cdl: Fixed the type of CYGNUM_REDBOOT_FLASH_BASE
asl
parents:
1514
diff
changeset
|
552 cdl_option CYGNUM_REDBOOT_FLASH_BASE { |
|
faaea4243d52
* cdl/redboot.cdl: Fixed the type of CYGNUM_REDBOOT_FLASH_BASE
asl
parents:
1514
diff
changeset
|
553 display "Base address of flash device redboot should use" |
|
1725
e0ebd07e25f3
* cdl/redboot.cdl: Change CYGNUM_REDBOOT_FLASH_BASE to a booldata
asl
parents:
1717
diff
changeset
|
554 flavor booldata |
|
1717
faaea4243d52
* cdl/redboot.cdl: Fixed the type of CYGNUM_REDBOOT_FLASH_BASE
asl
parents:
1514
diff
changeset
|
555 description " |
|
faaea4243d52
* cdl/redboot.cdl: Fixed the type of CYGNUM_REDBOOT_FLASH_BASE
asl
parents:
1514
diff
changeset
|
556 This option controls how redboot finds the flash |
|
1725
e0ebd07e25f3
* cdl/redboot.cdl: Change CYGNUM_REDBOOT_FLASH_BASE to a booldata
asl
parents:
1717
diff
changeset
|
557 device. Setting this option to an address will |
|
e0ebd07e25f3
* cdl/redboot.cdl: Change CYGNUM_REDBOOT_FLASH_BASE to a booldata
asl
parents:
1717
diff
changeset
|
558 cause redboot to use that address as the base of the |
|
e0ebd07e25f3
* cdl/redboot.cdl: Change CYGNUM_REDBOOT_FLASH_BASE to a booldata
asl
parents:
1717
diff
changeset
|
559 flash device." |
|
1717
faaea4243d52
* cdl/redboot.cdl: Fixed the type of CYGNUM_REDBOOT_FLASH_BASE
asl
parents:
1514
diff
changeset
|
560 } |
|
faaea4243d52
* cdl/redboot.cdl: Fixed the type of CYGNUM_REDBOOT_FLASH_BASE
asl
parents:
1514
diff
changeset
|
561 |
|
632
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
562 cdl_option CYGOPT_REDBOOT_FIS { |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
563 display "RedBoot Flash Image System support" |
|
159
511f4dc167f6
Merge from eCos master repository on 2001-05-18-01:30:05-BST
jlarmour
parents:
157
diff
changeset
|
564 default_value 1 |
| 737 | 565 doc ref/flash-image-system.html |
|
159
511f4dc167f6
Merge from eCos master repository on 2001-05-18-01:30:05-BST
jlarmour
parents:
157
diff
changeset
|
566 description " |
|
632
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
567 This option enables the Flash Image System commands |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
568 and support within RedBoot. If disabled, simple Flash |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
569 access commands such as \"fis write\" will still exist. |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
570 This option would be disabled for targets that need simple |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
571 FLASH manipulation, but do not have the need or space for |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
572 complete image management." |
|
159
511f4dc167f6
Merge from eCos master repository on 2001-05-18-01:30:05-BST
jlarmour
parents:
157
diff
changeset
|
573 } |
|
1297
4212c82ebff6
Make 'fis free' use the FIS directory to determine what's free
gthomas
parents:
1265
diff
changeset
|
574 |
|
4212c82ebff6
Make 'fis free' use the FIS directory to determine what's free
gthomas
parents:
1265
diff
changeset
|
575 cdl_option CYGDAT_REDBOOT_FIS_MAX_FREE_CHUNKS { |
|
4212c82ebff6
Make 'fis free' use the FIS directory to determine what's free
gthomas
parents:
1265
diff
changeset
|
576 display "Max number of chunks of free space to manage" |
|
4212c82ebff6
Make 'fis free' use the FIS directory to determine what's free
gthomas
parents:
1265
diff
changeset
|
577 flavor booldata |
|
4212c82ebff6
Make 'fis free' use the FIS directory to determine what's free
gthomas
parents:
1265
diff
changeset
|
578 default_value 32 |
|
4212c82ebff6
Make 'fis free' use the FIS directory to determine what's free
gthomas
parents:
1265
diff
changeset
|
579 description " |
|
4212c82ebff6
Make 'fis free' use the FIS directory to determine what's free
gthomas
parents:
1265
diff
changeset
|
580 If this option is defined then \"fis free\" will rely on the |
|
4212c82ebff6
Make 'fis free' use the FIS directory to determine what's free
gthomas
parents:
1265
diff
changeset
|
581 FIS directory to determine what space is free within the FLASH. |
|
4212c82ebff6
Make 'fis free' use the FIS directory to determine what's free
gthomas
parents:
1265
diff
changeset
|
582 This option controls the maximum number of free segment which |
|
4212c82ebff6
Make 'fis free' use the FIS directory to determine what's free
gthomas
parents:
1265
diff
changeset
|
583 can be handled (typically this number is small). If this option |
|
4212c82ebff6
Make 'fis free' use the FIS directory to determine what's free
gthomas
parents:
1265
diff
changeset
|
584 is not enabled, the the archaic behaviour of actually scanning |
|
4212c82ebff6
Make 'fis free' use the FIS directory to determine what's free
gthomas
parents:
1265
diff
changeset
|
585 the FLASH for erased sectors (unreliable) will be used to |
|
4212c82ebff6
Make 'fis free' use the FIS directory to determine what's free
gthomas
parents:
1265
diff
changeset
|
586 determine what's free and what's not." |
|
4212c82ebff6
Make 'fis free' use the FIS directory to determine what's free
gthomas
parents:
1265
diff
changeset
|
587 } |
|
632
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
588 |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
589 cdl_component CYGPKG_REDBOOT_FIS_CONTENTS { |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
590 display "Flash Image System default directory contents" |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
591 active_if CYGOPT_REDBOOT_FIS |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
592 calculated 1 |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
593 |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
594 cdl_option CYGNUM_REDBOOT_FIS_DIRECTORY_BLOCK { |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
595 display "Flash block containing the Directory" |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
596 flavor data |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
597 default_value (-1) |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
598 description " |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
599 Which block of flash should hold the directory |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
600 information. Positive numbers are absolute block numbers. |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
601 Negative block numbers count backwards from the last block. |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
602 eg 2 means block 2, -2 means the last but one block." |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
603 } |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
604 |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
605 cdl_option CYGOPT_REDBOOT_FIS_RESERVED_BASE { |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
606 display "Pseudo-file to describe reserved area" |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
607 active_if { 0 != CYGNUM_REDBOOT_FLASH_RESERVED_BASE } |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
608 default_value 1 |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
609 description " |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
610 If an area of FLASH is reserved, it is informative to |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
611 have a fis entry describing it. This option controls |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
612 creation of such an entry by default in the fis init |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
613 command." |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
614 } |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
615 |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
616 cdl_option CYGOPT_REDBOOT_FIS_REDBOOT { |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
617 display "File to describe RedBoot boot image" |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
618 default_value 1 |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
619 description " |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
620 Normally a ROM-startup RedBoot image is first in the |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
621 FLASH, and the system boots using that image. This |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
622 option controls creation of an entry describing it in |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
623 the fis init command. It might be disabled if a |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
624 platform has an immutable boot image of its own, where |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
625 we use a POST-startup RedBoot instead, which performs |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
626 less board initialization." |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
627 } |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
628 |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
629 cdl_component CYGOPT_REDBOOT_FIS_REDBOOT_POST { |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
630 display "File to describe RedBoot POST-compatible image" |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
631 default_value !CYGOPT_REDBOOT_FIS_REDBOOT |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
632 description " |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
633 This option controls creation of an entry describing a |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
634 POST-startup RedBoot image in the fis init command. |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
635 Not all platforms support POST-startup. A platform |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
636 might have both for testing purposes, where the |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
637 eventual user would substitute their own POST code for |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
638 the initial ROM-startup RedBoot, and then jump to the |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
639 POST-compatible RedBoot immediately following." |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
640 cdl_option CYGNUM_REDBOOT_FIS_REDBOOT_POST_OFFSET { |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
641 display "Offset of POST image from FLASH start" |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
642 flavor booldata |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
643 default_value 0 |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
644 requires { CYGNUM_REDBOOT_FIS_REDBOOT_POST_OFFSET >= \ |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
645 CYGBLD_REDBOOT_FLASH_BOOT_OFFSET } |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
646 description " |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
647 This option specifies the offset for a POST image from |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
648 the start of FLASH. If unset, then the fis entry |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
649 describing the POST image will be placed where |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
650 convenient." |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
651 } |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
652 } |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
653 |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
654 cdl_option CYGOPT_REDBOOT_FIS_REDBOOT_BACKUP { |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
655 display "File to describe RedBoot backup image" |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
656 default_value 0 |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
657 description " |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
658 This option controls creation of an entry describing a |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
659 backup RedBoot image in the fis init command. |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
660 Conventionally a RAM-startup RedBoot image is kept |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
661 under this name for use in updating the ROM-based |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
662 RedBoot that boots the board." |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
663 } |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
664 |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
665 cdl_option CYGOPT_REDBOOT_FIS_DIRECTORY_ARM_SIB_ID { |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
666 display "Include ARM SIB ID in FIS" |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
667 default_value 0 |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
668 description " |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
669 If set, this option will cause the last 5 words of |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
670 the FIS to include the special ID needed for the |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
671 flash to be recognized as a reserved area for RedBoot |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
672 by an ARM BootRom monitor." |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
673 } |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
674 |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
675 cdl_option CYGNUM_REDBOOT_FIS_DIRECTORY_ENTRY_SIZE { |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
676 display "Size of FIS directory entry" |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
677 flavor data |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
678 default_value 256 |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
679 description " |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
680 The FIS directory is limited to one single flash |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
681 sector. If your flash has tiny sectors, you may wish |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
682 to reduce this value in order to get more slots in |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
683 the FIS directory." |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
684 } |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
685 |
|
1312
08edfb52f9cd
Improve FIS directory handling - should work with small block size devices
gthomas
parents:
1297
diff
changeset
|
686 cdl_option CYGNUM_REDBOOT_FIS_DIRECTORY_ENTRY_COUNT { |
|
08edfb52f9cd
Improve FIS directory handling - should work with small block size devices
gthomas
parents:
1297
diff
changeset
|
687 display "Number of FIS directory entries" |
|
08edfb52f9cd
Improve FIS directory handling - should work with small block size devices
gthomas
parents:
1297
diff
changeset
|
688 flavor data |
|
08edfb52f9cd
Improve FIS directory handling - should work with small block size devices
gthomas
parents:
1297
diff
changeset
|
689 default_value 8 |
|
08edfb52f9cd
Improve FIS directory handling - should work with small block size devices
gthomas
parents:
1297
diff
changeset
|
690 description " |
|
08edfb52f9cd
Improve FIS directory handling - should work with small block size devices
gthomas
parents:
1297
diff
changeset
|
691 The FIS directory normally occupies a single flash |
|
08edfb52f9cd
Improve FIS directory handling - should work with small block size devices
gthomas
parents:
1297
diff
changeset
|
692 sector. Adjusting this value can allow for more than |
|
08edfb52f9cd
Improve FIS directory handling - should work with small block size devices
gthomas
parents:
1297
diff
changeset
|
693 one flash sector to be used, which is useful if your |
|
08edfb52f9cd
Improve FIS directory handling - should work with small block size devices
gthomas
parents:
1297
diff
changeset
|
694 sectors are very small." |
|
08edfb52f9cd
Improve FIS directory handling - should work with small block size devices
gthomas
parents:
1297
diff
changeset
|
695 } |
|
08edfb52f9cd
Improve FIS directory handling - should work with small block size devices
gthomas
parents:
1297
diff
changeset
|
696 |
|
1223
dbcfe4e0dbd2
New platform - TAMS MOAB - and generic changes to support it
gthomas
parents:
1169
diff
changeset
|
697 cdl_option CYGBLD_REDBOOT_MIN_IMAGE_SIZE { |
|
dbcfe4e0dbd2
New platform - TAMS MOAB - and generic changes to support it
gthomas
parents:
1169
diff
changeset
|
698 display "Minimum image size" |
|
632
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
699 flavor data |
|
1223
dbcfe4e0dbd2
New platform - TAMS MOAB - and generic changes to support it
gthomas
parents:
1169
diff
changeset
|
700 default_value 0x20000 |
|
632
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
701 description " |
|
1223
dbcfe4e0dbd2
New platform - TAMS MOAB - and generic changes to support it
gthomas
parents:
1169
diff
changeset
|
702 This option controls the minimum length of images kept by |
|
dbcfe4e0dbd2
New platform - TAMS MOAB - and generic changes to support it
gthomas
parents:
1169
diff
changeset
|
703 the FIS. In particular, it should be large enough to hold |
|
dbcfe4e0dbd2
New platform - TAMS MOAB - and generic changes to support it
gthomas
parents:
1169
diff
changeset
|
704 the RedBoot primary image itself, as well as be a natural |
|
dbcfe4e0dbd2
New platform - TAMS MOAB - and generic changes to support it
gthomas
parents:
1169
diff
changeset
|
705 multiple of the FLASH erase block size." |
|
632
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
706 } |
|
1223
dbcfe4e0dbd2
New platform - TAMS MOAB - and generic changes to support it
gthomas
parents:
1169
diff
changeset
|
707 |
|
dbcfe4e0dbd2
New platform - TAMS MOAB - and generic changes to support it
gthomas
parents:
1169
diff
changeset
|
708 cdl_option CYGBLD_REDBOOT_FLASH_BOOT_OFFSET { |
|
dbcfe4e0dbd2
New platform - TAMS MOAB - and generic changes to support it
gthomas
parents:
1169
diff
changeset
|
709 display "Offset from start of FLASH to RedBoot boot image" |
|
dbcfe4e0dbd2
New platform - TAMS MOAB - and generic changes to support it
gthomas
parents:
1169
diff
changeset
|
710 flavor data |
|
dbcfe4e0dbd2
New platform - TAMS MOAB - and generic changes to support it
gthomas
parents:
1169
diff
changeset
|
711 default_value CYGNUM_REDBOOT_FLASH_RESERVED_BASE |
|
dbcfe4e0dbd2
New platform - TAMS MOAB - and generic changes to support it
gthomas
parents:
1169
diff
changeset
|
712 requires { CYGNUM_REDBOOT_FLASH_RESERVED_BASE <= \ |
|
dbcfe4e0dbd2
New platform - TAMS MOAB - and generic changes to support it
gthomas
parents:
1169
diff
changeset
|
713 CYGBLD_REDBOOT_FLASH_BOOT_OFFSET } |
|
dbcfe4e0dbd2
New platform - TAMS MOAB - and generic changes to support it
gthomas
parents:
1169
diff
changeset
|
714 description " |
|
dbcfe4e0dbd2
New platform - TAMS MOAB - and generic changes to support it
gthomas
parents:
1169
diff
changeset
|
715 This option controls where the RedBoot boot image is located |
|
dbcfe4e0dbd2
New platform - TAMS MOAB - and generic changes to support it
gthomas
parents:
1169
diff
changeset
|
716 relative to the start of FLASH." |
|
dbcfe4e0dbd2
New platform - TAMS MOAB - and generic changes to support it
gthomas
parents:
1169
diff
changeset
|
717 } |
|
dbcfe4e0dbd2
New platform - TAMS MOAB - and generic changes to support it
gthomas
parents:
1169
diff
changeset
|
718 |
|
dbcfe4e0dbd2
New platform - TAMS MOAB - and generic changes to support it
gthomas
parents:
1169
diff
changeset
|
719 cdl_option CYGNUM_REDBOOT_FLASH_RESERVED_BASE { |
|
dbcfe4e0dbd2
New platform - TAMS MOAB - and generic changes to support it
gthomas
parents:
1169
diff
changeset
|
720 display "Size of reserved area at start of FLASH" |
|
dbcfe4e0dbd2
New platform - TAMS MOAB - and generic changes to support it
gthomas
parents:
1169
diff
changeset
|
721 flavor data |
|
632
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
722 default_value 0 |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
723 description " |
|
1223
dbcfe4e0dbd2
New platform - TAMS MOAB - and generic changes to support it
gthomas
parents:
1169
diff
changeset
|
724 This option reserves an area at the start of FLASH where RedBoot |
|
dbcfe4e0dbd2
New platform - TAMS MOAB - and generic changes to support it
gthomas
parents:
1169
diff
changeset
|
725 will never interfere; it is expected that this area contains |
|
dbcfe4e0dbd2
New platform - TAMS MOAB - and generic changes to support it
gthomas
parents:
1169
diff
changeset
|
726 (non-RedBoot-based) POST code or some other boot monitor that |
|
dbcfe4e0dbd2
New platform - TAMS MOAB - and generic changes to support it
gthomas
parents:
1169
diff
changeset
|
727 executes before RedBoot." |
|
632
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
728 } |
|
160
0d0f03f76f6a
Merge from eCos master repository on 2001-06-01-18:52:13-BST
jlarmour
parents:
159
diff
changeset
|
729 } |
|
632
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
730 |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
731 cdl_option CYGSEM_REDBOOT_FLASH_LOCK_SPECIAL { |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
732 display "Keep all RedBoot FLASH data blocks locked." |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
733 flavor bool |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
734 default_value 1 |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
735 active_if { CYGHWR_IO_FLASH_BLOCK_LOCKING != 0 } |
|
151
25e238959bae
Merge from eCos master repository on 2001-02-12-23:44:24-GMT
jlarmour
parents:
150
diff
changeset
|
736 description " |
|
632
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
737 When this option is enabled, RedBoot will keep configuration |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
738 data and the FIS directory blocks implicitly locked. While |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
739 this is somewhat safer, it does add overhead during updates." |
|
151
25e238959bae
Merge from eCos master repository on 2001-02-12-23:44:24-GMT
jlarmour
parents:
150
diff
changeset
|
740 } |
|
632
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
741 |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
742 cdl_option CYGSEM_REDBOOT_FIS_CRC_CHECK { |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
743 display "Use CRC checksums on FIS images." |
|
208
e0c0827131d1
Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents:
202
diff
changeset
|
744 flavor bool |
|
e0c0827131d1
Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents:
202
diff
changeset
|
745 default_value 1 |
|
e0c0827131d1
Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents:
202
diff
changeset
|
746 description " |
|
632
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
747 When this option is enabled, RedBoot will use CRC checksums |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
748 when reading and writing flash images." |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
749 } |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
750 |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
751 cdl_interface CYGINT_REDBOOT_ARM_FLASH_SIB_SUPPORTED { |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
752 display "ARM FLASH drivers support SIB flash block structure" |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
753 active_if CYGPKG_HAL_ARM |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
754 description "This interface is implemented by a flash driver |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
755 to indicate that it supports the ARM SIB flash |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
756 block structure" |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
757 } |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
758 |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
759 cdl_option CYGHWR_REDBOOT_ARM_FLASH_SIB { |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
760 display "Use ARM SIB flash block structure" |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
761 flavor bool |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
762 active_if CYGINT_REDBOOT_ARM_FLASH_SIB_SUPPORTED |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
763 default_value 1 |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
764 description " |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
765 This option is used to interpret ARM Flash System information |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
766 blocks." |
|
208
e0c0827131d1
Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents:
202
diff
changeset
|
767 } |
|
115
6ed91473a1cd
Merge from eCos master repository on 2000-08-21-22:40:54-BST
jlarmour
parents:
diff
changeset
|
768 } |
|
632
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
769 |
|
1223
dbcfe4e0dbd2
New platform - TAMS MOAB - and generic changes to support it
gthomas
parents:
1169
diff
changeset
|
770 cdl_component CYGSEM_REDBOOT_FLASH_CONFIG { |
|
dbcfe4e0dbd2
New platform - TAMS MOAB - and generic changes to support it
gthomas
parents:
1169
diff
changeset
|
771 display "Keep RedBoot configuration data in FLASH" |
|
dbcfe4e0dbd2
New platform - TAMS MOAB - and generic changes to support it
gthomas
parents:
1169
diff
changeset
|
772 flavor bool |
| 1233 | 773 default_value { CYGPKG_IO_FLASH != 0 } |
|
1223
dbcfe4e0dbd2
New platform - TAMS MOAB - and generic changes to support it
gthomas
parents:
1169
diff
changeset
|
774 compile fconfig.c |
|
dbcfe4e0dbd2
New platform - TAMS MOAB - and generic changes to support it
gthomas
parents:
1169
diff
changeset
|
775 description " |
|
dbcfe4e0dbd2
New platform - TAMS MOAB - and generic changes to support it
gthomas
parents:
1169
diff
changeset
|
776 When this option is enabled, RedBoot will keep configuration |
|
dbcfe4e0dbd2
New platform - TAMS MOAB - and generic changes to support it
gthomas
parents:
1169
diff
changeset
|
777 data in a separate block of FLASH memory. This data will |
|
dbcfe4e0dbd2
New platform - TAMS MOAB - and generic changes to support it
gthomas
parents:
1169
diff
changeset
|
778 include such items as the node IP address or startup scripts." |
|
dbcfe4e0dbd2
New platform - TAMS MOAB - and generic changes to support it
gthomas
parents:
1169
diff
changeset
|
779 |
|
dbcfe4e0dbd2
New platform - TAMS MOAB - and generic changes to support it
gthomas
parents:
1169
diff
changeset
|
780 cdl_option CYGNUM_REDBOOT_FLASH_CONFIG_SIZE { |
|
dbcfe4e0dbd2
New platform - TAMS MOAB - and generic changes to support it
gthomas
parents:
1169
diff
changeset
|
781 display "Length of configuration data in FLASH" |
|
dbcfe4e0dbd2
New platform - TAMS MOAB - and generic changes to support it
gthomas
parents:
1169
diff
changeset
|
782 flavor data |
|
dbcfe4e0dbd2
New platform - TAMS MOAB - and generic changes to support it
gthomas
parents:
1169
diff
changeset
|
783 default_value 4096 |
|
dbcfe4e0dbd2
New platform - TAMS MOAB - and generic changes to support it
gthomas
parents:
1169
diff
changeset
|
784 description " |
|
dbcfe4e0dbd2
New platform - TAMS MOAB - and generic changes to support it
gthomas
parents:
1169
diff
changeset
|
785 This option is used to control the amount of memory and FLASH |
|
dbcfe4e0dbd2
New platform - TAMS MOAB - and generic changes to support it
gthomas
parents:
1169
diff
changeset
|
786 to be used for configuration options (persistent storage)." |
|
dbcfe4e0dbd2
New platform - TAMS MOAB - and generic changes to support it
gthomas
parents:
1169
diff
changeset
|
787 } |
|
dbcfe4e0dbd2
New platform - TAMS MOAB - and generic changes to support it
gthomas
parents:
1169
diff
changeset
|
788 |
|
dbcfe4e0dbd2
New platform - TAMS MOAB - and generic changes to support it
gthomas
parents:
1169
diff
changeset
|
789 cdl_option CYGHWR_REDBOOT_FLASH_CONFIG_MEDIA { |
|
dbcfe4e0dbd2
New platform - TAMS MOAB - and generic changes to support it
gthomas
parents:
1169
diff
changeset
|
790 display "Style of media used for persistent data storage" |
|
dbcfe4e0dbd2
New platform - TAMS MOAB - and generic changes to support it
gthomas
parents:
1169
diff
changeset
|
791 flavor data |
|
dbcfe4e0dbd2
New platform - TAMS MOAB - and generic changes to support it
gthomas
parents:
1169
diff
changeset
|
792 legal_values { "FLASH" "EEPROM" } |
|
dbcfe4e0dbd2
New platform - TAMS MOAB - and generic changes to support it
gthomas
parents:
1169
diff
changeset
|
793 default_value { "FLASH" } |
|
dbcfe4e0dbd2
New platform - TAMS MOAB - and generic changes to support it
gthomas
parents:
1169
diff
changeset
|
794 # requires { ((CYGHWR_REDBOOT_FLASH_CONFIG_MEDIA == "FLASH") && CYGOPT_REDBOOT_FIS) || |
|
dbcfe4e0dbd2
New platform - TAMS MOAB - and generic changes to support it
gthomas
parents:
1169
diff
changeset
|
795 # ((CYGHWR_REDBOOT_FLASH_CONFIG_MEDIA == "EEPROM") && !CYGOPT_REDBOOT_FIS) } |
|
dbcfe4e0dbd2
New platform - TAMS MOAB - and generic changes to support it
gthomas
parents:
1169
diff
changeset
|
796 description " |
|
dbcfe4e0dbd2
New platform - TAMS MOAB - and generic changes to support it
gthomas
parents:
1169
diff
changeset
|
797 Persistent data storage can either be held in 'norma' FLASH |
|
dbcfe4e0dbd2
New platform - TAMS MOAB - and generic changes to support it
gthomas
parents:
1169
diff
changeset
|
798 or some other device (represented by the 'EEPROM' choice). |
|
dbcfe4e0dbd2
New platform - TAMS MOAB - and generic changes to support it
gthomas
parents:
1169
diff
changeset
|
799 The different styles utilize different access methods." |
|
dbcfe4e0dbd2
New platform - TAMS MOAB - and generic changes to support it
gthomas
parents:
1169
diff
changeset
|
800 } |
|
dbcfe4e0dbd2
New platform - TAMS MOAB - and generic changes to support it
gthomas
parents:
1169
diff
changeset
|
801 |
|
dbcfe4e0dbd2
New platform - TAMS MOAB - and generic changes to support it
gthomas
parents:
1169
diff
changeset
|
802 cdl_option CYGSEM_REDBOOT_FLASH_COMBINED_FIS_AND_CONFIG { |
|
dbcfe4e0dbd2
New platform - TAMS MOAB - and generic changes to support it
gthomas
parents:
1169
diff
changeset
|
803 display "Merged config data and FIS directory" |
|
dbcfe4e0dbd2
New platform - TAMS MOAB - and generic changes to support it
gthomas
parents:
1169
diff
changeset
|
804 flavor bool |
|
dbcfe4e0dbd2
New platform - TAMS MOAB - and generic changes to support it
gthomas
parents:
1169
diff
changeset
|
805 active_if { CYGOPT_REDBOOT_FIS && (CYGHWR_REDBOOT_FLASH_CONFIG_MEDIA == "FLASH") } |
|
1312
08edfb52f9cd
Improve FIS directory handling - should work with small block size devices
gthomas
parents:
1297
diff
changeset
|
806 default_value 1 |
|
1223
dbcfe4e0dbd2
New platform - TAMS MOAB - and generic changes to support it
gthomas
parents:
1169
diff
changeset
|
807 description " |
|
dbcfe4e0dbd2
New platform - TAMS MOAB - and generic changes to support it
gthomas
parents:
1169
diff
changeset
|
808 If this option is set, then the FIS directory and FLASH |
|
dbcfe4e0dbd2
New platform - TAMS MOAB - and generic changes to support it
gthomas
parents:
1169
diff
changeset
|
809 configuration database will be stored in the same physical |
|
dbcfe4e0dbd2
New platform - TAMS MOAB - and generic changes to support it
gthomas
parents:
1169
diff
changeset
|
810 FLASH block." |
|
dbcfe4e0dbd2
New platform - TAMS MOAB - and generic changes to support it
gthomas
parents:
1169
diff
changeset
|
811 } |
|
dbcfe4e0dbd2
New platform - TAMS MOAB - and generic changes to support it
gthomas
parents:
1169
diff
changeset
|
812 |
|
dbcfe4e0dbd2
New platform - TAMS MOAB - and generic changes to support it
gthomas
parents:
1169
diff
changeset
|
813 cdl_option CYGNUM_REDBOOT_FLASH_CONFIG_BLOCK { |
|
dbcfe4e0dbd2
New platform - TAMS MOAB - and generic changes to support it
gthomas
parents:
1169
diff
changeset
|
814 display "Which block of flash to use" |
|
dbcfe4e0dbd2
New platform - TAMS MOAB - and generic changes to support it
gthomas
parents:
1169
diff
changeset
|
815 flavor data |
|
dbcfe4e0dbd2
New platform - TAMS MOAB - and generic changes to support it
gthomas
parents:
1169
diff
changeset
|
816 default_value (-2) |
|
dbcfe4e0dbd2
New platform - TAMS MOAB - and generic changes to support it
gthomas
parents:
1169
diff
changeset
|
817 description " |
|
dbcfe4e0dbd2
New platform - TAMS MOAB - and generic changes to support it
gthomas
parents:
1169
diff
changeset
|
818 Which block of flash should hold the configuration |
|
dbcfe4e0dbd2
New platform - TAMS MOAB - and generic changes to support it
gthomas
parents:
1169
diff
changeset
|
819 information. Positive numbers are absolute block numbers. |
|
dbcfe4e0dbd2
New platform - TAMS MOAB - and generic changes to support it
gthomas
parents:
1169
diff
changeset
|
820 Negative block numbers count backwards from the last block. |
|
dbcfe4e0dbd2
New platform - TAMS MOAB - and generic changes to support it
gthomas
parents:
1169
diff
changeset
|
821 eg 2 means block 2, -2 means the last but one block." |
|
dbcfe4e0dbd2
New platform - TAMS MOAB - and generic changes to support it
gthomas
parents:
1169
diff
changeset
|
822 } |
|
dbcfe4e0dbd2
New platform - TAMS MOAB - and generic changes to support it
gthomas
parents:
1169
diff
changeset
|
823 |
|
dbcfe4e0dbd2
New platform - TAMS MOAB - and generic changes to support it
gthomas
parents:
1169
diff
changeset
|
824 cdl_option CYGSEM_REDBOOT_FLASH_ALIASES { |
|
dbcfe4e0dbd2
New platform - TAMS MOAB - and generic changes to support it
gthomas
parents:
1169
diff
changeset
|
825 display "Support simple macros/aliases in FLASH" |
|
dbcfe4e0dbd2
New platform - TAMS MOAB - and generic changes to support it
gthomas
parents:
1169
diff
changeset
|
826 flavor bool |
|
dbcfe4e0dbd2
New platform - TAMS MOAB - and generic changes to support it
gthomas
parents:
1169
diff
changeset
|
827 default_value 1 |
|
dbcfe4e0dbd2
New platform - TAMS MOAB - and generic changes to support it
gthomas
parents:
1169
diff
changeset
|
828 description " |
|
dbcfe4e0dbd2
New platform - TAMS MOAB - and generic changes to support it
gthomas
parents:
1169
diff
changeset
|
829 This option is used to allow support for simple text-based |
|
dbcfe4e0dbd2
New platform - TAMS MOAB - and generic changes to support it
gthomas
parents:
1169
diff
changeset
|
830 macros (aliases). These aliases are kept in the FLASH |
|
dbcfe4e0dbd2
New platform - TAMS MOAB - and generic changes to support it
gthomas
parents:
1169
diff
changeset
|
831 configuration data (persistent storage)." |
|
dbcfe4e0dbd2
New platform - TAMS MOAB - and generic changes to support it
gthomas
parents:
1169
diff
changeset
|
832 } |
|
dbcfe4e0dbd2
New platform - TAMS MOAB - and generic changes to support it
gthomas
parents:
1169
diff
changeset
|
833 |
|
dbcfe4e0dbd2
New platform - TAMS MOAB - and generic changes to support it
gthomas
parents:
1169
diff
changeset
|
834 cdl_option CYGNUM_REDBOOT_FLASH_STRING_SIZE { |
|
dbcfe4e0dbd2
New platform - TAMS MOAB - and generic changes to support it
gthomas
parents:
1169
diff
changeset
|
835 display "Length of strings in FLASH configuration data" |
|
dbcfe4e0dbd2
New platform - TAMS MOAB - and generic changes to support it
gthomas
parents:
1169
diff
changeset
|
836 flavor data |
|
dbcfe4e0dbd2
New platform - TAMS MOAB - and generic changes to support it
gthomas
parents:
1169
diff
changeset
|
837 default_value 128 |
|
dbcfe4e0dbd2
New platform - TAMS MOAB - and generic changes to support it
gthomas
parents:
1169
diff
changeset
|
838 description " |
|
dbcfe4e0dbd2
New platform - TAMS MOAB - and generic changes to support it
gthomas
parents:
1169
diff
changeset
|
839 This option is used to control the amount of memory and FLASH |
|
dbcfe4e0dbd2
New platform - TAMS MOAB - and generic changes to support it
gthomas
parents:
1169
diff
changeset
|
840 to be used for string configuration options (persistent storage)." |
|
dbcfe4e0dbd2
New platform - TAMS MOAB - and generic changes to support it
gthomas
parents:
1169
diff
changeset
|
841 } |
|
dbcfe4e0dbd2
New platform - TAMS MOAB - and generic changes to support it
gthomas
parents:
1169
diff
changeset
|
842 |
|
dbcfe4e0dbd2
New platform - TAMS MOAB - and generic changes to support it
gthomas
parents:
1169
diff
changeset
|
843 cdl_option CYGNUM_REDBOOT_FLASH_SCRIPT_SIZE { |
|
dbcfe4e0dbd2
New platform - TAMS MOAB - and generic changes to support it
gthomas
parents:
1169
diff
changeset
|
844 display "Length of configuration script(s) in FLASH" |
|
dbcfe4e0dbd2
New platform - TAMS MOAB - and generic changes to support it
gthomas
parents:
1169
diff
changeset
|
845 flavor data |
|
dbcfe4e0dbd2
New platform - TAMS MOAB - and generic changes to support it
gthomas
parents:
1169
diff
changeset
|
846 default_value 512 |
|
dbcfe4e0dbd2
New platform - TAMS MOAB - and generic changes to support it
gthomas
parents:
1169
diff
changeset
|
847 description " |
|
dbcfe4e0dbd2
New platform - TAMS MOAB - and generic changes to support it
gthomas
parents:
1169
diff
changeset
|
848 This option is used to control the amount of memory and FLASH |
|
dbcfe4e0dbd2
New platform - TAMS MOAB - and generic changes to support it
gthomas
parents:
1169
diff
changeset
|
849 to be used for configuration options (persistent storage)." |
|
dbcfe4e0dbd2
New platform - TAMS MOAB - and generic changes to support it
gthomas
parents:
1169
diff
changeset
|
850 } |
|
dbcfe4e0dbd2
New platform - TAMS MOAB - and generic changes to support it
gthomas
parents:
1169
diff
changeset
|
851 |
|
dbcfe4e0dbd2
New platform - TAMS MOAB - and generic changes to support it
gthomas
parents:
1169
diff
changeset
|
852 cdl_option CYGSEM_REDBOOT_FLASH_CONFIG_READONLY_FALLBACK { |
|
dbcfe4e0dbd2
New platform - TAMS MOAB - and generic changes to support it
gthomas
parents:
1169
diff
changeset
|
853 display "Fallback to read-only FLASH configuration" |
|
dbcfe4e0dbd2
New platform - TAMS MOAB - and generic changes to support it
gthomas
parents:
1169
diff
changeset
|
854 flavor bool |
|
dbcfe4e0dbd2
New platform - TAMS MOAB - and generic changes to support it
gthomas
parents:
1169
diff
changeset
|
855 default_value { (CYGHWR_REDBOOT_FLASH_CONFIG_MEDIA == "FLASH") } |
|
dbcfe4e0dbd2
New platform - TAMS MOAB - and generic changes to support it
gthomas
parents:
1169
diff
changeset
|
856 description " |
|
dbcfe4e0dbd2
New platform - TAMS MOAB - and generic changes to support it
gthomas
parents:
1169
diff
changeset
|
857 This option will cause the configuration information to |
|
dbcfe4e0dbd2
New platform - TAMS MOAB - and generic changes to support it
gthomas
parents:
1169
diff
changeset
|
858 revert to the readonly information stored in the FLASH. |
|
dbcfe4e0dbd2
New platform - TAMS MOAB - and generic changes to support it
gthomas
parents:
1169
diff
changeset
|
859 The option only takes effect after |
|
dbcfe4e0dbd2
New platform - TAMS MOAB - and generic changes to support it
gthomas
parents:
1169
diff
changeset
|
860 1) the config_ok flag has been set to be true, |
|
dbcfe4e0dbd2
New platform - TAMS MOAB - and generic changes to support it
gthomas
parents:
1169
diff
changeset
|
861 indicating that at one time the copy in RAM was valid; |
|
dbcfe4e0dbd2
New platform - TAMS MOAB - and generic changes to support it
gthomas
parents:
1169
diff
changeset
|
862 and |
|
dbcfe4e0dbd2
New platform - TAMS MOAB - and generic changes to support it
gthomas
parents:
1169
diff
changeset
|
863 2) the information in RAM has been verified to be invalid" |
|
dbcfe4e0dbd2
New platform - TAMS MOAB - and generic changes to support it
gthomas
parents:
1169
diff
changeset
|
864 |
|
dbcfe4e0dbd2
New platform - TAMS MOAB - and generic changes to support it
gthomas
parents:
1169
diff
changeset
|
865 } |
|
dbcfe4e0dbd2
New platform - TAMS MOAB - and generic changes to support it
gthomas
parents:
1169
diff
changeset
|
866 } |
|
dbcfe4e0dbd2
New platform - TAMS MOAB - and generic changes to support it
gthomas
parents:
1169
diff
changeset
|
867 |
|
1414
9a2e186be457
Add support for mountable file systems (like JFFS2) - from David Woodhouse
gthomas
parents:
1341
diff
changeset
|
868 cdl_component CYGPKG_REDBOOT_FILEIO { |
|
9a2e186be457
Add support for mountable file systems (like JFFS2) - from David Woodhouse
gthomas
parents:
1341
diff
changeset
|
869 display "Allow RedBoot to support fileio" |
|
9a2e186be457
Add support for mountable file systems (like JFFS2) - from David Woodhouse
gthomas
parents:
1341
diff
changeset
|
870 flavor bool |
|
9a2e186be457
Add support for mountable file systems (like JFFS2) - from David Woodhouse
gthomas
parents:
1341
diff
changeset
|
871 default_value 1 |
|
9a2e186be457
Add support for mountable file systems (like JFFS2) - from David Woodhouse
gthomas
parents:
1341
diff
changeset
|
872 active_if CYGPKG_IO_FILEIO |
|
9a2e186be457
Add support for mountable file systems (like JFFS2) - from David Woodhouse
gthomas
parents:
1341
diff
changeset
|
873 description " |
|
9a2e186be457
Add support for mountable file systems (like JFFS2) - from David Woodhouse
gthomas
parents:
1341
diff
changeset
|
874 If this option is enabled then RedBoot will provide commands |
|
9a2e186be457
Add support for mountable file systems (like JFFS2) - from David Woodhouse
gthomas
parents:
1341
diff
changeset
|
875 to load files from fileio file systems such as JFFS2." |
|
9a2e186be457
Add support for mountable file systems (like JFFS2) - from David Woodhouse
gthomas
parents:
1341
diff
changeset
|
876 compile -library=libextras.a fs/fileio.c |
|
1717
faaea4243d52
* cdl/redboot.cdl: Fixed the type of CYGNUM_REDBOOT_FLASH_BASE
asl
parents:
1514
diff
changeset
|
877 } |
|
1414
9a2e186be457
Add support for mountable file systems (like JFFS2) - from David Woodhouse
gthomas
parents:
1341
diff
changeset
|
878 |
|
632
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
879 cdl_component CYGPKG_REDBOOT_DISK { |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
880 display "Allow RedBoot to support disks" |
|
174
38892b97b685
Merge from eCos master repository on 2001-07-28-00:17:32-BST
jlarmour
parents:
172
diff
changeset
|
881 flavor bool |
|
38892b97b685
Merge from eCos master repository on 2001-07-28-00:17:32-BST
jlarmour
parents:
172
diff
changeset
|
882 default_value 1 |
|
632
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
883 description " |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
884 If this option is enabled then RedBoot will provide commands |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
885 to load disk files." |
| 1341 | 886 |
| 887 cdl_option CYGSEM_REDBOOT_DISK { | |
| 888 display "Include Redboot commands for disk access" | |
| 889 default_value { CYGINT_REDBOOT_DISK_DRIVERS != 0 } | |
| 890 compile -library=libextras.a fs/disk.c | |
| 891 } | |
| 892 | |
| 893 cdl_interface CYGINT_REDBOOT_DISK_DRIVERS { | |
| 894 display "Hardware drivers for disk-type devices" | |
| 895 } | |
|
632
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
896 |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
897 cdl_option CYGNUM_REDBOOT_MAX_DISKS { |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
898 display "Maximum number of supported disks" |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
899 flavor data |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
900 default_value 4 |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
901 description " |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
902 This option controls the number of disks supported by RedBoot." |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
903 } |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
904 |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
905 cdl_option CYGNUM_REDBOOT_MAX_PARTITIONS { |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
906 display "Maximum number of partitions per disk" |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
907 flavor data |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
908 default_value 8 |
|
159
511f4dc167f6
Merge from eCos master repository on 2001-05-18-01:30:05-BST
jlarmour
parents:
157
diff
changeset
|
909 description " |
|
632
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
910 This option controls the maximum number of supported partitions per disk." |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
911 } |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
912 |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
913 cdl_component CYGSEM_REDBOOT_DISK_IDE { |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
914 display "Support IDE disks." |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
915 flavor bool |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
916 default_value 1 |
| 1341 | 917 active_if { CYGINT_HAL_PLF_IF_IDE != 0 } |
|
159
511f4dc167f6
Merge from eCos master repository on 2001-05-18-01:30:05-BST
jlarmour
parents:
157
diff
changeset
|
918 description " |
|
632
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
919 When this option is enabled, RedBoot will support IDE disks." |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
920 compile -library=libextras.a fs/ide.c |
| 1341 | 921 implements CYGINT_REDBOOT_DISK_DRIVERS |
|
632
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
922 } |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
923 |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
924 cdl_component CYGSEM_REDBOOT_DISK_EXT2FS { |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
925 display "Support Linux second extended filesystems." |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
926 flavor bool |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
927 default_value 1 |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
928 description " |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
929 When this option is enabled, RedBoot will support IDE disks." |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
930 compile -library=libextras.a fs/e2fs.c |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
931 } |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
932 |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
933 cdl_component CYGSEM_REDBOOT_DISK_ISO9660 { |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
934 display "Support ISO9660 filesystems." |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
935 flavor bool |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
936 calculated 0 |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
937 description " |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
938 When this option is enabled, RedBoot will support ISO9660 filesystems." |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
939 compile -library=libextras.a fs/iso9660fs.c |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
940 } |
|
159
511f4dc167f6
Merge from eCos master repository on 2001-05-18-01:30:05-BST
jlarmour
parents:
157
diff
changeset
|
941 } |
|
632
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
942 |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
943 cdl_component CYGPKG_REDBOOT_BOOT_SCRIPT { |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
944 display "Boot scripting" |
| 737 | 945 doc ref/persistent-state-flash.html |
|
632
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
946 flavor none |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
947 no_define |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
948 description " |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
949 This contains options related to RedBoot's boot script |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
950 functionality." |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
951 |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
952 cdl_option CYGFUN_REDBOOT_BOOT_SCRIPT { |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
953 display "Boot scripting enabled" |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
954 flavor bool |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
955 active_if { CYGDAT_REDBOOT_DEFAULT_BOOT_SCRIPT || \ |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
956 CYGSEM_REDBOOT_FLASH_CONFIG } |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
957 calculated 1 |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
958 description " |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
959 This option controls whether RedBoot boot script |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
960 functionality is enabled." |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
961 } |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
962 |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
963 cdl_option CYGDAT_REDBOOT_DEFAULT_BOOT_SCRIPT { |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
964 display "Use default RedBoot boot script" |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
965 flavor booldata |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
966 default_value 0 |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
967 description " |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
968 If enabled, this option will tell RedBoot to use the value of |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
969 this option as a default boot script." |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
970 } |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
971 |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
972 cdl_option CYGNUM_REDBOOT_BOOT_SCRIPT_TIMEOUT_RESOLUTION { |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
973 display "Resolution (in ms) for script timeout value." |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
974 flavor data |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
975 default_value 1000 |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
976 description " |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
977 This option controls the resolution of the script timeout. |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
978 The value is specified in milliseconds (ms), thus to have the |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
979 script timeout be defined in terms of tenths of seconds, use 100." |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
980 } |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
981 |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
982 cdl_option CYGNUM_REDBOOT_BOOT_SCRIPT_DEFAULT_TIMEOUT { |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
983 display "Script default timeout value" |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
984 flavor data |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
985 default_value 10 |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
986 description " |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
987 This option is used to set the default timeout for startup |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
988 scripts, when they are enabled." |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
989 } |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
990 } |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
991 |
|
1223
dbcfe4e0dbd2
New platform - TAMS MOAB - and generic changes to support it
gthomas
parents:
1169
diff
changeset
|
992 cdl_option CYGSEM_REDBOOT_RTC { |
|
dbcfe4e0dbd2
New platform - TAMS MOAB - and generic changes to support it
gthomas
parents:
1169
diff
changeset
|
993 display "Support RTC for time & date functions" |
|
dbcfe4e0dbd2
New platform - TAMS MOAB - and generic changes to support it
gthomas
parents:
1169
diff
changeset
|
994 active_if { CYGPKG_IO_WALLCLOCK } |
|
dbcfe4e0dbd2
New platform - TAMS MOAB - and generic changes to support it
gthomas
parents:
1169
diff
changeset
|
995 default_value 1 |
|
dbcfe4e0dbd2
New platform - TAMS MOAB - and generic changes to support it
gthomas
parents:
1169
diff
changeset
|
996 description " |
|
dbcfe4e0dbd2
New platform - TAMS MOAB - and generic changes to support it
gthomas
parents:
1169
diff
changeset
|
997 When this option is enabled, RedBoot will support commands to |
|
dbcfe4e0dbd2
New platform - TAMS MOAB - and generic changes to support it
gthomas
parents:
1169
diff
changeset
|
998 query and set the real time clock (time and date)" |
|
dbcfe4e0dbd2
New platform - TAMS MOAB - and generic changes to support it
gthomas
parents:
1169
diff
changeset
|
999 compile -library=libextras.a time_date.cxx |
|
dbcfe4e0dbd2
New platform - TAMS MOAB - and generic changes to support it
gthomas
parents:
1169
diff
changeset
|
1000 } |
|
dbcfe4e0dbd2
New platform - TAMS MOAB - and generic changes to support it
gthomas
parents:
1169
diff
changeset
|
1001 |
|
632
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
1002 cdl_option CYGPRI_REDBOOT_ROM_MONITOR { |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
1003 display "Behave like a ROM monitor" |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
1004 active_if { CYG_HAL_STARTUP == "ROM" || CYG_HAL_STARTUP == "ROMRAM" } |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
1005 requires CYGSEM_HAL_ROM_MONITOR |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
1006 calculated 1 |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
1007 no_define |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
1008 description " |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
1009 Enabling this option will allow RedBoot to provide ROM monitor-style |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
1010 services to programs which it executes." |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
1011 } |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
1012 |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
1013 cdl_component CYGSEM_REDBOOT_BSP_SYSCALLS { |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
1014 display "Allow RedBoot to handle GNUPro application 'syscalls'." |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
1015 flavor bool |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
1016 default_value 0 |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
1017 description " |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
1018 If this option is enabled then RedBoot will install a syscall handler |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
1019 to support debugging of applications based on GNUPro newlib/bsp." |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
1020 |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
1021 cdl_option CYGSEM_REDBOOT_BSP_SYSCALLS_GPROF { |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
1022 display "Support additional syscalls for 'gprof' profiling" |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
1023 flavor bool |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
1024 default_value 1 |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
1025 active_if { 0 < CYGINT_REDBOOT_BSP_SYSCALLS_GPROF_SUPPORT } |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
1026 description " |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
1027 Support additional syscalls to support a periodic callback |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
1028 function for histogram-style profiling, and an enquire/set |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
1029 of the tick rate. |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
1030 The application must use the GNUPro newlib facilities |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
1031 to set this up." |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
1032 } |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
1033 |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
1034 cdl_interface CYGINT_REDBOOT_BSP_SYSCALLS_GPROF_SUPPORT { |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
1035 display "Does the HAL support 'gprof' profiling?" |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
1036 no_define |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
1037 } |
| 1002 | 1038 |
| 1039 cdl_option CYGOPT_REDBOOT_BSP_SYSCALLS_EXIT_WITHOUT_TRAP { | |
| 1040 display "Do not raise SIGTRAP when program exits" | |
| 1041 default_value 0 | |
| 1042 description " | |
| 1043 For some (single shot) newlib based programs, | |
| 1044 exiting and returning a termination status may be | |
| 1045 the normal expected behavior." | |
| 1046 } | |
|
632
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
1047 } |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
1048 |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
1049 cdl_component CYGOPT_REDBOOT_FIS_ZLIB_COMMON_BUFFER { |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
1050 display "Use a common buffer for Zlib and FIS" |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
1051 flavor bool |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
1052 active_if { CYGBLD_BUILD_REDBOOT_WITH_ZLIB && \ |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
1053 CYGOPT_REDBOOT_FIS } |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
1054 default_value 0 |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
1055 description " |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
1056 Use a common memory buffer for both the zlib workspace |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
1057 and FIS directory operations. This can save a substantial |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
1058 amount of RAM, especially when flash sectors are large." |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
1059 |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
1060 cdl_option CYGNUM_REDBOOT_FIS_ZLIB_COMMON_BUFFER_SIZE { |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
1061 display "Size of Zlib/FIS common buffer" |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
1062 flavor data |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
1063 default_value 0xc000 |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
1064 legal_values 0x4000 to 0x80000000 |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
1065 description " |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
1066 Size of common buffer to allocate. Must be at least the |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
1067 size of one flash sector." |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
1068 } |
|
b928cfca72fc
* cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents:
307
diff
changeset
|
1069 } |
|
307
906a5d289c6d
Better memory use vis FIS & ZLIB - from Thomas Koeller
gthomas
parents:
306
diff
changeset
|
1070 } |
|
115
6ed91473a1cd
Merge from eCos master repository on 2000-08-21-22:40:54-BST
jlarmour
parents:
diff
changeset
|
1071 } |
|
6ed91473a1cd
Merge from eCos master repository on 2000-08-21-22:40:54-BST
jlarmour
parents:
diff
changeset
|
1072 |
|
208
e0c0827131d1
Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents:
202
diff
changeset
|
1073 # EOF redboot.cdl |
