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

📄 redboot.cdl

📁 ecos实时嵌入式操作系统
💻 CDL
📖 第 1 页 / 共 3 页
字号:
# ====================================================================##      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 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."    # 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# 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_BREAK_SUPPORT }#        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 ! 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_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_BUILD_REDBOOT_WITH_ZLIB {            display       "Include support gzip/zlib decompression"            active_if     CYGPKG_COMPRESS_ZLIB            no_define            default_value 1            implements    CYGINT_COMPRESS_ZLIB_LOCAL_ALLOC            compile       decompress.c        }        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_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."        compile main.c        compile misc_funs.c io.c parse.c ticks.c syscall.c alias.c        compile -library=libextras.a load.c        make -priority 320 {            <PREFIX>/bin/redboot.elf : $(PREFIX)/lib/target.ld $(PREFIX)/lib/vectors.o $(PREFIX)/lib/libtarget.a $(PREFIX)/lib/libextras.a                    @sh -c "mkdir -p $(dir $@)"                    $(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        }        cdl_component CYGPKG_REDBOOT_NETWORKING {            display       "Redboot Networking"            flavor        bool            active_if     CYGPKG_IO_ETH_DRIVERS            default_value 1            implements    CYGINT_REDBOOT_LOAD_METHOD            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/net_io.c net/inet_addr.c            compile -library=libextras.a net/ping.c net/tftp_client.c             description "This option includes networking support in RedBoot."            define_proc {                puts $::cdl_system_header "#define CYGNUM_HAL_VIRTUAL_VECTOR_AUX_CHANNELS 1"            }                cdl_option CYGDBG_REDBOOT_NET_DEBUG {                display          "Print net debug information"                flavor           bool                default_value    0                description      "                    This option is overriden by the configuration stored in flash."            }                cdl_option CYGSEM_REDBOOT_NET_HTTP_DOWNLOAD {                display          "Support HTTP for download"                flavor           bool                default_value    1                compile          -library=libextras.a net/http_client.c                description      "                    This option enables the use of the HTTP protocol for download"            }                cdl_component CYGDAT_REDBOOT_DEFAULT_IP_ADDR {                display          "Default IP address"                flavor           booldata                default_value    CYGSEM_REDBOOT_FLASH_CONFIG ? 0 : \                                    { "0, 0, 0, 0" }                description      "                    This IP address 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 CYGSEM_REDBOOT_DEFAULT_NO_BOOTP {                     display          "Do not try to use BOOTP"                     flavor           bool                     default_value    0                     description      "                         By default Redboot tries to use BOOTP to get an IP                         address. If there's no BOOTP server on your network                         use this option to avoid to wait until the                         timeout. This option is overriden by the                         configuration stored in flash."                }            }                cdl_component CYGSEM_REDBOOT_NETWORKING_USE_GATEWAY {                display          "Use a gateway for non-local IP traffic"                flavor           bool                default_value    1                description      "                  Enabling this option will allow the RedBoot networking                stack to use a \[single\] gateway to reach a non-local                IP address.  If disabled, RedBoot will only be able to                reach nodes on the same subnet."                    cdl_component CYGDAT_REDBOOT_DEFAULT_GATEWAY_IP_ADDR {                    display          "Default gateway IP address"                    flavor           booldata                    default_value    CYGSEM_REDBOOT_FLASH_CONFIG ? 0 : \                                        { "0, 0, 0, 0" }                    description      "                        This IP address 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_component CYGDAT_REDBOOT_DEFAULT_IP_ADDR_MASK {                    display          "Default IP address mask"                    flavor           booldata                    default_value    CYGSEM_REDBOOT_FLASH_CONFIG ? 0 : \                                        { "255, 255, 255, 0" }                    description      "

⌨️ 快捷键说明

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