📄 redboot.cdl
字号:
display "Keep RedBoot configuration data in FLASH" flavor bool default_value 1 description " When this option is enabled, RedBoot will keep configuration data in a separate block of FLASH memory. This data will include such items as the node IP address or startup scripts." cdl_option CYGNUM_REDBOOT_FLASH_CONFIG_SIZE { display "Length of configuration data in FLASH" flavor data default_value 4096 description " This option is used to control the amount of memory and FLASH to be used for configuration options (persistent storage)." } cdl_option CYGSEM_REDBOOT_FLASH_COMBINED_FIS_AND_CONFIG { display "Merged config data and FIS directory" flavor bool active_if CYGOPT_REDBOOT_FIS default_value 0 description " If this option is set, then the FIS directory and FLASH configuration database will be stored in the same physical FLASH block." } cdl_option CYGNUM_REDBOOT_FLASH_CONFIG_BLOCK { display "Which block of flash to use" flavor data default_value (-2) description " Which block of flash should hold the configuration 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 CYGSEM_REDBOOT_FLASH_ALIASES { display "Support simple macros/aliases in FLASH" flavor bool default_value 1 description " This option is used to allow support for simple text-based macros (aliases). These aliases are kept in the FLASH configuration data (persistent storage)." } cdl_option CYGNUM_REDBOOT_FLASH_STRING_SIZE { display "Length of strings in FLASH configuration data" flavor data default_value 128 description " This option is used to control the amount of memory and FLASH to be used for string configuration options (persistent storage)." } cdl_option CYGNUM_REDBOOT_FLASH_SCRIPT_SIZE { display "Length of configuration script(s) in FLASH" flavor data default_value 512 description " This option is used to control the amount of memory and FLASH to be used for configuration options (persistent storage)." } cdl_option CYGSEM_REDBOOT_FLASH_CONFIG_READONLY_FALLBACK { display "Fallback to read-only FLASH configuration" flavor bool default_value 1 description " This option will cause the configuration information to revert to the readonly information stored in the FLASH. The option only takes effect after 1) the config_ok flag has been set to be true, indicating that at one time the copy in RAM was valid; and 2) the information in RAM has been verified to be invalid" } } cdl_option CYGSEM_REDBOOT_FLASH_LOCK_SPECIAL { display "Keep all RedBoot FLASH data blocks locked." flavor bool default_value 1 active_if { CYGHWR_IO_FLASH_BLOCK_LOCKING != 0 } description " When this option is enabled, RedBoot will keep configuration data and the FIS directory blocks implicitly locked. While this is somewhat safer, it does add overhead during updates." } cdl_option CYGSEM_REDBOOT_FIS_CRC_CHECK { display "Use CRC checksums on FIS images." flavor bool default_value 1 description " When this option is enabled, RedBoot will use CRC checksums when reading and writing flash images." } cdl_interface CYGINT_REDBOOT_ARM_FLASH_SIB_SUPPORTED { display "ARM FLASH drivers support SIB flash block structure" active_if CYGPKG_HAL_ARM description "This interface is implemented by a flash driver to indicate that it supports the ARM SIB flash block structure" } cdl_option CYGHWR_REDBOOT_ARM_FLASH_SIB { display "Use ARM SIB flash block structure" flavor bool active_if CYGINT_REDBOOT_ARM_FLASH_SIB_SUPPORTED default_value 1 description " This option is used to interpret ARM Flash System information blocks." } } cdl_component CYGPKG_REDBOOT_DISK { display "Allow RedBoot to support disks" flavor bool default_value 1 active_if { CYGINT_HAL_PLF_IF_IDE != 0 } description " If this option is enabled then RedBoot will provide commands to load disk files." compile -library=libextras.a fs/disk.c cdl_option CYGNUM_REDBOOT_MAX_DISKS { display "Maximum number of supported disks" flavor data default_value 4 description " This option controls the number of disks supported by RedBoot." } cdl_option CYGNUM_REDBOOT_MAX_PARTITIONS { display "Maximum number of partitions per disk" flavor data default_value 8 description " This option controls the maximum number of supported partitions per disk." } cdl_component CYGSEM_REDBOOT_DISK_IDE { display "Support IDE disks." flavor bool default_value 1 description " When this option is enabled, RedBoot will support IDE disks." compile -library=libextras.a fs/ide.c } cdl_component CYGSEM_REDBOOT_DISK_EXT2FS { display "Support Linux second extended filesystems." flavor bool default_value 1 description " When this option is enabled, RedBoot will support IDE disks." compile -library=libextras.a fs/e2fs.c } cdl_component CYGSEM_REDBOOT_DISK_ISO9660 { display "Support ISO9660 filesystems." flavor bool calculated 0 description " When this option is enabled, RedBoot will support ISO9660 filesystems." compile -library=libextras.a fs/iso9660fs.c } } cdl_component CYGPKG_REDBOOT_BOOT_SCRIPT { display "Boot scripting" doc ref/persistent-state-flash.html flavor none no_define description " This contains options related to RedBoot's boot script functionality." cdl_option CYGFUN_REDBOOT_BOOT_SCRIPT { display "Boot scripting enabled" flavor bool active_if { CYGDAT_REDBOOT_DEFAULT_BOOT_SCRIPT || \ CYGSEM_REDBOOT_FLASH_CONFIG } calculated 1 description " This option controls whether RedBoot boot script functionality is enabled." } cdl_option CYGDAT_REDBOOT_DEFAULT_BOOT_SCRIPT { display "Use default RedBoot boot script" flavor booldata default_value 0 description " If enabled, this option will tell RedBoot to use the value of this option as a default boot script." } cdl_option CYGNUM_REDBOOT_BOOT_SCRIPT_TIMEOUT_RESOLUTION { display "Resolution (in ms) for script timeout value." flavor data default_value 1000 description " This option controls the resolution of the script timeout. The value is specified in milliseconds (ms), thus to have the script timeout be defined in terms of tenths of seconds, use 100." } cdl_option CYGNUM_REDBOOT_BOOT_SCRIPT_DEFAULT_TIMEOUT { display "Script default timeout value" flavor data default_value 10 description " This option is used to set the default timeout for startup scripts, when they are enabled." } } cdl_option CYGPRI_REDBOOT_ROM_MONITOR { display "Behave like a ROM monitor" active_if { CYG_HAL_STARTUP == "ROM" || CYG_HAL_STARTUP == "ROMRAM" } requires CYGSEM_HAL_ROM_MONITOR calculated 1 no_define description " Enabling this option will allow RedBoot to provide ROM monitor-style services to programs which it executes." } cdl_component CYGSEM_REDBOOT_BSP_SYSCALLS { display "Allow RedBoot to handle GNUPro application 'syscalls'." flavor bool default_value 0 description " If this option is enabled then RedBoot will install a syscall handler to support debugging of applications based on GNUPro newlib/bsp." cdl_option CYGSEM_REDBOOT_BSP_SYSCALLS_GPROF { display "Support additional syscalls for 'gprof' profiling" flavor bool default_value 1 active_if { 0 < CYGINT_REDBOOT_BSP_SYSCALLS_GPROF_SUPPORT } description " Support additional syscalls to support a periodic callback function for histogram-style profiling, and an enquire/set of the tick rate. The application must use the GNUPro newlib facilities to set this up." } cdl_interface CYGINT_REDBOOT_BSP_SYSCALLS_GPROF_SUPPORT { display "Does the HAL support 'gprof' profiling?" no_define } } cdl_component CYGOPT_REDBOOT_FIS_ZLIB_COMMON_BUFFER { display "Use a common buffer for Zlib and FIS" flavor bool active_if { CYGBLD_BUILD_REDBOOT_WITH_ZLIB && \ CYGOPT_REDBOOT_FIS } default_value 0 description " Use a common memory buffer for both the zlib workspace and FIS directory operations. This can save a substantial amount of RAM, especially when flash sectors are large." cdl_option CYGNUM_REDBOOT_FIS_ZLIB_COMMON_BUFFER_SIZE { display "Size of Zlib/FIS common buffer" flavor data default_value 0xc000 legal_values 0x4000 to 0x80000000 description " Size of common buffer to allocate. Must be at least the size of one flash sector." } } }}# EOF redboot.cdl
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -