📄 redboot.cdl
字号:
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 { (CYGHWR_REDBOOT_FLASH_CONFIG_MEDIA == "FLASH") } 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_component CYGPKG_REDBOOT_FILEIO { display "Allow RedBoot to support fileio" flavor bool default_value 1 active_if CYGPKG_IO_FILEIO description " If this option is enabled then RedBoot will provide commands to load files from fileio file systems such as JFFS2." compile -library=libextras.a fs/fileio.c } cdl_component CYGPKG_REDBOOT_DISK { display "Allow RedBoot to support disks" flavor bool default_value 1 description " If this option is enabled then RedBoot will provide commands to load disk files." cdl_option CYGSEM_REDBOOT_DISK { display "Include Redboot commands for disk access" default_value { CYGINT_REDBOOT_DISK_DRIVERS != 0 } compile -library=libextras.a fs/disk.c } cdl_interface CYGINT_REDBOOT_DISK_DRIVERS { display "Hardware drivers for disk-type devices" } 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 active_if { CYGINT_HAL_PLF_IF_IDE != 0 } description " When this option is enabled, RedBoot will support IDE disks." compile -library=libextras.a fs/ide.c implements CYGINT_REDBOOT_DISK_DRIVERS } 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 CYGSEM_REDBOOT_RTC { display "Support RTC for time & date functions" active_if { CYGPKG_IO_WALLCLOCK } default_value 1 description " When this option is enabled, RedBoot will support commands to query and set the real time clock (time and date)" compile -library=libextras.a time_date.cxx } 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_option CYGOPT_REDBOOT_BSP_SYSCALLS_EXIT_WITHOUT_TRAP { display "Do not raise SIGTRAP when program exits" default_value 0 description " For some (single shot) newlib based programs, exiting and returning a termination status may be the normal expected behavior." } } 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 + -