changelog
来自「ecos实时嵌入式操作系统」· 代码 · 共 1,963 行 · 第 1/5 页
TXT
1,963 行
* src/load.c (do_load): Tidy some messages. * src/flash.c (fis_load): Print image limits (memory range) when loading a compressed image.2001-06-06 Mark Salter <msalter@redhat.com> * include/net/tftp_support.h (TFTP_TIMEOUT_PERIOD): Increase to 5. * src/net/udp.c (__udp_recvfrom): Initialize server source port to zero. (__udp_recvfrom_handler): Validate server source port before accepting packet.2001-05-29 Jesper Skov <jskov@redhat.com> * src/flash.c (fis_load): Fix compiler warning.2001-05-25 Gary Thomas <gthomas@redhat.com> * src/main.c (set_console_baud_rate): Couldn't restore baud rate to default value! (do_baud_rate): Update baud rate in flash config database. * src/flash.c (do_flash_config): Add "-i" option to force initialization of entire configuration database. (do_alias): Improve handling of existing aliases.2001-05-24 Gary Thomas <gthomas@redhat.com> * src/flash.c (get_config): (do_alias): Be more careful about length of strings accepted. * cdl/redboot.cdl: Make 'fconfig' data space and strings larger. * src/main.c (cyg_start): Expand aliases on input commands. * src/flash.c: Add support for aliases (macros). Also update support for 'fconfig' strings. * include/flash_config.h (MAX_STRING_LENGTH): Infer from CDL. * cdl/redboot.cdl: Add options for [FLASH based] aliases. Also, 'fconfig' now supports strings.2001-05-23 Gary Thomas <gthomas@redhat.com> * src/flash.c: Fixed typo as below.2001-05-22 Jonathan Larmour <jlarmour@redhat.com> * cdl/redboot.cdl: Fix typo: CYGSEM_REDBOOT_VARIBLE_BAUD_RATE -> CYGSEM_REDBOOT_VARIABLE_BAUD_RATE * src/main.c: Ditto.2001-05-17 Jonathan Larmour <jlarmour@redhat.com> * src/net/tftp_client.c: include redboot.h for have_net.2001-05-17 Dennis Ehlin <Dennis.Ehlin@ecs.ericsson.se> (with minor mods by jlarmour@redhat.com) * cdl/redboot.cdl: Split boot script functionality into separate component. Rename some options not to be specific to FLASH. Add default boot script option. * src/main.c (cyg_start): Use default boot script if none provided in FLASH (or indeed no FLASH). Support renamed CDL options. * src/io.c (gets): Support renamed CDL options. (verify_action): Ditto. * src/flash.c: Ditto. * include/redboot.h: Ditto.2001-05-17 Gary Thomas <gthomas@redhat.com> * src/crc.c (crc32): Remove unused variable/warning. * src/main.c (set_console_baud_rate, do_baud_rate): * src/flash.c: * include/redboot.h: * cdl/redboot.cdl: Add support for variable, settable, console baud rate. * src/net/tftp_client.c (tftp_stream_open): Don't try if no network.2001-05-10 Gary Thomas <gthomas@redhat.com> * cdl/redboot.cdl: Can't build RedBoot without virtual vectors.2001-05-09 Mark Salter <msalter@redhat.com> * src/main.c (cyg_start): Cast CYGACC_CALL_IF_DELAY_US argument to a cyg_int32. Needed when sizeof(int) < sizeof(cyg_int32).2001-05-07 Gary Thomas <gthomas@redhat.com> * src/net/net_io.c (net_io_isr): Interrupt acknowledgement should rightly be done by the driver 'delivery' routine, not here.2001-04-26 Gary Thomas <gthomas@redhat.com> * src/main.c (do_caches): Display cache state if no arguments.2001-04-13 Gary Thomas <gthomas@redhat.com> * src/net/ping.c (do_ping): Tidy message.2001-04-12 Robin Farine <acnrf@dial.eunet.ch>2001-04-12 Jonathan Larmour <jlarmour@redhat.com> * src/io.c (gets): Checks for buffer overflow and returns buflen if it reaches the end of the buffer. * src/main.c (cyg_start): Cope with gets() return being the buffer length.2001-04-12 Mark Salter <msalter@redhat.com>2001-04-12 Robin Farine <acnrf@dial.eunet.ch> * src/net/enet.c (__eth_install_listener): Does not accept a handler for an eth_type less than 0x800. (__enet_poll): Only scan the handlers for a frame type greater than 0x800.2001-04-09 Mark Salter <msalter@redhat.com> * src/printf.c (_vprintf): Fixed some portability problems where sizeof(int) != sizeof(long).2001-04-09 Hugo Tyson <hmt@redhat.com> * src/main.c (do_cksum): Reduce warning absent posix_crc32(). * src/main.c (cyg_start): Compare ram_end against workspace_end to see if there is *less* SDRAM than the MLT suggested, and shorten workspace et al accordingly. This is needed if some SDRAM is "stolen" for use by eg. a PCI window, and mapped far away.2001-04-03 Gary Thomas <gthomas@redhat.com> * src/load.c (do_load): Fix 'raw' loading to check for valid base address _before_ trying to load anything. Also, some reorg to make raw vs non-raw cleaner.2001-04-02 Hugo Tyson <hmt@redhat.com> * src/flash.c (get_config): Update to support some new syntax: fco -l -n ... lists showing nicknames instead of titles. fco -l -n -f ... lists showing both nicknames and titles. fco nickname ... goes straight to editing only nickname. fco nick value ... sets nickname to value. All then follow the usual flow out, including the question Update RedBoot non-volatile configuration - are you sure (y/n) as it should be if you made a change.2001-03-29 Mark Salter <msalter@redhat.com> * cdl/redboot.cdl (CYGSEM_REDBOOT_FIS_CRC_CHECK): New option to enable (default) or disable CRC checks in FIS images. * src/flash.c: Use CYGSEM_REDBOOT_FIS_CRC_CHECK to decide whether to provide CRC for flash images.2001-03-28 Mark Salter <msalter@redhat.com> * src/net/tcp.c (__tcp_handler): Don't send ACK from TIME_WAIT state unless the FIN comes in again.2000-03-27 Grant Edwards <grante@visi.com> * src/net/tcp.c (__tcp_handler): Fixed sequence number bug seen when doing an active close.2001-03-23 Gary Thomas <gthomas@redhat.com> * src/printf.c (_vprintf): Support %u (unsigned) descriptor. * src/main.c (do_cksum): New command to compute and print a POSIX checksum on a range of memory. * src/crc.c (posix_crc32): New routine - matches POSIX algorithm.2001-03-21 Gary Thomas <gthomas@redhat.com> * cdl/redboot.cdl: Back off previous change in number of packets. Also change minimum - below this, network debugging fails. * src/flash.c (fis_write): New function - support raw writes to FLASH. * src/net/enet.c (__enet_poll): Try to continue if out of packets. * src/main.c: * src/load.c: * src/flash.c: * include/redboot.h: Keep track of available "user" RAM. * cdl/redboot.cdl: Reduce default number of [network] packets.2001-03-20 Gary Thomas <gthomas@redhat.com> * src/net/net_io.c (net_io_test): Change for new calling convention. * src/main.c (cyg_start): Idle processing now in I/O routines. * src/io.c (gets): Move idle processing into this function. * include/net/net.h (net_io_test): Needs idle parameter. * include/redboot.h: Change 'idle' functions to take state (idle/not).2001-03-19 Jesper Skov <jskov@redhat.com> * cdl/redboot.cdl: Put version.o file in the public lib directory so other packages can get at it and link redboot.2001-03-16 Gary Thomas <gthomas@redhat.com> * src/flash.c (fis_create): Preserve memory [load/exec] address when making assumptions [rewriting existing image].2001-03-16 Mark Salter <msalter@redhat.com> * src/main.c (cyg_start): Restore console channel after returning from stub.2001-03-15 Gary Thomas <gthomas@redhat.com>2001-03-15 Grant Edwards <grante@visi.com> * src/net/bootp.c (bootp_handler): Guard against buffer overflow.2001-03-15 Hugo Tyson <hmt@redhat.com> * src/flash.c (fis_create): The code was installing a default for img_size from data_length of an extant record. That's zero, so, so whilst the flash was erased, no data was copied in! (fis_list): Added a -d to get the data length field displayed.2001-03-15 Jesper Skov <jskov@redhat.com> * src/main.c: Make use of script variable conditional on flash. * include/redboot.h: Changed type of workspace_end to silence warning. * src/net/ping.c (do_ping): Fix warning. * src/net/pktbuf.c (__pktbuf_dump): Fix warnings.2001-03-14 Gary Thomas <gthomas@redhat.com> * src/main.c (do_go): Make timeout code consistent with other versions, e.g. script timeout. Also, allow a script to continue if it was in effect when 'go' was called and ^C was typed. * src/flash.c (fis_create): Ask for additional user verification if any [important] parameters are being assumed [left out by user]. This just adds a level of safety in the presence of assumptions.2001-03-13 Gary Thomas <gthomas@redhat.com> * src/main.c: Define 'workspace' based on MLT files, rather than simply using end of RAM area. * src/flash.c: Use 'workspace' for scratch area. * include/redboot.h: Define new variables 'workspace_XXX' to specify ares used by RedBoot for scratch, etc.2001-03-12 Jesper Skov <jskov@redhat.com> * src/decompress.c: Removed Z_BAD_CRC hack. zlib does CRC checking now.2001-03-09 Jesper Skov <jskov@redhat.com> * src/misc_funs.c: Added strncpy. * include/redboot.h: And declaration.2001-03-08 Jesper Skov <jskov@redhat.com> * src/load.c (do_load): Added decompression support. * src/flash.c (fis_load): Same. * src/decompress.c: Added. Interfaces the zlib API. * include/redboot.h: Added some definitions used by decompression code. * cdl/redboot.cdl: Added option to control size of zlib bounce buffer.2001-03-05 Jesper Skov <jskov@redhat.com> * src/main.c (cyg_start): Make sure communication channels are initialized.2001-03-03 Gary Thomas <gthomas@redhat.com> * src/main.c (do_idle): New function - all 'idle' handling is here. * src/io.c (mon_read_char_with_timeout): Improve timeout handling when scanning for a console by applying the minimum possible value (1 ms) to each channel, accumulating the total value. The previous algorithm was quite poor on systems where there is no buffering, i.e. serial channels with no FIFOs, because each channel would wait for T/N (t = total timeout, N = number channels). This might possibly have been much longer than the devices could tolerate and still return valid data.2001-03-01 Gary Thomas <gthomas@redhat.com> * src/version.c: Add 'bootstrap' to banner so the world can see more of what RedBoot's all about.2001-02-28 Gary Thomas <gthomas@redhat.com> * include/redboot.h: Fix prioritization of 'init' table entries.2001-02-26 Gary Thomas <gthomas@redhat.com> * include/redboot.h (RedBoot_INIT_PRIO): Slight change - avoid arithmetic which C preprocessor doesn't handle anyway. This also fixes prioritizing init entries. * src/flash.c (fis_load): Only load actual data [length] when loading an image. * cdl/redboot.cdl: Change build rule to always rebuild 'version.o' whenever the application is relinked. Thus the version string will always accurately reflect the actual build date/time.2001-02-22 Hugo Tyson <hmt@redhat.com> * cdl/redboot.cdl: New config options to control default creation of various FIS image files. Also opt for a reserved area at the base of flash, eg. for user's POST or other pre-RedBoot code that we must not interfere with. This isn't the same as the extant boot_offset option, so the two are made to work together. Likewise an offset for the start of a POST-cooperative RedBoot image, if any; the value is of course platform dependent, not simply after the first RedBoot image, if there is one. Clarification: a POST-cooperative RedBoot image is a ROM-start image that runs at a higher address in ROM, and which omits some of the hardware initialization because it's already done by whatever came before. Most targets do not have such a thing; those that do, it is created by a config export file, not by a new startup type. A POST Redboot can be tested from a plain ROM redboot by just calling its entrypoint once it is installed in flash; eg. by "go 0x50040044" at the RedBoot prompt. * src/flash.c (fis_init): Create additional optional entries for o (reserved) reserved area at start, for preboot or post code. o RedBoot itself now optional o RedBoot[post] o RedBoot[backup] Also initialize their addresses, sizes, accordingly. The default behaviour is unchanged. The flash erase is moved to after the fis table init because the fis table init most conveniently calculates the high water mark of built-in default objects. (fis_create): If creating a file which already exists (most likely one of the preconfigured defaults) pick up Flash address and length (the two required parameters) from there. They're required to be the same to it's no loss of generality, and saves typing, makes the default entries far more useful and so on. (fis_delete): Skip those entries which were preconfigured; we want nobody to be able to delete these. (fis_free): Start searching for free space to list only after the reserved base area - if there is one. (fis_find_free): Start searching for free space only after the reserved base area...2001-02-22 Jesper Skov <jskov@redhat.com> * src/flash.c: Added default case to switch statement.2001-02-20 Gary Thomas <gthomas@redhat.com> * src/load.c: Remove unnecessary \r from usage message. * src/printf.c (_vprintf): Ensure CR/LF sequence, not LFCR. * src/net/ping.c: * src/flash.c: Better usage messages [no naked linefeeds]. * src/net/ping.c: Tidy up usage message. Check for reasonable packet lengths. * src/load.c: Tidy up usage message.2001-02-16 Nick Garnett <nickg@cygnus.co.uk> * src/flash.c (lo
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?