annotate packages/redboot/current/cdl/redboot.cdl @ 3368:56fc685b878c

Merge from anon-hg
author Ross Younger <wry@ecoscentric.com>
date Fri, 01 Aug 2014 20:54:15 +1200
parents 59abe88f0b07 a75d37e86790
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
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 # ====================================================================
2729
74dbf4c3f2e1 Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents: 2626
diff changeset
8 ## ####ECOSGPLCOPYRIGHTBEGIN####
74dbf4c3f2e1 Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents: 2626
diff changeset
9 ## -------------------------------------------
74dbf4c3f2e1 Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents: 2626
diff changeset
10 ## This file is part of eCos, the Embedded Configurable Operating System.
2769
ef659b3b6980 * ecos.db: Eliminate superfluous target aliases which duplicate target name.
jld
parents: 2729
diff changeset
11 ## Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2008, 2009 Free Software Foundation, Inc.
210
d2c90368aeef Merge from eCos master repository on 2002-05-23-21:39:14-BST
jlarmour
parents: 208
diff changeset
12 ##
2729
74dbf4c3f2e1 Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents: 2626
diff changeset
13 ## eCos is free software; you can redistribute it and/or modify it under
74dbf4c3f2e1 Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents: 2626
diff changeset
14 ## the terms of the GNU General Public License as published by the Free
74dbf4c3f2e1 Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents: 2626
diff changeset
15 ## Software Foundation; either version 2 or (at your option) any later
74dbf4c3f2e1 Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents: 2626
diff changeset
16 ## version.
210
d2c90368aeef Merge from eCos master repository on 2002-05-23-21:39:14-BST
jlarmour
parents: 208
diff changeset
17 ##
2729
74dbf4c3f2e1 Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents: 2626
diff changeset
18 ## eCos is distributed in the hope that it will be useful, but WITHOUT
74dbf4c3f2e1 Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents: 2626
diff changeset
19 ## ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
74dbf4c3f2e1 Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents: 2626
diff changeset
20 ## FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
74dbf4c3f2e1 Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents: 2626
diff changeset
21 ## for more details.
210
d2c90368aeef Merge from eCos master repository on 2002-05-23-21:39:14-BST
jlarmour
parents: 208
diff changeset
22 ##
2729
74dbf4c3f2e1 Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents: 2626
diff changeset
23 ## You should have received a copy of the GNU General Public License
74dbf4c3f2e1 Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents: 2626
diff changeset
24 ## along with eCos; if not, write to the Free Software Foundation, Inc.,
74dbf4c3f2e1 Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents: 2626
diff changeset
25 ## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
210
d2c90368aeef Merge from eCos master repository on 2002-05-23-21:39:14-BST
jlarmour
parents: 208
diff changeset
26 ##
2729
74dbf4c3f2e1 Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents: 2626
diff changeset
27 ## As a special exception, if other files instantiate templates or use
74dbf4c3f2e1 Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents: 2626
diff changeset
28 ## macros or inline functions from this file, or you compile this file
74dbf4c3f2e1 Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents: 2626
diff changeset
29 ## and link it with other works to produce a work based on this file,
74dbf4c3f2e1 Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents: 2626
diff changeset
30 ## this file does not by itself cause the resulting work to be covered by
74dbf4c3f2e1 Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents: 2626
diff changeset
31 ## the GNU General Public License. However the source code for this file
74dbf4c3f2e1 Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents: 2626
diff changeset
32 ## must still be made available in accordance with section (3) of the GNU
74dbf4c3f2e1 Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents: 2626
diff changeset
33 ## General Public License v2.
210
d2c90368aeef Merge from eCos master repository on 2002-05-23-21:39:14-BST
jlarmour
parents: 208
diff changeset
34 ##
2729
74dbf4c3f2e1 Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents: 2626
diff changeset
35 ## This exception does not invalidate any other reasons why a work based
74dbf4c3f2e1 Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents: 2626
diff changeset
36 ## on this file might be covered by the GNU General Public License.
74dbf4c3f2e1 Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents: 2626
diff changeset
37 ## -------------------------------------------
74dbf4c3f2e1 Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents: 2626
diff changeset
38 ## ####ECOSGPLCOPYRIGHTEND####
115
6ed91473a1cd Merge from eCos master repository on 2000-08-21-22:40:54-BST
jlarmour
parents:
diff changeset
39 # ====================================================================
6ed91473a1cd Merge from eCos master repository on 2000-08-21-22:40:54-BST
jlarmour
parents:
diff changeset
40 ######DESCRIPTIONBEGIN####
6ed91473a1cd Merge from eCos master repository on 2000-08-21-22:40:54-BST
jlarmour
parents:
diff changeset
41 #
126
518f42066aba Merge from eCos master repository on 2000-09-19-06:25:26-BST
jlarmour
parents: 119
diff changeset
42 # Author(s): gthomas
115
6ed91473a1cd Merge from eCos master repository on 2000-08-21-22:40:54-BST
jlarmour
parents:
diff changeset
43 # Original data: gthomas
306
eb332fa195ca Add CDL control over FIS entry size - from Thomas Koeller
gthomas
parents: 284
diff changeset
44 # 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
45 # Date: 2000-05-01
115
6ed91473a1cd Merge from eCos master repository on 2000-08-21-22:40:54-BST
jlarmour
parents:
diff changeset
46 #
6ed91473a1cd Merge from eCos master repository on 2000-08-21-22:40:54-BST
jlarmour
parents:
diff changeset
47 #####DESCRIPTIONEND####
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 # ====================================================================
6ed91473a1cd Merge from eCos master repository on 2000-08-21-22:40:54-BST
jlarmour
parents:
diff changeset
50 cdl_package CYGPKG_REDBOOT {
126
518f42066aba Merge from eCos master repository on 2000-09-19-06:25:26-BST
jlarmour
parents: 119
diff changeset
51 display "Redboot ROM monitor"
2769
ef659b3b6980 * ecos.db: Eliminate superfluous target aliases which duplicate target name.
jld
parents: 2729
diff changeset
52 doc redboot-guide/redboot-guide.html
115
6ed91473a1cd Merge from eCos master repository on 2000-08-21-22:40:54-BST
jlarmour
parents:
diff changeset
53 define_header redboot.h
6ed91473a1cd Merge from eCos master repository on 2000-08-21-22:40:54-BST
jlarmour
parents:
diff changeset
54 description "
6ed91473a1cd Merge from eCos master repository on 2000-08-21-22:40:54-BST
jlarmour
parents:
diff changeset
55 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
56 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
57
1485
0e10930859c3 Disable use of common stack for interrupts
gthomas
parents: 1434
diff changeset
58 # Use of separate interrupt stack causes problems when running
0e10930859c3 Disable use of common stack for interrupts
gthomas
parents: 1434
diff changeset
59 # programs as they can end up trashing RedBoot's stack
0e10930859c3 Disable use of common stack for interrupts
gthomas
parents: 1434
diff changeset
60 requires { CYGIMP_HAL_COMMON_INTERRUPTS_USE_INTERRUPT_STACK == 0 }
0e10930859c3 Disable use of common stack for interrupts
gthomas
parents: 1434
diff changeset
61
115
6ed91473a1cd Merge from eCos master repository on 2000-08-21-22:40:54-BST
jlarmour
parents:
diff changeset
62 # 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
63 # 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
64 define_proc {
6ed91473a1cd Merge from eCos master repository on 2000-08-21-22:40:54-BST
jlarmour
parents:
diff changeset
65 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
66 }
6ed91473a1cd Merge from eCos master repository on 2000-08-21-22:40:54-BST
jlarmour
parents:
diff changeset
67
1724
549e69d9a7d0 * cdl/redboot.cdl:
asl
parents: 1514
diff changeset
68 cdl_component CYGSEM_REDBOOT_ELF {
208
e0c0827131d1 Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents: 202
diff changeset
69 flavor bool
e0c0827131d1 Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents: 202
diff changeset
70 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
71 default_value 1
1724
549e69d9a7d0 * cdl/redboot.cdl:
asl
parents: 1514
diff changeset
72
549e69d9a7d0 * cdl/redboot.cdl:
asl
parents: 1514
diff changeset
73 cdl_option CYGOPT_REDBOOT_ELF_VIRTUAL_ADDRESS {
549e69d9a7d0 * cdl/redboot.cdl:
asl
parents: 1514
diff changeset
74 display "Use the virtual address in the ELF headers"
549e69d9a7d0 * cdl/redboot.cdl:
asl
parents: 1514
diff changeset
75 flavor bool
549e69d9a7d0 * cdl/redboot.cdl:
asl
parents: 1514
diff changeset
76 default_value 0
549e69d9a7d0 * cdl/redboot.cdl:
asl
parents: 1514
diff changeset
77 description "
549e69d9a7d0 * cdl/redboot.cdl:
asl
parents: 1514
diff changeset
78 The ELF headers contain both a virtual and a physical address
549e69d9a7d0 * cdl/redboot.cdl:
asl
parents: 1514
diff changeset
79 for where code/data should be loaded. By default the physical
549e69d9a7d0 * cdl/redboot.cdl:
asl
parents: 1514
diff changeset
80 address is used but sometimes it is necassary to use the
549e69d9a7d0 * cdl/redboot.cdl:
asl
parents: 1514
diff changeset
81 virtual address because of bugy toolchains"
549e69d9a7d0 * cdl/redboot.cdl:
asl
parents: 1514
diff changeset
82 }
208
e0c0827131d1 Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents: 202
diff changeset
83 }
e0c0827131d1 Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents: 202
diff changeset
84
264
57f3c72256bb Reorg CLI functions into separate files. Update CDL. Fix macros in scripts.
gthomas
parents: 231
diff changeset
85
57f3c72256bb Reorg CLI functions into separate files. Update CDL. Fix macros in scripts.
gthomas
parents: 231
diff changeset
86 cdl_interface CYGINT_REDBOOT_LOAD_METHOD {
57f3c72256bb Reorg CLI functions into separate files. Update CDL. Fix macros in scripts.
gthomas
parents: 231
diff changeset
87 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
88 }
57f3c72256bb Reorg CLI functions into separate files. Update CDL. Fix macros in scripts.
gthomas
parents: 231
diff changeset
89
126
518f42066aba Merge from eCos master repository on 2000-09-19-06:25:26-BST
jlarmour
parents: 119
diff changeset
90 cdl_component CYGBLD_BUILD_REDBOOT {
115
6ed91473a1cd Merge from eCos master repository on 2000-08-21-22:40:54-BST
jlarmour
parents:
diff changeset
91 display "Build Redboot ROM ELF image"
6ed91473a1cd Merge from eCos master repository on 2000-08-21-22:40:54-BST
jlarmour
parents:
diff changeset
92 default_value 0
6ed91473a1cd Merge from eCos master repository on 2000-08-21-22:40:54-BST
jlarmour
parents:
diff changeset
93 requires CYGPKG_INFRA
191
678094f34118 Merge from eCos master repository on 2001-10-19-06:43:02-BST
jlarmour
parents: 186
diff changeset
94 requires CYGPKG_ISOINFRA
1434
951813e462b6 Improve building with/without GDB stubs
gthomas
parents: 1414
diff changeset
95
126
518f42066aba Merge from eCos master repository on 2000-09-19-06:25:26-BST
jlarmour
parents: 119
diff changeset
96 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
97 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
98 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
99 requires CYGSEM_HAL_VIRTUAL_VECTOR_SUPPORT
2615
7dad438fcaea * cdl/redboot.cdl: RedBoot always needs to claim the virtual
jlarmour
parents: 2395
diff changeset
100 requires CYGSEM_HAL_VIRTUAL_VECTOR_CLAIM_COMMS
115
6ed91473a1cd Merge from eCos master repository on 2000-08-21-22:40:54-BST
jlarmour
parents:
diff changeset
101
182
f62680ef1804 Merge from eCos master repository on 2001-09-07-06:43:02-BST
jlarmour
parents: 179
diff changeset
102 requires CYGINT_ISO_STRING_MEMFUNCS
f62680ef1804 Merge from eCos master repository on 2001-09-07-06:43:02-BST
jlarmour
parents: 179
diff changeset
103 requires CYGINT_ISO_STRING_STRFUNCS
264
57f3c72256bb Reorg CLI functions into separate files. Update CDL. Fix macros in scripts.
gthomas
parents: 231
diff changeset
104 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
105
1434
951813e462b6 Improve building with/without GDB stubs
gthomas
parents: 1414
diff changeset
106 cdl_option CYGBLD_BUILD_REDBOOT_WITH_GDB {
951813e462b6 Improve building with/without GDB stubs
gthomas
parents: 1414
diff changeset
107 display "Include GDB support in RedBoot"
951813e462b6 Improve building with/without GDB stubs
gthomas
parents: 1414
diff changeset
108 no_define
951813e462b6 Improve building with/without GDB stubs
gthomas
parents: 1414
diff changeset
109 default_value 1
951813e462b6 Improve building with/without GDB stubs
gthomas
parents: 1414
diff changeset
110 active_if CYGINT_HAL_DEBUG_GDB_STUBS
951813e462b6 Improve building with/without GDB stubs
gthomas
parents: 1414
diff changeset
111 requires CYGDBG_HAL_DEBUG_GDB_INCLUDE_STUBS
951813e462b6 Improve building with/without GDB stubs
gthomas
parents: 1414
diff changeset
112 requires CYGDBG_HAL_DEBUG_GDB_BREAK_SUPPORT
951813e462b6 Improve building with/without GDB stubs
gthomas
parents: 1414
diff changeset
113 description "
2065
376c93d0f526 * cdl/redboot.cdl: White space changes to aid readability.
asl
parents: 1954
diff changeset
114 RedBoot normally includes support for the GDB debugging
376c93d0f526 * cdl/redboot.cdl: White space changes to aid readability.
asl
parents: 1954
diff changeset
115 protocols. This option allows this to be disabled which
376c93d0f526 * cdl/redboot.cdl: White space changes to aid readability.
asl
parents: 1954
diff changeset
116 may yield a substantial savings in terms of code and memory
376c93d0f526 * cdl/redboot.cdl: White space changes to aid readability.
asl
parents: 1954
diff changeset
117 usage by RedBoot."
1434
951813e462b6 Improve building with/without GDB stubs
gthomas
parents: 1414
diff changeset
118 }
951813e462b6 Improve building with/without GDB stubs
gthomas
parents: 1414
diff changeset
119
126
518f42066aba Merge from eCos master repository on 2000-09-19-06:25:26-BST
jlarmour
parents: 119
diff changeset
120 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
121 display "Threads debugging support"
126
518f42066aba Merge from eCos master repository on 2000-09-19-06:25:26-BST
jlarmour
parents: 119
diff changeset
122 no_define
171
42f843b391aa Merge from eCos master repository on 2001-07-18-03:13:25-BST
jlarmour
parents: 165
diff changeset
123 description "
2065
376c93d0f526 * cdl/redboot.cdl: White space changes to aid readability.
asl
parents: 1954
diff changeset
124 Enabling this option will include special code in the
376c93d0f526 * cdl/redboot.cdl: White space changes to aid readability.
asl
parents: 1954
diff changeset
125 GDB stubs to support debugging of threaded programs. In
376c93d0f526 * cdl/redboot.cdl: White space changes to aid readability.
asl
parents: 1954
diff changeset
126 the case of eCos programs, this support allows GDB to
376c93d0f526 * cdl/redboot.cdl: White space changes to aid readability.
asl
parents: 1954
diff changeset
127 have complete access to the eCos threads in the
376c93d0f526 * cdl/redboot.cdl: White space changes to aid readability.
asl
parents: 1954
diff changeset
128 program."
132
0ae0bc38e387 Merge from eCos master repository on 2000-10-31-00:30:36-GMT
jlarmour
parents: 130
diff changeset
129 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
130 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
131 }
518f42066aba Merge from eCos master repository on 2000-09-19-06:25:26-BST
jlarmour
parents: 119
diff changeset
132
172
cd45958b28ff Merge from eCos master repository on 2001-07-20-10:24:43-BST
jlarmour
parents: 171
diff changeset
133 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
134 display "Customized version string"
cd45958b28ff Merge from eCos master repository on 2001-07-20-10:24:43-BST
jlarmour
parents: 171
diff changeset
135 flavor booldata
cd45958b28ff Merge from eCos master repository on 2001-07-20-10:24:43-BST
jlarmour
parents: 171
diff changeset
136 default_value 0
cd45958b28ff Merge from eCos master repository on 2001-07-20-10:24:43-BST
jlarmour
parents: 171
diff changeset
137 description "
cd45958b28ff Merge from eCos master repository on 2001-07-20-10:24:43-BST
jlarmour
parents: 171
diff changeset
138 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
139 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
140 \"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
141 information about the RedBoot configuration."
cd45958b28ff Merge from eCos master repository on 2001-07-20-10:24:43-BST
jlarmour
parents: 171
diff changeset
142 }
cd45958b28ff Merge from eCos master repository on 2001-07-20-10:24:43-BST
jlarmour
parents: 171
diff changeset
143
194
feb0fcf83327 Merge from eCos master repository on 2001-10-26-06:43:03-BST
jlarmour
parents: 191
diff changeset
144 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
145 display "Enable command line editing"
feb0fcf83327 Merge from eCos master repository on 2001-10-26-06:43:03-BST
jlarmour
parents: 191
diff changeset
146 flavor data
feb0fcf83327 Merge from eCos master repository on 2001-10-26-06:43:03-BST
jlarmour
parents: 191
diff changeset
147 default_value 16
feb0fcf83327 Merge from eCos master repository on 2001-10-26-06:43:03-BST
jlarmour
parents: 191
diff changeset
148 description "
2065
376c93d0f526 * cdl/redboot.cdl: White space changes to aid readability.
asl
parents: 1954
diff changeset
149 If this option is non-zero, RedBoot will remember the
376c93d0f526 * cdl/redboot.cdl: White space changes to aid readability.
asl
parents: 1954
diff changeset
150 last N command lines. These lines may be reused.
376c93d0f526 * cdl/redboot.cdl: White space changes to aid readability.
asl
parents: 1954
diff changeset
151 Enabling this history will also enable rudimentary
376c93d0f526 * cdl/redboot.cdl: White space changes to aid readability.
asl
parents: 1954
diff changeset
152 editting of the lines themselves."
194
feb0fcf83327 Merge from eCos master repository on 2001-10-26-06:43:03-BST
jlarmour
parents: 191
diff changeset
153 }
feb0fcf83327 Merge from eCos master repository on 2001-10-26-06:43:03-BST
jlarmour
parents: 191
diff changeset
154
2066
5d5572c64422 FIS fix from Stefan Sommerfeld, ANSI cursor keys from Gary Thomas
gthomas
parents: 2065
diff changeset
155 cdl_option CYGSEM_REDBOOT_CMD_LINE_ANSI_SEQUENCES {
5d5572c64422 FIS fix from Stefan Sommerfeld, ANSI cursor keys from Gary Thomas
gthomas
parents: 2065
diff changeset
156 display "Enable command line editing using ANSI arrows, etc"
5d5572c64422 FIS fix from Stefan Sommerfeld, ANSI cursor keys from Gary Thomas
gthomas
parents: 2065
diff changeset
157 flavor bool
5d5572c64422 FIS fix from Stefan Sommerfeld, ANSI cursor keys from Gary Thomas
gthomas
parents: 2065
diff changeset
158 default_value 1
5d5572c64422 FIS fix from Stefan Sommerfeld, ANSI cursor keys from Gary Thomas
gthomas
parents: 2065
diff changeset
159 active_if CYGNUM_REDBOOT_CMD_LINE_EDITING != 0
5d5572c64422 FIS fix from Stefan Sommerfeld, ANSI cursor keys from Gary Thomas
gthomas
parents: 2065
diff changeset
160 description "
5d5572c64422 FIS fix from Stefan Sommerfeld, ANSI cursor keys from Gary Thomas
gthomas
parents: 2065
diff changeset
161 If this option is enabled, RedBoot will accept standard ANSI key
5d5572c64422 FIS fix from Stefan Sommerfeld, ANSI cursor keys from Gary Thomas
gthomas
parents: 2065
diff changeset
162 sequences for cursor movement (along with the emacs style keys)."
5d5572c64422 FIS fix from Stefan Sommerfeld, ANSI cursor keys from Gary Thomas
gthomas
parents: 2065
diff changeset
163 }
5d5572c64422 FIS fix from Stefan Sommerfeld, ANSI cursor keys from Gary Thomas
gthomas
parents: 2065
diff changeset
164
1032
f5fa0e095f5e Add RedBoot command history
msalter
parents: 1002
diff changeset
165 cdl_option CYGBLD_REDBOOT_CMD_LINE_HISTORY {
f5fa0e095f5e Add RedBoot command history
msalter
parents: 1002
diff changeset
166 display "Enable history command and expansion"
f5fa0e095f5e Add RedBoot command history
msalter
parents: 1002
diff changeset
167 requires { CYGNUM_REDBOOT_CMD_LINE_EDITING > 0 }
f5fa0e095f5e Add RedBoot command history
msalter
parents: 1002
diff changeset
168 flavor bool
f5fa0e095f5e Add RedBoot command history
msalter
parents: 1002
diff changeset
169 default_value 1
f5fa0e095f5e Add RedBoot command history
msalter
parents: 1002
diff changeset
170 description "
2065
376c93d0f526 * cdl/redboot.cdl: White space changes to aid readability.
asl
parents: 1954
diff changeset
171 Enabling this option will allow RedBoot to provide a
376c93d0f526 * cdl/redboot.cdl: White space changes to aid readability.
asl
parents: 1954
diff changeset
172 history command to list previous commands. Also enables
376c93d0f526 * cdl/redboot.cdl: White space changes to aid readability.
asl
parents: 1954
diff changeset
173 history expansion via '!' character similar to bash
376c93d0f526 * cdl/redboot.cdl: White space changes to aid readability.
asl
parents: 1954
diff changeset
174 shell."
1032
f5fa0e095f5e Add RedBoot command history
msalter
parents: 1002
diff changeset
175 }
1223
dbcfe4e0dbd2 New platform - TAMS MOAB - and generic changes to support it
gthomas
parents: 1169
diff changeset
176
dbcfe4e0dbd2 New platform - TAMS MOAB - and generic changes to support it
gthomas
parents: 1169
diff changeset
177 cdl_option CYGBLD_REDBOOT_MAX_MEM_SEGMENTS {
dbcfe4e0dbd2 New platform - TAMS MOAB - and generic changes to support it
gthomas
parents: 1169
diff changeset
178 display "Number of unique RAM segments on platform"
dbcfe4e0dbd2 New platform - TAMS MOAB - and generic changes to support it
gthomas
parents: 1169
diff changeset
179 flavor data
dbcfe4e0dbd2 New platform - TAMS MOAB - and generic changes to support it
gthomas
parents: 1169
diff changeset
180 default_value 1
dbcfe4e0dbd2 New platform - TAMS MOAB - and generic changes to support it
gthomas
parents: 1169
diff changeset
181 description "
dbcfe4e0dbd2 New platform - TAMS MOAB - and generic changes to support it
gthomas
parents: 1169
diff changeset
182 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
183 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
184 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
185 additional segments."
dbcfe4e0dbd2 New platform - TAMS MOAB - and generic changes to support it
gthomas
parents: 1169
diff changeset
186 }
1032
f5fa0e095f5e Add RedBoot command history
msalter
parents: 1002
diff changeset
187
1492
8b3549abe4ac * cdl/redboot.cdl: Bring CYGNUM_REDBOOT_LOAD_ZLIB_BUFFER under
jlarmour
parents: 1485
diff changeset
188 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
189 display "Include support gzip/zlib decompression"
57f3c72256bb Reorg CLI functions into separate files. Update CDL. Fix macros in scripts.
gthomas
parents: 231
diff changeset
190 active_if CYGPKG_COMPRESS_ZLIB
57f3c72256bb Reorg CLI functions into separate files. Update CDL. Fix macros in scripts.
gthomas
parents: 231
diff changeset
191 default_value 1
57f3c72256bb Reorg CLI functions into separate files. Update CDL. Fix macros in scripts.
gthomas
parents: 231
diff changeset
192 implements CYGINT_COMPRESS_ZLIB_LOCAL_ALLOC
57f3c72256bb Reorg CLI functions into separate files. Update CDL. Fix macros in scripts.
gthomas
parents: 231
diff changeset
193 compile decompress.c
1492
8b3549abe4ac * cdl/redboot.cdl: Bring CYGNUM_REDBOOT_LOAD_ZLIB_BUFFER under
jlarmour
parents: 1485
diff changeset
194
8b3549abe4ac * cdl/redboot.cdl: Bring CYGNUM_REDBOOT_LOAD_ZLIB_BUFFER under
jlarmour
parents: 1485
diff changeset
195 cdl_option CYGNUM_REDBOOT_LOAD_ZLIB_BUFFER {
8b3549abe4ac * cdl/redboot.cdl: Bring CYGNUM_REDBOOT_LOAD_ZLIB_BUFFER under
jlarmour
parents: 1485
diff changeset
196 display "Size of zlib decompression buffer"
8b3549abe4ac * cdl/redboot.cdl: Bring CYGNUM_REDBOOT_LOAD_ZLIB_BUFFER under
jlarmour
parents: 1485
diff changeset
197 flavor data
8b3549abe4ac * cdl/redboot.cdl: Bring CYGNUM_REDBOOT_LOAD_ZLIB_BUFFER under
jlarmour
parents: 1485
diff changeset
198 default_value 64
8b3549abe4ac * cdl/redboot.cdl: Bring CYGNUM_REDBOOT_LOAD_ZLIB_BUFFER under
jlarmour
parents: 1485
diff changeset
199 legal_values 5 to 256
8b3549abe4ac * cdl/redboot.cdl: Bring CYGNUM_REDBOOT_LOAD_ZLIB_BUFFER under
jlarmour
parents: 1485
diff changeset
200 description "
8b3549abe4ac * cdl/redboot.cdl: Bring CYGNUM_REDBOOT_LOAD_ZLIB_BUFFER under
jlarmour
parents: 1485
diff changeset
201 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
202 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
203 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
204 (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
205 processors it may be necessary to reduce the size to
2065
376c93d0f526 * cdl/redboot.cdl: White space changes to aid readability.
asl
parents: 1954
diff changeset
206 avoid serial overruns. zlib appears to bail out if less
376c93d0f526 * cdl/redboot.cdl: White space changes to aid readability.
asl
parents: 1954
diff changeset
207 than five bytes are available initially so this is the
376c93d0f526 * cdl/redboot.cdl: White space changes to aid readability.
asl
parents: 1954
diff changeset
208 minimum."
1492
8b3549abe4ac * cdl/redboot.cdl: Bring CYGNUM_REDBOOT_LOAD_ZLIB_BUFFER under
jlarmour
parents: 1485
diff changeset
209 }
8b3549abe4ac * cdl/redboot.cdl: Bring CYGNUM_REDBOOT_LOAD_ZLIB_BUFFER under
jlarmour
parents: 1485
diff changeset
210 cdl_option CYGPRI_REDBOOT_ZLIB_FLASH {
8b3549abe4ac * cdl/redboot.cdl: Bring CYGNUM_REDBOOT_LOAD_ZLIB_BUFFER under
jlarmour
parents: 1485
diff changeset
211 display "Support compression of Flash images"
8b3549abe4ac * cdl/redboot.cdl: Bring CYGNUM_REDBOOT_LOAD_ZLIB_BUFFER under
jlarmour
parents: 1485
diff changeset
212 active_if CYGPKG_REDBOOT_FLASH
8b3549abe4ac * cdl/redboot.cdl: Bring CYGNUM_REDBOOT_LOAD_ZLIB_BUFFER under
jlarmour
parents: 1485
diff changeset
213 active_if !CYGSEM_IO_FLASH_READ_INDIRECT
8b3549abe4ac * cdl/redboot.cdl: Bring CYGNUM_REDBOOT_LOAD_ZLIB_BUFFER under
jlarmour
parents: 1485
diff changeset
214 calculated 1
8b3549abe4ac * cdl/redboot.cdl: Bring CYGNUM_REDBOOT_LOAD_ZLIB_BUFFER under
jlarmour
parents: 1485
diff changeset
215 description "
8b3549abe4ac * cdl/redboot.cdl: Bring CYGNUM_REDBOOT_LOAD_ZLIB_BUFFER under
jlarmour
parents: 1485
diff changeset
216 This CDL indicates whether flash images can
8b3549abe4ac * cdl/redboot.cdl: Bring CYGNUM_REDBOOT_LOAD_ZLIB_BUFFER under
jlarmour
parents: 1485
diff changeset
217 be decompressed from gzip/zlib format into RAM."
8b3549abe4ac * cdl/redboot.cdl: Bring CYGNUM_REDBOOT_LOAD_ZLIB_BUFFER under
jlarmour
parents: 1485
diff changeset
218 }
1954
6beba10c1713 * src/net/net_io.c (net_init): Don't initialize the network if we
asl
parents: 1824
diff changeset
219
6beba10c1713 * src/net/net_io.c (net_init): Don't initialize the network if we
asl
parents: 1824
diff changeset
220 cdl_option CYGBLD_BUILD_REDBOOT_WITH_GUNZIP {
6beba10c1713 * src/net/net_io.c (net_init): Don't initialize the network if we
asl
parents: 1824
diff changeset
221 display "Include GZIP uncompress command"
6beba10c1713 * src/net/net_io.c (net_init): Don't initialize the network if we
asl
parents: 1824
diff changeset
222 default_value 0
6beba10c1713 * src/net/net_io.c (net_init): Don't initialize the network if we
asl
parents: 1824
diff changeset
223 description "
6beba10c1713 * src/net/net_io.c (net_init): Don't initialize the network if we
asl
parents: 1824
diff changeset
224 Enable this option to include a 'gunzip' command
6beba10c1713 * src/net/net_io.c (net_init): Don't initialize the network if we
asl
parents: 1824
diff changeset
225 to uncompress GZIP compressed data."
6beba10c1713 * src/net/net_io.c (net_init): Don't initialize the network if we
asl
parents: 1824
diff changeset
226 compile -library=libextras.a gunzip.c
6beba10c1713 * src/net/net_io.c (net_init): Don't initialize the network if we
asl
parents: 1824
diff changeset
227 }
264
57f3c72256bb Reorg CLI functions into separate files. Update CDL. Fix macros in scripts.
gthomas
parents: 231
diff changeset
228 }
57f3c72256bb Reorg CLI functions into separate files. Update CDL. Fix macros in scripts.
gthomas
parents: 231
diff changeset
229
57f3c72256bb Reorg CLI functions into separate files. Update CDL. Fix macros in scripts.
gthomas
parents: 231
diff changeset
230 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
231 display "Include support for xyzModem downloads"
737
11a38162cd52 * doc/redboot.sgml: De-vendorise a little.
jlarmour
parents: 632
diff changeset
232 doc ref/download-command.html
264
57f3c72256bb Reorg CLI functions into separate files. Update CDL. Fix macros in scripts.
gthomas
parents: 231
diff changeset
233 no_define
57f3c72256bb Reorg CLI functions into separate files. Update CDL. Fix macros in scripts.
gthomas
parents: 231
diff changeset
234 default_value 1
57f3c72256bb Reorg CLI functions into separate files. Update CDL. Fix macros in scripts.
gthomas
parents: 231
diff changeset
235 implements CYGINT_REDBOOT_LOAD_METHOD
57f3c72256bb Reorg CLI functions into separate files. Update CDL. Fix macros in scripts.
gthomas
parents: 231
diff changeset
236 compile -library=libextras.a xyzModem.c
57f3c72256bb Reorg CLI functions into separate files. Update CDL. Fix macros in scripts.
gthomas
parents: 231
diff changeset
237 }
57f3c72256bb Reorg CLI functions into separate files. Update CDL. Fix macros in scripts.
gthomas
parents: 231
diff changeset
238
2144
36bfd6474600 * src/xyzModem.c (xyzModem_stream_open): Fix compiler warnings.
asl
parents: 2066
diff changeset
239 cdl_option CYGBLD_REDBOOT_LOAD_INTO_FLASH {
36bfd6474600 * src/xyzModem.c (xyzModem_stream_open): Fix compiler warnings.
asl
parents: 2066
diff changeset
240 display "Allow the load-command write into Flash."
36bfd6474600 * src/xyzModem.c (xyzModem_stream_open): Fix compiler warnings.
asl
parents: 2066
diff changeset
241 default_value 0
2329
9279e39bd38d * src/load.c: Only call valid_address() if
asl
parents: 2287
diff changeset
242 active_if CYGPKG_REDBOOT_FLASH
9279e39bd38d * src/load.c: Only call valid_address() if
asl
parents: 2287
diff changeset
243 requires CYGSEM_REDBOOT_VALIDATE_USER_RAM_LOADS
2144
36bfd6474600 * src/xyzModem.c (xyzModem_stream_open): Fix compiler warnings.
asl
parents: 2066
diff changeset
244 compile flash_load.c
36bfd6474600 * src/xyzModem.c (xyzModem_stream_open): Fix compiler warnings.
asl
parents: 2066
diff changeset
245 description "
2329
9279e39bd38d * src/load.c: Only call valid_address() if
asl
parents: 2287
diff changeset
246 Write images direct to Flash via the load command.
9279e39bd38d * src/load.c: Only call valid_address() if
asl
parents: 2287
diff changeset
247 We assume anything which is invalid RAM is flash, hence
9279e39bd38d * src/load.c: Only call valid_address() if
asl
parents: 2287
diff changeset
248 the requires statement"
2144
36bfd6474600 * src/xyzModem.c (xyzModem_stream_open): Fix compiler warnings.
asl
parents: 2066
diff changeset
249 }
208
e0c0827131d1 Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents: 202
diff changeset
250 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
251 display "Include POSIX checksum command"
737
11a38162cd52 * doc/redboot.sgml: De-vendorise a little.
jlarmour
parents: 632
diff changeset
252 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
253 default_value 1
3174
a75d37e86790 Create new package for DHCP/BOOTP support so that it can be disable
grante
parents: 3144
diff changeset
254 requires CYGPKG_CRC
264
57f3c72256bb Reorg CLI functions into separate files. Update CDL. Fix macros in scripts.
gthomas
parents: 231
diff changeset
255 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
256 }
e0c0827131d1 Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents: 202
diff changeset
257
e0c0827131d1 Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents: 202
diff changeset
258 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
259 display "Include memory fill command"
737
11a38162cd52 * doc/redboot.sgml: De-vendorise a little.
jlarmour
parents: 632
diff changeset
260 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
261 default_value 1
264
57f3c72256bb Reorg CLI functions into separate files. Update CDL. Fix macros in scripts.
gthomas
parents: 231
diff changeset
262 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
263 }
e0c0827131d1 Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents: 202
diff changeset
264
e0c0827131d1 Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents: 202
diff changeset
265 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
266 display "Include memory compare command"
737
11a38162cd52 * doc/redboot.sgml: De-vendorise a little.
jlarmour
parents: 632
diff changeset
267 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
268 default_value 1
264
57f3c72256bb Reorg CLI functions into separate files. Update CDL. Fix macros in scripts.
gthomas
parents: 231
diff changeset
269 compile -library=libextras.a mcmp.c
57f3c72256bb Reorg CLI functions into separate files. Update CDL. Fix macros in scripts.
gthomas
parents: 231
diff changeset
270 }
57f3c72256bb Reorg CLI functions into separate files. Update CDL. Fix macros in scripts.
gthomas
parents: 231
diff changeset
271
1087
549ccefb35ed Add RedBoot mcopy command
msalter
parents: 1032
diff changeset
272 cdl_option CYGBLD_BUILD_REDBOOT_WITH_MCOPY {
549ccefb35ed Add RedBoot mcopy command
msalter
parents: 1032
diff changeset
273 display "Include memory copy command"
549ccefb35ed Add RedBoot mcopy command
msalter
parents: 1032
diff changeset
274 doc ref/mcopy-command.html
549ccefb35ed Add RedBoot mcopy command
msalter
parents: 1032
diff changeset
275 default_value 1
549ccefb35ed Add RedBoot mcopy command
msalter
parents: 1032
diff changeset
276 compile -library=libextras.a mcopy.c
549ccefb35ed Add RedBoot mcopy command
msalter
parents: 1032
diff changeset
277 }
549ccefb35ed Add RedBoot mcopy command
msalter
parents: 1032
diff changeset
278
264
57f3c72256bb Reorg CLI functions into separate files. Update CDL. Fix macros in scripts.
gthomas
parents: 231
diff changeset
279 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
280 display "Include memory dump command"
737
11a38162cd52 * doc/redboot.sgml: De-vendorise a little.
jlarmour
parents: 632
diff changeset
281 doc ref/dump-command.html
264
57f3c72256bb Reorg CLI functions into separate files. Update CDL. Fix macros in scripts.
gthomas
parents: 231
diff changeset
282 default_value 1
57f3c72256bb Reorg CLI functions into separate files. Update CDL. Fix macros in scripts.
gthomas
parents: 231
diff changeset
283 compile -library=libextras.a dump.c
57f3c72256bb Reorg CLI functions into separate files. Update CDL. Fix macros in scripts.
gthomas
parents: 231
diff changeset
284 }
57f3c72256bb Reorg CLI functions into separate files. Update CDL. Fix macros in scripts.
gthomas
parents: 231
diff changeset
285
57f3c72256bb Reorg CLI functions into separate files. Update CDL. Fix macros in scripts.
gthomas
parents: 231
diff changeset
286 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
287 display "Include cache command"
737
11a38162cd52 * doc/redboot.sgml: De-vendorise a little.
jlarmour
parents: 632
diff changeset
288 doc ref/cache-command.html
264
57f3c72256bb Reorg CLI functions into separate files. Update CDL. Fix macros in scripts.
gthomas
parents: 231
diff changeset
289 default_value 1
57f3c72256bb Reorg CLI functions into separate files. Update CDL. Fix macros in scripts.
gthomas
parents: 231
diff changeset
290 compile -library=libextras.a caches.c
57f3c72256bb Reorg CLI functions into separate files. Update CDL. Fix macros in scripts.
gthomas
parents: 231
diff changeset
291 }
57f3c72256bb Reorg CLI functions into separate files. Update CDL. Fix macros in scripts.
gthomas
parents: 231
diff changeset
292
57f3c72256bb Reorg CLI functions into separate files. Update CDL. Fix macros in scripts.
gthomas
parents: 231
diff changeset
293 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
294 display "Include exec command"
737
11a38162cd52 * doc/redboot.sgml: De-vendorise a little.
jlarmour
parents: 632
diff changeset
295 doc ref/exec-command.html
264
57f3c72256bb Reorg CLI functions into separate files. Update CDL. Fix macros in scripts.
gthomas
parents: 231
diff changeset
296 default_value 1
57f3c72256bb Reorg CLI functions into separate files. Update CDL. Fix macros in scripts.
gthomas
parents: 231
diff changeset
297 # 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
298 }
e0c0827131d1 Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents: 202
diff changeset
299
1823
ecd76f498508 * cdl/redboot.cdl (CYGBLD_REDBOOT_MIN_IMAGE_SIZE): Correct the
asl
parents: 1811
diff changeset
300 cdl_option CYGBLD_BUILD_REDBOOT_WITH_IOMEM {
1824
30d166811fe7 * cdl/redboot.cdl, doc/redboot_cmds.sgml, src/iomem.c: Add support
asl
parents: 1823
diff changeset
301 display "Include I/O Memory commands 'iopeek' and 'iopoke'"
30d166811fe7 * cdl/redboot.cdl, doc/redboot_cmds.sgml, src/iomem.c: Add support
asl
parents: 1823
diff changeset
302 default_value 0
1823
ecd76f498508 * cdl/redboot.cdl (CYGBLD_REDBOOT_MIN_IMAGE_SIZE): Correct the
asl
parents: 1811
diff changeset
303 compile -library=libextras.a iomem.c
ecd76f498508 * cdl/redboot.cdl (CYGBLD_REDBOOT_MIN_IMAGE_SIZE): Correct the
asl
parents: 1811
diff changeset
304 }
ecd76f498508 * cdl/redboot.cdl (CYGBLD_REDBOOT_MIN_IMAGE_SIZE): Correct the
asl
parents: 1811
diff changeset
305
115
6ed91473a1cd Merge from eCos master repository on 2000-08-21-22:40:54-BST
jlarmour
parents:
diff changeset
306 no_define
2065
376c93d0f526 * cdl/redboot.cdl: White space changes to aid readability.
asl
parents: 1954
diff changeset
307 description "
376c93d0f526 * cdl/redboot.cdl: White space changes to aid readability.
asl
parents: 1954
diff changeset
308 This option enables the building of the Redboot ELF image.
376c93d0f526 * cdl/redboot.cdl: White space changes to aid readability.
asl
parents: 1954
diff changeset
309 The image may require further relocation or symbol
376c93d0f526 * cdl/redboot.cdl: White space changes to aid readability.
asl
parents: 1954
diff changeset
310 stripping before being converted to a binary image.
376c93d0f526 * cdl/redboot.cdl: White space changes to aid readability.
asl
parents: 1954
diff changeset
311 This is handled by a rule in the target CDL."
115
6ed91473a1cd Merge from eCos master repository on 2000-08-21-22:40:54-BST
jlarmour
parents:
diff changeset
312
1169
83f799d5b41a Improve stand-alone networking speeds.
gthomas
parents: 1087
diff changeset
313
83f799d5b41a Improve stand-alone networking speeds.
gthomas
parents: 1087
diff changeset
314 cdl_option CYGDBG_REDBOOT_TICK_GRANULARITY {
83f799d5b41a Improve stand-alone networking speeds.
gthomas
parents: 1087
diff changeset
315 display "Granularity of timer/ticks"
83f799d5b41a Improve stand-alone networking speeds.
gthomas
parents: 1087
diff changeset
316 flavor data
83f799d5b41a Improve stand-alone networking speeds.
gthomas
parents: 1087
diff changeset
317 legal_values { 50 100 250 500 1000 }
83f799d5b41a Improve stand-alone networking speeds.
gthomas
parents: 1087
diff changeset
318 default_value 250
83f799d5b41a Improve stand-alone networking speeds.
gthomas
parents: 1087
diff changeset
319 description "
83f799d5b41a Improve stand-alone networking speeds.
gthomas
parents: 1087
diff changeset
320 This option controls the granularity of the timers.
83f799d5b41a Improve stand-alone networking speeds.
gthomas
parents: 1087
diff changeset
321 Faster CPUs can afford higher granularity (lower values)
83f799d5b41a Improve stand-alone networking speeds.
gthomas
parents: 1087
diff changeset
322 which should give higher network performance since the stack
83f799d5b41a Improve stand-alone networking speeds.
gthomas
parents: 1087
diff changeset
323 is purely polled."
83f799d5b41a Improve stand-alone networking speeds.
gthomas
parents: 1087
diff changeset
324 }
83f799d5b41a Improve stand-alone networking speeds.
gthomas
parents: 1087
diff changeset
325
284
3e80ecaaa3f8 * src/crc.c: Removed. Replaced with the CRC package.
asl
parents: 264
diff changeset
326 compile main.c
228
e1b642d73533 Improve load command - make I/O methods table driven.
gthomas
parents: 210
diff changeset
327 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
328 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
329
6ed91473a1cd Merge from eCos master repository on 2000-08-21-22:40:54-BST
jlarmour
parents:
diff changeset
330 make -priority 320 {
154
e2d866e32dac Merge from eCos master repository on 2001-02-26-23:18:05-GMT
jlarmour
parents: 151
diff changeset
331 <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
332 @sh -c "mkdir -p $(dir $@)"
2066
5d5572c64422 FIS fix from Stefan Sommerfeld, ANSI cursor keys from Gary Thomas
gthomas
parents: 2065
diff changeset
333 $(CC) -c $(INCLUDE_PATH) $(ACTUAL_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
334 $(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
335 }
6ed91473a1cd Merge from eCos master repository on 2000-08-21-22:40:54-BST
jlarmour
parents:
diff changeset
336
632
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
337 cdl_component CYGPKG_REDBOOT_NETWORKING {
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
338 display "Redboot Networking"
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 active_if CYGPKG_IO_ETH_DRIVERS
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
341 default_value 1
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
342 implements CYGINT_REDBOOT_LOAD_METHOD
3174
a75d37e86790 Create new package for DHCP/BOOTP support so that it can be disable
grante
parents: 3144
diff changeset
343 compile net/udp.c net/ip.c net/pktbuf.c net/cksum.c
632
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
344 compile net/enet.c net/icmp.c net/tcp.c net/timers.c net/arp.c
1514
e14a7321a363 Force net_io into link via libextras
gthomas
parents: 1492
diff changeset
345 compile net/inet_addr.c
e14a7321a363 Force net_io into link via libextras
gthomas
parents: 1492
diff changeset
346 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
347 description "This option includes networking support in RedBoot."
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
348 define_proc {
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
349 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
350 }
632
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
351
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
352 cdl_option CYGDBG_REDBOOT_NET_DEBUG {
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
353 display "Print net debug information"
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
354 flavor bool
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
355 default_value 0
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
356 description "
2065
376c93d0f526 * cdl/redboot.cdl: White space changes to aid readability.
asl
parents: 1954
diff changeset
357 This option is overriden by the configuration stored
376c93d0f526 * cdl/redboot.cdl: White space changes to aid readability.
asl
parents: 1954
diff changeset
358 in flash."
632
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
359 }
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
360
886
a6c0f4a333e5 Make TFTP optional
gthomas
parents: 849
diff changeset
361 cdl_option CYGSEM_REDBOOT_NET_TFTP_DOWNLOAD {
a6c0f4a333e5 Make TFTP optional
gthomas
parents: 849
diff changeset
362 display "Support TFTP for download"
a6c0f4a333e5 Make TFTP optional
gthomas
parents: 849
diff changeset
363 flavor bool
a6c0f4a333e5 Make TFTP optional
gthomas
parents: 849
diff changeset
364 default_value 1
a6c0f4a333e5 Make TFTP optional
gthomas
parents: 849
diff changeset
365 compile -library=libextras.a net/tftp_client.c
a6c0f4a333e5 Make TFTP optional
gthomas
parents: 849
diff changeset
366 description "
2065
376c93d0f526 * cdl/redboot.cdl: White space changes to aid readability.
asl
parents: 1954
diff changeset
367 This option enables the use of the TFTP protocol for
376c93d0f526 * cdl/redboot.cdl: White space changes to aid readability.
asl
parents: 1954
diff changeset
368 download"
886
a6c0f4a333e5 Make TFTP optional
gthomas
parents: 849
diff changeset
369 }
a6c0f4a333e5 Make TFTP optional
gthomas
parents: 849
diff changeset
370
632
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
371 cdl_option CYGSEM_REDBOOT_NET_HTTP_DOWNLOAD {
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
372 display "Support HTTP for download"
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
373 flavor bool
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
374 default_value 1
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
375 compile -library=libextras.a net/http_client.c
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
376 description "
2065
376c93d0f526 * cdl/redboot.cdl: White space changes to aid readability.
asl
parents: 1954
diff changeset
377 This option enables the use of the HTTP protocol for
376c93d0f526 * cdl/redboot.cdl: White space changes to aid readability.
asl
parents: 1954
diff changeset
378 download"
632
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
379 }
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 cdl_component CYGDAT_REDBOOT_DEFAULT_IP_ADDR {
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
382 display "Default IP address"
231
4ebdd3788c30 Merge gateway support from Grant Edwards
gthomas
parents: 228
diff changeset
383 flavor booldata
4ebdd3788c30 Merge gateway support from Grant Edwards
gthomas
parents: 228
diff changeset
384 default_value CYGSEM_REDBOOT_FLASH_CONFIG ? 0 : \
4ebdd3788c30 Merge gateway support from Grant Edwards
gthomas
parents: 228
diff changeset
385 { "0, 0, 0, 0" }
4ebdd3788c30 Merge gateway support from Grant Edwards
gthomas
parents: 228
diff changeset
386 description "
2065
376c93d0f526 * cdl/redboot.cdl: White space changes to aid readability.
asl
parents: 1954
diff changeset
387 This IP address is the default used by RedBoot if
376c93d0f526 * cdl/redboot.cdl: White space changes to aid readability.
asl
parents: 1954
diff changeset
388 a BOOTP/DHCP server does not respond. The numbers
376c93d0f526 * cdl/redboot.cdl: White space changes to aid readability.
asl
parents: 1954
diff changeset
389 should be separated by *commas*, and not dots. If
376c93d0f526 * cdl/redboot.cdl: White space changes to aid readability.
asl
parents: 1954
diff changeset
390 an IP address is configured into the Flash
376c93d0f526 * cdl/redboot.cdl: White space changes to aid readability.
asl
parents: 1954
diff changeset
391 configuration, that will be used in preference."
632
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
392
1724
549e69d9a7d0 * cdl/redboot.cdl:
asl
parents: 1514
diff changeset
393 cdl_option CYGDAT_REDBOOT_DEFAULT_BOOTP_SERVER_IP_ADDR {
549e69d9a7d0 * cdl/redboot.cdl:
asl
parents: 1514
diff changeset
394 display "Default bootp server"
549e69d9a7d0 * cdl/redboot.cdl:
asl
parents: 1514
diff changeset
395 flavor booldata
549e69d9a7d0 * cdl/redboot.cdl:
asl
parents: 1514
diff changeset
396 default_value CYGSEM_REDBOOT_FLASH_CONFIG ? 0 : \
549e69d9a7d0 * cdl/redboot.cdl:
asl
parents: 1514
diff changeset
397 { "0, 0, 0, 0" }
549e69d9a7d0 * cdl/redboot.cdl:
asl
parents: 1514
diff changeset
398 description "
549e69d9a7d0 * cdl/redboot.cdl:
asl
parents: 1514
diff changeset
399 This IP address is the default server
549e69d9a7d0 * cdl/redboot.cdl:
asl
parents: 1514
diff changeset
400 address used by RedBoot if a BOOTP/DHCP
549e69d9a7d0 * cdl/redboot.cdl:
asl
parents: 1514
diff changeset
401 server does not respond. The numbers should
549e69d9a7d0 * cdl/redboot.cdl:
asl
parents: 1514
diff changeset
402 be separated by *commas*, and not dots. If
549e69d9a7d0 * cdl/redboot.cdl:
asl
parents: 1514
diff changeset
403 an IP address is configured into the Flash
549e69d9a7d0 * cdl/redboot.cdl:
asl
parents: 1514
diff changeset
404 configuration, that will be used in
549e69d9a7d0 * cdl/redboot.cdl:
asl
parents: 1514
diff changeset
405 preference."
549e69d9a7d0 * cdl/redboot.cdl:
asl
parents: 1514
diff changeset
406 }
231
4ebdd3788c30 Merge gateway support from Grant Edwards
gthomas
parents: 228
diff changeset
407 }
3174
a75d37e86790 Create new package for DHCP/BOOTP support so that it can be disable
grante
parents: 3144
diff changeset
408
a75d37e86790 Create new package for DHCP/BOOTP support so that it can be disable
grante
parents: 3144
diff changeset
409 cdl_component CYGPKG_REDBOOT_NETWORKING_BOOTP {
a75d37e86790 Create new package for DHCP/BOOTP support so that it can be disable
grante
parents: 3144
diff changeset
410 display "Enable BOOTP/DHCP support"
1227
54f8d0daacd4 Fix DHCP - BUG #1000053
gthomas
parents: 1223
diff changeset
411 flavor bool
54f8d0daacd4 Fix DHCP - BUG #1000053
gthomas
parents: 1223
diff changeset
412 default_value 1
3174
a75d37e86790 Create new package for DHCP/BOOTP support so that it can be disable
grante
parents: 3144
diff changeset
413 compile net/bootp.c
1227
54f8d0daacd4 Fix DHCP - BUG #1000053
gthomas
parents: 1223
diff changeset
414 description "
3174
a75d37e86790 Create new package for DHCP/BOOTP support so that it can be disable
grante
parents: 3144
diff changeset
415 Use BOOTP/DHCP protocol to obtain pertinent IP
a75d37e86790 Create new package for DHCP/BOOTP support so that it can be disable
grante
parents: 3144
diff changeset
416 addresses, such as the client, server, gateway,
a75d37e86790 Create new package for DHCP/BOOTP support so that it can be disable
grante
parents: 3144
diff changeset
417 etc."
a75d37e86790 Create new package for DHCP/BOOTP support so that it can be disable
grante
parents: 3144
diff changeset
418
a75d37e86790 Create new package for DHCP/BOOTP support so that it can be disable
grante
parents: 3144
diff changeset
419 cdl_component CYGSEM_REDBOOT_NETWORKING_DHCP {
a75d37e86790 Create new package for DHCP/BOOTP support so that it can be disable
grante
parents: 3144
diff changeset
420 display "Enable DHCP in addition to BOOTP support"
a75d37e86790 Create new package for DHCP/BOOTP support so that it can be disable
grante
parents: 3144
diff changeset
421 flavor bool
a75d37e86790 Create new package for DHCP/BOOTP support so that it can be disable
grante
parents: 3144
diff changeset
422 default_value 1
a75d37e86790 Create new package for DHCP/BOOTP support so that it can be disable
grante
parents: 3144
diff changeset
423 description "
a75d37e86790 Create new package for DHCP/BOOTP support so that it can be disable
grante
parents: 3144
diff changeset
424 Enables DHCP protocol in addition to BOOTP. If not enabled,
a75d37e86790 Create new package for DHCP/BOOTP support so that it can be disable
grante
parents: 3144
diff changeset
425 only BOOTP will be suported."
a75d37e86790 Create new package for DHCP/BOOTP support so that it can be disable
grante
parents: 3144
diff changeset
426 }
a75d37e86790 Create new package for DHCP/BOOTP support so that it can be disable
grante
parents: 3144
diff changeset
427
a75d37e86790 Create new package for DHCP/BOOTP support so that it can be disable
grante
parents: 3144
diff changeset
428 cdl_component CYGSEM_REDBOOT_NETWORKING_BOOTP_VERBOSE {
a75d37e86790 Create new package for DHCP/BOOTP support so that it can be disable
grante
parents: 3144
diff changeset
429 display "Enable verbose output from BOOTP/DHCP code"
a75d37e86790 Create new package for DHCP/BOOTP support so that it can be disable
grante
parents: 3144
diff changeset
430 flavor bool
a75d37e86790 Create new package for DHCP/BOOTP support so that it can be disable
grante
parents: 3144
diff changeset
431 default_value 0
a75d37e86790 Create new package for DHCP/BOOTP support so that it can be disable
grante
parents: 3144
diff changeset
432 description "
a75d37e86790 Create new package for DHCP/BOOTP support so that it can be disable
grante
parents: 3144
diff changeset
433 Enable more verbose output from BOOTP/DHCP that logs rx/tx
a75d37e86790 Create new package for DHCP/BOOTP support so that it can be disable
grante
parents: 3144
diff changeset
434 packet types and state-machine transitions."
a75d37e86790 Create new package for DHCP/BOOTP support so that it can be disable
grante
parents: 3144
diff changeset
435 }
a75d37e86790 Create new package for DHCP/BOOTP support so that it can be disable
grante
parents: 3144
diff changeset
436
a75d37e86790 Create new package for DHCP/BOOTP support so that it can be disable
grante
parents: 3144
diff changeset
437 cdl_option CYGSEM_REDBOOT_DEFAULT_NO_BOOTP {
a75d37e86790 Create new package for DHCP/BOOTP support so that it can be disable
grante
parents: 3144
diff changeset
438 display "Do not try to use BOOTP/DHCP"
a75d37e86790 Create new package for DHCP/BOOTP support so that it can be disable
grante
parents: 3144
diff changeset
439 flavor bool
a75d37e86790 Create new package for DHCP/BOOTP support so that it can be disable
grante
parents: 3144
diff changeset
440 default_value 0
a75d37e86790 Create new package for DHCP/BOOTP support so that it can be disable
grante
parents: 3144
diff changeset
441 description "
a75d37e86790 Create new package for DHCP/BOOTP support so that it can be disable
grante
parents: 3144
diff changeset
442 By default Redboot tries to use BOOTP/DHCP to
a75d37e86790 Create new package for DHCP/BOOTP support so that it can be disable
grante
parents: 3144
diff changeset
443 get an IP address when BOOTP/DHCP support is
a75d37e86790 Create new package for DHCP/BOOTP support so that it can be disable
grante
parents: 3144
diff changeset
444 present in Redboot. If there's no BOOTP/DHCP
a75d37e86790 Create new package for DHCP/BOOTP support so that it can be disable
grante
parents: 3144
diff changeset
445 server on your network use this option to
a75d37e86790 Create new package for DHCP/BOOTP support so that it can be disable
grante
parents: 3144
diff changeset
446 avoid waiting for the BOOTP/DHCP timeouts and
a75d37e86790 Create new package for DHCP/BOOTP support so that it can be disable
grante
parents: 3144
diff changeset
447 retries. This option is overriden by the
a75d37e86790 Create new package for DHCP/BOOTP support so that it can be disable
grante
parents: 3144
diff changeset
448 configuration stored in flash."
a75d37e86790 Create new package for DHCP/BOOTP support so that it can be disable
grante
parents: 3144
diff changeset
449 }
1227
54f8d0daacd4 Fix DHCP - BUG #1000053
gthomas
parents: 1223
diff changeset
450 }
3174
a75d37e86790 Create new package for DHCP/BOOTP support so that it can be disable
grante
parents: 3144
diff changeset
451
632
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
452 cdl_component CYGSEM_REDBOOT_NETWORKING_USE_GATEWAY {
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
453 display "Use a gateway for non-local IP traffic"
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
454 flavor bool
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
455 default_value 1
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
456 description "
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
457 Enabling this option will allow the RedBoot networking
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
458 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
459 IP address. If disabled, RedBoot will only be able to
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
460 reach nodes on the same subnet."
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
461
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
462 cdl_component CYGDAT_REDBOOT_DEFAULT_GATEWAY_IP_ADDR {
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
463 display "Default gateway IP address"
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
464 flavor booldata
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
465 default_value CYGSEM_REDBOOT_FLASH_CONFIG ? 0 : \
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
466 { "0, 0, 0, 0" }
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
467 description "
2065
376c93d0f526 * cdl/redboot.cdl: White space changes to aid readability.
asl
parents: 1954
diff changeset
468 This IP address is the default used by RedBoot
376c93d0f526 * cdl/redboot.cdl: White space changes to aid readability.
asl
parents: 1954
diff changeset
469 if a BOOTP/DHCP server does not respond. The
376c93d0f526 * cdl/redboot.cdl: White space changes to aid readability.
asl
parents: 1954
diff changeset
470 numbers should be separated by *commas*, and
376c93d0f526 * cdl/redboot.cdl: White space changes to aid readability.
asl
parents: 1954
diff changeset
471 not dots. If an IP address is configured into
376c93d0f526 * cdl/redboot.cdl: White space changes to aid readability.
asl
parents: 1954
diff changeset
472 the Flash configuration, that will be used in
376c93d0f526 * cdl/redboot.cdl: White space changes to aid readability.
asl
parents: 1954
diff changeset
473 preference."
632
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
474 }
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
475
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
476 cdl_component CYGDAT_REDBOOT_DEFAULT_IP_ADDR_MASK {
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
477 display "Default IP address mask"
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
478 flavor booldata
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
479 default_value CYGSEM_REDBOOT_FLASH_CONFIG ? 0 : \
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
480 { "255, 255, 255, 0" }
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
481 description "
2065
376c93d0f526 * cdl/redboot.cdl: White space changes to aid readability.
asl
parents: 1954
diff changeset
482 This IP address mask is the default used by
376c93d0f526 * cdl/redboot.cdl: White space changes to aid readability.
asl
parents: 1954
diff changeset
483 RedBoot if a BOOTP/DHCP server does not
376c93d0f526 * cdl/redboot.cdl: White space changes to aid readability.
asl
parents: 1954
diff changeset
484 respond. The numbers should be separated by
376c93d0f526 * cdl/redboot.cdl: White space changes to aid readability.
asl
parents: 1954
diff changeset
485 *commas*, and not dots. If an IP address is
376c93d0f526 * cdl/redboot.cdl: White space changes to aid readability.
asl
parents: 1954
diff changeset
486 configured into the Flash configuration, that
376c93d0f526 * cdl/redboot.cdl: White space changes to aid readability.
asl
parents: 1954
diff changeset
487 will be used in preference."
632
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
488 }
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
489 }
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
490
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
491 cdl_option CYGNUM_REDBOOT_NETWORKING_TCP_PORT {
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
492 display "TCP port to listen for incoming connections"
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
493 flavor data
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
494 default_value 9000
231
4ebdd3788c30 Merge gateway support from Grant Edwards
gthomas
parents: 228
diff changeset
495 description "
2065
376c93d0f526 * cdl/redboot.cdl: White space changes to aid readability.
asl
parents: 1954
diff changeset
496 RedBoot will 'listen' on this port for incoming TCP
376c93d0f526 * cdl/redboot.cdl: White space changes to aid readability.
asl
parents: 1954
diff changeset
497 connections. This allows outside connections to be made
376c93d0f526 * cdl/redboot.cdl: White space changes to aid readability.
asl
parents: 1954
diff changeset
498 to the platform, either for GDB or RedBoot commands."
632
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
499 }
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
500
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
501 cdl_option CYGNUM_REDBOOT_NETWORKING_MAX_PKTBUF {
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
502 display "Number of \[network\] packet buffers"
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
503 flavor data
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
504 default_value 4
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
505 legal_values 3 to 8
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
506 description "
2065
376c93d0f526 * cdl/redboot.cdl: White space changes to aid readability.
asl
parents: 1954
diff changeset
507 RedBoot may need to buffer network data to support
376c93d0f526 * cdl/redboot.cdl: White space changes to aid readability.
asl
parents: 1954
diff changeset
508 various connections. This option allows control
376c93d0f526 * cdl/redboot.cdl: White space changes to aid readability.
asl
parents: 1954
diff changeset
509 over the number of such buffered packets, and in
376c93d0f526 * cdl/redboot.cdl: White space changes to aid readability.
asl
parents: 1954
diff changeset
510 turn, controls the amount of memory used by RedBoot
376c93d0f526 * cdl/redboot.cdl: White space changes to aid readability.
asl
parents: 1954
diff changeset
511 (which is not available to user applications).
376c93d0f526 * cdl/redboot.cdl: White space changes to aid readability.
asl
parents: 1954
diff changeset
512 Each packet buffer takes up about 1514 bytes.
376c93d0f526 * cdl/redboot.cdl: White space changes to aid readability.
asl
parents: 1954
diff changeset
513 Note: there is little need to make this larger than
376c93d0f526 * cdl/redboot.cdl: White space changes to aid readability.
asl
parents: 1954
diff changeset
514 the default."
632
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_component CYGPKG_REDBOOT_NETWORKING_DNS {
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
518 display "DNS support"
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
519 default_value 1
1231
3c221a743075 Remove DNS from RedBoot template & adjust .ecm files - BUG #57316
gthomas
parents: 1227
diff changeset
520 active_if CYGPKG_NS_DNS
632
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
521 requires !CYGPKG_NS_DNS_BUILD
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
522 compile net/dns.c
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
523 description "
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
524 When this option is enabled, RedBoot will be built with
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
525 support for DNS, allowing use of hostnames on the command
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
526 line."
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 cdl_option CYGPKG_REDBOOT_NETWORKING_DNS_IP {
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
529 display "Default DNS IP"
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
530 flavor data
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
531 active_if !CYGSEM_REDBOOT_FLASH_CONFIG
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
532 default_value { "0.0.0.0" }
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 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
535 changed at runtime as well."
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
536 }
2395
b8111f0a6f98 * src/net/net_io.c: (do_ip_addr): Option to set domain name.
asl
parents: 2339
diff changeset
537
632
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
538 cdl_option CYGNUM_REDBOOT_NETWORKING_DNS_TIMEOUT {
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
539 display "Timeout in DNS lookup"
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
540 flavor data
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
541 default_value 10
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
542 description "
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
543 This option sets the timeout used when looking up an
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
544 address via the DNS. Default is 10 seconds."
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
545 }
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
546
2395
b8111f0a6f98 * src/net/net_io.c: (do_ip_addr): Option to set domain name.
asl
parents: 2339
diff changeset
547 cdl_component CYGPKG_REDBOOT_NETWORKING_DNS_WITH_DOMAIN {
b8111f0a6f98 * src/net/net_io.c: (do_ip_addr): Option to set domain name.
asl
parents: 2339
diff changeset
548 display "Support the use of a domain name"
b8111f0a6f98 * src/net/net_io.c: (do_ip_addr): Option to set domain name.
asl
parents: 2339
diff changeset
549 flavor bool
b8111f0a6f98 * src/net/net_io.c: (do_ip_addr): Option to set domain name.
asl
parents: 2339
diff changeset
550 default_value 0
b8111f0a6f98 * src/net/net_io.c: (do_ip_addr): Option to set domain name.
asl
parents: 2339
diff changeset
551 description "
b8111f0a6f98 * src/net/net_io.c: (do_ip_addr): Option to set domain name.
asl
parents: 2339
diff changeset
552 This option controls if Redboot supports domain
b8111f0a6f98 * src/net/net_io.c: (do_ip_addr): Option to set domain name.
asl
parents: 2339
diff changeset
553 names when performing DNS lookups"
b8111f0a6f98 * src/net/net_io.c: (do_ip_addr): Option to set domain name.
asl
parents: 2339
diff changeset
554
b8111f0a6f98 * src/net/net_io.c: (do_ip_addr): Option to set domain name.
asl
parents: 2339
diff changeset
555 cdl_option CYGPKG_REDBOOT_NETWORKING_DNS_DEFAULT_DOMAIN {
b8111f0a6f98 * src/net/net_io.c: (do_ip_addr): Option to set domain name.
asl
parents: 2339
diff changeset
556 display "Default DNS domain"
b8111f0a6f98 * src/net/net_io.c: (do_ip_addr): Option to set domain name.
asl
parents: 2339
diff changeset
557 flavor booldata
b8111f0a6f98 * src/net/net_io.c: (do_ip_addr): Option to set domain name.
asl
parents: 2339
diff changeset
558 default_value 0
b8111f0a6f98 * src/net/net_io.c: (do_ip_addr): Option to set domain name.
asl
parents: 2339
diff changeset
559 description "
b8111f0a6f98 * src/net/net_io.c: (do_ip_addr): Option to set domain name.
asl
parents: 2339
diff changeset
560 This option sets the default DNS domain name.
b8111f0a6f98 * src/net/net_io.c: (do_ip_addr): Option to set domain name.
asl
parents: 2339
diff changeset
561 This value will be overwritten by the value in
b8111f0a6f98 * src/net/net_io.c: (do_ip_addr): Option to set domain name.
asl
parents: 2339
diff changeset
562 flash or a domain returned by DHCP"
b8111f0a6f98 * src/net/net_io.c: (do_ip_addr): Option to set domain name.
asl
parents: 2339
diff changeset
563 }
b8111f0a6f98 * src/net/net_io.c: (do_ip_addr): Option to set domain name.
asl
parents: 2339
diff changeset
564
b8111f0a6f98 * src/net/net_io.c: (do_ip_addr): Option to set domain name.
asl
parents: 2339
diff changeset
565 cdl_option CYGPKG_REDBOOT_NETWORKING_DNS_FCONFIG_DOMAIN {
b8111f0a6f98 * src/net/net_io.c: (do_ip_addr): Option to set domain name.
asl
parents: 2339
diff changeset
566 display "Get DNS domain from Flash"
b8111f0a6f98 * src/net/net_io.c: (do_ip_addr): Option to set domain name.
asl
parents: 2339
diff changeset
567 flavor bool
b8111f0a6f98 * src/net/net_io.c: (do_ip_addr): Option to set domain name.
asl
parents: 2339
diff changeset
568 active_if CYGSEM_REDBOOT_FLASH_CONFIG
b8111f0a6f98 * src/net/net_io.c: (do_ip_addr): Option to set domain name.
asl
parents: 2339
diff changeset
569 default_value 0
b8111f0a6f98 * src/net/net_io.c: (do_ip_addr): Option to set domain name.
asl
parents: 2339
diff changeset
570 description "
b8111f0a6f98 * src/net/net_io.c: (do_ip_addr): Option to set domain name.
asl
parents: 2339
diff changeset
571 This option enables getting the domain name
b8111f0a6f98 * src/net/net_io.c: (do_ip_addr): Option to set domain name.
asl
parents: 2339
diff changeset
572 from the flash configuration. This can later be
b8111f0a6f98 * src/net/net_io.c: (do_ip_addr): Option to set domain name.
asl
parents: 2339
diff changeset
573 overwritten by a value learnt from DHCP"
b8111f0a6f98 * src/net/net_io.c: (do_ip_addr): Option to set domain name.
asl
parents: 2339
diff changeset
574 }
b8111f0a6f98 * src/net/net_io.c: (do_ip_addr): Option to set domain name.
asl
parents: 2339
diff changeset
575
b8111f0a6f98 * src/net/net_io.c: (do_ip_addr): Option to set domain name.
asl
parents: 2339
diff changeset
576 cdl_option CYGPKG_REDBOOT_NETWORKING_DNS_DHCP_DOMAIN {
b8111f0a6f98 * src/net/net_io.c: (do_ip_addr): Option to set domain name.
asl
parents: 2339
diff changeset
577 display "Use DNS domain from DHCP"
b8111f0a6f98 * src/net/net_io.c: (do_ip_addr): Option to set domain name.
asl
parents: 2339
diff changeset
578 flavor bool
b8111f0a6f98 * src/net/net_io.c: (do_ip_addr): Option to set domain name.
asl
parents: 2339
diff changeset
579 default_value 0
b8111f0a6f98 * src/net/net_io.c: (do_ip_addr): Option to set domain name.
asl
parents: 2339
diff changeset
580 description "
b8111f0a6f98 * src/net/net_io.c: (do_ip_addr): Option to set domain name.
asl
parents: 2339
diff changeset
581 This option enables the use of the domain name
b8111f0a6f98 * src/net/net_io.c: (do_ip_addr): Option to set domain name.
asl
parents: 2339
diff changeset
582 returned by DHCP."
b8111f0a6f98 * src/net/net_io.c: (do_ip_addr): Option to set domain name.
asl
parents: 2339
diff changeset
583 }
b8111f0a6f98 * src/net/net_io.c: (do_ip_addr): Option to set domain name.
asl
parents: 2339
diff changeset
584
b8111f0a6f98 * src/net/net_io.c: (do_ip_addr): Option to set domain name.
asl
parents: 2339
diff changeset
585 cdl_option CYGNUM_REDBOOT_NETWORK_DNS_DOMAIN_BUFSIZE {
b8111f0a6f98 * src/net/net_io.c: (do_ip_addr): Option to set domain name.
asl
parents: 2339
diff changeset
586 display "BOOTP/DHCP DNS domain buffer size"
b8111f0a6f98 * src/net/net_io.c: (do_ip_addr): Option to set domain name.
asl
parents: 2339
diff changeset
587 flavor data
b8111f0a6f98 * src/net/net_io.c: (do_ip_addr): Option to set domain name.
asl
parents: 2339
diff changeset
588 default_value 32
b8111f0a6f98 * src/net/net_io.c: (do_ip_addr): Option to set domain name.
asl
parents: 2339
diff changeset
589 description "
b8111f0a6f98 * src/net/net_io.c: (do_ip_addr): Option to set domain name.
asl
parents: 2339
diff changeset
590 This options sets the size of the static
b8111f0a6f98 * src/net/net_io.c: (do_ip_addr): Option to set domain name.
asl
parents: 2339
diff changeset
591 buffer used by BOOTP/DHCP to store the DNS
b8111f0a6f98 * src/net/net_io.c: (do_ip_addr): Option to set domain name.
asl
parents: 2339
diff changeset
592 domain name. The domain name will not be
b8111f0a6f98 * src/net/net_io.c: (do_ip_addr): Option to set domain name.
asl
parents: 2339
diff changeset
593 set if the buffer is too small to hold it."
b8111f0a6f98 * src/net/net_io.c: (do_ip_addr): Option to set domain name.
asl
parents: 2339
diff changeset
594 }
b8111f0a6f98 * src/net/net_io.c: (do_ip_addr): Option to set domain name.
asl
parents: 2339
diff changeset
595 }
231
4ebdd3788c30 Merge gateway support from Grant Edwards
gthomas
parents: 228
diff changeset
596 }
849
23fd347aba65 support multiple net drivers in RedBoot
msalter
parents: 737
diff changeset
597
2065
376c93d0f526 * cdl/redboot.cdl: White space changes to aid readability.
asl
parents: 1954
diff changeset
598 cdl_option CYGDAT_REDBOOT_DEFAULT_NETWORK_DEVICE {
849
23fd347aba65 support multiple net drivers in RedBoot
msalter
parents: 737
diff changeset
599 display "Default network device driver"
23fd347aba65 support multiple net drivers in RedBoot
msalter
parents: 737
diff changeset
600 flavor data
2339
9a2aea4e184a * cdl/redboot.cdl: Modified to change the option
jlarmour
parents: 2329
diff changeset
601 active_if { CYGHWR_NET_DRIVERS > 1 }
2065
376c93d0f526 * cdl/redboot.cdl: White space changes to aid readability.
asl
parents: 1954
diff changeset
602 default_value { "\"\"" }
849
23fd347aba65 support multiple net drivers in RedBoot
msalter
parents: 737
diff changeset
603 description "
2065
376c93d0f526 * cdl/redboot.cdl: White space changes to aid readability.
asl
parents: 1954
diff changeset
604 This is the name of the default network device to use."
849
23fd347aba65 support multiple net drivers in RedBoot
msalter
parents: 737
diff changeset
605 }
1759
91e29b9a5d05 Add option for redboot to initialize only one net device
msalter
parents: 1740
diff changeset
606
91e29b9a5d05 Add option for redboot to initialize only one net device
msalter
parents: 1740
diff changeset
607 cdl_option CYGSEM_REDBOOT_NETWORK_INIT_ONE_DEVICE {
91e29b9a5d05 Add option for redboot to initialize only one net device
msalter
parents: 1740
diff changeset
608 display "Initialize only one net device"
91e29b9a5d05 Add option for redboot to initialize only one net device
msalter
parents: 1740
diff changeset
609 flavor bool
91e29b9a5d05 Add option for redboot to initialize only one net device
msalter
parents: 1740
diff changeset
610 active_if { CYGHWR_NET_DRIVERS > 1 }
91e29b9a5d05 Add option for redboot to initialize only one net device
msalter
parents: 1740
diff changeset
611 default_value 0
91e29b9a5d05 Add option for redboot to initialize only one net device
msalter
parents: 1740
diff changeset
612 description "
91e29b9a5d05 Add option for redboot to initialize only one net device
msalter
parents: 1740
diff changeset
613 This option tells RedBoot to stop initializing network
91e29b9a5d05 Add option for redboot to initialize only one net device
msalter
parents: 1740
diff changeset
614 devices when it finds the first device which is
91e29b9a5d05 Add option for redboot to initialize only one net device
msalter
parents: 1740
diff changeset
615 successfully initialized. The default behavior causes
91e29b9a5d05 Add option for redboot to initialize only one net device
msalter
parents: 1740
diff changeset
616 all network devices to be initialized."
91e29b9a5d05 Add option for redboot to initialize only one net device
msalter
parents: 1740
diff changeset
617 }
231
4ebdd3788c30 Merge gateway support from Grant Edwards
gthomas
parents: 228
diff changeset
618 }
632
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
619
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
620 cdl_option CYGPKG_REDBOOT_ANY_CONSOLE {
2065
376c93d0f526 * cdl/redboot.cdl: White space changes to aid readability.
asl
parents: 1954
diff changeset
621 display "Let RedBoot use any I/O channel for its console."
632
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
622 flavor bool
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
623 default_value 1
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
624 description "
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
625 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
626 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
627 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
628 that port."
115
6ed91473a1cd Merge from eCos master repository on 2000-08-21-22:40:54-BST
jlarmour
parents:
diff changeset
629 }
632
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
630
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
631 cdl_option CYGSEM_REDBOOT_VARIABLE_BAUD_RATE {
2065
376c93d0f526 * cdl/redboot.cdl: White space changes to aid readability.
asl
parents: 1954
diff changeset
632 display "Let RedBoot adjust the baud off the serial console."
632
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
633 flavor bool
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
634 default_value 1
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
635 active_if CYGINT_HAL_VIRTUAL_VECTOR_COMM_BAUD_SUPPORT
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
636 description "
2065
376c93d0f526 * cdl/redboot.cdl: White space changes to aid readability.
asl
parents: 1954
diff changeset
637 If this option is enabled then RedBoot will support commands
376c93d0f526 * cdl/redboot.cdl: White space changes to aid readability.
asl
parents: 1954
diff changeset
638 to set 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
639 }
632
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
640
1223
dbcfe4e0dbd2 New platform - TAMS MOAB - and generic changes to support it
gthomas
parents: 1169
diff changeset
641 cdl_option CYGSEM_REDBOOT_PLF_STARTUP {
dbcfe4e0dbd2 New platform - TAMS MOAB - and generic changes to support it
gthomas
parents: 1169
diff changeset
642 display "Run a platform specific startup function."
dbcfe4e0dbd2 New platform - TAMS MOAB - and generic changes to support it
gthomas
parents: 1169
diff changeset
643 flavor bool
dbcfe4e0dbd2 New platform - TAMS MOAB - and generic changes to support it
gthomas
parents: 1169
diff changeset
644 default_value 0
dbcfe4e0dbd2 New platform - TAMS MOAB - and generic changes to support it
gthomas
parents: 1169
diff changeset
645 description "
dbcfe4e0dbd2 New platform - TAMS MOAB - and generic changes to support it
gthomas
parents: 1169
diff changeset
646 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
647 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
648 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
649 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
650 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
651 }
dbcfe4e0dbd2 New platform - TAMS MOAB - and generic changes to support it
gthomas
parents: 1169
diff changeset
652
1265
734edfe6c859 Allow platform to provide routine to validate ethernet addresses
gthomas
parents: 1233
diff changeset
653 cdl_option CYGSEM_REDBOOT_PLF_ESA_VALIDATE {
734edfe6c859 Allow platform to provide routine to validate ethernet addresses
gthomas
parents: 1233
diff changeset
654 display "Run a platform specific ESA validation function."
734edfe6c859 Allow platform to provide routine to validate ethernet addresses
gthomas
parents: 1233
diff changeset
655 flavor bool
734edfe6c859 Allow platform to provide routine to validate ethernet addresses
gthomas
parents: 1233
diff changeset
656 default_value 0
734edfe6c859 Allow platform to provide routine to validate ethernet addresses
gthomas
parents: 1233
diff changeset
657 description "
734edfe6c859 Allow platform to provide routine to validate ethernet addresses
gthomas
parents: 1233
diff changeset
658 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
659 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
660 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
661 hardware manufacturer, etc."
734edfe6c859 Allow platform to provide routine to validate ethernet addresses
gthomas
parents: 1233
diff changeset
662 }
734edfe6c859 Allow platform to provide routine to validate ethernet addresses
gthomas
parents: 1233
diff changeset
663
632
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
664 cdl_option CYGPKG_REDBOOT_MAX_CMD_LINE {
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
665 display "Maximum command line length"
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
666 flavor data
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
667 default_value 256
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 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
670 should be. This space will be allocated statically
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
671 rather than from RedBoot's stack."
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
672 }
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 cdl_option CYGNUM_REDBOOT_CLI_IDLE_TIMEOUT {
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
675 display "Command processing idle timeout (ms)"
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
676 flavor data
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
677 default_value 10
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
678 description "
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
679 This option controls the timeout period before the
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
680 command processing is considered 'idle'. Making this
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
681 number smaller will cause idle processing to take place
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
682 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
683 tradeoff between responsiveness and overhead."
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
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
686 cdl_option CYGSEM_REDBOOT_VALIDATE_USER_RAM_LOADS {
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
687 display "Validate RAM addresses during load"
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
688 flavor bool
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
689 default_value 1
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
690 description "
2065
376c93d0f526 * cdl/redboot.cdl: White space changes to aid readability.
asl
parents: 1954
diff changeset
691
376c93d0f526 * cdl/redboot.cdl: White space changes to aid readability.
asl
parents: 1954
diff changeset
692 This option controls whether or not RedBoot will make
376c93d0f526 * cdl/redboot.cdl: White space changes to aid readability.
asl
parents: 1954
diff changeset
693 sure that memory being used by the \"load\" command is
376c93d0f526 * cdl/redboot.cdl: White space changes to aid readability.
asl
parents: 1954
diff changeset
694 in fact in user RAM. Leaving the option enabled makes
376c93d0f526 * cdl/redboot.cdl: White space changes to aid readability.
asl
parents: 1954
diff changeset
695 for a safer environment, but this check may not be valid
376c93d0f526 * cdl/redboot.cdl: White space changes to aid readability.
asl
parents: 1954
diff changeset
696 on all platforms, thus the ability to disable it.
376c93d0f526 * cdl/redboot.cdl: White space changes to aid readability.
asl
parents: 1954
diff changeset
697 ** 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
698 }
632
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
699
2626
a2f5434df2cb Merge flashv2 branch to trunk, with eCosCentric additions
jlarmour
parents: 2615
diff changeset
700 cdl_option CYGNUM_REDBOOT_FLASH_BASE {
a2f5434df2cb Merge flashv2 branch to trunk, with eCosCentric additions
jlarmour
parents: 2615
diff changeset
701 display "Base address of flash device redboot should use"
a2f5434df2cb Merge flashv2 branch to trunk, with eCosCentric additions
jlarmour
parents: 2615
diff changeset
702 flavor booldata
a2f5434df2cb Merge flashv2 branch to trunk, with eCosCentric additions
jlarmour
parents: 2615
diff changeset
703 description "
a2f5434df2cb Merge flashv2 branch to trunk, with eCosCentric additions
jlarmour
parents: 2615
diff changeset
704 This option controls how redboot finds the flash
a2f5434df2cb Merge flashv2 branch to trunk, with eCosCentric additions
jlarmour
parents: 2615
diff changeset
705 device. Setting this option to an address will
a2f5434df2cb Merge flashv2 branch to trunk, with eCosCentric additions
jlarmour
parents: 2615
diff changeset
706 cause redboot to use that address as the base of the
a2f5434df2cb Merge flashv2 branch to trunk, with eCosCentric additions
jlarmour
parents: 2615
diff changeset
707 flash device."
a2f5434df2cb Merge flashv2 branch to trunk, with eCosCentric additions
jlarmour
parents: 2615
diff changeset
708 }
a2f5434df2cb Merge flashv2 branch to trunk, with eCosCentric additions
jlarmour
parents: 2615
diff changeset
709
632
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
710 cdl_component CYGPKG_REDBOOT_FLASH {
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
711 display "Allow RedBoot to support FLASH programming"
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
712 flavor bool
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
713 default_value 1
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
714 active_if CYGHWR_IO_FLASH_DEVICE
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
715 description "
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
716 If this option is enabled then RedBoot will provide commands
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
717 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
718 into memory for execution or executed in place."
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
719 compile -library=libextras.a flash.c
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
720
1740
0031b615f51c Add support for reverse endianess of fis and config data
msalter
parents: 1724
diff changeset
721 cdl_option CYGOPT_REDBOOT_FLASH_BYTEORDER {
0031b615f51c Add support for reverse endianess of fis and config data
msalter
parents: 1724
diff changeset
722 display "Byte order used to store info in flash."
0031b615f51c Add support for reverse endianess of fis and config data
msalter
parents: 1724
diff changeset
723 flavor data
0031b615f51c Add support for reverse endianess of fis and config data
msalter
parents: 1724
diff changeset
724 default_value { "NATURAL" }
0031b615f51c Add support for reverse endianess of fis and config data
msalter
parents: 1724
diff changeset
725 legal_values {"NATURAL" "MSBFIRST" "LSBFIRST" }
0031b615f51c Add support for reverse endianess of fis and config data
msalter
parents: 1724
diff changeset
726 description "
0031b615f51c Add support for reverse endianess of fis and config data
msalter
parents: 1724
diff changeset
727 This option controls the byte ordering used to store
0031b615f51c Add support for reverse endianess of fis and config data
msalter
parents: 1724
diff changeset
728 the FIS directory info and flash config info."
0031b615f51c Add support for reverse endianess of fis and config data
msalter
parents: 1724
diff changeset
729 }
0031b615f51c Add support for reverse endianess of fis and config data
msalter
parents: 1724
diff changeset
730
632
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
731 cdl_option CYGOPT_REDBOOT_FIS {
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
732 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
733 default_value 1
737
11a38162cd52 * doc/redboot.sgml: De-vendorise a little.
jlarmour
parents: 632
diff changeset
734 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
735 description "
632
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
736 This option enables the Flash Image System commands
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
737 and support within RedBoot. If disabled, simple Flash
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
738 access commands such as \"fis write\" will still exist.
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
739 This option would be disabled for targets that need simple
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
740 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
741 complete image management."
159
511f4dc167f6 Merge from eCos master repository on 2001-05-18-01:30:05-BST
jlarmour
parents: 157
diff changeset
742 }
1297
4212c82ebff6 Make 'fis free' use the FIS directory to determine what's free
gthomas
parents: 1265
diff changeset
743
4212c82ebff6 Make 'fis free' use the FIS directory to determine what's free
gthomas
parents: 1265
diff changeset
744 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
745 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
746 flavor booldata
4212c82ebff6 Make 'fis free' use the FIS directory to determine what's free
gthomas
parents: 1265
diff changeset
747 default_value 32
4212c82ebff6 Make 'fis free' use the FIS directory to determine what's free
gthomas
parents: 1265
diff changeset
748 description "
2065
376c93d0f526 * cdl/redboot.cdl: White space changes to aid readability.
asl
parents: 1954
diff changeset
749
376c93d0f526 * cdl/redboot.cdl: White space changes to aid readability.
asl
parents: 1954
diff changeset
750 If this option is defined then \"fis free\" will
376c93d0f526 * cdl/redboot.cdl: White space changes to aid readability.
asl
parents: 1954
diff changeset
751 rely on the FIS directory to determine what space is
376c93d0f526 * cdl/redboot.cdl: White space changes to aid readability.
asl
parents: 1954
diff changeset
752 free within the FLASH. This option controls the
376c93d0f526 * cdl/redboot.cdl: White space changes to aid readability.
asl
parents: 1954
diff changeset
753 maximum number of free segment which can be handled
376c93d0f526 * cdl/redboot.cdl: White space changes to aid readability.
asl
parents: 1954
diff changeset
754 (typically this number is small). If this option is
376c93d0f526 * cdl/redboot.cdl: White space changes to aid readability.
asl
parents: 1954
diff changeset
755 not enabled, the the archaic behaviour of actually
376c93d0f526 * cdl/redboot.cdl: White space changes to aid readability.
asl
parents: 1954
diff changeset
756 scanning the FLASH for erased sectors (unreliable)
376c93d0f526 * cdl/redboot.cdl: White space changes to aid readability.
asl
parents: 1954
diff changeset
757 will be used to determine what's free and what's
376c93d0f526 * cdl/redboot.cdl: White space changes to aid readability.
asl
parents: 1954
diff changeset
758 not."
1297
4212c82ebff6 Make 'fis free' use the FIS directory to determine what's free
gthomas
parents: 1265
diff changeset
759 }
632
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
760
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
761 cdl_component CYGPKG_REDBOOT_FIS_CONTENTS {
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
762 display "Flash Image System default directory contents"
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
763 active_if CYGOPT_REDBOOT_FIS
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
764 calculated 1
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
765
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
766 cdl_option CYGNUM_REDBOOT_FIS_DIRECTORY_BLOCK {
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
767 display "Flash block containing the Directory"
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
768 flavor data
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
769 default_value (-1)
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
770 description "
2065
376c93d0f526 * cdl/redboot.cdl: White space changes to aid readability.
asl
parents: 1954
diff changeset
771 Which block of flash should hold the directory
376c93d0f526 * cdl/redboot.cdl: White space changes to aid readability.
asl
parents: 1954
diff changeset
772 information. Positive numbers are absolute block
376c93d0f526 * cdl/redboot.cdl: White space changes to aid readability.
asl
parents: 1954
diff changeset
773 numbers. Negative block numbers count backwards
376c93d0f526 * cdl/redboot.cdl: White space changes to aid readability.
asl
parents: 1954
diff changeset
774 from the last block. eg 2 means block 2, -2
376c93d0f526 * cdl/redboot.cdl: White space changes to aid readability.
asl
parents: 1954
diff changeset
775 means the last but one block."
632
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
776 }
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
777
2195
5c5e93c863ac Redundant FIS table support - from Alexander Neundorf
gthomas
parents: 2144
diff changeset
778 cdl_component CYGOPT_REDBOOT_REDUNDANT_FIS {
5c5e93c863ac Redundant FIS table support - from Alexander Neundorf
gthomas
parents: 2144
diff changeset
779 display "Redundant Flash Image System Directory Support"
5c5e93c863ac Redundant FIS table support - from Alexander Neundorf
gthomas
parents: 2144
diff changeset
780 default_value 0
5c5e93c863ac Redundant FIS table support - from Alexander Neundorf
gthomas
parents: 2144
diff changeset
781 requires { 0 == CYGSEM_REDBOOT_FLASH_COMBINED_FIS_AND_CONFIG }
5c5e93c863ac Redundant FIS table support - from Alexander Neundorf
gthomas
parents: 2144
diff changeset
782 description "
5c5e93c863ac Redundant FIS table support - from Alexander Neundorf
gthomas
parents: 2144
diff changeset
783 This option enables the use of a redundant FIS
5c5e93c863ac Redundant FIS table support - from Alexander Neundorf
gthomas
parents: 2144
diff changeset
784 directory within RedBoot. If enabled a flash block
5c5e93c863ac Redundant FIS table support - from Alexander Neundorf
gthomas
parents: 2144
diff changeset
785 will be reserved for a second copy of the fis
5c5e93c863ac Redundant FIS table support - from Alexander Neundorf
gthomas
parents: 2144
diff changeset
786 directory. Doing this allow for power failure safe
5c5e93c863ac Redundant FIS table support - from Alexander Neundorf
gthomas
parents: 2144
diff changeset
787 updates of the directory by the application."
5c5e93c863ac Redundant FIS table support - from Alexander Neundorf
gthomas
parents: 2144
diff changeset
788
5c5e93c863ac Redundant FIS table support - from Alexander Neundorf
gthomas
parents: 2144
diff changeset
789 cdl_option CYGNUM_REDBOOT_FIS_REDUNDANT_DIRECTORY_BLOCK {
5c5e93c863ac Redundant FIS table support - from Alexander Neundorf
gthomas
parents: 2144
diff changeset
790 display "Flash block containing the backup Directory"
5c5e93c863ac Redundant FIS table support - from Alexander Neundorf
gthomas
parents: 2144
diff changeset
791 flavor data
5c5e93c863ac Redundant FIS table support - from Alexander Neundorf
gthomas
parents: 2144
diff changeset
792 default_value (-3)
5c5e93c863ac Redundant FIS table support - from Alexander Neundorf
gthomas
parents: 2144
diff changeset
793 requires { CYGNUM_REDBOOT_FIS_REDUNDANT_DIRECTORY_BLOCK !=
5c5e93c863ac Redundant FIS table support - from Alexander Neundorf
gthomas
parents: 2144
diff changeset
794 CYGNUM_REDBOOT_FIS_DIRECTORY_BLOCK }
5c5e93c863ac Redundant FIS table support - from Alexander Neundorf
gthomas
parents: 2144
diff changeset
795 description "
5c5e93c863ac Redundant FIS table support - from Alexander Neundorf
gthomas
parents: 2144
diff changeset
796 Which block of flash should hold the redundant
5c5e93c863ac Redundant FIS table support - from Alexander Neundorf
gthomas
parents: 2144
diff changeset
797 directory information. Positive numbers are
5c5e93c863ac Redundant FIS table support - from Alexander Neundorf
gthomas
parents: 2144
diff changeset
798 absolute block numbers. Negative block numbers
5c5e93c863ac Redundant FIS table support - from Alexander Neundorf
gthomas
parents: 2144
diff changeset
799 count backwards from the last block. eg 2 means
5c5e93c863ac Redundant FIS table support - from Alexander Neundorf
gthomas
parents: 2144
diff changeset
800 block 2, -2 means the last but one block."
5c5e93c863ac Redundant FIS table support - from Alexander Neundorf
gthomas
parents: 2144
diff changeset
801 }
5c5e93c863ac Redundant FIS table support - from Alexander Neundorf
gthomas
parents: 2144
diff changeset
802 }
5c5e93c863ac Redundant FIS table support - from Alexander Neundorf
gthomas
parents: 2144
diff changeset
803
632
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
804 cdl_option CYGOPT_REDBOOT_FIS_RESERVED_BASE {
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
805 display "Pseudo-file to describe reserved area"
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
806 active_if { 0 != CYGNUM_REDBOOT_FLASH_RESERVED_BASE }
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
807 default_value 1
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
808 description "
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
809 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
810 have a fis entry describing it. This option controls
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
811 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
812 command."
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
813 }
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
814
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
815 cdl_option CYGOPT_REDBOOT_FIS_REDBOOT {
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
816 display "File to describe RedBoot boot image"
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
817 default_value 1
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
818 description "
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
819 Normally a ROM-startup RedBoot image is first in the
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
820 FLASH, and the system boots using that image. This
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
821 option controls creation of an entry describing it in
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
822 the fis init command. It might be disabled if a
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
823 platform has an immutable boot image of its own, where
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
824 we use a POST-startup RedBoot instead, which performs
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
825 less board initialization."
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
826 }
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
827
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
828 cdl_component CYGOPT_REDBOOT_FIS_REDBOOT_POST {
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
829 display "File to describe RedBoot POST-compatible image"
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
830 default_value !CYGOPT_REDBOOT_FIS_REDBOOT
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
831 description "
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
832 This option controls creation of an entry describing a
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
833 POST-startup RedBoot image in the fis init command.
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
834 Not all platforms support POST-startup. A platform
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
835 might have both for testing purposes, where the
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
836 eventual user would substitute their own POST code for
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
837 the initial ROM-startup RedBoot, and then jump to the
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
838 POST-compatible RedBoot immediately following."
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
839 cdl_option CYGNUM_REDBOOT_FIS_REDBOOT_POST_OFFSET {
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
840 display "Offset of POST image from FLASH start"
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
841 flavor booldata
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
842 default_value 0
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
843 requires { CYGNUM_REDBOOT_FIS_REDBOOT_POST_OFFSET >= \
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
844 CYGBLD_REDBOOT_FLASH_BOOT_OFFSET }
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
845 description "
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
846 This option specifies the offset for a POST image from
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
847 the start of FLASH. If unset, then the fis entry
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
848 describing the POST image will be placed where
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
849 convenient."
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
850 }
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
851 }
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
852
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
853 cdl_option CYGOPT_REDBOOT_FIS_REDBOOT_BACKUP {
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
854 display "File to describe RedBoot backup image"
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
855 default_value 0
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
856 description "
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
857 This option controls creation of an entry describing a
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
858 backup RedBoot image in the fis init command.
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
859 Conventionally a RAM-startup RedBoot image is kept
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
860 under this name for use in updating the ROM-based
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
861 RedBoot that boots the board."
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
862 }
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
863
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
864 cdl_option CYGOPT_REDBOOT_FIS_DIRECTORY_ARM_SIB_ID {
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
865 display "Include ARM SIB ID in FIS"
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
866 default_value 0
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
867 description "
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
868 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
869 the FIS to include the special ID needed for the
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
870 flash to be recognized as a reserved area for RedBoot
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
871 by an ARM BootRom monitor."
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
872 }
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
873
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
874 cdl_option CYGNUM_REDBOOT_FIS_DIRECTORY_ENTRY_SIZE {
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
875 display "Size of FIS directory entry"
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
876 flavor data
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
877 default_value 256
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
878 description "
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
879 The FIS directory is limited to one single flash
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
880 sector. If your flash has tiny sectors, you may wish
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
881 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
882 the FIS directory."
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
883 }
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
884
1312
08edfb52f9cd Improve FIS directory handling - should work with small block size devices
gthomas
parents: 1297
diff changeset
885 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
886 display "Number of FIS directory entries"
08edfb52f9cd Improve FIS directory handling - should work with small block size devices
gthomas
parents: 1297
diff changeset
887 flavor data
08edfb52f9cd Improve FIS directory handling - should work with small block size devices
gthomas
parents: 1297
diff changeset
888 default_value 8
08edfb52f9cd Improve FIS directory handling - should work with small block size devices
gthomas
parents: 1297
diff changeset
889 description "
08edfb52f9cd Improve FIS directory handling - should work with small block size devices
gthomas
parents: 1297
diff changeset
890 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
891 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
892 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
893 sectors are very small."
08edfb52f9cd Improve FIS directory handling - should work with small block size devices
gthomas
parents: 1297
diff changeset
894 }
08edfb52f9cd Improve FIS directory handling - should work with small block size devices
gthomas
parents: 1297
diff changeset
895
1223
dbcfe4e0dbd2 New platform - TAMS MOAB - and generic changes to support it
gthomas
parents: 1169
diff changeset
896 cdl_option CYGBLD_REDBOOT_MIN_IMAGE_SIZE {
1823
ecd76f498508 * cdl/redboot.cdl (CYGBLD_REDBOOT_MIN_IMAGE_SIZE): Correct the
asl
parents: 1811
diff changeset
897 display "Maximum RedBoot image size"
632
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
898 flavor data
1823
ecd76f498508 * cdl/redboot.cdl (CYGBLD_REDBOOT_MIN_IMAGE_SIZE): Correct the
asl
parents: 1811
diff changeset
899 default_value { CYGOPT_REDBOOT_FIS_REDBOOT ? 0x20000 : 0 }
632
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
900 description "
1823
ecd76f498508 * cdl/redboot.cdl (CYGBLD_REDBOOT_MIN_IMAGE_SIZE): Correct the
asl
parents: 1811
diff changeset
901 This option controls the maximum length reserved
ecd76f498508 * cdl/redboot.cdl (CYGBLD_REDBOOT_MIN_IMAGE_SIZE): Correct the
asl
parents: 1811
diff changeset
902 for the RedBoot boot image in the FIS table.
ecd76f498508 * cdl/redboot.cdl (CYGBLD_REDBOOT_MIN_IMAGE_SIZE): Correct the
asl
parents: 1811
diff changeset
903 This should be a multiple of the flash's erase
ecd76f498508 * cdl/redboot.cdl (CYGBLD_REDBOOT_MIN_IMAGE_SIZE): Correct the
asl
parents: 1811
diff changeset
904 block size."
632
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
905 }
1223
dbcfe4e0dbd2 New platform - TAMS MOAB - and generic changes to support it
gthomas
parents: 1169
diff changeset
906
dbcfe4e0dbd2 New platform - TAMS MOAB - and generic changes to support it
gthomas
parents: 1169
diff changeset
907 cdl_option CYGBLD_REDBOOT_FLASH_BOOT_OFFSET {
dbcfe4e0dbd2 New platform - TAMS MOAB - and generic changes to support it
gthomas
parents: 1169
diff changeset
908 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
909 flavor data
dbcfe4e0dbd2 New platform - TAMS MOAB - and generic changes to support it
gthomas
parents: 1169
diff changeset
910 default_value CYGNUM_REDBOOT_FLASH_RESERVED_BASE
dbcfe4e0dbd2 New platform - TAMS MOAB - and generic changes to support it
gthomas
parents: 1169
diff changeset
911 requires { CYGNUM_REDBOOT_FLASH_RESERVED_BASE <= \
dbcfe4e0dbd2 New platform - TAMS MOAB - and generic changes to support it
gthomas
parents: 1169
diff changeset
912 CYGBLD_REDBOOT_FLASH_BOOT_OFFSET }
dbcfe4e0dbd2 New platform - TAMS MOAB - and generic changes to support it
gthomas
parents: 1169
diff changeset
913 description "
2065
376c93d0f526 * cdl/redboot.cdl: White space changes to aid readability.
asl
parents: 1954
diff changeset
914 This option controls where the RedBoot boot image is
376c93d0f526 * cdl/redboot.cdl: White space changes to aid readability.
asl
parents: 1954
diff changeset
915 located relative to the start of FLASH."
1223
dbcfe4e0dbd2 New platform - TAMS MOAB - and generic changes to support it
gthomas
parents: 1169
diff changeset
916 }
dbcfe4e0dbd2 New platform - TAMS MOAB - and generic changes to support it
gthomas
parents: 1169
diff changeset
917
dbcfe4e0dbd2 New platform - TAMS MOAB - and generic changes to support it
gthomas
parents: 1169
diff changeset
918 cdl_option CYGNUM_REDBOOT_FLASH_RESERVED_BASE {
dbcfe4e0dbd2 New platform - TAMS MOAB - and generic changes to support it
gthomas
parents: 1169
diff changeset
919 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
920 flavor data
632
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
921 default_value 0
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
922 description "
2065
376c93d0f526 * cdl/redboot.cdl: White space changes to aid readability.
asl
parents: 1954
diff changeset
923 This option reserves an area at the start of
376c93d0f526 * cdl/redboot.cdl: White space changes to aid readability.
asl
parents: 1954
diff changeset
924 FLASH where RedBoot will never interfere; it is
376c93d0f526 * cdl/redboot.cdl: White space changes to aid readability.
asl
parents: 1954
diff changeset
925 expected that this area contains
376c93d0f526 * cdl/redboot.cdl: White space changes to aid readability.
asl
parents: 1954
diff changeset
926 (non-RedBoot-based) POST code or some other boot
376c93d0f526 * cdl/redboot.cdl: White space changes to aid readability.
asl
parents: 1954
diff changeset
927 monitor that executes before RedBoot."
632
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
928 }
2626
a2f5434df2cb Merge flashv2 branch to trunk, with eCosCentric additions
jlarmour
parents: 2615
diff changeset
929
a2f5434df2cb Merge flashv2 branch to trunk, with eCosCentric additions
jlarmour
parents: 2615
diff changeset
930 cdl_option CYGNUM_REDBOOT_FLASH_RESERVED_DEVICES {
a2f5434df2cb Merge flashv2 branch to trunk, with eCosCentric additions
jlarmour
parents: 2615
diff changeset
931 display "List of Flash devices that are reserved"
a2f5434df2cb Merge flashv2 branch to trunk, with eCosCentric additions
jlarmour
parents: 2615
diff changeset
932 flavor booldata
a2f5434df2cb Merge flashv2 branch to trunk, with eCosCentric additions
jlarmour
parents: 2615
diff changeset
933 default_value 0
a2f5434df2cb Merge flashv2 branch to trunk, with eCosCentric additions
jlarmour
parents: 2615
diff changeset
934 description "This option lists the base addresses of any Flash
a2f5434df2cb Merge flashv2 branch to trunk, with eCosCentric additions
jlarmour
parents: 2615
diff changeset
935 devices that should not be managed by the flash
a2f5434df2cb Merge flashv2 branch to trunk, with eCosCentric additions
jlarmour
parents: 2615
diff changeset
936 image system. In particular, this means that these
a2f5434df2cb Merge flashv2 branch to trunk, with eCosCentric additions
jlarmour
parents: 2615
diff changeset
937 devices will not be considered when looking for free
a2f5434df2cb Merge flashv2 branch to trunk, with eCosCentric additions
jlarmour
parents: 2615
diff changeset
938 space in which to create new files. It should consist
a2f5434df2cb Merge flashv2 branch to trunk, with eCosCentric additions
jlarmour
parents: 2615
diff changeset
939 of a comma-separated list of (virtual) addresses."
a2f5434df2cb Merge flashv2 branch to trunk, with eCosCentric additions
jlarmour
parents: 2615
diff changeset
940 }
160
0d0f03f76f6a Merge from eCos master repository on 2001-06-01-18:52:13-BST
jlarmour
parents: 159
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_option CYGSEM_REDBOOT_FLASH_LOCK_SPECIAL {
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
944 display "Keep all RedBoot FLASH data blocks locked."
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
945 flavor bool
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
946 default_value 1
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
947 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
948 description "
632
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
949 When this option is enabled, RedBoot will keep configuration
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
950 data and the FIS directory blocks implicitly locked. While
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
951 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
952 }
632
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
953
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
954 cdl_option CYGSEM_REDBOOT_FIS_CRC_CHECK {
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
955 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
956 flavor bool
e0c0827131d1 Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents: 202
diff changeset
957 default_value 1
3174
a75d37e86790 Create new package for DHCP/BOOTP support so that it can be disable
grante
parents: 3144
diff changeset
958 requires CYGPKG_CRC
208
e0c0827131d1 Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents: 202
diff changeset
959 description "
632
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
960 When this option is enabled, RedBoot will use CRC checksums
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
961 when reading and writing flash images."
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
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
964 cdl_interface CYGINT_REDBOOT_ARM_FLASH_SIB_SUPPORTED {
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
965 display "ARM FLASH drivers support SIB flash block structure"
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
966 active_if CYGPKG_HAL_ARM
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
967 description "This interface is implemented by a flash driver
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
968 to indicate that it supports the ARM SIB flash
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
969 block structure"
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 CYGHWR_REDBOOT_ARM_FLASH_SIB {
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
973 display "Use ARM SIB flash block structure"
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
974 flavor bool
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
975 active_if CYGINT_REDBOOT_ARM_FLASH_SIB_SUPPORTED
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
976 default_value 1
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
977 description "
2065
376c93d0f526 * cdl/redboot.cdl: White space changes to aid readability.
asl
parents: 1954
diff changeset
978 This option is used to interpret ARM Flash System
376c93d0f526 * cdl/redboot.cdl: White space changes to aid readability.
asl
parents: 1954
diff changeset
979 information blocks."
208
e0c0827131d1 Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents: 202
diff changeset
980 }
115
6ed91473a1cd Merge from eCos master repository on 2000-08-21-22:40:54-BST
jlarmour
parents:
diff changeset
981 }
632
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
982
1223
dbcfe4e0dbd2 New platform - TAMS MOAB - and generic changes to support it
gthomas
parents: 1169
diff changeset
983 cdl_component CYGSEM_REDBOOT_FLASH_CONFIG {
dbcfe4e0dbd2 New platform - TAMS MOAB - and generic changes to support it
gthomas
parents: 1169
diff changeset
984 display "Keep RedBoot configuration data in FLASH"
dbcfe4e0dbd2 New platform - TAMS MOAB - and generic changes to support it
gthomas
parents: 1169
diff changeset
985 flavor bool
1233
85cbb6510cfd Fix compile error for platforms with no FLASH
gthomas
parents: 1231
diff changeset
986 default_value { CYGPKG_IO_FLASH != 0 }
1223
dbcfe4e0dbd2 New platform - TAMS MOAB - and generic changes to support it
gthomas
parents: 1169
diff changeset
987 compile fconfig.c
dbcfe4e0dbd2 New platform - TAMS MOAB - and generic changes to support it
gthomas
parents: 1169
diff changeset
988 description "
dbcfe4e0dbd2 New platform - TAMS MOAB - and generic changes to support it
gthomas
parents: 1169
diff changeset
989 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
990 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
991 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
992
dbcfe4e0dbd2 New platform - TAMS MOAB - and generic changes to support it
gthomas
parents: 1169
diff changeset
993 cdl_option CYGNUM_REDBOOT_FLASH_CONFIG_SIZE {
dbcfe4e0dbd2 New platform - TAMS MOAB - and generic changes to support it
gthomas
parents: 1169
diff changeset
994 display "Length of configuration data in FLASH"
dbcfe4e0dbd2 New platform - TAMS MOAB - and generic changes to support it
gthomas
parents: 1169
diff changeset
995 flavor data
dbcfe4e0dbd2 New platform - TAMS MOAB - and generic changes to support it
gthomas
parents: 1169
diff changeset
996 default_value 4096
dbcfe4e0dbd2 New platform - TAMS MOAB - and generic changes to support it
gthomas
parents: 1169
diff changeset
997 description "
dbcfe4e0dbd2 New platform - TAMS MOAB - and generic changes to support it
gthomas
parents: 1169
diff changeset
998 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
999 to be used for configuration options (persistent storage)."
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
dbcfe4e0dbd2 New platform - TAMS MOAB - and generic changes to support it
gthomas
parents: 1169
diff changeset
1002 cdl_option CYGHWR_REDBOOT_FLASH_CONFIG_MEDIA {
dbcfe4e0dbd2 New platform - TAMS MOAB - and generic changes to support it
gthomas
parents: 1169
diff changeset
1003 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
1004 flavor data
dbcfe4e0dbd2 New platform - TAMS MOAB - and generic changes to support it
gthomas
parents: 1169
diff changeset
1005 legal_values { "FLASH" "EEPROM" }
dbcfe4e0dbd2 New platform - TAMS MOAB - and generic changes to support it
gthomas
parents: 1169
diff changeset
1006 default_value { "FLASH" }
dbcfe4e0dbd2 New platform - TAMS MOAB - and generic changes to support it
gthomas
parents: 1169
diff changeset
1007 description "
dbcfe4e0dbd2 New platform - TAMS MOAB - and generic changes to support it
gthomas
parents: 1169
diff changeset
1008 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
1009 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
1010 The different styles utilize different access methods."
dbcfe4e0dbd2 New platform - TAMS MOAB - and generic changes to support it
gthomas
parents: 1169
diff changeset
1011 }
dbcfe4e0dbd2 New platform - TAMS MOAB - and generic changes to support it
gthomas
parents: 1169
diff changeset
1012
dbcfe4e0dbd2 New platform - TAMS MOAB - and generic changes to support it
gthomas
parents: 1169
diff changeset
1013 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
1014 display "Merged config data and FIS directory"
dbcfe4e0dbd2 New platform - TAMS MOAB - and generic changes to support it
gthomas
parents: 1169
diff changeset
1015 flavor bool
2065
376c93d0f526 * cdl/redboot.cdl: White space changes to aid readability.
asl
parents: 1954
diff changeset
1016 active_if { CYGOPT_REDBOOT_FIS && \
376c93d0f526 * cdl/redboot.cdl: White space changes to aid readability.
asl
parents: 1954
diff changeset
1017 (CYGHWR_REDBOOT_FLASH_CONFIG_MEDIA == "FLASH") }
1312
08edfb52f9cd Improve FIS directory handling - should work with small block size devices
gthomas
parents: 1297
diff changeset
1018 default_value 1
1223
dbcfe4e0dbd2 New platform - TAMS MOAB - and generic changes to support it
gthomas
parents: 1169
diff changeset
1019 description "
dbcfe4e0dbd2 New platform - TAMS MOAB - and generic changes to support it
gthomas
parents: 1169
diff changeset
1020 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
1021 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
1022 FLASH block."
dbcfe4e0dbd2 New platform - TAMS MOAB - and generic changes to support it
gthomas
parents: 1169
diff changeset
1023 }
dbcfe4e0dbd2 New platform - TAMS MOAB - and generic changes to support it
gthomas
parents: 1169
diff changeset
1024
dbcfe4e0dbd2 New platform - TAMS MOAB - and generic changes to support it
gthomas
parents: 1169
diff changeset
1025 cdl_option CYGNUM_REDBOOT_FLASH_CONFIG_BLOCK {
dbcfe4e0dbd2 New platform - TAMS MOAB - and generic changes to support it
gthomas
parents: 1169
diff changeset
1026 display "Which block of flash to use"
dbcfe4e0dbd2 New platform - TAMS MOAB - and generic changes to support it
gthomas
parents: 1169
diff changeset
1027 flavor data
dbcfe4e0dbd2 New platform - TAMS MOAB - and generic changes to support it
gthomas
parents: 1169
diff changeset
1028 default_value (-2)
dbcfe4e0dbd2 New platform - TAMS MOAB - and generic changes to support it
gthomas
parents: 1169
diff changeset
1029 description "
dbcfe4e0dbd2 New platform - TAMS MOAB - and generic changes to support it
gthomas
parents: 1169
diff changeset
1030 Which block of flash should hold the configuration
dbcfe4e0dbd2 New platform - TAMS MOAB - and generic changes to support it
gthomas
parents: 1169
diff changeset
1031 information. Positive numbers are absolute block numbers.
dbcfe4e0dbd2 New platform - TAMS MOAB - and generic changes to support it
gthomas
parents: 1169
diff changeset
1032 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
1033 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
1034 }
dbcfe4e0dbd2 New platform - TAMS MOAB - and generic changes to support it
gthomas
parents: 1169
diff changeset
1035
dbcfe4e0dbd2 New platform - TAMS MOAB - and generic changes to support it
gthomas
parents: 1169
diff changeset
1036 cdl_option CYGSEM_REDBOOT_FLASH_ALIASES {
dbcfe4e0dbd2 New platform - TAMS MOAB - and generic changes to support it
gthomas
parents: 1169
diff changeset
1037 display "Support simple macros/aliases in FLASH"
dbcfe4e0dbd2 New platform - TAMS MOAB - and generic changes to support it
gthomas
parents: 1169
diff changeset
1038 flavor bool
dbcfe4e0dbd2 New platform - TAMS MOAB - and generic changes to support it
gthomas
parents: 1169
diff changeset
1039 default_value 1
dbcfe4e0dbd2 New platform - TAMS MOAB - and generic changes to support it
gthomas
parents: 1169
diff changeset
1040 description "
dbcfe4e0dbd2 New platform - TAMS MOAB - and generic changes to support it
gthomas
parents: 1169
diff changeset
1041 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
1042 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
1043 configuration data (persistent storage)."
dbcfe4e0dbd2 New platform - TAMS MOAB - and generic changes to support it
gthomas
parents: 1169
diff changeset
1044 }
dbcfe4e0dbd2 New platform - TAMS MOAB - and generic changes to support it
gthomas
parents: 1169
diff changeset
1045
dbcfe4e0dbd2 New platform - TAMS MOAB - and generic changes to support it
gthomas
parents: 1169
diff changeset
1046 cdl_option CYGNUM_REDBOOT_FLASH_STRING_SIZE {
dbcfe4e0dbd2 New platform - TAMS MOAB - and generic changes to support it
gthomas
parents: 1169
diff changeset
1047 display "Length of strings in FLASH configuration data"
dbcfe4e0dbd2 New platform - TAMS MOAB - and generic changes to support it
gthomas
parents: 1169
diff changeset
1048 flavor data
dbcfe4e0dbd2 New platform - TAMS MOAB - and generic changes to support it
gthomas
parents: 1169
diff changeset
1049 default_value 128
dbcfe4e0dbd2 New platform - TAMS MOAB - and generic changes to support it
gthomas
parents: 1169
diff changeset
1050 description "
2065
376c93d0f526 * cdl/redboot.cdl: White space changes to aid readability.
asl
parents: 1954
diff changeset
1051 This option is used to control the amount of memory
376c93d0f526 * cdl/redboot.cdl: White space changes to aid readability.
asl
parents: 1954
diff changeset
1052 and FLASH to be used for string configuration
376c93d0f526 * cdl/redboot.cdl: White space changes to aid readability.
asl
parents: 1954
diff changeset
1053 options (persistent storage)."
1223
dbcfe4e0dbd2 New platform - TAMS MOAB - and generic changes to support it
gthomas
parents: 1169
diff changeset
1054 }
dbcfe4e0dbd2 New platform - TAMS MOAB - and generic changes to support it
gthomas
parents: 1169
diff changeset
1055
dbcfe4e0dbd2 New platform - TAMS MOAB - and generic changes to support it
gthomas
parents: 1169
diff changeset
1056 cdl_option CYGNUM_REDBOOT_FLASH_SCRIPT_SIZE {
dbcfe4e0dbd2 New platform - TAMS MOAB - and generic changes to support it
gthomas
parents: 1169
diff changeset
1057 display "Length of configuration script(s) in FLASH"
dbcfe4e0dbd2 New platform - TAMS MOAB - and generic changes to support it
gthomas
parents: 1169
diff changeset
1058 flavor data
dbcfe4e0dbd2 New platform - TAMS MOAB - and generic changes to support it
gthomas
parents: 1169
diff changeset
1059 default_value 512
dbcfe4e0dbd2 New platform - TAMS MOAB - and generic changes to support it
gthomas
parents: 1169
diff changeset
1060 description "
2065
376c93d0f526 * cdl/redboot.cdl: White space changes to aid readability.
asl
parents: 1954
diff changeset
1061 This option is used to control the amount of memory and
376c93d0f526 * cdl/redboot.cdl: White space changes to aid readability.
asl
parents: 1954
diff changeset
1062 FLASH to be used for configuration options (persistent
376c93d0f526 * cdl/redboot.cdl: White space changes to aid readability.
asl
parents: 1954
diff changeset
1063 storage)."
1223
dbcfe4e0dbd2 New platform - TAMS MOAB - and generic changes to support it
gthomas
parents: 1169
diff changeset
1064 }
dbcfe4e0dbd2 New platform - TAMS MOAB - and generic changes to support it
gthomas
parents: 1169
diff changeset
1065
dbcfe4e0dbd2 New platform - TAMS MOAB - and generic changes to support it
gthomas
parents: 1169
diff changeset
1066 cdl_option CYGSEM_REDBOOT_FLASH_CONFIG_READONLY_FALLBACK {
dbcfe4e0dbd2 New platform - TAMS MOAB - and generic changes to support it
gthomas
parents: 1169
diff changeset
1067 display "Fallback to read-only FLASH configuration"
dbcfe4e0dbd2 New platform - TAMS MOAB - and generic changes to support it
gthomas
parents: 1169
diff changeset
1068 flavor bool
dbcfe4e0dbd2 New platform - TAMS MOAB - and generic changes to support it
gthomas
parents: 1169
diff changeset
1069 default_value { (CYGHWR_REDBOOT_FLASH_CONFIG_MEDIA == "FLASH") }
dbcfe4e0dbd2 New platform - TAMS MOAB - and generic changes to support it
gthomas
parents: 1169
diff changeset
1070 description "
dbcfe4e0dbd2 New platform - TAMS MOAB - and generic changes to support it
gthomas
parents: 1169
diff changeset
1071 This option will cause the configuration information to
dbcfe4e0dbd2 New platform - TAMS MOAB - and generic changes to support it
gthomas
parents: 1169
diff changeset
1072 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
1073 The option only takes effect after
dbcfe4e0dbd2 New platform - TAMS MOAB - and generic changes to support it
gthomas
parents: 1169
diff changeset
1074 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
1075 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
1076 and
dbcfe4e0dbd2 New platform - TAMS MOAB - and generic changes to support it
gthomas
parents: 1169
diff changeset
1077 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
1078
dbcfe4e0dbd2 New platform - TAMS MOAB - and generic changes to support it
gthomas
parents: 1169
diff changeset
1079 }
dbcfe4e0dbd2 New platform - TAMS MOAB - and generic changes to support it
gthomas
parents: 1169
diff changeset
1080 }
dbcfe4e0dbd2 New platform - TAMS MOAB - and generic changes to support it
gthomas
parents: 1169
diff changeset
1081
1414
9a2e186be457 Add support for mountable file systems (like JFFS2) - from David Woodhouse
gthomas
parents: 1341
diff changeset
1082 cdl_component CYGPKG_REDBOOT_FILEIO {
9a2e186be457 Add support for mountable file systems (like JFFS2) - from David Woodhouse
gthomas
parents: 1341
diff changeset
1083 display "Allow RedBoot to support fileio"
9a2e186be457 Add support for mountable file systems (like JFFS2) - from David Woodhouse
gthomas
parents: 1341
diff changeset
1084 flavor bool
9a2e186be457 Add support for mountable file systems (like JFFS2) - from David Woodhouse
gthomas
parents: 1341
diff changeset
1085 default_value 1
9a2e186be457 Add support for mountable file systems (like JFFS2) - from David Woodhouse
gthomas
parents: 1341
diff changeset
1086 active_if CYGPKG_IO_FILEIO
2882
130cd207f998 Add requires for CYGPKG_IO
bartv
parents: 2769
diff changeset
1087 requires CYGPKG_IO
1414
9a2e186be457 Add support for mountable file systems (like JFFS2) - from David Woodhouse
gthomas
parents: 1341
diff changeset
1088 description "
9a2e186be457 Add support for mountable file systems (like JFFS2) - from David Woodhouse
gthomas
parents: 1341
diff changeset
1089 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
1090 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
1091 compile -library=libextras.a fs/fileio.c
1724
549e69d9a7d0 * cdl/redboot.cdl:
asl
parents: 1514
diff changeset
1092
549e69d9a7d0 * cdl/redboot.cdl:
asl
parents: 1514
diff changeset
1093 cdl_option CYGBLD_REDBOOT_FILEIO_WITH_LS {
549e69d9a7d0 * cdl/redboot.cdl:
asl
parents: 1514
diff changeset
1094 display "Include an ls command"
549e69d9a7d0 * cdl/redboot.cdl:
asl
parents: 1514
diff changeset
1095 flavor bool
549e69d9a7d0 * cdl/redboot.cdl:
asl
parents: 1514
diff changeset
1096 default_value 1
549e69d9a7d0 * cdl/redboot.cdl:
asl
parents: 1514
diff changeset
1097 description "
549e69d9a7d0 * cdl/redboot.cdl:
asl
parents: 1514
diff changeset
1098 If this option is enabled a simple ls command will be
549e69d9a7d0 * cdl/redboot.cdl:
asl
parents: 1514
diff changeset
1099 included in redboot so the contents of a directory
549e69d9a7d0 * cdl/redboot.cdl:
asl
parents: 1514
diff changeset
1100 can be listed"
549e69d9a7d0 * cdl/redboot.cdl:
asl
parents: 1514
diff changeset
1101 }
1414
9a2e186be457 Add support for mountable file systems (like JFFS2) - from David Woodhouse
gthomas
parents: 1341
diff changeset
1102 }
9a2e186be457 Add support for mountable file systems (like JFFS2) - from David Woodhouse
gthomas
parents: 1341
diff changeset
1103
632
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
1104 cdl_component CYGPKG_REDBOOT_DISK {
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
1105 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
1106 flavor bool
38892b97b685 Merge from eCos master repository on 2001-07-28-00:17:32-BST
jlarmour
parents: 172
diff changeset
1107 default_value 1
632
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
1108 description "
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
1109 If this option is enabled then RedBoot will provide commands
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
1110 to load disk files."
1341
d43f5e29476a Allow disk operations on other than IDE devices
gthomas
parents: 1312
diff changeset
1111
d43f5e29476a Allow disk operations on other than IDE devices
gthomas
parents: 1312
diff changeset
1112 cdl_option CYGSEM_REDBOOT_DISK {
d43f5e29476a Allow disk operations on other than IDE devices
gthomas
parents: 1312
diff changeset
1113 display "Include Redboot commands for disk access"
d43f5e29476a Allow disk operations on other than IDE devices
gthomas
parents: 1312
diff changeset
1114 default_value { CYGINT_REDBOOT_DISK_DRIVERS != 0 }
d43f5e29476a Allow disk operations on other than IDE devices
gthomas
parents: 1312
diff changeset
1115 compile -library=libextras.a fs/disk.c
d43f5e29476a Allow disk operations on other than IDE devices
gthomas
parents: 1312
diff changeset
1116 }
d43f5e29476a Allow disk operations on other than IDE devices
gthomas
parents: 1312
diff changeset
1117
d43f5e29476a Allow disk operations on other than IDE devices
gthomas
parents: 1312
diff changeset
1118 cdl_interface CYGINT_REDBOOT_DISK_DRIVERS {
d43f5e29476a Allow disk operations on other than IDE devices
gthomas
parents: 1312
diff changeset
1119 display "Hardware drivers for disk-type devices"
d43f5e29476a Allow disk operations on other than IDE devices
gthomas
parents: 1312
diff changeset
1120 }
632
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
1121
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
1122 cdl_option CYGNUM_REDBOOT_MAX_DISKS {
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
1123 display "Maximum number of supported disks"
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
1124 flavor data
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
1125 default_value 4
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
1126 description "
2065
376c93d0f526 * cdl/redboot.cdl: White space changes to aid readability.
asl
parents: 1954
diff changeset
1127 This option controls the number of disks supported by
376c93d0f526 * cdl/redboot.cdl: White space changes to aid readability.
asl
parents: 1954
diff changeset
1128 RedBoot."
632
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
1129 }
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
1130
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
1131 cdl_option CYGNUM_REDBOOT_MAX_PARTITIONS {
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
1132 display "Maximum number of partitions per disk"
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
1133 flavor data
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
1134 default_value 8
159
511f4dc167f6 Merge from eCos master repository on 2001-05-18-01:30:05-BST
jlarmour
parents: 157
diff changeset
1135 description "
2065
376c93d0f526 * cdl/redboot.cdl: White space changes to aid readability.
asl
parents: 1954
diff changeset
1136 This option controls the maximum number of supported
376c93d0f526 * cdl/redboot.cdl: White space changes to aid readability.
asl
parents: 1954
diff changeset
1137 partitions per disk."
632
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
1138 }
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
1139
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
1140 cdl_component CYGSEM_REDBOOT_DISK_IDE {
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
1141 display "Support IDE disks."
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
1142 flavor bool
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
1143 default_value 1
1341
d43f5e29476a Allow disk operations on other than IDE devices
gthomas
parents: 1312
diff changeset
1144 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
1145 description "
632
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
1146 When this option is enabled, RedBoot will support IDE disks."
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
1147 compile -library=libextras.a fs/ide.c
1341
d43f5e29476a Allow disk operations on other than IDE devices
gthomas
parents: 1312
diff changeset
1148 implements CYGINT_REDBOOT_DISK_DRIVERS
1811
a53cbddaeb77 * cdl/redboot.cdl: added CYGSEM_REDBOOT_DISK_IDE_VMWARE option.
asl
parents: 1759
diff changeset
1149
a53cbddaeb77 * cdl/redboot.cdl: added CYGSEM_REDBOOT_DISK_IDE_VMWARE option.
asl
parents: 1759
diff changeset
1150 cdl_option CYGSEM_REDBOOT_DISK_IDE_VMWARE {
a53cbddaeb77 * cdl/redboot.cdl: added CYGSEM_REDBOOT_DISK_IDE_VMWARE option.
asl
parents: 1759
diff changeset
1151 display "Work with VMware virtual disks"
a53cbddaeb77 * cdl/redboot.cdl: added CYGSEM_REDBOOT_DISK_IDE_VMWARE option.
asl
parents: 1759
diff changeset
1152 flavor bool
a53cbddaeb77 * cdl/redboot.cdl: added CYGSEM_REDBOOT_DISK_IDE_VMWARE option.
asl
parents: 1759
diff changeset
1153 default_value 0
a53cbddaeb77 * cdl/redboot.cdl: added CYGSEM_REDBOOT_DISK_IDE_VMWARE option.
asl
parents: 1759
diff changeset
1154 description "
2065
376c93d0f526 * cdl/redboot.cdl: White space changes to aid readability.
asl
parents: 1954
diff changeset
1155 This option controls the disk driver behavior at
376c93d0f526 * cdl/redboot.cdl: White space changes to aid readability.
asl
parents: 1954
diff changeset
1156 ide-init"
1811
a53cbddaeb77 * cdl/redboot.cdl: added CYGSEM_REDBOOT_DISK_IDE_VMWARE option.
asl
parents: 1759
diff changeset
1157 }
632
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
1158 }
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
1159
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
1160 cdl_component CYGSEM_REDBOOT_DISK_EXT2FS {
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
1161 display "Support Linux second extended filesystems."
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
1162 flavor bool
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
1163 default_value 1
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
1164 description "
2287
af491e42d913 * cdl/redboot.cdl: Fix description of CYGSEM_REDBOOT_DISK_IDE.
asl
parents: 2195
diff changeset
1165 When this option is enabled, RedBoot will support EXT2
af491e42d913 * cdl/redboot.cdl: Fix description of CYGSEM_REDBOOT_DISK_IDE.
asl
parents: 2195
diff changeset
1166 filesystems."
632
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
1167 compile -library=libextras.a fs/e2fs.c
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
1168 }
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
1169
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
1170 cdl_component CYGSEM_REDBOOT_DISK_ISO9660 {
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
1171 display "Support ISO9660 filesystems."
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
1172 flavor bool
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
1173 calculated 0
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
1174 description "
2065
376c93d0f526 * cdl/redboot.cdl: White space changes to aid readability.
asl
parents: 1954
diff changeset
1175 When this option is enabled, RedBoot will support ISO9660
376c93d0f526 * cdl/redboot.cdl: White space changes to aid readability.
asl
parents: 1954
diff changeset
1176 filesystems."
632
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
1177 compile -library=libextras.a fs/iso9660fs.c
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
1178 }
159
511f4dc167f6 Merge from eCos master repository on 2001-05-18-01:30:05-BST
jlarmour
parents: 157
diff changeset
1179 }
632
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
1180
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
1181 cdl_component CYGPKG_REDBOOT_BOOT_SCRIPT {
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
1182 display "Boot scripting"
737
11a38162cd52 * doc/redboot.sgml: De-vendorise a little.
jlarmour
parents: 632
diff changeset
1183 doc ref/persistent-state-flash.html
632
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
1184 flavor none
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
1185 no_define
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
1186 description "
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
1187 This contains options related to RedBoot's boot script
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
1188 functionality."
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
1189
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
1190 cdl_option CYGFUN_REDBOOT_BOOT_SCRIPT {
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
1191 display "Boot scripting enabled"
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
1192 flavor bool
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
1193 active_if { CYGDAT_REDBOOT_DEFAULT_BOOT_SCRIPT || \
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
1194 CYGSEM_REDBOOT_FLASH_CONFIG }
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
1195 calculated 1
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
1196 description "
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
1197 This option controls whether RedBoot boot script
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
1198 functionality is enabled."
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
1199 }
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
1200
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
1201 cdl_option CYGDAT_REDBOOT_DEFAULT_BOOT_SCRIPT {
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
1202 display "Use default RedBoot boot script"
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
1203 flavor booldata
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
1204 default_value 0
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
1205 description "
2065
376c93d0f526 * cdl/redboot.cdl: White space changes to aid readability.
asl
parents: 1954
diff changeset
1206 If enabled, this option will tell RedBoot to use the
376c93d0f526 * cdl/redboot.cdl: White space changes to aid readability.
asl
parents: 1954
diff changeset
1207 value of this option as a default boot script."
632
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
1208 }
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
1209
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
1210 cdl_option CYGNUM_REDBOOT_BOOT_SCRIPT_TIMEOUT_RESOLUTION {
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
1211 display "Resolution (in ms) for script timeout value."
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
1212 flavor data
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
1213 default_value 1000
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
1214 description "
2065
376c93d0f526 * cdl/redboot.cdl: White space changes to aid readability.
asl
parents: 1954
diff changeset
1215 This option controls the resolution of the script
376c93d0f526 * cdl/redboot.cdl: White space changes to aid readability.
asl
parents: 1954
diff changeset
1216 timeout. The value is specified in milliseconds
376c93d0f526 * cdl/redboot.cdl: White space changes to aid readability.
asl
parents: 1954
diff changeset
1217 (ms), thus to have the script timeout be defined in
376c93d0f526 * cdl/redboot.cdl: White space changes to aid readability.
asl
parents: 1954
diff changeset
1218 terms of tenths of seconds, use 100."
632
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
1219 }
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
1220
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
1221 cdl_option CYGNUM_REDBOOT_BOOT_SCRIPT_DEFAULT_TIMEOUT {
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
1222 display "Script default timeout value"
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
1223 flavor data
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
1224 default_value 10
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
1225 description "
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
1226 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
1227 scripts, when they are enabled."
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
1228 }
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
1229 }
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
1230
1223
dbcfe4e0dbd2 New platform - TAMS MOAB - and generic changes to support it
gthomas
parents: 1169
diff changeset
1231 cdl_option CYGSEM_REDBOOT_RTC {
dbcfe4e0dbd2 New platform - TAMS MOAB - and generic changes to support it
gthomas
parents: 1169
diff changeset
1232 display "Support RTC for time & date functions"
dbcfe4e0dbd2 New platform - TAMS MOAB - and generic changes to support it
gthomas
parents: 1169
diff changeset
1233 active_if { CYGPKG_IO_WALLCLOCK }
dbcfe4e0dbd2 New platform - TAMS MOAB - and generic changes to support it
gthomas
parents: 1169
diff changeset
1234 default_value 1
dbcfe4e0dbd2 New platform - TAMS MOAB - and generic changes to support it
gthomas
parents: 1169
diff changeset
1235 description "
dbcfe4e0dbd2 New platform - TAMS MOAB - and generic changes to support it
gthomas
parents: 1169
diff changeset
1236 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
1237 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
1238 compile -library=libextras.a time_date.cxx
dbcfe4e0dbd2 New platform - TAMS MOAB - and generic changes to support it
gthomas
parents: 1169
diff changeset
1239 }
dbcfe4e0dbd2 New platform - TAMS MOAB - and generic changes to support it
gthomas
parents: 1169
diff changeset
1240
632
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
1241 cdl_option CYGPRI_REDBOOT_ROM_MONITOR {
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
1242 display "Behave like a ROM monitor"
2065
376c93d0f526 * cdl/redboot.cdl: White space changes to aid readability.
asl
parents: 1954
diff changeset
1243 active_if { CYG_HAL_STARTUP == "ROM" || \
376c93d0f526 * cdl/redboot.cdl: White space changes to aid readability.
asl
parents: 1954
diff changeset
1244 CYG_HAL_STARTUP == "ROMRAM" }
632
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
1245 requires CYGSEM_HAL_ROM_MONITOR
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
1246 calculated 1
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
1247 no_define
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
1248 description "
2065
376c93d0f526 * cdl/redboot.cdl: White space changes to aid readability.
asl
parents: 1954
diff changeset
1249 Enabling this option will allow RedBoot to provide ROM
376c93d0f526 * cdl/redboot.cdl: White space changes to aid readability.
asl
parents: 1954
diff changeset
1250 monitor-style services to programs which it executes."
632
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
1251 }
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
1252
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
1253 cdl_component CYGSEM_REDBOOT_BSP_SYSCALLS {
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
1254 display "Allow RedBoot to handle GNUPro application 'syscalls'."
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
1255 flavor bool
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
1256 default_value 0
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
1257 description "
2065
376c93d0f526 * cdl/redboot.cdl: White space changes to aid readability.
asl
parents: 1954
diff changeset
1258 If this option is enabled then RedBoot will install a
376c93d0f526 * cdl/redboot.cdl: White space changes to aid readability.
asl
parents: 1954
diff changeset
1259 syscall handler to support debugging of applications
376c93d0f526 * cdl/redboot.cdl: White space changes to aid readability.
asl
parents: 1954
diff changeset
1260 based on GNUPro newlib/bsp."
632
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
1261
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
1262 cdl_option CYGSEM_REDBOOT_BSP_SYSCALLS_GPROF {
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
1263 display "Support additional syscalls for 'gprof' profiling"
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
1264 flavor bool
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
1265 default_value 1
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
1266 active_if { 0 < CYGINT_REDBOOT_BSP_SYSCALLS_GPROF_SUPPORT }
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
1267 description "
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
1268 Support additional syscalls to support a periodic callback
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
1269 function for histogram-style profiling, and an enquire/set
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
1270 of the tick rate.
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
1271 The application must use the GNUPro newlib facilities
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
1272 to set this up."
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
1273 }
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
1274
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
1275 cdl_interface CYGINT_REDBOOT_BSP_SYSCALLS_GPROF_SUPPORT {
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
1276 display "Does the HAL support 'gprof' profiling?"
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
1277 no_define
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
1278 }
1002
609c8b1447ee HAL enhancements from Pierre Habraken
msalter
parents: 886
diff changeset
1279
609c8b1447ee HAL enhancements from Pierre Habraken
msalter
parents: 886
diff changeset
1280 cdl_option CYGOPT_REDBOOT_BSP_SYSCALLS_EXIT_WITHOUT_TRAP {
609c8b1447ee HAL enhancements from Pierre Habraken
msalter
parents: 886
diff changeset
1281 display "Do not raise SIGTRAP when program exits"
609c8b1447ee HAL enhancements from Pierre Habraken
msalter
parents: 886
diff changeset
1282 default_value 0
609c8b1447ee HAL enhancements from Pierre Habraken
msalter
parents: 886
diff changeset
1283 description "
609c8b1447ee HAL enhancements from Pierre Habraken
msalter
parents: 886
diff changeset
1284 For some (single shot) newlib based programs,
609c8b1447ee HAL enhancements from Pierre Habraken
msalter
parents: 886
diff changeset
1285 exiting and returning a termination status may be
609c8b1447ee HAL enhancements from Pierre Habraken
msalter
parents: 886
diff changeset
1286 the normal expected behavior."
609c8b1447ee HAL enhancements from Pierre Habraken
msalter
parents: 886
diff changeset
1287 }
632
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
1288 }
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
1289
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
1290 cdl_component CYGOPT_REDBOOT_FIS_ZLIB_COMMON_BUFFER {
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
1291 display "Use a common buffer for Zlib and FIS"
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
1292 flavor bool
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
1293 active_if { CYGBLD_BUILD_REDBOOT_WITH_ZLIB && \
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
1294 CYGOPT_REDBOOT_FIS }
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
1295 default_value 0
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
1296 description "
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
1297 Use a common memory buffer for both the zlib workspace
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
1298 and FIS directory operations. This can save a substantial
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
1299 amount of RAM, especially when flash sectors are large."
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
1300
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
1301 cdl_option CYGNUM_REDBOOT_FIS_ZLIB_COMMON_BUFFER_SIZE {
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
1302 display "Size of Zlib/FIS common buffer"
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
1303 flavor data
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
1304 default_value 0xc000
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
1305 legal_values 0x4000 to 0x80000000
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
1306 description "
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
1307 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
1308 size of one flash sector."
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
1309 }
b928cfca72fc * cdl/redboot.cdl: Put virtually all options inside
jlarmour
parents: 307
diff changeset
1310 }
2887
22da989aafa4 Add support for memalloc heaps in RedBoot.
nickg
parents: 2882
diff changeset
1311
22da989aafa4 Add support for memalloc heaps in RedBoot.
nickg
parents: 2882
diff changeset
1312 cdl_component CYGMEM_REDBOOT_WORKSPACE_HEAP {
22da989aafa4 Add support for memalloc heaps in RedBoot.
nickg
parents: 2882
diff changeset
1313 display "Allocate heap in RedBoot workspace"
22da989aafa4 Add support for memalloc heaps in RedBoot.
nickg
parents: 2882
diff changeset
1314 flavor bool
22da989aafa4 Add support for memalloc heaps in RedBoot.
nickg
parents: 2882
diff changeset
1315 active_if CYGPKG_MEMALLOC
22da989aafa4 Add support for memalloc heaps in RedBoot.
nickg
parents: 2882
diff changeset
1316 active_if CYGPKG_MEMALLOC_MALLOC_ALLOCATORS
2933
28851b95600b import RedBoot NAND support patch as of 20090826
Ross Younger <wry@ecoscentric.com>
parents: 2887
diff changeset
1317 default_value 1
2887
22da989aafa4 Add support for memalloc heaps in RedBoot.
nickg
parents: 2882
diff changeset
1318 description "
22da989aafa4 Add support for memalloc heaps in RedBoot.
nickg
parents: 2882
diff changeset
1319 If the MEMALLOC package is present, it usually allocates
22da989aafa4 Add support for memalloc heaps in RedBoot.
nickg
parents: 2882
diff changeset
1320 the whole of memory not used by the program to the heap.
22da989aafa4 Add support for memalloc heaps in RedBoot.
nickg
parents: 2882
diff changeset
1321 In RedBoot this is not a good idea, since we need space to
22da989aafa4 Add support for memalloc heaps in RedBoot.
nickg
parents: 2882
diff changeset
1322 load application programs. Setting this option causes RedBoot
22da989aafa4 Add support for memalloc heaps in RedBoot.
nickg
parents: 2882
diff changeset
1323 to allocate the heap at the top of RAM by reserving part of
22da989aafa4 Add support for memalloc heaps in RedBoot.
nickg
parents: 2882
diff changeset
1324 RedBoot's workspace memory, leaving the rest of memory free."
22da989aafa4 Add support for memalloc heaps in RedBoot.
nickg
parents: 2882
diff changeset
1325
22da989aafa4 Add support for memalloc heaps in RedBoot.
nickg
parents: 2882
diff changeset
1326 cdl_option CYGMEM_REDBOOT_WORKSPACE_HEAP_SIZE {
22da989aafa4 Add support for memalloc heaps in RedBoot.
nickg
parents: 2882
diff changeset
1327 display "Size of RedBoot heap"
22da989aafa4 Add support for memalloc heaps in RedBoot.
nickg
parents: 2882
diff changeset
1328 flavor data
22da989aafa4 Add support for memalloc heaps in RedBoot.
nickg
parents: 2882
diff changeset
1329 default_value 0x10000
22da989aafa4 Add support for memalloc heaps in RedBoot.
nickg
parents: 2882
diff changeset
1330 legal_values 0x4000 to 0x80000000
22da989aafa4 Add support for memalloc heaps in RedBoot.
nickg
parents: 2882
diff changeset
1331 description "
22da989aafa4 Add support for memalloc heaps in RedBoot.
nickg
parents: 2882
diff changeset
1332 Size of RedBoot heap. This defines how much memory is to be
22da989aafa4 Add support for memalloc heaps in RedBoot.
nickg
parents: 2882
diff changeset
1333 allocated for the heap."
22da989aafa4 Add support for memalloc heaps in RedBoot.
nickg
parents: 2882
diff changeset
1334 }
22da989aafa4 Add support for memalloc heaps in RedBoot.
nickg
parents: 2882
diff changeset
1335 }
22da989aafa4 Add support for memalloc heaps in RedBoot.
nickg
parents: 2882
diff changeset
1336
1724
549e69d9a7d0 * cdl/redboot.cdl:
asl
parents: 1514
diff changeset
1337 cdl_option CYGNUM_REDBOOT_GETC_BUFFER {
549e69d9a7d0 * cdl/redboot.cdl:
asl
parents: 1514
diff changeset
1338 display "Buffer size in getc when loading images"
549e69d9a7d0 * cdl/redboot.cdl:
asl
parents: 1514
diff changeset
1339 flavor data
549e69d9a7d0 * cdl/redboot.cdl:
asl
parents: 1514
diff changeset
1340 default_value { CYGPKG_REDBOOT_FILEIO ? 4096 : 256 }
549e69d9a7d0 * cdl/redboot.cdl:
asl
parents: 1514
diff changeset
1341 description "
549e69d9a7d0 * cdl/redboot.cdl:
asl
parents: 1514
diff changeset
1342 When loading images a buffer is used between redboot and the
549e69d9a7d0 * cdl/redboot.cdl:
asl
parents: 1514
diff changeset
1343 underlying storage medium, eg a filesystem, or a socket etc.
549e69d9a7d0 * cdl/redboot.cdl:
asl
parents: 1514
diff changeset
1344 The size of this buffer can have a big impart on load speed."
549e69d9a7d0 * cdl/redboot.cdl:
asl
parents: 1514
diff changeset
1345 }
549e69d9a7d0 * cdl/redboot.cdl:
asl
parents: 1514
diff changeset
1346
2933
28851b95600b import RedBoot NAND support patch as of 20090826
Ross Younger <wry@ecoscentric.com>
parents: 2887
diff changeset
1347 cdl_component CYGPKG_REDBOOT_NAND {
28851b95600b import RedBoot NAND support patch as of 20090826
Ross Younger <wry@ecoscentric.com>
parents: 2887
diff changeset
1348 display "Include NAND utilities in RedBoot"
28851b95600b import RedBoot NAND support patch as of 20090826
Ross Younger <wry@ecoscentric.com>
parents: 2887
diff changeset
1349 flavor bool
28851b95600b import RedBoot NAND support patch as of 20090826
Ross Younger <wry@ecoscentric.com>
parents: 2887
diff changeset
1350 default_value 1
28851b95600b import RedBoot NAND support patch as of 20090826
Ross Younger <wry@ecoscentric.com>
parents: 2887
diff changeset
1351 active_if CYGPKG_IO_NAND
28851b95600b import RedBoot NAND support patch as of 20090826
Ross Younger <wry@ecoscentric.com>
parents: 2887
diff changeset
1352 requires CYGPKG_IO_NAND
2995
59abe88f0b07 redboot NAND support: update to nand app interface v2
Ross Younger <wry@ecoscentric.com>
parents: 2993
diff changeset
1353 requires ( CYGSEM_IO_NAND_INTERFACE_VERSION > 1 )
2933
28851b95600b import RedBoot NAND support patch as of 20090826
Ross Younger <wry@ecoscentric.com>
parents: 2887
diff changeset
1354 description "
28851b95600b import RedBoot NAND support patch as of 20090826
Ross Younger <wry@ecoscentric.com>
parents: 2887
diff changeset
1355 If this option is enabled then RedBoot will provide commands
28851b95600b import RedBoot NAND support patch as of 20090826
Ross Younger <wry@ecoscentric.com>
parents: 2887
diff changeset
1356 to interrogate and manage NAND storage chips at a low level.
28851b95600b import RedBoot NAND support patch as of 20090826
Ross Younger <wry@ecoscentric.com>
parents: 2887
diff changeset
1357 (Note that files are normally stored on a NAND chip
28851b95600b import RedBoot NAND support patch as of 20090826
Ross Younger <wry@ecoscentric.com>
parents: 2887
diff changeset
1358 via a filesystem. To enable that, you need to add the
28851b95600b import RedBoot NAND support patch as of 20090826
Ross Younger <wry@ecoscentric.com>
parents: 2887
diff changeset
1359 relevant package to the configuration and check that
28851b95600b import RedBoot NAND support patch as of 20090826
Ross Younger <wry@ecoscentric.com>
parents: 2887
diff changeset
1360 CYGPKG_REDBOOT_FILEIO is enabled.)"
28851b95600b import RedBoot NAND support patch as of 20090826
Ross Younger <wry@ecoscentric.com>
parents: 2887
diff changeset
1361 compile -library=libextras.a nand.c
28851b95600b import RedBoot NAND support patch as of 20090826
Ross Younger <wry@ecoscentric.com>
parents: 2887
diff changeset
1362
28851b95600b import RedBoot NAND support patch as of 20090826
Ross Younger <wry@ecoscentric.com>
parents: 2887
diff changeset
1363 cdl_option CYGSEM_REDBOOT_NAND_ERASE_CMD {
28851b95600b import RedBoot NAND support patch as of 20090826
Ross Younger <wry@ecoscentric.com>
parents: 2887
diff changeset
1364 display "Include support for nand erase command"
28851b95600b import RedBoot NAND support patch as of 20090826
Ross Younger <wry@ecoscentric.com>
parents: 2887
diff changeset
1365 flavor bool
28851b95600b import RedBoot NAND support patch as of 20090826
Ross Younger <wry@ecoscentric.com>
parents: 2887
diff changeset
1366 default_value 1
28851b95600b import RedBoot NAND support patch as of 20090826
Ross Younger <wry@ecoscentric.com>
parents: 2887
diff changeset
1367 active_if CYGPKG_REDBOOT_NAND
28851b95600b import RedBoot NAND support patch as of 20090826
Ross Younger <wry@ecoscentric.com>
parents: 2887
diff changeset
1368 description "
28851b95600b import RedBoot NAND support patch as of 20090826
Ross Younger <wry@ecoscentric.com>
parents: 2887
diff changeset
1369 This option provides a helper command to erase
28851b95600b import RedBoot NAND support patch as of 20090826
Ross Younger <wry@ecoscentric.com>
parents: 2887
diff changeset
1370 a partition of a NAND device. It may be useful to
28851b95600b import RedBoot NAND support patch as of 20090826
Ross Younger <wry@ecoscentric.com>
parents: 2887
diff changeset
1371 turn off if (for example) you don't want to provide
28851b95600b import RedBoot NAND support patch as of 20090826
Ross Younger <wry@ecoscentric.com>
parents: 2887
diff changeset
1372 your users with this ability.
28851b95600b import RedBoot NAND support patch as of 20090826
Ross Younger <wry@ecoscentric.com>
parents: 2887
diff changeset
1373 "
28851b95600b import RedBoot NAND support patch as of 20090826
Ross Younger <wry@ecoscentric.com>
parents: 2887
diff changeset
1374 }
2993
56ce19492892 redboot NAND: add `nand badblocks' subcommand
Ross Younger <wry@ecoscentric.com>
parents: 2933
diff changeset
1375
56ce19492892 redboot NAND: add `nand badblocks' subcommand
Ross Younger <wry@ecoscentric.com>
parents: 2933
diff changeset
1376 cdl_option CYGSEM_REDBOOT_NAND_BADBLOCKS_CMD {
56ce19492892 redboot NAND: add `nand badblocks' subcommand
Ross Younger <wry@ecoscentric.com>
parents: 2933
diff changeset
1377 display "Include support for nand badblocks command"
56ce19492892 redboot NAND: add `nand badblocks' subcommand
Ross Younger <wry@ecoscentric.com>
parents: 2933
diff changeset
1378 flavor bool
56ce19492892 redboot NAND: add `nand badblocks' subcommand
Ross Younger <wry@ecoscentric.com>
parents: 2933
diff changeset
1379 default_value 1
56ce19492892 redboot NAND: add `nand badblocks' subcommand
Ross Younger <wry@ecoscentric.com>
parents: 2933
diff changeset
1380 active_if CYGPKG_REDBOOT_NAND
56ce19492892 redboot NAND: add `nand badblocks' subcommand
Ross Younger <wry@ecoscentric.com>
parents: 2933
diff changeset
1381 description "
56ce19492892 redboot NAND: add `nand badblocks' subcommand
Ross Younger <wry@ecoscentric.com>
parents: 2933
diff changeset
1382 This option provides a helper command to query
56ce19492892 redboot NAND: add `nand badblocks' subcommand
Ross Younger <wry@ecoscentric.com>
parents: 2933
diff changeset
1383 and (optionally) change the state of bad blocks
56ce19492892 redboot NAND: add `nand badblocks' subcommand
Ross Younger <wry@ecoscentric.com>
parents: 2933
diff changeset
1384 in the NAND device's Bad Blocks Table.
56ce19492892 redboot NAND: add `nand badblocks' subcommand
Ross Younger <wry@ecoscentric.com>
parents: 2933
diff changeset
1385 "
56ce19492892 redboot NAND: add `nand badblocks' subcommand
Ross Younger <wry@ecoscentric.com>
parents: 2933
diff changeset
1386 }
56ce19492892 redboot NAND: add `nand badblocks' subcommand
Ross Younger <wry@ecoscentric.com>
parents: 2933
diff changeset
1387
56ce19492892 redboot NAND: add `nand badblocks' subcommand
Ross Younger <wry@ecoscentric.com>
parents: 2933
diff changeset
1388 cdl_option CYGSEM_REDBOOT_NAND_BADBLOCKS_MARK_CMD {
56ce19492892 redboot NAND: add `nand badblocks' subcommand
Ross Younger <wry@ecoscentric.com>
parents: 2933
diff changeset
1389 display "Can nand badblocks change block states"
56ce19492892 redboot NAND: add `nand badblocks' subcommand
Ross Younger <wry@ecoscentric.com>
parents: 2933
diff changeset
1390 flavor bool
56ce19492892 redboot NAND: add `nand badblocks' subcommand
Ross Younger <wry@ecoscentric.com>
parents: 2933
diff changeset
1391 default_value 1
56ce19492892 redboot NAND: add `nand badblocks' subcommand
Ross Younger <wry@ecoscentric.com>
parents: 2933
diff changeset
1392 active_if CYGSEM_REDBOOT_NAND_BADBLOCKS_CMD
56ce19492892 redboot NAND: add `nand badblocks' subcommand
Ross Younger <wry@ecoscentric.com>
parents: 2933
diff changeset
1393 description "
56ce19492892 redboot NAND: add `nand badblocks' subcommand
Ross Younger <wry@ecoscentric.com>
parents: 2933
diff changeset
1394 This option enables the `badblocks mark' subcommand,
56ce19492892 redboot NAND: add `nand badblocks' subcommand
Ross Younger <wry@ecoscentric.com>
parents: 2933
diff changeset
1395 which allows the user to manually change the state
56ce19492892 redboot NAND: add `nand badblocks' subcommand
Ross Younger <wry@ecoscentric.com>
parents: 2933
diff changeset
1396 of blocks in the Bad Block Table. It is potentially
56ce19492892 redboot NAND: add `nand badblocks' subcommand
Ross Younger <wry@ecoscentric.com>
parents: 2933
diff changeset
1397 dangerous if misused, so you may not wish to
56ce19492892 redboot NAND: add `nand badblocks' subcommand
Ross Younger <wry@ecoscentric.com>
parents: 2933
diff changeset
1398 enable this."
56ce19492892 redboot NAND: add `nand badblocks' subcommand
Ross Younger <wry@ecoscentric.com>
parents: 2933
diff changeset
1399 }
2933
28851b95600b import RedBoot NAND support patch as of 20090826
Ross Younger <wry@ecoscentric.com>
parents: 2887
diff changeset
1400 }
28851b95600b import RedBoot NAND support patch as of 20090826
Ross Younger <wry@ecoscentric.com>
parents: 2887
diff changeset
1401
307
906a5d289c6d Better memory use vis FIS & ZLIB - from Thomas Koeller
gthomas
parents: 306
diff changeset
1402 }
115
6ed91473a1cd Merge from eCos master repository on 2000-08-21-22:40:54-BST
jlarmour
parents:
diff changeset
1403 }
6ed91473a1cd Merge from eCos master repository on 2000-08-21-22:40:54-BST
jlarmour
parents:
diff changeset
1404
208
e0c0827131d1 Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents: 202
diff changeset
1405 # EOF redboot.cdl