📄 changelog
字号:
* 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 (load_flash_config): Move setting of config_ok to
true to before we look for a script to run. Otherwise scripts just
don't work.
2001-02-14 Hugo Tyson <hmt@redhat.com>
* src/load.c (do_load): Wrap the help message at < 80 cols and fix
a coupla warnings.
2001-02-13 Hugo Tyson <hmt@redhat.com>
* src/flash.c: Fix token/string pasting thinko: ## operators are
not needed and do confuse some compilers.
2001-02-12 Jesper Skov <jskov@redhat.com>
* src/main.c: Use CYGNUM_HAL_VIRTUAL_VECTOR_DEBUG_CHANNEL instead
of CYGNUM_HAL_VIRTUAL_VECTOR_CONSOLE_CHANNEL.
2001-02-11 Gary Thomas <gthomas@redhat.com>
* src/net/ping.c (do_ping): Accomodate new MS_TICKS scheme.
2001-02-09 Grant Edwards <grante@visi.com>
* include/net/net.h (MS_TICKS_DELAY): New macro, different from
MS_TICKS() so that MS_TICKS() gets the current tick count, and
MS_TICKS_DELAY is used in a delay loop to actually do a delay.
* src/ticks.c (get_ms_ticks): New function imlementing rework of
MS_TICKS
* src/net/net_io.c (net_io_getc): Use MS_TICKS_DELAY() instead of
CYGACC_CALL_IF_DELAY_US() directly
(net_io_getc_timeout): Likewise
* src/net/udp.c (__udp_recvfrom): MS_TICKS -> MS_TICKS_DELAY
* src/net/bootp.c (__bootp_find_local_ip): Likewise
2001-02-09 Jonathan Larmour <jlarmour@redhat.com>
2001-02-09 Grant Edwards <grante@visi.com>
* src/net/net_io.c (net_io_getc_nonblock): Silence compiler warning
2001-01-31 Gary Thomas <gthomas@redhat.com>
* include/redboot.h:
* cdl/redboot.cdl:
* src/flash.c: Use new CRC functions.
* src/crc.c: New file - supports 16 and 32 bit CRC functions.
2001-01-31 Grant Edwards <grante@visi.com>
* src/net/net_io.c (net_io_test): Use new idle function to
poll for incoming network connections. Removes #if requirements
from the main CLI loop.
* src/main.c (cyg_start):
* include/redboot.h (RedBoot_idle): Add new tables to support
user defined functions to be called when idle (during command input).
2001-01-31 Gary Thomas <gthomas@redhat.com>
* include/redboot.h:
* src/main.c (cyg_start):
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -