# ====================================================================
|
# ====================================================================
|
#
|
#
|
# redboot.cdl
|
# redboot.cdl
|
#
|
#
|
# Redboot package configuration data
|
# Redboot package configuration data
|
#
|
#
|
# ====================================================================
|
# ====================================================================
|
#####ECOSGPLCOPYRIGHTBEGIN####
|
#####ECOSGPLCOPYRIGHTBEGIN####
|
## -------------------------------------------
|
## -------------------------------------------
|
## This file is part of eCos, the Embedded Configurable Operating System.
|
## This file is part of eCos, the Embedded Configurable Operating System.
|
## Copyright (C) 1998, 1999, 2000, 2001, 2002 Red Hat, Inc.
|
## Copyright (C) 1998, 1999, 2000, 2001, 2002 Red Hat, Inc.
|
## Copyright (C) 2002 Gary Thomas
|
## Copyright (C) 2002 Gary Thomas
|
##
|
##
|
## eCos is free software; you can redistribute it and/or modify it under
|
## eCos is free software; you can redistribute it and/or modify it under
|
## the terms of the GNU General Public License as published by the Free
|
## the terms of the GNU General Public License as published by the Free
|
## Software Foundation; either version 2 or (at your option) any later version.
|
## Software Foundation; either version 2 or (at your option) any later version.
|
##
|
##
|
## eCos is distributed in the hope that it will be useful, but WITHOUT ANY
|
## eCos is distributed in the hope that it will be useful, but WITHOUT ANY
|
## WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
## WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
## FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
## FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
## for more details.
|
## for more details.
|
##
|
##
|
## You should have received a copy of the GNU General Public License along
|
## You should have received a copy of the GNU General Public License along
|
## with eCos; if not, write to the Free Software Foundation, Inc.,
|
## with eCos; if not, write to the Free Software Foundation, Inc.,
|
## 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
|
## 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
|
##
|
##
|
## As a special exception, if other files instantiate templates or use macros
|
## As a special exception, if other files instantiate templates or use macros
|
## or inline functions from this file, or you compile this file and link it
|
## or inline functions from this file, or you compile this file and link it
|
## with other works to produce a work based on this file, this file does not
|
## with other works to produce a work based on this file, this file does not
|
## by itself cause the resulting work to be covered by the GNU General Public
|
## by itself cause the resulting work to be covered by the GNU General Public
|
## License. However the source code for this file must still be made available
|
## License. However the source code for this file must still be made available
|
## in accordance with section (3) of the GNU General Public License.
|
## in accordance with section (3) of the GNU General Public License.
|
##
|
##
|
## This exception does not invalidate any other reasons why a work based on
|
## This exception does not invalidate any other reasons why a work based on
|
## this file might be covered by the GNU General Public License.
|
## this file might be covered by the GNU General Public License.
|
##
|
##
|
## Alternative licenses for eCos may be arranged by contacting Red Hat, Inc.
|
## Alternative licenses for eCos may be arranged by contacting Red Hat, Inc.
|
## at http://sources.redhat.com/ecos/ecos-license/
|
## at http://sources.redhat.com/ecos/ecos-license/
|
## -------------------------------------------
|
## -------------------------------------------
|
#####ECOSGPLCOPYRIGHTEND####
|
#####ECOSGPLCOPYRIGHTEND####
|
# ====================================================================
|
# ====================================================================
|
######DESCRIPTIONBEGIN####
|
######DESCRIPTIONBEGIN####
|
#
|
#
|
# Author(s): gthomas
|
# Author(s): gthomas
|
# Original data: gthomas
|
# Original data: gthomas
|
# Contributors: Philippe Robin, Andrew Lunn, tkoeller
|
# Contributors: Philippe Robin, Andrew Lunn, tkoeller
|
# Date: 2000-05-01
|
# Date: 2000-05-01
|
#
|
#
|
#####DESCRIPTIONEND####
|
#####DESCRIPTIONEND####
|
#
|
#
|
# ====================================================================
|
# ====================================================================
|
cdl_package CYGPKG_REDBOOT {
|
cdl_package CYGPKG_REDBOOT {
|
display "Redboot ROM monitor"
|
display "Redboot ROM monitor"
|
doc ref/redboot.html
|
doc ref/redboot.html
|
define_header redboot.h
|
define_header redboot.h
|
description "
|
description "
|
This package supports the Redboot \[stand-alone debug monitor\]
|
This package supports the Redboot \[stand-alone debug monitor\]
|
using eCos as the underlying board support mechanism."
|
using eCos as the underlying board support mechanism."
|
|
|
# Since the CYGDAT_REDBOOT_CONSOLE_DEV setting ends up in the platform
|
# Since the CYGDAT_REDBOOT_CONSOLE_DEV setting ends up in the platform
|
# HAL header, we need to include that here (via hal.h).
|
# HAL header, we need to include that here (via hal.h).
|
define_proc {
|
define_proc {
|
puts $::cdl_header "#include "
|
puts $::cdl_header "#include "
|
}
|
}
|
|
|
cdl_option CYGSEM_REDBOOT_ELF {
|
cdl_option CYGSEM_REDBOOT_ELF {
|
flavor bool
|
flavor bool
|
display "Include support for ELF file format"
|
display "Include support for ELF file format"
|
default_value 1
|
default_value 1
|
}
|
}
|
|
|
|
|
cdl_interface CYGINT_REDBOOT_LOAD_METHOD {
|
cdl_interface CYGINT_REDBOOT_LOAD_METHOD {
|
display "Methods of loading images using redboot"
|
display "Methods of loading images using redboot"
|
}
|
}
|
|
|
cdl_component CYGBLD_BUILD_REDBOOT {
|
cdl_component CYGBLD_BUILD_REDBOOT {
|
display "Build Redboot ROM ELF image"
|
display "Build Redboot ROM ELF image"
|
default_value 0
|
default_value 0
|
requires CYGPKG_INFRA
|
requires CYGPKG_INFRA
|
requires CYGPKG_ISOINFRA
|
requires CYGPKG_ISOINFRA
|
# Someday the tools will handle this
|
# Someday the tools will handle this
|
# requires { CYGINT_HAL_DEBUG_GDB_STUBS implies CYGDBG_HAL_DEBUG_GDB_INCLUDE_STUBS }
|
# requires { CYGINT_HAL_DEBUG_GDB_STUBS implies CYGDBG_HAL_DEBUG_GDB_INCLUDE_STUBS }
|
# requires { CYGINT_HAL_DEBUG_GDB_STUBS implies CYGDBG_HAL_DEBUG_GDB_BREAK_SUPPORT }
|
# requires { CYGINT_HAL_DEBUG_GDB_STUBS implies CYGDBG_HAL_DEBUG_GDB_BREAK_SUPPORT }
|
#
|
#
|
requires { !CYGINT_HAL_DEBUG_GDB_STUBS || CYGDBG_HAL_DEBUG_GDB_INCLUDE_STUBS }
|
requires { !CYGINT_HAL_DEBUG_GDB_STUBS || CYGDBG_HAL_DEBUG_GDB_INCLUDE_STUBS }
|
requires { !CYGINT_HAL_DEBUG_GDB_STUBS || CYGDBG_HAL_DEBUG_GDB_BREAK_SUPPORT }
|
requires { !CYGINT_HAL_DEBUG_GDB_STUBS || CYGDBG_HAL_DEBUG_GDB_BREAK_SUPPORT }
|
#
|
#
|
requires ! CYGDBG_HAL_DEBUG_GDB_CTRLC_SUPPORT
|
requires ! CYGDBG_HAL_DEBUG_GDB_CTRLC_SUPPORT
|
requires ! CYGDBG_HAL_COMMON_INTERRUPTS_SAVE_MINIMUM_CONTEXT
|
requires ! CYGDBG_HAL_COMMON_INTERRUPTS_SAVE_MINIMUM_CONTEXT
|
requires ! CYGDBG_HAL_COMMON_CONTEXT_SAVE_MINIMUM
|
requires ! CYGDBG_HAL_COMMON_CONTEXT_SAVE_MINIMUM
|
requires CYGSEM_HAL_VIRTUAL_VECTOR_SUPPORT
|
requires CYGSEM_HAL_VIRTUAL_VECTOR_SUPPORT
|
|
|
requires CYGINT_ISO_STRING_MEMFUNCS
|
requires CYGINT_ISO_STRING_MEMFUNCS
|
requires CYGINT_ISO_STRING_STRFUNCS
|
requires CYGINT_ISO_STRING_STRFUNCS
|
requires CYGINT_REDBOOT_LOAD_METHOD
|
requires CYGINT_REDBOOT_LOAD_METHOD
|
|
|
cdl_option CYGBLD_BUILD_REDBOOT_WITH_THREADS {
|
cdl_option CYGBLD_BUILD_REDBOOT_WITH_THREADS {
|
display "Threads debugging support"
|
display "Threads debugging support"
|
no_define
|
no_define
|
description "
|
description "
|
Enabling this option will include special code in the GDB stubs to
|
Enabling this option will include special code in the GDB stubs to
|
support debugging of threaded programs. In the case of eCos programs,
|
support debugging of threaded programs. In the case of eCos programs,
|
this support allows GDB to have complete access to the eCos threads
|
this support allows GDB to have complete access to the eCos threads
|
in the program."
|
in the program."
|
active_if { CYG_HAL_STARTUP != "RAM" }
|
active_if { CYG_HAL_STARTUP != "RAM" }
|
requires CYGDBG_HAL_DEBUG_GDB_THREAD_SUPPORT
|
requires CYGDBG_HAL_DEBUG_GDB_THREAD_SUPPORT
|
}
|
}
|
|
|
cdl_option CYGDAT_REDBOOT_CUSTOM_VERSION {
|
cdl_option CYGDAT_REDBOOT_CUSTOM_VERSION {
|
display "Customized version string"
|
display "Customized version string"
|
flavor booldata
|
flavor booldata
|
default_value 0
|
default_value 0
|
description "
|
description "
|
Use this option to define a customized version \"string\" for
|
Use this option to define a customized version \"string\" for
|
RedBoot. Note: this value is only cosmetic, displayed by the
|
RedBoot. Note: this value is only cosmetic, displayed by the
|
\"version\" command, but is useful for providing site specific
|
\"version\" command, but is useful for providing site specific
|
information about the RedBoot configuration."
|
information about the RedBoot configuration."
|
}
|
}
|
|
|
cdl_option CYGNUM_REDBOOT_CMD_LINE_EDITING {
|
cdl_option CYGNUM_REDBOOT_CMD_LINE_EDITING {
|
display "Enable command line editing"
|
display "Enable command line editing"
|
flavor data
|
flavor data
|
default_value 16
|
default_value 16
|
description "
|
description "
|
If this option is non-zero, RedBoot will remember the last N command
|
If this option is non-zero, RedBoot will remember the last N command
|
lines. These lines may be reused. Enabling this history will also
|
lines. These lines may be reused. Enabling this history will also
|
enable rudimentary editting of the lines themselves."
|
enable rudimentary editting of the lines themselves."
|
}
|
}
|
|
|
cdl_option CYGBLD_BUILD_REDBOOT_WITH_ZLIB {
|
cdl_option CYGBLD_BUILD_REDBOOT_WITH_ZLIB {
|
display "Include support gzip/zlib decompression"
|
display "Include support gzip/zlib decompression"
|
active_if CYGPKG_COMPRESS_ZLIB
|
active_if CYGPKG_COMPRESS_ZLIB
|
no_define
|
no_define
|
default_value 1
|
default_value 1
|
implements CYGINT_COMPRESS_ZLIB_LOCAL_ALLOC
|
implements CYGINT_COMPRESS_ZLIB_LOCAL_ALLOC
|
compile decompress.c
|
compile decompress.c
|
}
|
}
|
|
|
cdl_option CYGBLD_BUILD_REDBOOT_WITH_XYZMODEM {
|
cdl_option CYGBLD_BUILD_REDBOOT_WITH_XYZMODEM {
|
display "Include support for xyzModem downloads"
|
display "Include support for xyzModem downloads"
|
doc ref/download-command.html
|
doc ref/download-command.html
|
no_define
|
no_define
|
default_value 1
|
default_value 1
|
implements CYGINT_REDBOOT_LOAD_METHOD
|
implements CYGINT_REDBOOT_LOAD_METHOD
|
compile -library=libextras.a xyzModem.c
|
compile -library=libextras.a xyzModem.c
|
}
|
}
|
|
|
cdl_option CYGBLD_BUILD_REDBOOT_WITH_CKSUM {
|
cdl_option CYGBLD_BUILD_REDBOOT_WITH_CKSUM {
|
display "Include POSIX checksum command"
|
display "Include POSIX checksum command"
|
doc ref/cksum-command.html
|
doc ref/cksum-command.html
|
default_value 1
|
default_value 1
|
compile -library=libextras.a cksum.c
|
compile -library=libextras.a cksum.c
|
}
|
}
|
|
|
cdl_option CYGBLD_BUILD_REDBOOT_WITH_MFILL {
|
cdl_option CYGBLD_BUILD_REDBOOT_WITH_MFILL {
|
display "Include memory fill command"
|
display "Include memory fill command"
|
doc ref/mfill-command.html
|
doc ref/mfill-command.html
|
default_value 1
|
default_value 1
|
compile -library=libextras.a mfill.c
|
compile -library=libextras.a mfill.c
|
}
|
}
|
|
|
cdl_option CYGBLD_BUILD_REDBOOT_WITH_MCMP {
|
cdl_option CYGBLD_BUILD_REDBOOT_WITH_MCMP {
|
display "Include memory compare command"
|
display "Include memory compare command"
|
doc ref/mcmp-command.html
|
doc ref/mcmp-command.html
|
default_value 1
|
default_value 1
|
compile -library=libextras.a mcmp.c
|
compile -library=libextras.a mcmp.c
|
}
|
}
|
|
|
cdl_option CYGBLD_BUILD_REDBOOT_WITH_DUMP {
|
cdl_option CYGBLD_BUILD_REDBOOT_WITH_DUMP {
|
display "Include memory dump command"
|
display "Include memory dump command"
|
doc ref/dump-command.html
|
doc ref/dump-command.html
|
default_value 1
|
default_value 1
|
compile -library=libextras.a dump.c
|
compile -library=libextras.a dump.c
|
}
|
}
|
|
|
cdl_option CYGBLD_BUILD_REDBOOT_WITH_CACHES {
|
cdl_option CYGBLD_BUILD_REDBOOT_WITH_CACHES {
|
display "Include cache command"
|
display "Include cache command"
|
doc ref/cache-command.html
|
doc ref/cache-command.html
|
default_value 1
|
default_value 1
|
compile -library=libextras.a caches.c
|
compile -library=libextras.a caches.c
|
}
|
}
|
|
|
cdl_option CYGBLD_BUILD_REDBOOT_WITH_EXEC {
|
cdl_option CYGBLD_BUILD_REDBOOT_WITH_EXEC {
|
display "Include exec command"
|
display "Include exec command"
|
doc ref/exec-command.html
|
doc ref/exec-command.html
|
default_value 1
|
default_value 1
|
# Implemented within the platform HAL
|
# Implemented within the platform HAL
|
}
|
}
|
|
|
no_define
|
no_define
|
description "This option enables the building of the Redboot ELF image.
|
description "This option enables the building of the Redboot ELF image.
|
The image may require further relocation or symbol
|
The image may require further relocation or symbol
|
stripping before being converted to a binary image.
|
stripping before being converted to a binary image.
|
This is handled by a rule in the target CDL."
|
This is handled by a rule in the target CDL."
|
|
|
compile main.c
|
compile main.c
|
compile misc_funs.c io.c parse.c ticks.c syscall.c alias.c
|
compile misc_funs.c io.c parse.c ticks.c syscall.c alias.c
|
compile -library=libextras.a load.c
|
compile -library=libextras.a load.c
|
|
|
make -priority 320 {
|
make -priority 320 {
|
/bin/redboot.elf : $(PREFIX)/lib/target.ld $(PREFIX)/lib/vectors.o $(PREFIX)/lib/libtarget.a $(PREFIX)/lib/libextras.a
|
/bin/redboot.elf : $(PREFIX)/lib/target.ld $(PREFIX)/lib/vectors.o $(PREFIX)/lib/libtarget.a $(PREFIX)/lib/libextras.a
|
@sh -c "mkdir -p $(dir $@)"
|
@sh -c "mkdir -p $(dir $@)"
|
$(CC) -c $(INCLUDE_PATH) $(CFLAGS) -o $(PREFIX)/lib/version.o $(REPOSITORY)/$(PACKAGE)/src/version.c
|
$(CC) -c $(INCLUDE_PATH) $(CFLAGS) -o $(PREFIX)/lib/version.o $(REPOSITORY)/$(PACKAGE)/src/version.c
|
$(CC) $(LDFLAGS) -L$(PREFIX)/lib -Ttarget.ld -o $@ $(PREFIX)/lib/version.o
|
$(CC) $(LDFLAGS) -L$(PREFIX)/lib -Ttarget.ld -o $@ $(PREFIX)/lib/version.o
|
}
|
}
|
|
|
cdl_component CYGPKG_REDBOOT_NETWORKING {
|
cdl_component CYGPKG_REDBOOT_NETWORKING {
|
display "Redboot Networking"
|
display "Redboot Networking"
|
flavor bool
|
flavor bool
|
active_if CYGPKG_IO_ETH_DRIVERS
|
active_if CYGPKG_IO_ETH_DRIVERS
|
default_value 1
|
default_value 1
|
implements CYGINT_REDBOOT_LOAD_METHOD
|
implements CYGINT_REDBOOT_LOAD_METHOD
|
compile net/bootp.c net/udp.c net/ip.c net/pktbuf.c net/cksum.c
|
compile net/bootp.c net/udp.c net/ip.c net/pktbuf.c net/cksum.c
|
compile net/enet.c net/icmp.c net/tcp.c net/timers.c net/arp.c
|
compile net/enet.c net/icmp.c net/tcp.c net/timers.c net/arp.c
|
compile net/net_io.c net/inet_addr.c
|
compile net/net_io.c net/inet_addr.c
|
compile -library=libextras.a net/ping.c net/tftp_client.c
|
compile -library=libextras.a net/ping.c net/tftp_client.c
|
description "This option includes networking support in RedBoot."
|
description "This option includes networking support in RedBoot."
|
define_proc {
|
define_proc {
|
puts $::cdl_system_header "#define CYGNUM_HAL_VIRTUAL_VECTOR_AUX_CHANNELS 1"
|
puts $::cdl_system_header "#define CYGNUM_HAL_VIRTUAL_VECTOR_AUX_CHANNELS 1"
|
}
|
}
|
|
|
cdl_option CYGDBG_REDBOOT_NET_DEBUG {
|
cdl_option CYGDBG_REDBOOT_NET_DEBUG {
|
display "Print net debug information"
|
display "Print net debug information"
|
flavor bool
|
flavor bool
|
default_value 0
|
default_value 0
|
description "
|
description "
|
This option is overriden by the configuration stored in flash."
|
This option is overriden by the configuration stored in flash."
|
}
|
}
|
|
|
cdl_option CYGSEM_REDBOOT_NET_HTTP_DOWNLOAD {
|
cdl_option CYGSEM_REDBOOT_NET_HTTP_DOWNLOAD {
|
display "Support HTTP for download"
|
display "Support HTTP for download"
|
flavor bool
|
flavor bool
|
default_value 1
|
default_value 1
|
compile -library=libextras.a net/http_client.c
|
compile -library=libextras.a net/http_client.c
|
description "
|
description "
|
This option enables the use of the HTTP protocol for download"
|
This option enables the use of the HTTP protocol for download"
|
}
|
}
|
|
|
cdl_component CYGDAT_REDBOOT_DEFAULT_IP_ADDR {
|
cdl_component CYGDAT_REDBOOT_DEFAULT_IP_ADDR {
|
display "Default IP address"
|
display "Default IP address"
|
flavor booldata
|
flavor booldata
|
default_value CYGSEM_REDBOOT_FLASH_CONFIG ? 0 : \
|
default_value CYGSEM_REDBOOT_FLASH_CONFIG ? 0 : \
|
{ "0, 0, 0, 0" }
|
{ "0, 0, 0, 0" }
|
description "
|
description "
|
This IP address is the default used by RedBoot if a BOOTP/DHCP
|
This IP address is the default used by RedBoot if a BOOTP/DHCP
|
server does not respond. The numbers should be separated by
|
server does not respond. The numbers should be separated by
|
*commas*, and not dots. If an IP address is configured into
|
*commas*, and not dots. If an IP address is configured into
|
the Flash configuration, that will be used in preference."
|
the Flash configuration, that will be used in preference."
|
|
|
cdl_option CYGSEM_REDBOOT_DEFAULT_NO_BOOTP {
|
cdl_option CYGSEM_REDBOOT_DEFAULT_NO_BOOTP {
|
display "Do not try to use BOOTP"
|
display "Do not try to use BOOTP"
|
flavor bool
|
flavor bool
|
default_value 0
|
default_value 0
|
description "
|
description "
|
By default Redboot tries to use BOOTP to get an IP
|
By default Redboot tries to use BOOTP to get an IP
|
address. If there's no BOOTP server on your network
|
address. If there's no BOOTP server on your network
|
use this option to avoid to wait until the
|
use this option to avoid to wait until the
|
timeout. This option is overriden by the
|
timeout. This option is overriden by the
|
configuration stored in flash."
|
configuration stored in flash."
|
}
|
}
|
}
|
}
|
|
|
cdl_component CYGSEM_REDBOOT_NETWORKING_USE_GATEWAY {
|
cdl_component CYGSEM_REDBOOT_NETWORKING_USE_GATEWAY {
|
display "Use a gateway for non-local IP traffic"
|
display "Use a gateway for non-local IP traffic"
|
flavor bool
|
flavor bool
|
default_value 1
|
default_value 1
|
description "
|
description "
|
Enabling this option will allow the RedBoot networking
|
Enabling this option will allow the RedBoot networking
|
stack to use a \[single\] gateway to reach a non-local
|
stack to use a \[single\] gateway to reach a non-local
|
IP address. If disabled, RedBoot will only be able to
|
IP address. If disabled, RedBoot will only be able to
|
reach nodes on the same subnet."
|
reach nodes on the same subnet."
|
|
|
cdl_component CYGDAT_REDBOOT_DEFAULT_GATEWAY_IP_ADDR {
|
cdl_component CYGDAT_REDBOOT_DEFAULT_GATEWAY_IP_ADDR {
|
display "Default gateway IP address"
|
display "Default gateway IP address"
|
flavor booldata
|
flavor booldata
|
default_value CYGSEM_REDBOOT_FLASH_CONFIG ? 0 : \
|
default_value CYGSEM_REDBOOT_FLASH_CONFIG ? 0 : \
|
{ "0, 0, 0, 0" }
|
{ "0, 0, 0, 0" }
|
description "
|
description "
|
This IP address is the default used by RedBoot if a BOOTP/DHCP
|
This IP address is the default used by RedBoot if a BOOTP/DHCP
|
server does not respond. The numbers should be separated by
|
server does not respond. The numbers should be separated by
|
*commas*, and not dots. If an IP address is configured into
|
*commas*, and not dots. If an IP address is configured into
|
the Flash configuration, that will be used in preference."
|
the Flash configuration, that will be used in preference."
|
}
|
}
|
|
|
cdl_component CYGDAT_REDBOOT_DEFAULT_IP_ADDR_MASK {
|
cdl_component CYGDAT_REDBOOT_DEFAULT_IP_ADDR_MASK {
|
display "Default IP address mask"
|
display "Default IP address mask"
|
flavor booldata
|
flavor booldata
|
default_value CYGSEM_REDBOOT_FLASH_CONFIG ? 0 : \
|
default_value CYGSEM_REDBOOT_FLASH_CONFIG ? 0 : \
|
{ "255, 255, 255, 0" }
|
{ "255, 255, 255, 0" }
|
description "
|
description "
|
This IP address mask is the default used by RedBoot if a BOOTP/DHCP
|
This IP address mask is the default used by RedBoot if a BOOTP/DHCP
|
server does not respond. The numbers should be separated by
|
server does not respond. The numbers should be separated by
|
*commas*, and not dots. If an IP address is configured into
|
*commas*, and not dots. If an IP address is configured into
|
the Flash configuration, that will be used in preference."
|
the Flash configuration, that will be used in preference."
|
}
|
}
|
}
|
}
|
|
|
cdl_option CYGNUM_REDBOOT_NETWORKING_TCP_PORT {
|
cdl_option CYGNUM_REDBOOT_NETWORKING_TCP_PORT {
|
display "TCP port to listen for incoming connections"
|
display "TCP port to listen for incoming connections"
|
flavor data
|
flavor data
|
default_value 9000
|
default_value 9000
|
description "
|
description "
|
RedBoot will 'listen' on this port for incoming TCP connections.
|
RedBoot will 'listen' on this port for incoming TCP connections.
|
This allows outside connections to be made to the platform, either
|
This allows outside connections to be made to the platform, either
|
for GDB or RedBoot commands."
|
for GDB or RedBoot commands."
|
}
|
}
|
|
|
cdl_option CYGNUM_REDBOOT_NETWORKING_MAX_PKTBUF {
|
cdl_option CYGNUM_REDBOOT_NETWORKING_MAX_PKTBUF {
|
display "Number of \[network\] packet buffers"
|
display "Number of \[network\] packet buffers"
|
flavor data
|
flavor data
|
default_value 4
|
default_value 4
|
legal_values 3 to 8
|
legal_values 3 to 8
|
description "
|
description "
|
RedBoot may need to buffer network data to support various connections.
|
RedBoot may need to buffer network data to support various connections.
|
This option allows control over the number of such buffered packets,
|
This option allows control over the number of such buffered packets,
|
and in turn, controls the amount of memory used by RedBoot (which
|
and in turn, controls the amount of memory used by RedBoot (which
|
is not available to user applications). Each packet buffer takes up
|
is not available to user applications). Each packet buffer takes up
|
about 1514 bytes. Note: there is little need to make this larger
|
about 1514 bytes. Note: there is little need to make this larger
|
than the default."
|
than the default."
|
}
|
}
|
|
|
cdl_component CYGPKG_REDBOOT_NETWORKING_DNS {
|
cdl_component CYGPKG_REDBOOT_NETWORKING_DNS {
|
display "DNS support"
|
display "DNS support"
|
default_value 1
|
default_value 1
|
requires CYGPKG_NS_DNS
|
requires CYGPKG_NS_DNS
|
requires !CYGPKG_NS_DNS_BUILD
|
requires !CYGPKG_NS_DNS_BUILD
|
compile net/dns.c
|
compile net/dns.c
|
description "
|
description "
|
When this option is enabled, RedBoot will be built with
|
When this option is enabled, RedBoot will be built with
|
support for DNS, allowing use of hostnames on the command
|
support for DNS, allowing use of hostnames on the command
|
line."
|
line."
|
|
|
cdl_option CYGPKG_REDBOOT_NETWORKING_DNS_IP {
|
cdl_option CYGPKG_REDBOOT_NETWORKING_DNS_IP {
|
display "Default DNS IP"
|
display "Default DNS IP"
|
flavor data
|
flavor data
|
active_if !CYGSEM_REDBOOT_FLASH_CONFIG
|
active_if !CYGSEM_REDBOOT_FLASH_CONFIG
|
default_value { "0.0.0.0" }
|
default_value { "0.0.0.0" }
|
description "
|
description "
|
This option sets the IP of the default DNS. The IP can be
|
This option sets the IP of the default DNS. The IP can be
|
changed at runtime as well."
|
changed at runtime as well."
|
}
|
}
|
|
|
cdl_option CYGNUM_REDBOOT_NETWORKING_DNS_TIMEOUT {
|
cdl_option CYGNUM_REDBOOT_NETWORKING_DNS_TIMEOUT {
|
display "Timeout in DNS lookup"
|
display "Timeout in DNS lookup"
|
flavor data
|
flavor data
|
default_value 10
|
default_value 10
|
description "
|
description "
|
This option sets the timeout used when looking up an
|
This option sets the timeout used when looking up an
|
address via the DNS. Default is 10 seconds."
|
address via the DNS. Default is 10 seconds."
|
}
|
}
|
|
|
}
|
}
|
}
|
}
|
|
|
cdl_option CYGPKG_REDBOOT_ANY_CONSOLE {
|
cdl_option CYGPKG_REDBOOT_ANY_CONSOLE {
|
display "Allow RedBoot to use any I/O channel for its console."
|
display "Allow RedBoot to use any I/O channel for its console."
|
flavor bool
|
flavor bool
|
default_value 1
|
default_value 1
|
description "
|
description "
|
If this option is enabled then RedBoot will attempt to use all
|
If this option is enabled then RedBoot will attempt to use all
|
defined serial I/O channels for its console device. Once input
|
defined serial I/O channels for its console device. Once input
|
arrives at one of these channels then the console will use only
|
arrives at one of these channels then the console will use only
|
that port."
|
that port."
|
}
|
}
|
|
|
cdl_option CYGSEM_REDBOOT_VARIABLE_BAUD_RATE {
|
cdl_option CYGSEM_REDBOOT_VARIABLE_BAUD_RATE {
|
display "Allow RedBoot to adjust the baud rate on the serial console."
|
display "Allow RedBoot to adjust the baud rate on the serial console."
|
flavor bool
|
flavor bool
|
default_value 1
|
default_value 1
|
active_if CYGINT_HAL_VIRTUAL_VECTOR_COMM_BAUD_SUPPORT
|
active_if CYGINT_HAL_VIRTUAL_VECTOR_COMM_BAUD_SUPPORT
|
description "
|
description "
|
If this option is enabled then RedBoot will support commands to set
|
If this option is enabled then RedBoot will support commands to set
|
and query the baud rate on the selected console."
|
and query the baud rate on the selected console."
|
}
|
}
|
|
|
cdl_option CYGPKG_REDBOOT_MAX_CMD_LINE {
|
cdl_option CYGPKG_REDBOOT_MAX_CMD_LINE {
|
display "Maximum command line length"
|
display "Maximum command line length"
|
flavor data
|
flavor data
|
default_value 256
|
default_value 256
|
description "
|
description "
|
This option allows control over how long the CLI command line
|
This option allows control over how long the CLI command line
|
should be. This space will be allocated statically
|
should be. This space will be allocated statically
|
rather than from RedBoot's stack."
|
rather than from RedBoot's stack."
|
}
|
}
|
|
|
cdl_option CYGNUM_REDBOOT_CLI_IDLE_TIMEOUT {
|
cdl_option CYGNUM_REDBOOT_CLI_IDLE_TIMEOUT {
|
display "Command processing idle timeout (ms)"
|
display "Command processing idle timeout (ms)"
|
flavor data
|
flavor data
|
default_value 10
|
default_value 10
|
description "
|
description "
|
This option controls the timeout period before the
|
This option controls the timeout period before the
|
command processing is considered 'idle'. Making this
|
command processing is considered 'idle'. Making this
|
number smaller will cause idle processing to take place
|
number smaller will cause idle processing to take place
|
more often, etc. The default value of 10ms is a reasonable
|
more often, etc. The default value of 10ms is a reasonable
|
tradeoff between responsiveness and overhead."
|
tradeoff between responsiveness and overhead."
|
}
|
}
|
|
|
cdl_option CYGNUM_REDBOOT_LOAD_ZLIB_BUFFER {
|
cdl_option CYGNUM_REDBOOT_LOAD_ZLIB_BUFFER {
|
display "Size of zlib decompression buffer"
|
display "Size of zlib decompression buffer"
|
active_if CYGPKG_COMPRESS_ZLIB
|
active_if CYGPKG_COMPRESS_ZLIB
|
flavor data
|
flavor data
|
default_value 64
|
default_value 64
|
legal_values 5 to 256
|
legal_values 5 to 256
|
description "
|
description "
|
This is the size of the buffer filled with incoming data
|
This is the size of the buffer filled with incoming data
|
during load before calls are made to the decompressor
|
during load before calls are made to the decompressor
|
function. For ethernet downloads this can be made bigger
|
function. For ethernet downloads this can be made bigger
|
(at the cost of memory), but for serial downloads on slow
|
(at the cost of memory), but for serial downloads on slow
|
processors it may be necessary to reduce the size to
|
processors it may be necessary to reduce the size to
|
avoid serial overruns. zlib appears to bail out if less than
|
avoid serial overruns. zlib appears to bail out if less than
|
five bytes are available initially so this is the minimum."
|
five bytes are available initially so this is the minimum."
|
}
|
}
|
|
|
cdl_option CYGSEM_REDBOOT_VALIDATE_USER_RAM_LOADS {
|
cdl_option CYGSEM_REDBOOT_VALIDATE_USER_RAM_LOADS {
|
display "Validate RAM addresses during load"
|
display "Validate RAM addresses during load"
|
flavor bool
|
flavor bool
|
default_value 1
|
default_value 1
|
description "
|
description "
|
This option controls whether or not RedBoot will make sure that
|
This option controls whether or not RedBoot will make sure that
|
memory being used by the \"load\" command is in fact in user RAM.
|
memory being used by the \"load\" command is in fact in user RAM.
|
Leaving the option enabled makes for a safer environment, but this
|
Leaving the option enabled makes for a safer environment, but this
|
check may not be valid on all platforms, thus the ability to
|
check may not be valid on all platforms, thus the ability to
|
disable it. ** Disable this only with great care **"
|
disable it. ** Disable this only with great care **"
|
}
|
}
|
|
|
cdl_component CYGPKG_REDBOOT_FLASH {
|
cdl_component CYGPKG_REDBOOT_FLASH {
|
display "Allow RedBoot to support FLASH programming"
|
display "Allow RedBoot to support FLASH programming"
|
flavor bool
|
flavor bool
|
default_value 1
|
default_value 1
|
active_if CYGHWR_IO_FLASH_DEVICE
|
active_if CYGHWR_IO_FLASH_DEVICE
|
description "
|
description "
|
If this option is enabled then RedBoot will provide commands
|
If this option is enabled then RedBoot will provide commands
|
to manage images in FLASH memory. These images can be loaded
|
to manage images in FLASH memory. These images can be loaded
|
into memory for execution or executed in place."
|
into memory for execution or executed in place."
|
compile -library=libextras.a flash.c
|
compile -library=libextras.a flash.c
|
|
|
cdl_option CYGBLD_REDBOOT_MIN_IMAGE_SIZE {
|
cdl_option CYGBLD_REDBOOT_MIN_IMAGE_SIZE {
|
display "Minimum image size"
|
display "Minimum image size"
|
flavor data
|
flavor data
|
default_value 0x20000
|
default_value 0x20000
|
description "
|
description "
|
This option controls the minimum length of images kept by
|
This option controls the minimum length of images kept by
|
the FIS. In particular, it should be large enough to hold
|
the FIS. In particular, it should be large enough to hold
|
the RedBoot primary image itself, as well as be a natural
|
the RedBoot primary image itself, as well as be a natural
|
multiple of the FLASH erase block size."
|
multiple of the FLASH erase block size."
|
}
|
}
|
|
|
cdl_option CYGBLD_REDBOOT_FLASH_BOOT_OFFSET {
|
cdl_option CYGBLD_REDBOOT_FLASH_BOOT_OFFSET {
|
display "Offset from start of FLASH to RedBoot boot image"
|
display "Offset from start of FLASH to RedBoot boot image"
|
flavor data
|
flavor data
|
default_value CYGNUM_REDBOOT_FLASH_RESERVED_BASE
|
default_value CYGNUM_REDBOOT_FLASH_RESERVED_BASE
|
requires { CYGNUM_REDBOOT_FLASH_RESERVED_BASE <= \
|
requires { CYGNUM_REDBOOT_FLASH_RESERVED_BASE <= \
|
CYGBLD_REDBOOT_FLASH_BOOT_OFFSET }
|
CYGBLD_REDBOOT_FLASH_BOOT_OFFSET }
|
description "
|
description "
|
This option controls where the RedBoot boot image is located
|
This option controls where the RedBoot boot image is located
|
relative to the start of FLASH."
|
relative to the start of FLASH."
|
}
|
}
|
|
|
cdl_option CYGNUM_REDBOOT_FLASH_RESERVED_BASE {
|
cdl_option CYGNUM_REDBOOT_FLASH_RESERVED_BASE {
|
display "Size of reserved area at start of FLASH"
|
display "Size of reserved area at start of FLASH"
|
flavor data
|
flavor data
|
default_value 0
|
default_value 0
|
description "
|
description "
|
This option reserves an area at the start of FLASH where RedBoot
|
This option reserves an area at the start of FLASH where RedBoot
|
will never interfere; it is expected that this area contains
|
will never interfere; it is expected that this area contains
|
(non-RedBoot-based) POST code or some other boot monitor that
|
(non-RedBoot-based) POST code or some other boot monitor that
|
executes before RedBoot."
|
executes before RedBoot."
|
}
|
}
|
|
|
cdl_option CYGOPT_REDBOOT_FIS {
|
cdl_option CYGOPT_REDBOOT_FIS {
|
display "RedBoot Flash Image System support"
|
display "RedBoot Flash Image System support"
|
default_value 1
|
default_value 1
|
doc ref/flash-image-system.html
|
doc ref/flash-image-system.html
|
description "
|
description "
|
This option enables the Flash Image System commands
|
This option enables the Flash Image System commands
|
and support within RedBoot. If disabled, simple Flash
|
and support within RedBoot. If disabled, simple Flash
|
access commands such as \"fis write\" will still exist.
|
access commands such as \"fis write\" will still exist.
|
This option would be disabled for targets that need simple
|
This option would be disabled for targets that need simple
|
FLASH manipulation, but do not have the need or space for
|
FLASH manipulation, but do not have the need or space for
|
complete image management."
|
complete image management."
|
}
|
}
|
|
|
cdl_component CYGPKG_REDBOOT_FIS_CONTENTS {
|
cdl_component CYGPKG_REDBOOT_FIS_CONTENTS {
|
display "Flash Image System default directory contents"
|
display "Flash Image System default directory contents"
|
active_if CYGOPT_REDBOOT_FIS
|
active_if CYGOPT_REDBOOT_FIS
|
calculated 1
|
calculated 1
|
|
|
cdl_option CYGNUM_REDBOOT_FIS_DIRECTORY_BLOCK {
|
cdl_option CYGNUM_REDBOOT_FIS_DIRECTORY_BLOCK {
|
display "Flash block containing the Directory"
|
display "Flash block containing the Directory"
|
flavor data
|
flavor data
|
default_value (-1)
|
default_value (-1)
|
description "
|
description "
|
Which block of flash should hold the directory
|
Which block of flash should hold the directory
|
information. Positive numbers are absolute block numbers.
|
information. Positive numbers are absolute block numbers.
|
Negative block numbers count backwards from the last block.
|
Negative block numbers count backwards from the last block.
|
eg 2 means block 2, -2 means the last but one block."
|
eg 2 means block 2, -2 means the last but one block."
|
}
|
}
|
|
|
cdl_option CYGOPT_REDBOOT_FIS_RESERVED_BASE {
|
cdl_option CYGOPT_REDBOOT_FIS_RESERVED_BASE {
|
display "Pseudo-file to describe reserved area"
|
display "Pseudo-file to describe reserved area"
|
active_if { 0 != CYGNUM_REDBOOT_FLASH_RESERVED_BASE }
|
active_if { 0 != CYGNUM_REDBOOT_FLASH_RESERVED_BASE }
|
default_value 1
|
default_value 1
|
description "
|
description "
|
If an area of FLASH is reserved, it is informative to
|
If an area of FLASH is reserved, it is informative to
|
have a fis entry describing it. This option controls
|
have a fis entry describing it. This option controls
|
creation of such an entry by default in the fis init
|
creation of such an entry by default in the fis init
|
command."
|
command."
|
}
|
}
|
|
|
cdl_option CYGOPT_REDBOOT_FIS_REDBOOT {
|
cdl_option CYGOPT_REDBOOT_FIS_REDBOOT {
|
display "File to describe RedBoot boot image"
|
display "File to describe RedBoot boot image"
|
default_value 1
|
default_value 1
|
description "
|
description "
|
Normally a ROM-startup RedBoot image is first in the
|
Normally a ROM-startup RedBoot image is first in the
|
FLASH, and the system boots using that image. This
|
FLASH, and the system boots using that image. This
|
option controls creation of an entry describing it in
|
option controls creation of an entry describing it in
|
the fis init command. It might be disabled if a
|
the fis init command. It might be disabled if a
|
platform has an immutable boot image of its own, where
|
platform has an immutable boot image of its own, where
|
we use a POST-startup RedBoot instead, which performs
|
we use a POST-startup RedBoot instead, which performs
|
less board initialization."
|
less board initialization."
|
}
|
}
|
|
|
cdl_component CYGOPT_REDBOOT_FIS_REDBOOT_POST {
|
cdl_component CYGOPT_REDBOOT_FIS_REDBOOT_POST {
|
display "File to describe RedBoot POST-compatible image"
|
display "File to describe RedBoot POST-compatible image"
|
default_value !CYGOPT_REDBOOT_FIS_REDBOOT
|
default_value !CYGOPT_REDBOOT_FIS_REDBOOT
|
description "
|
description "
|
This option controls creation of an entry describing a
|
This option controls creation of an entry describing a
|
POST-startup RedBoot image in the fis init command.
|
POST-startup RedBoot image in the fis init command.
|
Not all platforms support POST-startup. A platform
|
Not all platforms support POST-startup. A platform
|
might have both for testing purposes, where the
|
might have both for testing purposes, where the
|
eventual user would substitute their own POST code for
|
eventual user would substitute their own POST code for
|
the initial ROM-startup RedBoot, and then jump to the
|
the initial ROM-startup RedBoot, and then jump to the
|
POST-compatible RedBoot immediately following."
|
POST-compatible RedBoot immediately following."
|
cdl_option CYGNUM_REDBOOT_FIS_REDBOOT_POST_OFFSET {
|
cdl_option CYGNUM_REDBOOT_FIS_REDBOOT_POST_OFFSET {
|
display "Offset of POST image from FLASH start"
|
display "Offset of POST image from FLASH start"
|
flavor booldata
|
flavor booldata
|
default_value 0
|
default_value 0
|
requires { CYGNUM_REDBOOT_FIS_REDBOOT_POST_OFFSET >= \
|
requires { CYGNUM_REDBOOT_FIS_REDBOOT_POST_OFFSET >= \
|
CYGBLD_REDBOOT_FLASH_BOOT_OFFSET }
|
CYGBLD_REDBOOT_FLASH_BOOT_OFFSET }
|
description "
|
description "
|
This option specifies the offset for a POST image from
|
This option specifies the offset for a POST image from
|
the start of FLASH. If unset, then the fis entry
|
the start of FLASH. If unset, then the fis entry
|
describing the POST image will be placed where
|
describing the POST image will be placed where
|
convenient."
|
convenient."
|
}
|
}
|
}
|
}
|
|
|
cdl_option CYGOPT_REDBOOT_FIS_REDBOOT_BACKUP {
|
cdl_option CYGOPT_REDBOOT_FIS_REDBOOT_BACKUP {
|
display "File to describe RedBoot backup image"
|
display "File to describe RedBoot backup image"
|
default_value 0
|
default_value 0
|
description "
|
description "
|
This option controls creation of an entry describing a
|
This option controls creation of an entry describing a
|
backup RedBoot image in the fis init command.
|
backup RedBoot image in the fis init command.
|
Conventionally a RAM-startup RedBoot image is kept
|
Conventionally a RAM-startup RedBoot image is kept
|
under this name for use in updating the ROM-based
|
under this name for use in updating the ROM-based
|
RedBoot that boots the board."
|
RedBoot that boots the board."
|
}
|
}
|
|
|
cdl_option CYGOPT_REDBOOT_FIS_DIRECTORY_ARM_SIB_ID {
|
cdl_option CYGOPT_REDBOOT_FIS_DIRECTORY_ARM_SIB_ID {
|
display "Include ARM SIB ID in FIS"
|
display "Include ARM SIB ID in FIS"
|
default_value 0
|
default_value 0
|
description "
|
description "
|
If set, this option will cause the last 5 words of
|
If set, this option will cause the last 5 words of
|
the FIS to include the special ID needed for the
|
the FIS to include the special ID needed for the
|
flash to be recognized as a reserved area for RedBoot
|
flash to be recognized as a reserved area for RedBoot
|
by an ARM BootRom monitor."
|
by an ARM BootRom monitor."
|
}
|
}
|
|
|
cdl_option CYGNUM_REDBOOT_FIS_DIRECTORY_ENTRY_SIZE {
|
cdl_option CYGNUM_REDBOOT_FIS_DIRECTORY_ENTRY_SIZE {
|
display "Size of FIS directory entry"
|
display "Size of FIS directory entry"
|
flavor data
|
flavor data
|
default_value 256
|
default_value 256
|
description "
|
description "
|
The FIS directory is limited to one single flash
|
The FIS directory is limited to one single flash
|
sector. If your flash has tiny sectors, you may wish
|
sector. If your flash has tiny sectors, you may wish
|
to reduce this value in order to get more slots in
|
to reduce this value in order to get more slots in
|
the FIS directory."
|
the FIS directory."
|
}
|
}
|
}
|
}
|
|
|
cdl_component CYGSEM_REDBOOT_FLASH_CONFIG {
|
cdl_component CYGSEM_REDBOOT_FLASH_CONFIG {
|
display "Keep RedBoot configuration data in FLASH"
|
display "Keep RedBoot configuration data in FLASH"
|
flavor bool
|
flavor bool
|
default_value 1
|
default_value 1
|
description "
|
description "
|
When this option is enabled, RedBoot will keep configuration
|
When this option is enabled, RedBoot will keep configuration
|
data in a separate block of FLASH memory. This data will
|
data in a separate block of FLASH memory. This data will
|
include such items as the node IP address or startup scripts."
|
include such items as the node IP address or startup scripts."
|
|
|
cdl_option CYGNUM_REDBOOT_FLASH_CONFIG_SIZE {
|
cdl_option CYGNUM_REDBOOT_FLASH_CONFIG_SIZE {
|
display "Length of configuration data in FLASH"
|
display "Length of configuration data in FLASH"
|
flavor data
|
flavor data
|
default_value 4096
|
default_value 4096
|
description "
|
description "
|
This option is used to control the amount of memory and FLASH
|
This option is used to control the amount of memory and FLASH
|
to be used for configuration options (persistent storage)."
|
to be used for configuration options (persistent storage)."
|
}
|
}
|
|
|
cdl_option CYGSEM_REDBOOT_FLASH_COMBINED_FIS_AND_CONFIG {
|
cdl_option CYGSEM_REDBOOT_FLASH_COMBINED_FIS_AND_CONFIG {
|
display "Merged config data and FIS directory"
|
display "Merged config data and FIS directory"
|
flavor bool
|
flavor bool
|
active_if CYGOPT_REDBOOT_FIS
|
active_if CYGOPT_REDBOOT_FIS
|
default_value 0
|
default_value 0
|
description "
|
description "
|
If this option is set, then the FIS directory and FLASH
|
If this option is set, then the FIS directory and FLASH
|
configuration database will be stored in the same physical
|
configuration database will be stored in the same physical
|
FLASH block."
|
FLASH block."
|
}
|
}
|
|
|
cdl_option CYGNUM_REDBOOT_FLASH_CONFIG_BLOCK {
|
cdl_option CYGNUM_REDBOOT_FLASH_CONFIG_BLOCK {
|
display "Which block of flash to use"
|
display "Which block of flash to use"
|
flavor data
|
flavor data
|
default_value (-2)
|
default_value (-2)
|
description "
|
description "
|
Which block of flash should hold the configuration
|
Which block of flash should hold the configuration
|
information. Positive numbers are absolute block numbers.
|
information. Positive numbers are absolute block numbers.
|
Negative block numbers count backwards from the last block.
|
Negative block numbers count backwards from the last block.
|
eg 2 means block 2, -2 means the last but one block."
|
eg 2 means block 2, -2 means the last but one block."
|
}
|
}
|
|
|
cdl_option CYGSEM_REDBOOT_FLASH_ALIASES {
|
cdl_option CYGSEM_REDBOOT_FLASH_ALIASES {
|
display "Support simple macros/aliases in FLASH"
|
display "Support simple macros/aliases in FLASH"
|
flavor bool
|
flavor bool
|
default_value 1
|
default_value 1
|
description "
|
description "
|
This option is used to allow support for simple text-based
|
This option is used to allow support for simple text-based
|
macros (aliases). These aliases are kept in the FLASH
|
macros (aliases). These aliases are kept in the FLASH
|
configuration data (persistent storage)."
|
configuration data (persistent storage)."
|
}
|
}
|
|
|
cdl_option CYGNUM_REDBOOT_FLASH_STRING_SIZE {
|
cdl_option CYGNUM_REDBOOT_FLASH_STRING_SIZE {
|
display "Length of strings in FLASH configuration data"
|
display "Length of strings in FLASH configuration data"
|
flavor data
|
flavor data
|
default_value 128
|
default_value 128
|
description "
|
description "
|
This option is used to control the amount of memory and FLASH
|
This option is used to control the amount of memory and FLASH
|
to be used for string configuration options (persistent storage)."
|
to be used for string configuration options (persistent storage)."
|
}
|
}
|
|
|
cdl_option CYGNUM_REDBOOT_FLASH_SCRIPT_SIZE {
|
cdl_option CYGNUM_REDBOOT_FLASH_SCRIPT_SIZE {
|
display "Length of configuration script(s) in FLASH"
|
display "Length of configuration script(s) in FLASH"
|
flavor data
|
flavor data
|
default_value 512
|
default_value 512
|
description "
|
description "
|
This option is used to control the amount of memory and FLASH
|
This option is used to control the amount of memory and FLASH
|
to be used for configuration options (persistent storage)."
|
to be used for configuration options (persistent storage)."
|
}
|
}
|
|
|
cdl_option CYGSEM_REDBOOT_FLASH_CONFIG_READONLY_FALLBACK {
|
cdl_option CYGSEM_REDBOOT_FLASH_CONFIG_READONLY_FALLBACK {
|
display "Fallback to read-only FLASH configuration"
|
display "Fallback to read-only FLASH configuration"
|
flavor bool
|
flavor bool
|
default_value 1
|
default_value 1
|
description "
|
description "
|
This option will cause the configuration information to
|
This option will cause the configuration information to
|
revert to the readonly information stored in the FLASH.
|
revert to the readonly information stored in the FLASH.
|
The option only takes effect after
|
The option only takes effect after
|
1) the config_ok flag has been set to be true,
|
1) the config_ok flag has been set to be true,
|
indicating that at one time the copy in RAM was valid;
|
indicating that at one time the copy in RAM was valid;
|
and
|
and
|
2) the information in RAM has been verified to be invalid"
|
2) the information in RAM has been verified to be invalid"
|
|
|
}
|
}
|
}
|
}
|
|
|
cdl_option CYGSEM_REDBOOT_FLASH_LOCK_SPECIAL {
|
cdl_option CYGSEM_REDBOOT_FLASH_LOCK_SPECIAL {
|
display "Keep all RedBoot FLASH data blocks locked."
|
display "Keep all RedBoot FLASH data blocks locked."
|
flavor bool
|
flavor bool
|
default_value 1
|
default_value 1
|
active_if { CYGHWR_IO_FLASH_BLOCK_LOCKING != 0 }
|
active_if { CYGHWR_IO_FLASH_BLOCK_LOCKING != 0 }
|
description "
|
description "
|
When this option is enabled, RedBoot will keep configuration
|
When this option is enabled, RedBoot will keep configuration
|
data and the FIS directory blocks implicitly locked. While
|
data and the FIS directory blocks implicitly locked. While
|
this is somewhat safer, it does add overhead during updates."
|
this is somewhat safer, it does add overhead during updates."
|
}
|
}
|
|
|
cdl_option CYGSEM_REDBOOT_FIS_CRC_CHECK {
|
cdl_option CYGSEM_REDBOOT_FIS_CRC_CHECK {
|
display "Use CRC checksums on FIS images."
|
display "Use CRC checksums on FIS images."
|
flavor bool
|
flavor bool
|
default_value 1
|
default_value 1
|
description "
|
description "
|
When this option is enabled, RedBoot will use CRC checksums
|
When this option is enabled, RedBoot will use CRC checksums
|
when reading and writing flash images."
|
when reading and writing flash images."
|
}
|
}
|
|
|
cdl_interface CYGINT_REDBOOT_ARM_FLASH_SIB_SUPPORTED {
|
cdl_interface CYGINT_REDBOOT_ARM_FLASH_SIB_SUPPORTED {
|
display "ARM FLASH drivers support SIB flash block structure"
|
display "ARM FLASH drivers support SIB flash block structure"
|
active_if CYGPKG_HAL_ARM
|
active_if CYGPKG_HAL_ARM
|
description "This interface is implemented by a flash driver
|
description "This interface is implemented by a flash driver
|
to indicate that it supports the ARM SIB flash
|
to indicate that it supports the ARM SIB flash
|
block structure"
|
block structure"
|
}
|
}
|
|
|
cdl_option CYGHWR_REDBOOT_ARM_FLASH_SIB {
|
cdl_option CYGHWR_REDBOOT_ARM_FLASH_SIB {
|
display "Use ARM SIB flash block structure"
|
display "Use ARM SIB flash block structure"
|
flavor bool
|
flavor bool
|
active_if CYGINT_REDBOOT_ARM_FLASH_SIB_SUPPORTED
|
active_if CYGINT_REDBOOT_ARM_FLASH_SIB_SUPPORTED
|
default_value 1
|
default_value 1
|
description "
|
description "
|
This option is used to interpret ARM Flash System information
|
This option is used to interpret ARM Flash System information
|
blocks."
|
blocks."
|
}
|
}
|
}
|
}
|
|
|
cdl_component CYGPKG_REDBOOT_DISK {
|
cdl_component CYGPKG_REDBOOT_DISK {
|
display "Allow RedBoot to support disks"
|
display "Allow RedBoot to support disks"
|
flavor bool
|
flavor bool
|
default_value 1
|
default_value 1
|
active_if { CYGINT_HAL_PLF_IF_IDE != 0 }
|
active_if { CYGINT_HAL_PLF_IF_IDE != 0 }
|
description "
|
description "
|
If this option is enabled then RedBoot will provide commands
|
If this option is enabled then RedBoot will provide commands
|
to load disk files."
|
to load disk files."
|
compile -library=libextras.a fs/disk.c
|
compile -library=libextras.a fs/disk.c
|
|
|
cdl_option CYGNUM_REDBOOT_MAX_DISKS {
|
cdl_option CYGNUM_REDBOOT_MAX_DISKS {
|
display "Maximum number of supported disks"
|
display "Maximum number of supported disks"
|
flavor data
|
flavor data
|
default_value 4
|
default_value 4
|
description "
|
description "
|
This option controls the number of disks supported by RedBoot."
|
This option controls the number of disks supported by RedBoot."
|
}
|
}
|
|
|
cdl_option CYGNUM_REDBOOT_MAX_PARTITIONS {
|
cdl_option CYGNUM_REDBOOT_MAX_PARTITIONS {
|
display "Maximum number of partitions per disk"
|
display "Maximum number of partitions per disk"
|
flavor data
|
flavor data
|
default_value 8
|
default_value 8
|
description "
|
description "
|
This option controls the maximum number of supported partitions per disk."
|
This option controls the maximum number of supported partitions per disk."
|
}
|
}
|
|
|
cdl_component CYGSEM_REDBOOT_DISK_IDE {
|
cdl_component CYGSEM_REDBOOT_DISK_IDE {
|
display "Support IDE disks."
|
display "Support IDE disks."
|
flavor bool
|
flavor bool
|
default_value 1
|
default_value 1
|
description "
|
description "
|
When this option is enabled, RedBoot will support IDE disks."
|
When this option is enabled, RedBoot will support IDE disks."
|
compile -library=libextras.a fs/ide.c
|
compile -library=libextras.a fs/ide.c
|
}
|
}
|
|
|
cdl_component CYGSEM_REDBOOT_DISK_EXT2FS {
|
cdl_component CYGSEM_REDBOOT_DISK_EXT2FS {
|
display "Support Linux second extended filesystems."
|
display "Support Linux second extended filesystems."
|
flavor bool
|
flavor bool
|
default_value 1
|
default_value 1
|
description "
|
description "
|
When this option is enabled, RedBoot will support IDE disks."
|
When this option is enabled, RedBoot will support IDE disks."
|
compile -library=libextras.a fs/e2fs.c
|
compile -library=libextras.a fs/e2fs.c
|
}
|
}
|
|
|
cdl_component CYGSEM_REDBOOT_DISK_ISO9660 {
|
cdl_component CYGSEM_REDBOOT_DISK_ISO9660 {
|
display "Support ISO9660 filesystems."
|
display "Support ISO9660 filesystems."
|
flavor bool
|
flavor bool
|
calculated 0
|
calculated 0
|
description "
|
description "
|
When this option is enabled, RedBoot will support ISO9660 filesystems."
|
When this option is enabled, RedBoot will support ISO9660 filesystems."
|
compile -library=libextras.a fs/iso9660fs.c
|
compile -library=libextras.a fs/iso9660fs.c
|
}
|
}
|
}
|
}
|
|
|
cdl_component CYGPKG_REDBOOT_BOOT_SCRIPT {
|
cdl_component CYGPKG_REDBOOT_BOOT_SCRIPT {
|
display "Boot scripting"
|
display "Boot scripting"
|
doc ref/persistent-state-flash.html
|
doc ref/persistent-state-flash.html
|
flavor none
|
flavor none
|
no_define
|
no_define
|
description "
|
description "
|
This contains options related to RedBoot's boot script
|
This contains options related to RedBoot's boot script
|
functionality."
|
functionality."
|
|
|
cdl_option CYGFUN_REDBOOT_BOOT_SCRIPT {
|
cdl_option CYGFUN_REDBOOT_BOOT_SCRIPT {
|
display "Boot scripting enabled"
|
display "Boot scripting enabled"
|
flavor bool
|
flavor bool
|
active_if { CYGDAT_REDBOOT_DEFAULT_BOOT_SCRIPT || \
|
active_if { CYGDAT_REDBOOT_DEFAULT_BOOT_SCRIPT || \
|
CYGSEM_REDBOOT_FLASH_CONFIG }
|
CYGSEM_REDBOOT_FLASH_CONFIG }
|
calculated 1
|
calculated 1
|
description "
|
description "
|
This option controls whether RedBoot boot script
|
This option controls whether RedBoot boot script
|
functionality is enabled."
|
functionality is enabled."
|
}
|
}
|
|
|
cdl_option CYGDAT_REDBOOT_DEFAULT_BOOT_SCRIPT {
|
cdl_option CYGDAT_REDBOOT_DEFAULT_BOOT_SCRIPT {
|
display "Use default RedBoot boot script"
|
display "Use default RedBoot boot script"
|
flavor booldata
|
flavor booldata
|
default_value 0
|
default_value 0
|
description "
|
description "
|
If enabled, this option will tell RedBoot to use the value of
|
If enabled, this option will tell RedBoot to use the value of
|
this option as a default boot script."
|
this option as a default boot script."
|
}
|
}
|
|
|
cdl_option CYGNUM_REDBOOT_BOOT_SCRIPT_TIMEOUT_RESOLUTION {
|
cdl_option CYGNUM_REDBOOT_BOOT_SCRIPT_TIMEOUT_RESOLUTION {
|
display "Resolution (in ms) for script timeout value."
|
display "Resolution (in ms) for script timeout value."
|
flavor data
|
flavor data
|
default_value 1000
|
default_value 1000
|
description "
|
description "
|
This option controls the resolution of the script timeout.
|
This option controls the resolution of the script timeout.
|
The value is specified in milliseconds (ms), thus to have the
|
The value is specified in milliseconds (ms), thus to have the
|
script timeout be defined in terms of tenths of seconds, use 100."
|
script timeout be defined in terms of tenths of seconds, use 100."
|
}
|
}
|
|
|
cdl_option CYGNUM_REDBOOT_BOOT_SCRIPT_DEFAULT_TIMEOUT {
|
cdl_option CYGNUM_REDBOOT_BOOT_SCRIPT_DEFAULT_TIMEOUT {
|
display "Script default timeout value"
|
display "Script default timeout value"
|
flavor data
|
flavor data
|
default_value 10
|
default_value 10
|
description "
|
description "
|
This option is used to set the default timeout for startup
|
This option is used to set the default timeout for startup
|
scripts, when they are enabled."
|
scripts, when they are enabled."
|
}
|
}
|
}
|
}
|
|
|
cdl_option CYGPRI_REDBOOT_ROM_MONITOR {
|
cdl_option CYGPRI_REDBOOT_ROM_MONITOR {
|
display "Behave like a ROM monitor"
|
display "Behave like a ROM monitor"
|
active_if { CYG_HAL_STARTUP == "ROM" || CYG_HAL_STARTUP == "ROMRAM" }
|
active_if { CYG_HAL_STARTUP == "ROM" || CYG_HAL_STARTUP == "ROMRAM" }
|
requires CYGSEM_HAL_ROM_MONITOR
|
requires CYGSEM_HAL_ROM_MONITOR
|
calculated 1
|
calculated 1
|
no_define
|
no_define
|
description "
|
description "
|
Enabling this option will allow RedBoot to provide ROM monitor-style
|
Enabling this option will allow RedBoot to provide ROM monitor-style
|
services to programs which it executes."
|
services to programs which it executes."
|
}
|
}
|
|
|
cdl_component CYGSEM_REDBOOT_BSP_SYSCALLS {
|
cdl_component CYGSEM_REDBOOT_BSP_SYSCALLS {
|
display "Allow RedBoot to handle GNUPro application 'syscalls'."
|
display "Allow RedBoot to handle GNUPro application 'syscalls'."
|
flavor bool
|
flavor bool
|
default_value 0
|
default_value 0
|
description "
|
description "
|
If this option is enabled then RedBoot will install a syscall handler
|
If this option is enabled then RedBoot will install a syscall handler
|
to support debugging of applications based on GNUPro newlib/bsp."
|
to support debugging of applications based on GNUPro newlib/bsp."
|
|
|
cdl_option CYGSEM_REDBOOT_BSP_SYSCALLS_GPROF {
|
cdl_option CYGSEM_REDBOOT_BSP_SYSCALLS_GPROF {
|
display "Support additional syscalls for 'gprof' profiling"
|
display "Support additional syscalls for 'gprof' profiling"
|
flavor bool
|
flavor bool
|
default_value 1
|
default_value 1
|
active_if { 0 < CYGINT_REDBOOT_BSP_SYSCALLS_GPROF_SUPPORT }
|
active_if { 0 < CYGINT_REDBOOT_BSP_SYSCALLS_GPROF_SUPPORT }
|
description "
|
description "
|
Support additional syscalls to support a periodic callback
|
Support additional syscalls to support a periodic callback
|
function for histogram-style profiling, and an enquire/set
|
function for histogram-style profiling, and an enquire/set
|
of the tick rate.
|
of the tick rate.
|
The application must use the GNUPro newlib facilities
|
The application must use the GNUPro newlib facilities
|
to set this up."
|
to set this up."
|
}
|
}
|
|
|
cdl_interface CYGINT_REDBOOT_BSP_SYSCALLS_GPROF_SUPPORT {
|
cdl_interface CYGINT_REDBOOT_BSP_SYSCALLS_GPROF_SUPPORT {
|
display "Does the HAL support 'gprof' profiling?"
|
display "Does the HAL support 'gprof' profiling?"
|
no_define
|
no_define
|
}
|
}
|
}
|
}
|
|
|
cdl_component CYGOPT_REDBOOT_FIS_ZLIB_COMMON_BUFFER {
|
cdl_component CYGOPT_REDBOOT_FIS_ZLIB_COMMON_BUFFER {
|
display "Use a common buffer for Zlib and FIS"
|
display "Use a common buffer for Zlib and FIS"
|
flavor bool
|
flavor bool
|
active_if { CYGBLD_BUILD_REDBOOT_WITH_ZLIB && \
|
active_if { CYGBLD_BUILD_REDBOOT_WITH_ZLIB && \
|
CYGOPT_REDBOOT_FIS }
|
CYGOPT_REDBOOT_FIS }
|
default_value 0
|
default_value 0
|
description "
|
description "
|
Use a common memory buffer for both the zlib workspace
|
Use a common memory buffer for both the zlib workspace
|
and FIS directory operations. This can save a substantial
|
and FIS directory operations. This can save a substantial
|
amount of RAM, especially when flash sectors are large."
|
amount of RAM, especially when flash sectors are large."
|
|
|
cdl_option CYGNUM_REDBOOT_FIS_ZLIB_COMMON_BUFFER_SIZE {
|
cdl_option CYGNUM_REDBOOT_FIS_ZLIB_COMMON_BUFFER_SIZE {
|
display "Size of Zlib/FIS common buffer"
|
display "Size of Zlib/FIS common buffer"
|
flavor data
|
flavor data
|
default_value 0xc000
|
default_value 0xc000
|
legal_values 0x4000 to 0x80000000
|
legal_values 0x4000 to 0x80000000
|
description "
|
description "
|
Size of common buffer to allocate. Must be at least the
|
Size of common buffer to allocate. Must be at least the
|
size of one flash sector."
|
size of one flash sector."
|
}
|
}
|
}
|
}
|
}
|
}
|
}
|
}
|
|
|
# EOF redboot.cdl
|
# EOF redboot.cdl
|
|
|