changelog
来自「ecos实时嵌入式操作系统」· 代码 · 共 1,963 行 · 第 1/5 页
TXT
1,963 行
* src/xyzModem.c (xyzModem_stream_read): BUG 57497 Try and detect (and remove) ^Z characters placed at end of stream. This data confuses higher processing, like the zlib decompression routines.2001-12-16 Mark Salter <msalter@redhat.com> * src/fs/ide.c: Add ATAPI support. * include/fs/ide.h: Add ATAPI defines. * src/fs/disk.c (disk_stream_open): Fix support for IDE CDROMs. (disk_parse_filename): Ditto.2001-12-12 Hugo Tyson <hmt@redhat.com> * cdl/redboot.cdl (CYGDBG_REDBOOT_NET_DEBUG_CONSOLE_NUMBER): New option to control the console number for network debug messages. For platforms where serial0 is supported (due to common variant HAL code) but not connected; serial1 is all you get, say. * src/net/net_io.c (start_console): Use it.2001-12-10 Nick Garnett <nickg@redhat.com> * src/net/cksum.c (__pseudo_sum): Fixed method of adding protocol field to checksum. Some compilers optimize some of this away to give a bogus result.2001-12-06 Jesper Skov <jskov@redhat.com> * src/load.c (do_load): Fix warning. * src/main.c: Added support for dumping memory in 16 and 32 bit units. Based on patch from Warren Jasper <warrenj@bops.com>.2001-12-05 Hugo Tyson <hmt@redhat.com> * src/flash.c (get_config): If we are editing an IP address, and it is 0.0.0.0 (as you get at "fco -i" time) suppress using that as the initial value of the string, it is unhelpful as a starting point for line editing. If we were given a value on the CLI eg. "fco bootp false" because the new value was copied into the holding string, it was not recognized as a change, so the flash was not updated. Bug! The fix is to change the order of the strcpy()s so that holdline is before line. If the input line for a new value is completely blank, and the type is not string, take this to mean don't change the value. Otherwise typing in an empty line to an IP address goes off and tries to DNS resolve it there and then, looks like a hang. (do_flash_config): If we print the message "** invalid entry" do not just loop; set onevalue = NULL so that the user is prompted for a good value. Otherwise it loops forever trying the same value if you typed "fco bootp goat" (goat being a bad boolean). * src/parse.c (parse_bool): Check for (partial) rest of the word either "true" or "false" and nothing extra. Thus we reject "truefalse" as is all to easy to type in by accident. "TRU" "T" "tRuE" are all OK of course. * src/net/inet_addr.c (inet_aton): Do not accept terminating the dot-quad address with a final dot. Else typing on the end of a provided-for-editing string is accepted. Also reject units > 255. Allow typing in either exactly one (large) number or 4 small ones; reject intermediates. Thus we reject "10.16.19.1110.16.19.33" and "0.0.0.010.16.19.11" as are all to easy to type in by accident, and things like 10.0.0xffff which used to be accepted. 0x0a00ffff is OK though. This change also prevents the pointer s running off the end of the string if you just entered eg. "1".2001-12-04 Richard Sandiford <rsandifo@redhat.com> * include/net/net.h (ETH_MAX_PKTLEN): Increase to match definition of MAX_ETH_MSG.2001-12-04 Richard Sandiford <rsandifo@redhat.com> * src/net/tcp.c (__tcp_poll): Call MS_TICKS_DELAY before __timer_poll. * src/net/net_io.c (net_io_getc): Remove MS_TICKS_DELAY from here... (net_io_getc_nonblock): ...and from here.2001-11-30 Jesper Skov <jskov@redhat.com> * src/net/net_io.c (net_init): Print ESA for device even if bootp fails.2001-11-29 Jonathan Larmour <jlarmour@redhat.com> * src/net/dns.c: Rename index -> ptdindex to avoid conflict with BSD index() function.2001-11-29 Jesper Skov <jskov@redhat.com> * src/net/tftp_client.c (tftp_stream_open): Clear from_addr's sin_port so multiple loads are possible.2001-11-26 Jesper Skov <jskov@redhat.com> * misc/redboot_XXX.ecm: Added. Replaced the _RAM, _ROM, and _ROMRAM variants. * misc/redboot_ROM.ecm: Added configuration with all packages relevant for a full RedBoot configuration. Whenever new (optional) RedBoot peer packages are added, they should be added to these files and not the RedBoot template. * misc/redboot_ROMRAM.ecm: Same. * misc/redboot_RAM.ecm: Same.2001-11-15 Jesper Skov <jskov@redhat.com> * include/redboot.h: Added load_address and load_address_end variables to hold bounds of a loaded image. * src/load.c: Fill load_address and load_address_end after srec and binary loads. * src/flash.c: Same. * src/main.c (do_go): removed unneeded cast.2001-11-14 Gary Thomas <gthomas@redhat.com> * src/io.c (_rb_gets_preloaded): More correct timeout handling. n.b. in practice, this changes nothing, but it is more "correct".2001-11-05 Gary Thomas <gthomas@redhat.com> * src/load.c: Minor typo in help string. * src/io.c (_rb_gets_preloaded): Clear buffer if ^C.2001-11-02 Jesper Skov <jskov@redhat.com> * src/flash.c (fis_init): Fix warning.2001-11-01 Jesper Skov <jskov@redhat.com> * src/flash.c (fis_init): tweaks to the SIB protection code.2001-11-01 Gary Thomas <gthomas@redhat.com> * src/flash.c (fis_init): Need to init block fully, otherwise old images can persist after init.2001-10-31 Jesper Skov <jskov@redhat.com> * include/sib.h: Contains information about ARM Boot Monitor flash block information. * cdl/redboot.cdl: Added CYGOPT_REDBOOT_FIS_DIRECTORY_ARM_SIB_ID option. * src/flash.c (fis_init): Added code to add ARM Boot Monitor footer on FIS block. 2001-10-30 Jonathan Larmour <jlarmour@redhat.com> * src/flash.c (fis_delete): Prototype arm_fis_delete in correct place. (fis_list): Fix compilation problem - this isn't C++!2001-10-30 Philippe Robin <Philippe.Robin@arm.com>2001-10-30 Jonathan Larmour <jlarmour@redhat.com> * cdl/redboot.cdl: Add CYGINT_REDBOOT_ARM_FLASH_SIB_SUPPORTED and CYGHWR_REDBOOT_ARM_FLASH_SIB to indicate support for, and a request to provide ARM flash block structure support. * src/flash.c (fis_list): Call out to driver for ARM block FIS listing. (fis_delete): Call out to driver for ARM block FIS deletion.2001-10-29 Gary Thomas <gthomas@redhat.com> * src/main.c (cyg_start): New pseudo-commands, useful for scripts. '# anything' - treated like a comment. '= anything' - comment, but prints command line on console. * src/flash.c (expand_aliases): Don't expand aliases which are quoted, but only on the command line. This allows aliases to expand into other aliases which are within quoted strings. * include/redboot.h: * src/io.c (_rb_gets_preloaded): New function which allows for a buffer to be displayed and edited in place. This is extremely useful for 'fconfig', now that better line editing functions are supported. * src/flash.c (get_config): Using new function _rb_gets_preloaded(), which supports edit-in-place for data items.2001-10-28 Gary Thomas <gthomas@redhat.com> * src/main.c (cyg_start): * src/io.c (_rb_gets): * include/redboot.h: Add new global control 'cmd_history' which is used to enable/disable command history collection. This keeps the history from being cluttered with things like 'y' (answers to simple questions).2001-10-26 Gary Thomas <gthomas@redhat.com> * src/io.c (_rb_gets): Fix ^A editing - was timing out, thus erasing buffer [silently].2001-10-25 Gary Thomas <gthomas@redhat.com> * src/io.c: * cdl/redboot.cdl: Add command line history and edit functions. Controlled by CYGNUM_REDBOOT_CMD_LINE_EDITING option which defines the depth of the history buffer.2001-10-22 Jonathan Larmour <jlarmour@redhat.com> * include/redboot.h: Declare net_debug here.2001-10-18 Jonathan Larmour <jlarmour@redhat.com> * src/net/net_io.c (net_init): Set cyg_io_eth_net_debug from net_debug. * include/net/net.h: Declare cyg_io_eth_net_debug.2001-10-18 David Howells <dhowells@redhat.com> * src/syscall.c: Added support for the times() syscall and marked the utime() syscall as being implemented incorrectly.2001-10-18 Gary Thomas <gthomas@redhat.com> * src/io.c (_rb_gets): Fix parsing of \" in strings.2001-10-16 Jesper Skov <jskov@zoftcorp.adsl.dk> * cdl/redboot.cdl: Require ISOINFA.2001-10-16 Jesper Skov <jskov@redhat.com> * src/net/dns.c (send_recv): Clear from_addr before passing it to __udp_recvfrom. Fixed return value.2001-10-16 Gary Thomas <gthomas@redhat.com> * src/flash.c (_do_flash_init): Add wrapper function for do_flash_init() to avoid compiler warning. * src/io.c (_rb_gets): Use sub-timeouts when calling mon_read_char_with_timeout() as it was intended that this routine should timeout quickly to allow for other processing to take place if no data is available. In practice this won't make any difference unless the global "idle" timeout value is changed to be something quite large. * src/decompress.c: Improve memory allocators. Also use 'init' style function so that this is the only file that knows anything of the details of the decompression process or packaging. * src/main.c: * include/redboot.h: * cdl/redboot.cdl: Rework decompression to be totally encapsulated. This keeps the details of this functionality in a single file, rather than scattered throughout RedBoot.2001-10-15 David Howells <dhowells@redhat.com> * src/xyzModem.c: put semicolon between goto-label and close curly.2001-10-15 Gary Thomas <gthomas@redhat.com> * src/flash.c (_expand_aliases): Change around some ambiguous code. * src/main.c: * src/decompress.c: * include/redboot.h: * cdl/redboot.cdl: Provide RedBoot specific memory allocators for ZLIB. Allows much finer control over memory map. * src/main.c (do_dump): Add option "-s" to dump data as S-records.2001-10-11 Gary Thomas <gthomas@redhat.com> * src/net/enet.c (__enet_poll): Suppress warning messages.2001-10-10 Jonathan Larmour <jlarmour@redhat.com> * src/flash.c (do_flash_init): Only set __flash_init when init is successful.2001-10-04 Jesper Skov <jskov@redhat.com> * src/fs/disk.c: Fix ISO9660 build error. * src/main.c: Added x as an alias for the dump command. * src/net/dns.c: Fixed some messages (DNS -> DNS server).2001-10-02 Gary Thomas <gthomas@redhat.com> * src/xyzModem.h: * src/xyzModem.c (xyzModem_stream_open): * src/load.c (do_load): Add new option "-c <N>" to let the user specify the I/O channel to use - xyModem only.2001-10-01 Gary Thomas <gthomas@redhat.com> * src/net/udp.c (__udp_recvfrom): Don't change server address (returned by this function) until a packet has been received with no timeout.2001-09-28 Jonathan Larmour <jlarmour@redhat.com> * src/flash.c (fis_create): if not copying, still update directory.2001-09-28 Gary Thomas <gthomas@redhat.com> * src/flash.c (_expand_aliases): Properly null terminate expanded string - failed if alias was at end of line.2001-09-27 Jesper Skov <jskov@redhat.com> * src/net/dns.c: Include tracing header.2001-09-26 Jesper Skov <jskov@redhat.com> * src/net/dns.c: Removed errno hacks. Reduce size of string buffers. Make sure they suffice (or fail). * include/redboot.h: Added DNS h_errno definitions. * include/redboot.h: Fix for building on targets wo network. * src/load.c (do_load): Make sure host can be reached - and print appropriate error message if not. * src/net/net_io.c (net_init): Call DNS init when appropriate. * src/net/inet_addr.c (inet_aton): Made s argument const. * src/net/dns.c: Added UDP driven DNS support. * src/net/bootp.c: Fixed warnings. * src/flash.c: Replaced inet_aton with _gethostbyname. * src/load.c: Same. * src/net/ping.c: Same. * include/net/net.h: Fix warning. * include/redboot.h: Added DNS stuff, including some string helpers. * cdl/redboot.cdl: Added DNS support options.2001-09-14 Jonathan Larmour <jlarmour@redhat.com> * src/version.c: Simplify _CERTIFICATE handling.2001-09-13 Fabrice Gautier <Fabrice_Gautier@sdesigns.com> * cdl/redboot.cdl: Added configuration options to deactivate BOOTP and enable net debug. * src/net/net_io.c (net_init): Use them.2001-09-13 Gary Thomas <gthomas@redhat.com> * src/flash.c: Cleanups - removing some redundant code.2001-09-12 Jonathan Larmour <jlarmour@redhat.com> * src/flash.c (do_flash_init): Only allocate fis block when CYGOPT_REDBOOT_FIS enabled. Conditionalize fis_work_block and fisdir_size.2001-09-12 Gary Thomas <gthomas@redhat.com> * src/flash.c (load_flash_config): Use additional space in the FLASH work area (at end of RAM) for 'fconfig' data. This reduces overall stack requirements as there is no need for 'fconfig' data to be held on the stack anymore. * src/flash.c: * include/fis.h: Define flash addresses using CYG_ADDRESS which is more portable than (unsigned long).2001-09-11 Jonathan Larmour <jlarmour@redhat.com> * cdl/redboot.cdl (CYGPKG_REDBOOT_FLASH): Be conditional on an actual flash device, not just the generic flash layer.2001-09-11 Gary Thomas <gthomas@redhat.com> * src/version.c (_CERTIFICATE): Add information about product certification (either Red Hat certified or not). * src/flash.c (fis_delete): Deny user deleting "reserved" images.2001-09-07 Andrew Lunn <andrew.lunn@ascom.ch> * src/flash.c: Extend the alias handling to allow configuration information to be access using alias. Fixed alias expansion when the alias is bigger than the replacement.
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?