📄 redboot.cdl
字号:
This IP address mask is the default used by RedBoot if a BOOTP/DHCP server does not respond. The numbers should be separated by *commas*, and not dots. If an IP address is configured into the Flash configuration, that will be used in preference." } } cdl_option CYGNUM_REDBOOT_NETWORKING_TCP_PORT { display "TCP port to listen for incoming connections" flavor data default_value 9000 description " RedBoot will 'listen' on this port for incoming TCP connections. This allows outside connections to be made to the platform, either for GDB or RedBoot commands." } cdl_option CYGNUM_REDBOOT_NETWORKING_MAX_PKTBUF { display "Number of \[network\] packet buffers" flavor data default_value 4 legal_values 3 to 8 description " RedBoot may need to buffer network data to support various connections. This option allows control over the number of such buffered packets, and in turn, controls the amount of memory used by RedBoot (which is not available to user applications). Each packet buffer takes up about 1514 bytes. Note: there is little need to make this larger than the default." } cdl_component CYGPKG_REDBOOT_NETWORKING_DNS { display "DNS support" default_value 1 requires CYGPKG_NS_DNS requires !CYGPKG_NS_DNS_BUILD compile net/dns.c description " When this option is enabled, RedBoot will be built with support for DNS, allowing use of hostnames on the command line." cdl_option CYGPKG_REDBOOT_NETWORKING_DNS_IP { display "Default DNS IP" flavor data active_if !CYGSEM_REDBOOT_FLASH_CONFIG default_value { "0.0.0.0" } description " This option sets the IP of the default DNS. The IP can be changed at runtime as well." } cdl_option CYGNUM_REDBOOT_NETWORKING_DNS_TIMEOUT { display "Timeout in DNS lookup" flavor data default_value 10 description " This option sets the timeout used when looking up an address via the DNS. Default is 10 seconds." } } } cdl_option CYGPKG_REDBOOT_ANY_CONSOLE { display "Allow RedBoot to use any I/O channel for its console." flavor bool default_value 1 description " If this option is enabled then RedBoot will attempt to use all defined serial I/O channels for its console device. Once input arrives at one of these channels then the console will use only that port." } cdl_option CYGSEM_REDBOOT_VARIABLE_BAUD_RATE { display "Allow RedBoot to adjust the baud rate on the serial console." flavor bool default_value 1 active_if CYGINT_HAL_VIRTUAL_VECTOR_COMM_BAUD_SUPPORT description " If this option is enabled then RedBoot will support commands to set and query the baud rate on the selected console." } cdl_option CYGPKG_REDBOOT_MAX_CMD_LINE { display "Maximum command line length" flavor data default_value 256 description " This option allows control over how long the CLI command line should be. This space will be allocated statically rather than from RedBoot's stack." } cdl_option CYGNUM_REDBOOT_CLI_IDLE_TIMEOUT { display "Command processing idle timeout (ms)" flavor data default_value 10 description " This option controls the timeout period before the command processing is considered 'idle'. Making this number smaller will cause idle processing to take place more often, etc. The default value of 10ms is a reasonable tradeoff between responsiveness and overhead." } cdl_option CYGNUM_REDBOOT_LOAD_ZLIB_BUFFER { display "Size of zlib decompression buffer" active_if CYGPKG_COMPRESS_ZLIB flavor data default_value 64 legal_values 5 to 256 description " This is the size of the buffer filled with incoming data during load before calls are made to the decompressor function. For ethernet downloads this can be made bigger (at the cost of memory), but for serial downloads on slow processors it may be necessary to reduce the size to avoid serial overruns. zlib appears to bail out if less than five bytes are available initially so this is the minimum." } cdl_option CYGSEM_REDBOOT_VALIDATE_USER_RAM_LOADS { display "Validate RAM addresses during load" flavor bool default_value 1 description " This option controls whether or not RedBoot will make sure that memory being used by the \"load\" command is in fact in user RAM. Leaving the option enabled makes for a safer environment, but this check may not be valid on all platforms, thus the ability to disable it. ** Disable this only with great care **" } cdl_component CYGPKG_REDBOOT_FLASH { display "Allow RedBoot to support FLASH programming" flavor bool default_value 1 active_if CYGHWR_IO_FLASH_DEVICE description " If this option is enabled then RedBoot will provide commands to manage images in FLASH memory. These images can be loaded into memory for execution or executed in place." compile -library=libextras.a flash.c cdl_option CYGBLD_REDBOOT_MIN_IMAGE_SIZE { display "Minimum image size" flavor data default_value 0x20000 description " This option controls the minimum length of images kept by the FIS. In particular, it should be large enough to hold the RedBoot primary image itself, as well as be a natural multiple of the FLASH erase block size." } cdl_option CYGBLD_REDBOOT_FLASH_BOOT_OFFSET { display "Offset from start of FLASH to RedBoot boot image" flavor data default_value CYGNUM_REDBOOT_FLASH_RESERVED_BASE requires { CYGNUM_REDBOOT_FLASH_RESERVED_BASE <= \ CYGBLD_REDBOOT_FLASH_BOOT_OFFSET } description " This option controls where the RedBoot boot image is located relative to the start of FLASH." } cdl_option CYGNUM_REDBOOT_FLASH_RESERVED_BASE { display "Size of reserved area at start of FLASH" flavor data default_value 0 description " This option reserves an area at the start of FLASH where RedBoot will never interfere; it is expected that this area contains (non-RedBoot-based) POST code or some other boot monitor that executes before RedBoot." } cdl_option CYGOPT_REDBOOT_FIS { display "RedBoot Flash Image System support" default_value 1 doc ref/flash-image-system.html description " This option enables the Flash Image System commands and support within RedBoot. If disabled, simple Flash access commands such as \"fis write\" will still exist. This option would be disabled for targets that need simple FLASH manipulation, but do not have the need or space for complete image management." } cdl_component CYGPKG_REDBOOT_FIS_CONTENTS { display "Flash Image System default directory contents" active_if CYGOPT_REDBOOT_FIS calculated 1 cdl_option CYGNUM_REDBOOT_FIS_DIRECTORY_BLOCK { display "Flash block containing the Directory" flavor data default_value (-1) description " Which block of flash should hold the directory information. Positive numbers are absolute block numbers. Negative block numbers count backwards from the last block. eg 2 means block 2, -2 means the last but one block." } cdl_option CYGOPT_REDBOOT_FIS_RESERVED_BASE { display "Pseudo-file to describe reserved area" active_if { 0 != CYGNUM_REDBOOT_FLASH_RESERVED_BASE } default_value 1 description " If an area of FLASH is reserved, it is informative to have a fis entry describing it. This option controls creation of such an entry by default in the fis init command." } cdl_option CYGOPT_REDBOOT_FIS_REDBOOT { display "File to describe RedBoot boot image" default_value 1 description " Normally a ROM-startup RedBoot image is first in the FLASH, and the system boots using that image. This option controls creation of an entry describing it in the fis init command. It might be disabled if a platform has an immutable boot image of its own, where we use a POST-startup RedBoot instead, which performs less board initialization." } cdl_component CYGOPT_REDBOOT_FIS_REDBOOT_POST { display "File to describe RedBoot POST-compatible image" default_value !CYGOPT_REDBOOT_FIS_REDBOOT description " This option controls creation of an entry describing a POST-startup RedBoot image in the fis init command. Not all platforms support POST-startup. A platform might have both for testing purposes, where the eventual user would substitute their own POST code for the initial ROM-startup RedBoot, and then jump to the POST-compatible RedBoot immediately following." cdl_option CYGNUM_REDBOOT_FIS_REDBOOT_POST_OFFSET { display "Offset of POST image from FLASH start" flavor booldata default_value 0 requires { CYGNUM_REDBOOT_FIS_REDBOOT_POST_OFFSET >= \ CYGBLD_REDBOOT_FLASH_BOOT_OFFSET } description " This option specifies the offset for a POST image from the start of FLASH. If unset, then the fis entry describing the POST image will be placed where convenient." } } cdl_option CYGOPT_REDBOOT_FIS_REDBOOT_BACKUP { display "File to describe RedBoot backup image" default_value 0 description " This option controls creation of an entry describing a backup RedBoot image in the fis init command. Conventionally a RAM-startup RedBoot image is kept under this name for use in updating the ROM-based RedBoot that boots the board." } cdl_option CYGOPT_REDBOOT_FIS_DIRECTORY_ARM_SIB_ID { display "Include ARM SIB ID in FIS" default_value 0 description " If set, this option will cause the last 5 words of the FIS to include the special ID needed for the flash to be recognized as a reserved area for RedBoot by an ARM BootRom monitor." } cdl_option CYGNUM_REDBOOT_FIS_DIRECTORY_ENTRY_SIZE { display "Size of FIS directory entry" flavor data default_value 256 description " The FIS directory is limited to one single flash sector. If your flash has tiny sectors, you may wish to reduce this value in order to get more slots in the FIS directory." } } cdl_component CYGSEM_REDBOOT_FLASH_CONFIG {
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -