⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 redboot.cdl

📁 eCos操作系统源码
💻 CDL
📖 第 1 页 / 共 4 页
字号:
# ====================================================================##      redboot.cdl##      Redboot package configuration data## ====================================================================#####ECOSGPLCOPYRIGHTBEGIN###### -------------------------------------------## This file is part of eCos, the Embedded Configurable Operating System.## Copyright (C) 1998, 1999, 2000, 2001, 2002 Red Hat, Inc.## Copyright (C) 2002, 2003, 2004 Gary Thomas#### 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## 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## WARRANTY; without even the implied warranty of MERCHANTABILITY or## FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License## for more details.#### You should have received a copy of the GNU General Public License along## with eCos; if not, write to the Free Software Foundation, Inc.,## 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.#### 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## 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## License. However the source code for this file must still be made available## 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 file might be covered by the GNU General Public License.#### Alternative licenses for eCos may be arranged by contacting Red Hat, Inc.## at http://sources.redhat.com/ecos/ecos-license/## -------------------------------------------#####ECOSGPLCOPYRIGHTEND##### ====================================================================######DESCRIPTIONBEGIN###### Author(s):      gthomas# Original data:  gthomas# Contributors:   Philippe Robin, Andrew Lunn, tkoeller# Date:           2000-05-01######DESCRIPTIONEND###### ====================================================================cdl_package CYGPKG_REDBOOT {    display       "Redboot ROM monitor"    doc           ref/redboot.html    define_header redboot.h    description   "           This package supports the Redboot \[stand-alone debug monitor\]           using eCos as the underlying board support mechanism."    # Use of separate interrupt stack causes problems when running    # programs as they can end up trashing RedBoot's stack    requires { CYGIMP_HAL_COMMON_INTERRUPTS_USE_INTERRUPT_STACK == 0 }    # Since the CYGDAT_REDBOOT_CONSOLE_DEV setting ends up in the platform    # HAL header, we need to include that here (via hal.h).    define_proc {        puts $::cdl_header "#include <pkgconf/hal.h>"    }    cdl_option CYGSEM_REDBOOT_ELF {        flavor bool        display       "Include support for ELF file format"        default_value 1    }    cdl_interface CYGINT_REDBOOT_LOAD_METHOD {        display "Methods of loading images using redboot"    }    cdl_component CYGBLD_BUILD_REDBOOT {        display "Build Redboot ROM ELF image"        default_value 0        requires CYGPKG_INFRA        requires CYGPKG_ISOINFRA        requires ! CYGDBG_HAL_DEBUG_GDB_CTRLC_SUPPORT        requires ! CYGDBG_HAL_COMMON_INTERRUPTS_SAVE_MINIMUM_CONTEXT        requires ! CYGDBG_HAL_COMMON_CONTEXT_SAVE_MINIMUM        requires CYGSEM_HAL_VIRTUAL_VECTOR_SUPPORT        requires CYGINT_ISO_STRING_MEMFUNCS         requires CYGINT_ISO_STRING_STRFUNCS        requires CYGINT_REDBOOT_LOAD_METHOD        cdl_option CYGBLD_BUILD_REDBOOT_WITH_GDB {            display       "Include GDB support in RedBoot"            no_define            default_value 1            active_if     CYGINT_HAL_DEBUG_GDB_STUBS            requires      CYGDBG_HAL_DEBUG_GDB_INCLUDE_STUBS            requires      CYGDBG_HAL_DEBUG_GDB_BREAK_SUPPORT            description "              RedBoot normally includes support for the GDB debugging protocols.              This option allows this to be disabled which may yield a substantial              savings in terms of code and memory usage by RedBoot."        }        cdl_option CYGBLD_BUILD_REDBOOT_WITH_THREADS {            display "Threads debugging support"            no_define            description "              Enabling this option will include special code in the GDB stubs to              support debugging of threaded programs.  In the case of eCos programs,              this support allows GDB to have complete access to the eCos threads              in the program."            active_if { CYG_HAL_STARTUP != "RAM" }            requires  CYGDBG_HAL_DEBUG_GDB_THREAD_SUPPORT        }        cdl_option CYGDAT_REDBOOT_CUSTOM_VERSION {            display        "Customized version string"            flavor         booldata            default_value  0            description    "              Use this option to define a customized version \"string\" for              RedBoot.  Note: this value is only cosmetic, displayed by the              \"version\" command, but is useful for providing site specific              information about the RedBoot configuration."        }        cdl_option CYGNUM_REDBOOT_CMD_LINE_EDITING {            display          "Enable command line editing"            flavor           data            default_value    16            description      "               If this option is non-zero, RedBoot will remember the last N command               lines.  These lines may be reused.  Enabling this history will also               enable rudimentary editting of the lines themselves."        }        cdl_option CYGBLD_REDBOOT_CMD_LINE_HISTORY {            display        "Enable history command and expansion"            requires       { CYGNUM_REDBOOT_CMD_LINE_EDITING > 0 }            flavor         bool            default_value  1            description  "              Enabling this option will allow RedBoot to provide a history command              to list previous commands. Also enables history expansion via '!'              character similar to bash shell."        }        cdl_option CYGBLD_REDBOOT_MAX_MEM_SEGMENTS {            display        "Number of unique RAM segments on platform"            flavor         data            default_value  1            description  "              Change this option to be the number of memory segments which are              supported by the platform.  If the value is greater than 1, then              a platform specific function must provide information about the              additional segments."        }            cdl_component CYGBLD_BUILD_REDBOOT_WITH_ZLIB {            display       "Include support gzip/zlib decompression"            active_if     CYGPKG_COMPRESS_ZLIB            default_value 1            implements    CYGINT_COMPRESS_ZLIB_LOCAL_ALLOC            compile       decompress.c            cdl_option CYGNUM_REDBOOT_LOAD_ZLIB_BUFFER {                display       "Size of zlib decompression buffer"                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 CYGPRI_REDBOOT_ZLIB_FLASH {                 display       "Support compression of Flash images"                 active_if     CYGPKG_REDBOOT_FLASH                 active_if     !CYGSEM_IO_FLASH_READ_INDIRECT                 calculated    1                 description   "                        This CDL indicates whether flash images can                        be decompressed from gzip/zlib format into RAM."            }        }        cdl_option CYGBLD_BUILD_REDBOOT_WITH_XYZMODEM {            display       "Include support for xyzModem downloads"            doc           ref/download-command.html            no_define            default_value 1            implements    CYGINT_REDBOOT_LOAD_METHOD            compile -library=libextras.a xyzModem.c        }        cdl_option CYGBLD_BUILD_REDBOOT_WITH_CKSUM {            display       "Include POSIX checksum command"            doc           ref/cksum-command.html            default_value 1            compile -library=libextras.a cksum.c        }        cdl_option CYGBLD_BUILD_REDBOOT_WITH_MFILL {            display       "Include memory fill command"            doc           ref/mfill-command.html            default_value 1            compile -library=libextras.a mfill.c        }        cdl_option CYGBLD_BUILD_REDBOOT_WITH_MCMP {            display       "Include memory compare command"            doc           ref/mcmp-command.html            default_value 1            compile -library=libextras.a mcmp.c        }        cdl_option CYGBLD_BUILD_REDBOOT_WITH_MCOPY {            display       "Include memory copy command"            doc           ref/mcopy-command.html            default_value 1            compile -library=libextras.a mcopy.c        }        cdl_option CYGBLD_BUILD_REDBOOT_WITH_DUMP {            display       "Include memory dump command"            doc           ref/dump-command.html            default_value 1            compile -library=libextras.a dump.c        }        cdl_option CYGBLD_BUILD_REDBOOT_WITH_CACHES {            display       "Include cache command"            doc           ref/cache-command.html            default_value 1            compile -library=libextras.a caches.c        }        cdl_option CYGBLD_BUILD_REDBOOT_WITH_EXEC {            display       "Include exec command"            doc           ref/exec-command.html            default_value 1            # Implemented within the platform HAL        }        no_define        description "This option enables the building of the Redboot ELF image.                     The image may require further relocation or symbol                     stripping before being converted to a binary image.                     This is handled by a rule in the target CDL."            cdl_option CYGDBG_REDBOOT_TICK_GRANULARITY {            display          "Granularity of timer/ticks"            flavor           data            legal_values     { 50 100 250 500 1000 }	            default_value    250

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -