OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [ecos-2.0/] [packages/] [redboot/] [v2_0/] [ChangeLog] - Diff between revs 1254 and 1765

Go to most recent revision | Only display areas with differences | Details | Blame | View Log

Rev 1254 Rev 1765
2002-03-19  John Dallaway  
2002-03-19  John Dallaway  
        * doc/redboot_installing.sgml: Update Atmel AT91EB40 RedBoot
        * doc/redboot_installing.sgml: Update Atmel AT91EB40 RedBoot
        installation instructions.
        installation instructions.
2003-02-24  Jonathan Larmour  
2003-02-24  Jonathan Larmour  
        * doc/redboot.sgml: De-vendorise a little.
        * doc/redboot.sgml: De-vendorise a little.
        Fix extraneous .
        Fix extraneous .
        * cdl/redboot.cdl: Add doc links.
        * cdl/redboot.cdl: Add doc links.
2003-02-14  Jonathan Larmour  
2003-02-14  Jonathan Larmour  
        * cdl/redboot.cdl: Put virtually all options inside
        * cdl/redboot.cdl: Put virtually all options inside
        CYGBLD_BUILD_REDBOOT. And indent accordingly.
        CYGBLD_BUILD_REDBOOT. And indent accordingly.
2003-02-04  Gary Thomas  
2003-02-04  Gary Thomas  
        * src/fs/ide.c: Print more info if failed to identify IDE device.
        * src/fs/ide.c: Print more info if failed to identify IDE device.
        * src/fs/e2fs.c: Improved debug output.
        * src/fs/e2fs.c: Improved debug output.
2003-02-04  Mark Salter  
2003-02-04  Mark Salter  
2003-02-04  Brian Murphy 
2003-02-04  Brian Murphy 
        * src/main.c (return_to_redboot): Add CYGARC_HAL_RESTORE_GP.
        * src/main.c (return_to_redboot): Add CYGARC_HAL_RESTORE_GP.
2003-01-31  Mark Salter  
2003-01-31  Mark Salter  
        * src/main.c: Add support to allow programs started by go to
        * src/main.c: Add support to allow programs started by go to
        return to RedBoot.
        return to RedBoot.
        * src/syscall.c (__do_syscall): Return to monitor on program exit
        * src/syscall.c (__do_syscall): Return to monitor on program exit
        if gdb not active.
        if gdb not active.
        (sys_timer_isr): Return CYG_ISR_HANDLED.
        (sys_timer_isr): Return CYG_ISR_HANDLED.
2003-01-10  Patrick Doyle  
2003-01-10  Patrick Doyle  
        * src/load.c (do_load): Don't abort and complain about overwriting
        * src/load.c (do_load): Don't abort and complain about overwriting
        the end of RAM when loading raw data files and we already asked
        the end of RAM when loading raw data files and we already asked
        the user if it was ok to write outside what we believe to be RAM.
        the user if it was ok to write outside what we believe to be RAM.
2002-12-31  Patrick Doyle  
2002-12-31  Patrick Doyle  
        * src/decompress.c (gzip_close): Don't complain that decompression
        * src/decompress.c (gzip_close): Don't complain that decompression
        didn't complete when the stream reaches its end.
        didn't complete when the stream reaches its end.
2002-12-18  David Mazur  
2002-12-18  David Mazur  
2002-12-18  Mark Salter  
2002-12-18  Mark Salter  
        * src/fs/e2fs.c (e2fs_get_gdesc): Fixed handling of group descriptor
        * src/fs/e2fs.c (e2fs_get_gdesc): Fixed handling of group descriptor
        cache misses.
        cache misses.
2002-12-03  Gary Thomas  
2002-12-03  Gary Thomas  
        * src/main.c: Export version string via virtual vector table.
        * src/main.c: Export version string via virtual vector table.
2002-11-05  Jonathan Larmour  
2002-11-05  Jonathan Larmour  
        * src/io.c (_rb_gets_preloaded): Null terminate when buffer full.
        * src/io.c (_rb_gets_preloaded): Null terminate when buffer full.
2002-10-24  Gary Thomas   (inspired by)
2002-10-24  Gary Thomas   (inspired by)
2002-10-24  Jay Foster 
2002-10-24  Jay Foster 
        * include/net/bootp.h (BP_MIN_VEND_SIZE):
        * include/net/bootp.h (BP_MIN_VEND_SIZE):
        * src/net/bootp.c (__bootp_find_local_ip): Require a minimum vendor
        * src/net/bootp.c (__bootp_find_local_ip): Require a minimum vendor
        area to always be sent (to keep some servers happy).
        area to always be sent (to keep some servers happy).
        * src/flash.c: Fix typo for "FIS DELETE"
        * src/flash.c: Fix typo for "FIS DELETE"
2002-09-16  Mark Salter  
2002-09-16  Mark Salter  
        * src/main.c (set_console_baud_rate): Handle CYGPKG_REDBOOT_ANY_CONSOLE.
        * src/main.c (set_console_baud_rate): Handle CYGPKG_REDBOOT_ANY_CONSOLE.
        (set_comm_baud_rate): New function.
        (set_comm_baud_rate): New function.
2002-09-13  Mark Salter  
2002-09-13  Mark Salter  
        * src/decompress.c: Move error handling back into gzip_close to
        * src/decompress.c: Move error handling back into gzip_close to
        fix xyzmodem loads.
        fix xyzmodem loads.
2002-09-12  Mark Salter  
2002-09-12  Mark Salter  
        * src/decompress.c (gzip_inflate): Fix error return so that upper
        * src/decompress.c (gzip_inflate): Fix error return so that upper
        doesn't quit on Z_STREAM_END.
        doesn't quit on Z_STREAM_END.
        (gzip_close): Move error handling into gzip_inflate.
        (gzip_close): Move error handling into gzip_inflate.
        * src/load.c (do_load): Fix printing of address range for raw loads.
        * src/load.c (do_load): Fix printing of address range for raw loads.
2002-09-11  Mark Salter  
2002-09-11  Mark Salter  
        * src/main.c (do_go): Turn on line flushes before jumping to function.
        * src/main.c (do_go): Turn on line flushes before jumping to function.
        * src/net/net_io.c (net_io_control): Support flushes at end of lines.
        * src/net/net_io.c (net_io_control): Support flushes at end of lines.
2002-09-03  Yoshinori Sato 
2002-09-03  Yoshinori Sato 
2002-09-03  Mark Salter  
2002-09-03  Mark Salter  
        * include/fs/disk.h (__SWAB32): Fix incorrect masking.
        * include/fs/disk.h (__SWAB32): Fix incorrect masking.
        * src/fs/e2fs.c (e2fs_inode_block): Fix endianess of block numbers.
        * src/fs/e2fs.c (e2fs_inode_block): Fix endianess of block numbers.
2002-08-29  Mark Salter  
2002-08-29  Mark Salter  
        * src/net/net_io.c (net_init): Initialize dns before showing addresses.
        * src/net/net_io.c (net_init): Initialize dns before showing addresses.
2002-08-26  Thomas Koeller 
2002-08-26  Thomas Koeller 
        * src/flash.c: Do not warn about overwriting image data if
        * src/flash.c: Do not warn about overwriting image data if
        -n option is used with 'fis create'. For 'fis load',
        -n option is used with 'fis create'. For 'fis load',
        perform load size check based on actual data length, not
        perform load size check based on actual data length, not
        image size.
        image size.
2002-08-22  Mark Salter  
2002-08-22  Mark Salter  
        * src/net/net_io.c (net_io_putc): Don't flush on every \n.
        * src/net/net_io.c (net_io_putc): Don't flush on every \n.
        * src/syscall.c (__do_syscall): Allow fileio support to fall back
        * src/syscall.c (__do_syscall): Allow fileio support to fall back
        to non-fileio behavior if program is not being run by gdb.
        to non-fileio behavior if program is not being run by gdb.
2002-08-20  Thomas Koeller  
2002-08-20  Thomas Koeller  
        * cdl/redboot.cdl:
        * cdl/redboot.cdl:
        * include/redboot.h:
        * include/redboot.h:
        * src/main.c:
        * src/main.c:
        * src/flash.c:
        * src/flash.c:
        * src/decompress.c: Use a common buffer for FIS directory
        * src/decompress.c: Use a common buffer for FIS directory
        manipulation and zlib workspace to conserve RAM.
        manipulation and zlib workspace to conserve RAM.
2002-08-20  Thomas Koeller  
2002-08-20  Thomas Koeller  
        * cdl/redboot.cdl:
        * cdl/redboot.cdl:
        * include/fis.h: Allow control of FIS descriptor padding.
        * include/fis.h: Allow control of FIS descriptor padding.
2002-08-16  Jani Monoses  
2002-08-16  Jani Monoses  
        * src/io.c: Do not add empty lines to command history.
        * src/io.c: Do not add empty lines to command history.
        * src/net/http_client.c: Read all data when in CLOSE_WAIT
        * src/net/http_client.c: Read all data when in CLOSE_WAIT
        otherwise if the server closes quickly enough nothing is
        otherwise if the server closes quickly enough nothing is
        received.
        received.
2002-08-09  Andrew Lunn  
2002-08-09  Andrew Lunn  
        * src/crc.c: Removed. Replaced with the CRC package.
        * src/crc.c: Removed. Replaced with the CRC package.
        * src/cksum.c: Removed the posix_crc function.
        * src/cksum.c: Removed the posix_crc function.
        * src/flash.c: Use the crc package crc functions.
        * src/flash.c: Use the crc package crc functions.
        * src/xyzModem.c: Ditto
        * src/xyzModem.c: Ditto
        * include/redboot.h: Use the crc package include file.
        * include/redboot.h: Use the crc package include file.
        * cdl/redboot.cdl: removed crc.c
        * cdl/redboot.cdl: removed crc.c
2002-08-09  Jani Monoses  
2002-08-09  Jani Monoses  
        * src/net/http_client.c: use standard HTTP GET request ('/'
        * src/net/http_client.c: use standard HTTP GET request ('/'
        instead of ' ' in HTTP/1.0) to work with all servers
        instead of ' ' in HTTP/1.0) to work with all servers
2002-08-08  Jani Monoses  
2002-08-08  Jani Monoses  
        * src/flash.c: fis delete should mark the slot as reusable
        * src/flash.c: fis delete should mark the slot as reusable
        not just delete the area of flash used by the file.
        not just delete the area of flash used by the file.
2002-08-08  Gary Thomas  
2002-08-08  Gary Thomas  
2002-08-08  Motoya Kurotsu 
2002-08-08  Motoya Kurotsu 
        * src/load.c (do_load): Make sure 'io_tab' is set before using it.
        * src/load.c (do_load): Make sure 'io_tab' is set before using it.
2002-08-07  Gary Thomas  
2002-08-07  Gary Thomas  
        * src/net/tftp_client.c:
        * src/net/tftp_client.c:
        * include/net/tftp.h: Make block numbers unsigned to handle files
        * include/net/tftp.h: Make block numbers unsigned to handle files
        larger than 16MB.
        larger than 16MB.
2002-08-06  Gary Thomas  
2002-08-06  Gary Thomas  
        * src/crc.c: POSIX crc code is now separate.
        * src/crc.c: POSIX crc code is now separate.
        * src/mfill.c:
        * src/mfill.c:
        * src/mcmp.c:
        * src/mcmp.c:
        * src/dump.c:
        * src/dump.c:
        * src/cksum.c:
        * src/cksum.c:
        * src/caches.c: New (split out) file(s).
        * src/caches.c: New (split out) file(s).
        * src/main.c:
        * src/main.c:
        * cdl/redboot.cdl: Split major CLI functionality to separate
        * cdl/redboot.cdl: Split major CLI functionality to separate
        files, more easily controlled by CDL - inspired by Andrew.
        files, more easily controlled by CDL - inspired by Andrew.
2002-08-06  Andrew Lunn  
2002-08-06  Andrew Lunn  
        * src/io.c: Fix the parsing of boot scripts to allow the use
        * src/io.c: Fix the parsing of boot scripts to allow the use
          of aliases. This was broken when the ability to do startup
          of aliases. This was broken when the ability to do startup
          type specific scripting was added.
          type specific scripting was added.
2002-08-05  Andrew Lunn  
2002-08-05  Andrew Lunn  
        * src/main.c: Made more of the commands conditionally compilable
        * src/main.c: Made more of the commands conditionally compilable
        * cdl/redboot.cdl: CDL code to control the compilation.
        * cdl/redboot.cdl: CDL code to control the compilation.
2002-07-30  Gary Thomas  
2002-07-30  Gary Thomas  
        * src/net/net_io.c: Handle broadcast/mask setup better (failed if
        * src/net/net_io.c: Handle broadcast/mask setup better (failed if
        not found in FLASH).  Also print on network info line.
        not found in FLASH).  Also print on network info line.
2002-07-18  Gary Thomas  
2002-07-18  Gary Thomas  
        * src/net/tftp_client.c:
        * src/net/tftp_client.c:
        * src/net/http_client.c:
        * src/net/http_client.c:
        * src/fs/disk.c:
        * src/fs/disk.c:
        * src/xyzModem.c:
        * src/xyzModem.c:
        * src/load.c:
        * src/load.c:
        * include/redboot.h: Rework load/mode information tables so that
        * include/redboot.h: Rework load/mode information tables so that
        load I/O methods can detect actual mode (e.g. X-modem vs Y-modem)
        load I/O methods can detect actual mode (e.g. X-modem vs Y-modem)
2002-07-16  Hendrik Ruijter  
2002-07-16  Hendrik Ruijter  
2002-07-16  Mark Salter  
2002-07-16  Mark Salter  
        * include/net/net.h: Add __tcp_abort prototype.
        * include/net/net.h: Add __tcp_abort prototype.
        * src/net/icmp.c: The default handler can be replaced by a
        * src/net/icmp.c: The default handler can be replaced by a
        user defined handler which handles all ICMP segments.
        user defined handler which handles all ICMP segments.
        * src/net/ping.c
        * src/net/ping.c
        (handle_icmp): Only ICMP Echo Reply segments must be counted and
        (handle_icmp): Only ICMP Echo Reply segments must be counted and
        ICMP Echo Requests are handled in the user defined handler.
        ICMP Echo Requests are handled in the user defined handler.
        * src/net/tcp.c
        * src/net/tcp.c
        (do_abort, __tcp_abort): Send an RST flag in order to abort a
        (do_abort, __tcp_abort): Send an RST flag in order to abort a
        connection. May use a delay to send the flag.
        connection. May use a delay to send the flag.
2002-07-15  Mark Salter  
2002-07-15  Mark Salter  
        * src/net/net_io.c: Increase size of out_buf to 1024 bytes.
        * src/net/net_io.c: Increase size of out_buf to 1024 bytes.
2002-07-11  Gary Thomas  
2002-07-11  Gary Thomas  
        * src/io.c (mon_read_char_with_timeout): Ensure interrupts are
        * src/io.c (mon_read_char_with_timeout): Ensure interrupts are
        disabled on all I/O channels, except for the current console.
        disabled on all I/O channels, except for the current console.
        This is done when selecting a console, as this process causes
        This is done when selecting a console, as this process causes
        the interrupt state to be inherited from the current console.
        the interrupt state to be inherited from the current console.
2002-07-09  Gary Thomas  
2002-07-09  Gary Thomas  
2002-07-09  Grant Edwards 
2002-07-09  Grant Edwards 
        * src/net/udp.c:
        * src/net/udp.c:
        * src/net/net_io.c:
        * src/net/net_io.c:
        * src/net/ip.c:
        * src/net/ip.c:
        * src/net/bootp.c:
        * src/net/bootp.c:
        * src/net/arp.c:
        * src/net/arp.c:
        * include/net/net.h:
        * include/net/net.h:
        * include/net/bootp.h:
        * include/net/bootp.h:
        * cdl/redboot.cdl: Add basic support for non-local networking
        * cdl/redboot.cdl: Add basic support for non-local networking
        using a single gateway.  Based on contribution from Grant Edwards.
        using a single gateway.  Based on contribution from Grant Edwards.
2002-07-01  Gary Thomas  
2002-07-01  Gary Thomas  
        * src/net/tftp_client.c:
        * src/net/tftp_client.c:
        * src/net/http_client.c:
        * src/net/http_client.c:
        * src/fs/disk.c:
        * src/fs/disk.c:
        * src/xyzModem.h:
        * src/xyzModem.h:
        * src/xyzModem.c:
        * src/xyzModem.c:
        * src/load.c:
        * src/load.c:
        * include/net/tftp_support.h:
        * include/net/tftp_support.h:
        * include/net/http.h:
        * include/net/http.h:
        * include/redboot.h:
        * include/redboot.h:
        * cdl/redboot.cdl: Make 'load' command stream I/O table driven.
        * cdl/redboot.cdl: Make 'load' command stream I/O table driven.
2002-05-31  Jesper Skov  
2002-05-31  Jesper Skov  
        * doc/redboot_installing.sgml: Updated the remaining installation
        * doc/redboot_installing.sgml: Updated the remaining installation
        instructions (well, the top mode details anyway).
        instructions (well, the top mode details anyway).
2002-05-29  Jesper Skov  
2002-05-29  Jesper Skov  
        * doc/redboot_cmds.sgml: Changed format of fis commands.
        * doc/redboot_cmds.sgml: Changed format of fis commands.
        * doc/redboot_installing.sgml: Updated installation instructions
        * doc/redboot_installing.sgml: Updated installation instructions
        for all targets up to PowerPC.
        for all targets up to PowerPC.
2002-05-28  Gary Thomas  
2002-05-28  Gary Thomas  
        * src/load.c (load_elf_image): Improve loading of ELF files with
        * src/load.c (load_elf_image): Improve loading of ELF files with
        multiple physical segments.
        multiple physical segments.
2002-05-27  Jesper Skov  
2002-05-27  Jesper Skov  
        * doc/redboot_rebuilding.sgml: Added some guimenu tags.
        * doc/redboot_rebuilding.sgml: Added some guimenu tags.
        * doc/redboot_installing.sgml: Updating more board instructions.
        * doc/redboot_installing.sgml: Updating more board instructions.
        More updates. Changing most programlisting keywords to screen.
        More updates. Changing most programlisting keywords to screen.
        Converted remaining rebuild instructions. More mode descriptions
        Converted remaining rebuild instructions. More mode descriptions
        updated. iPAQ converted as well.
        updated. iPAQ converted as well.
2002-05-24  Gary Thomas  
2002-05-24  Gary Thomas  
        * src/load.c (load_elf_image): Improve loading where ELF image
        * src/load.c (load_elf_image): Improve loading where ELF image
        actually overlaps headers [old COFF style files].
        actually overlaps headers [old COFF style files].
2002-05-24  Jesper Skov  
2002-05-24  Jesper Skov  
        * doc/redboot_installing.sgml: Updated another 3 boards'
        * doc/redboot_installing.sgml: Updated another 3 boards'
        instructions.
        instructions.
        * doc/redboot.sgml: Changes due to comments from Jifl.
        * doc/redboot.sgml: Changes due to comments from Jifl.
        * doc/redboot_rebuilding.sgml: Same.
        * doc/redboot_rebuilding.sgml: Same.
        * doc/redboot.sgml: Fix wording.
        * doc/redboot.sgml: Fix wording.
        * doc/redboot_installing.sgml: Reordered the platform sections
        * doc/redboot_installing.sgml: Reordered the platform sections
        according to CPU architecture/variant and board manufacturer.
        according to CPU architecture/variant and board manufacturer.
2002-05-23  Jonathan Larmour  
2002-05-23  Jonathan Larmour  
        * src/net/dns.c (store_hent): New function. DNS package now requires
        * src/net/dns.c (store_hent): New function. DNS package now requires
        this instead of the cyg_thread_get_data calls.
        this instead of the cyg_thread_get_data calls.
        (free_stored_hent): New function. Ditto.
        (free_stored_hent): New function. Ditto.
2002-05-23  Gary Thomas  
2002-05-23  Gary Thomas  
        * doc/redboot_cmds.sgml: Document new HTTP download mode.
        * doc/redboot_cmds.sgml: Document new HTTP download mode.
        * src/net/tcp.c: Improve some interfaces.  Add support for
        * src/net/tcp.c: Improve some interfaces.  Add support for
        outgoing (__tcp_open) connections.
        outgoing (__tcp_open) connections.
        * src/net/net_io.c (net_io_flush): Use improved TCP interfaces.
        * src/net/net_io.c (net_io_flush): Use improved TCP interfaces.
        * src/main.c (_mon_write_char): Map '\n' => '\r\n'.  This used
        * src/main.c (_mon_write_char): Map '\n' => '\r\n'.  This used
        to be done by diag_printf(), but that was the wrong place for it.
        to be done by diag_printf(), but that was the wrong place for it.
        * include/net/net.h: Add support for TCP outgoing connections.
        * include/net/net.h: Add support for TCP outgoing connections.
        * src/net/http_client.c:
        * src/net/http_client.c:
        * include/net/http.h: New file(s) - HTTP client support.
        * include/net/http.h: New file(s) - HTTP client support.
        * src/load.c:
        * src/load.c:
        * cdl/redboot.cdl: Support HTTP download mode.
        * cdl/redboot.cdl: Support HTTP download mode.
2002-05-23  Jesper Skov  
2002-05-23  Jesper Skov  
        * doc/redboot.sgml: Moved the editing and resource sections to
        * doc/redboot.sgml: Moved the editing and resource sections to
        this document. Added new section on RedBoot (startup) modes.
        this document. Added new section on RedBoot (startup) modes.
        * doc/redboot_cmds.sgml: Removed the editing and resource
        * doc/redboot_cmds.sgml: Removed the editing and resource
        sections.
        sections.
        * doc/redboot_installing.sgml: Changed a couple of platform
        * doc/redboot_installing.sgml: Changed a couple of platform
        descriptions.
        descriptions.
        * doc/redboot_rebuilding.sgml: Make use of mode/config
        * doc/redboot_rebuilding.sgml: Make use of mode/config
        consistent. Removed mode section.
        consistent. Removed mode section.
2002-05-22  Jesper Skov  
2002-05-22  Jesper Skov  
        * doc/redboot_rebuilding.sgml: Added a note about redboot growing
        * doc/redboot_rebuilding.sgml: Added a note about redboot growing
        beyond its slot limits.
        beyond its slot limits.
        Rewrote the RedBoot rebuilding documentation.
        Rewrote the RedBoot rebuilding documentation.
        * src/flash.c (fis_create): Clarify error message. Get rid of bool
        * src/flash.c (fis_create): Clarify error message. Get rid of bool
        flag slot_found that only duplicated fis variable state.
        flag slot_found that only duplicated fis variable state.
2002-05-21  Gary Thomas  
2002-05-21  Gary Thomas  
        * src/xyzModem.h:
        * src/xyzModem.h:
        * src/xyzModem.c:
        * src/xyzModem.c:
        * src/load.c: Purge mention of Z-modem until it's implemented.
        * src/load.c: Purge mention of Z-modem until it's implemented.
2002-05-21  Jesper Skov  
2002-05-21  Jesper Skov  
        * src/flash.c (fis_create): Removed one of the three questions to
        * src/flash.c (fis_create): Removed one of the three questions to
        verify.
        verify.
        * doc/redboot_rebuilding.sgml: Removed the query lines from the
        * doc/redboot_rebuilding.sgml: Removed the query lines from the
        docs.
        docs.
        * doc/redboot_installing.sgml: Removed all the free RAM related
        * doc/redboot_installing.sgml: Removed all the free RAM related
        resource descriptions. Left in a few timer resource descriptions.
        resource descriptions. Left in a few timer resource descriptions.
        * doc/redboot_cmds.sgml: Refer to platform sections for additional
        * doc/redboot_cmds.sgml: Refer to platform sections for additional
        platform-specific resource usage.
        platform-specific resource usage.
        * doc/redboot_installing.sgml: Removed all platform specific
        * doc/redboot_installing.sgml: Removed all platform specific
        references to the updating section which told the user to use
        references to the updating section which told the user to use
        specific flash paramemters. All this is now handled
        specific flash paramemters. All this is now handled
        automagically.
        automagically.
        * src/alias.c (lookup_alias): FREEMEMHI is just the high address
        * src/alias.c (lookup_alias): FREEMEMHI is just the high address
        masked to 1KB alignment.
        masked to 1KB alignment.
        * doc/redboot_cmds.sgml: Added load disk example.
        * doc/redboot_cmds.sgml: Added load disk example.
        Added section on RedBoot resources.
        Added section on RedBoot resources.
2002-05-18  Gary Thomas  
2002-05-18  Gary Thomas  
        * src/main.c (do_baud_rate): Improve safety by asking for verification
        * src/main.c (do_baud_rate): Improve safety by asking for verification
        after actually changing the rate, before updating fconfig data.  This
        after actually changing the rate, before updating fconfig data.  This
        reduces the chance of making a "brick" by setting a bad baud rate.
        reduces the chance of making a "brick" by setting a bad baud rate.
        * src/flash.c (load_flash_config): Fix set_console_baud_rate prototype.
        * src/flash.c (load_flash_config): Fix set_console_baud_rate prototype.
        * src/io.c (verify_action_with_timeout):
        * src/io.c (verify_action_with_timeout):
        * include/redboot.h: New function verify_action_with_timeout().
        * include/redboot.h: New function verify_action_with_timeout().
        Returns false if no response within XX ms (or ^C).
        Returns false if no response within XX ms (or ^C).
2002-05-17  Gary Thomas  
2002-05-17  Gary Thomas  
        * src/main.c (do_help):
        * src/main.c (do_help):
        * src/flash.c:
        * src/flash.c:
        * include/redboot.h: Support nested command structures, like "fis",
        * include/redboot.h: Support nested command structures, like "fis",
        better.
        better.
2002-05-17  Jesper Skov  
2002-05-17  Jesper Skov  
        * doc/redboot_rebuilding.sgml: Rewrote update procedure to become
        * doc/redboot_rebuilding.sgml: Rewrote update procedure to become
        truly generic. Some minor tweaks.
        truly generic. Some minor tweaks.
        * doc/redboot_cmds.sgml: Added id to cksum command.
        * doc/redboot_cmds.sgml: Added id to cksum command.
        * src/shex.c (load_shex_image): Set entry address to be base
        * src/shex.c (load_shex_image): Set entry address to be base
        address.
        address.
        * src/load.c (do_load): Same.
        * src/load.c (do_load): Same.
        * src/flash.c (fis_create): Infer correct exec and entry
        * src/flash.c (fis_create): Infer correct exec and entry
        addresses.
        addresses.
        * src/load.c (load_elf_image): Save load_address/end.
        * src/load.c (load_elf_image): Save load_address/end.
        * src/flash.c: Made fis lock/unlock support optional image name
        * src/flash.c: Made fis lock/unlock support optional image name
        instead of addresses. Made a few places of the code use fis_lookup
        instead of addresses. Made a few places of the code use fis_lookup
        instead of scanning the table by steam.
        instead of scanning the table by steam.
        (do_flash_config): Update flash after configuration has been
        (do_flash_config): Update flash after configuration has been
        initialized.
        initialized.
2002-05-16  Jesper Skov  
2002-05-16  Jesper Skov  
        * doc/redboot_cmds.sgml: Updated text on cksum to show the new
        * doc/redboot_cmds.sgml: Updated text on cksum to show the new
        output format.
        output format.
        * src/xyzModem.c (xyzModem_stream_read): Fix build breakage.
        * src/xyzModem.c (xyzModem_stream_read): Fix build breakage.
        * doc/redboot.sgml: Some minor tweaks.
        * doc/redboot.sgml: Some minor tweaks.
        * src/alias.c (lookup_alias): Renamed freemem aliases.
        * src/alias.c (lookup_alias): Renamed freemem aliases.
2002-05-15  Jesper Skov  
2002-05-15  Jesper Skov  
        * src/io.c (verify_action): Replaced 'are you sure' with
        * src/io.c (verify_action): Replaced 'are you sure' with
        'continue'.
        'continue'.
        * doc/redboot.sgml: Same.
        * doc/redboot.sgml: Same.
        * src/xyzModem.c: Let Y-modem load correct length. Don't remove
        * src/xyzModem.c: Let Y-modem load correct length. Don't remove
        assumed padding bytes since they may well be actual data. Don't
        assumed padding bytes since they may well be actual data. Don't
        read anything after the EOF package is received.
        read anything after the EOF package is received.
        Disabled the Y-modem header stuff again; it still needs the
        Disabled the Y-modem header stuff again; it still needs the
        padding culling code. So in the end, only the EOF-package read
        padding culling code. So in the end, only the EOF-package read
        was at fault.
        was at fault.
        * src/main.c: Tweak cksum output.
        * src/main.c: Tweak cksum output.
        * src/flash.c (fis_create): language tweaks.
        * src/flash.c (fis_create): language tweaks.
        * src/main.c: Always call expand_aliases - leave it to that
        * src/main.c: Always call expand_aliases - leave it to that
        function to look for flash aliases when appropriate.
        function to look for flash aliases when appropriate.
        * src/flash.c: Moved basic alias expansion into separate file.
        * src/flash.c: Moved basic alias expansion into separate file.
        * src/alias.c: New file. Always provide FREE_LOW & FREE_HIGH
        * src/alias.c: New file. Always provide FREE_LOW & FREE_HIGH
        aliases, but also call flash_lookup_alias when defined.
        aliases, but also call flash_lookup_alias when defined.
        * include/redboot.h: Added declarations for alias functions. Added
        * include/redboot.h: Added declarations for alias functions. Added
        getc_t and terminate_t types.
        getc_t and terminate_t types.
        * src/load.c: Use getc_t/terminate_t types. Made raw load abort if
        * src/load.c: Use getc_t/terminate_t types. Made raw load abort if
        user tries to load a file too big for memory.
        user tries to load a file too big for memory.
        * cdl/redboot.cdl: Compile alias.c.
        * cdl/redboot.cdl: Compile alias.c.
2002-05-14  Jonathan Larmour  
2002-05-14  Jonathan Larmour  
        * src/version.c: Clarify comments.
        * src/version.c: Clarify comments.
2002-05-14  Gary Thomas  
2002-05-14  Gary Thomas  
        * include/redboot.h:
        * include/redboot.h:
        * src/net/net_io.c:
        * src/net/net_io.c:
        * src/net/dns.c: Merge generic "ip" command with "dns" for
        * src/net/dns.c: Merge generic "ip" command with "dns" for
        more homogenous interface.
        more homogenous interface.
2002-05-13  Gary Thomas  
2002-05-13  Gary Thomas  
        * cdl/redboot.cdl: Disable CYGOPT_REDBOOT_FIS_REDBOOT_BACKUP
        * cdl/redboot.cdl: Disable CYGOPT_REDBOOT_FIS_REDBOOT_BACKUP
        by default, since its use is currently unclear.
        by default, since its use is currently unclear.
        * src/flash.c (load_flash_config): Check for adequate FIS space
        * src/flash.c (load_flash_config): Check for adequate FIS space
        was incorrect [when FIS directory and FCONFIG are combined].
        was incorrect [when FIS directory and FCONFIG are combined].
        (fis_lookup): Image name lookup is case insensitive.
        (fis_lookup): Image name lookup is case insensitive.
2002-05-10  Gary Thomas  
2002-05-10  Gary Thomas  
        * src/flash.c: Lots of restructuring in support of combined
        * src/flash.c: Lots of restructuring in support of combined
        FIS and FCONFIG data.
        FIS and FCONFIG data.
        * cdl/redboot.cdl:
        * cdl/redboot.cdl:
        Add new option CYGSEM_REDBOOT_FLASH_COMBINED_FIS_AND_CONFIG
        Add new option CYGSEM_REDBOOT_FLASH_COMBINED_FIS_AND_CONFIG
        to allow FIS directory and FCONFIG data to share the same
        to allow FIS directory and FCONFIG data to share the same
        physical FLASH block.
        physical FLASH block.
2002-05-03  Gary Thomas  
2002-05-03  Gary Thomas  
        * src/flash.c (load_flash_config): Adjust fconfig database
        * src/flash.c (load_flash_config): Adjust fconfig database
        address - necessary if FLASH blocks are very small.
        address - necessary if FLASH blocks are very small.
2002-05-02  Gary Thomas  
2002-05-02  Gary Thomas  
        * src/load.c: Rework how decompression is done (with changes
        * src/load.c: Rework how decompression is done (with changes
        noted below).  Now turning on decompression works by pushing
        noted below).  Now turning on decompression works by pushing
        the decompress code into the stream I/O.
        the decompress code into the stream I/O.
        * src/flash.c (fis_load):
        * src/flash.c (fis_load):
        * src/decompress.c (gzip_inflate):
        * src/decompress.c (gzip_inflate):
        * include/redboot.h: Make decompression code more generalized.
        * include/redboot.h: Make decompression code more generalized.
2002-05-01  Gary Thomas  
2002-05-01  Gary Thomas  
        * include/elf.h: New file.
        * include/elf.h: New file.
        * cdl/redboot.cdl:
        * cdl/redboot.cdl:
        * src/load.c (load_elf_image): Support [simple] ELF images.
        * src/load.c (load_elf_image): Support [simple] ELF images.
2002-04-24  Yoshinori Sato  
2002-04-24  Yoshinori Sato  
        * src/xyzModem.c (xyzModem_stream_terminate): Increase time for
        * src/xyzModem.c (xyzModem_stream_terminate): Increase time for
        cleanup from 100ms to 250ms.
        cleanup from 100ms to 250ms.
2002-04-23  Jonathan Larmour  
2002-04-23  Jonathan Larmour  
        * src/syscall.c (__do_syscall): Rename EIO to NEWLIB_EIO to
        * src/syscall.c (__do_syscall): Rename EIO to NEWLIB_EIO to
        pre-empt any potential conflict. Add definition of
        pre-empt any potential conflict. Add definition of
        NEWLIB_ENOSYS and use it in place of ENOSYS.
        NEWLIB_ENOSYS and use it in place of ENOSYS.
2002-04-22  Jonathan Larmour  
2002-04-22  Jonathan Larmour  
        * doc/redboot.sgml: Document iq80321 switch settings.
        * doc/redboot.sgml: Document iq80321 switch settings.
        * include/redboot.h: Add gettimeofday, rename, isatty and system
        * include/redboot.h: Add gettimeofday, rename, isatty and system
        syscall numbers.
        syscall numbers.
        * src/syscall.c (__do_syscall): Handle above new syscalls in a
        * src/syscall.c (__do_syscall): Handle above new syscalls in a
        "default" way.
        "default" way.
        Take new extra signal argument.
        Take new extra signal argument.
        When required, handle file I/O syscalls, by passing into HAL.
        When required, handle file I/O syscalls, by passing into HAL.
2002-04-21  Paul Fine  
2002-04-21  Paul Fine  
        * src/flash.c (flash_get_config, load_flash_config): Save a
        * src/flash.c (flash_get_config, load_flash_config): Save a
        pointer to the configuration structure in FLASH.  If
        pointer to the configuration structure in FLASH.  If
        flash_get_config fails to find a config item, check to make sure
        flash_get_config fails to find a config item, check to make sure
        that the config structure in RAM has not been trashed.  If it has
        that the config structure in RAM has not been trashed.  If it has
        been trashed, set the pointer to the "readonly" version in FLASH
        been trashed, set the pointer to the "readonly" version in FLASH
        and try to read the config item again.
        and try to read the config item again.
        * cdl/redboot.cdl (CYGSEM_REDBOOT_FLASH_CONFIG_READONLY_FALLBACK):
        * cdl/redboot.cdl (CYGSEM_REDBOOT_FLASH_CONFIG_READONLY_FALLBACK):
        Added this flash config option to control the readonly fallback in
        Added this flash config option to control the readonly fallback in
        flash.c
        flash.c
2002-04-16  Yoshinori Sato  
2002-04-16  Yoshinori Sato  
2002-04-16  Jonathan Larmour  
2002-04-16  Jonathan Larmour  
        * src/xyzModem.c: Don't return ACKs too early.
        * src/xyzModem.c: Don't return ACKs too early.
2002-04-16  Gary Thomas  
2002-04-16  Gary Thomas  
        * src/net/bootp.c: Readjust timeouts - more, shorter.  Better response.
        * src/net/bootp.c: Readjust timeouts - more, shorter.  Better response.
2002-04-12  Gary Thomas  
2002-04-12  Gary Thomas  
        * src/net/bootp.c: Increase timeouts for slower networks.
        * src/net/bootp.c: Increase timeouts for slower networks.
2002-04-11  Nick Garnett  
2002-04-11  Nick Garnett  
        * doc/redboot.sgml: Changed some misplaced s into
        * doc/redboot.sgml: Changed some misplaced s into
        s.
        s.
2002-04-08  Nick Garnett  
2002-04-08  Nick Garnett  
        * doc/redboot.sgml: Added full LED code desription, revised memory
        * doc/redboot.sgml: Added full LED code desription, revised memory
        layout and miscellaneous other fixes for 80321.
        layout and miscellaneous other fixes for 80321.
2002-04-03  Gary Thomas  
2002-04-03  Gary Thomas  
        * src/main.c (do_mfill):
        * src/main.c (do_mfill):
        (do_mcmp): New routines for fill/compare random buffers.
        (do_mcmp): New routines for fill/compare random buffers.
        * cdl/redboot.cdl: CDL to control mfill, mcmp, cksum commands.
        * cdl/redboot.cdl: CDL to control mfill, mcmp, cksum commands.
        * src/net/net_io.c (do_ip_addr):
        * src/net/net_io.c (do_ip_addr):
        * doc/redboot.sgml: Add new command 'ip_addr', used to set/show the
        * doc/redboot.sgml: Add new command 'ip_addr', used to set/show the
        local and host [server] addresses.
        local and host [server] addresses.
2002-04-02  Jesper Skov  
2002-04-02  Jesper Skov  
        * redboot.sgml: excalibur: Updated memory map details, added
        * redboot.sgml: excalibur: Updated memory map details, added
        information about REDBOOT startup mode.
        information about REDBOOT startup mode.
2002-03-07  Mark Salter  
2002-03-07  Mark Salter  
        * src/net/tcp.c: Fix missing acks of resent segments pointed out
        * src/net/tcp.c: Fix missing acks of resent segments pointed out
        by Hendrik Ruijter.
        by Hendrik Ruijter.
2002-03-06  Nick Garnett  
2002-03-06  Nick Garnett  
        * doc/redboot.sgml: Added Integrator details.
        * doc/redboot.sgml: Added Integrator details.
2002-03-06  Mark Salter  
2002-03-06  Mark Salter  
        * src/net/tcp.c (__tcp_handler): Slight rework of Hendrik Ruijter's
        * src/net/tcp.c (__tcp_handler): Slight rework of Hendrik Ruijter's
        fix for FIN_WAIT_1 to TIME_WAIT transition.
        fix for FIN_WAIT_1 to TIME_WAIT transition.
2002-03-06  Jesper Skov  
2002-03-06  Jesper Skov  
        * doc/redboot.sgml: Updated iq80310 details.
        * doc/redboot.sgml: Updated iq80310 details.
        Updated iq80321 details.
        Updated iq80321 details.
        Updated e7t details.
        Updated e7t details.
2002-03-05  Jesper Skov  
2002-03-05  Jesper Skov  
        * doc/redboot.sgml: Updated ebsa285 details.
        * doc/redboot.sgml: Updated ebsa285 details.
        Updated ipaq details.
        Updated ipaq details.
        Updated edb7312 details.
        Updated edb7312 details.
2002-03-05  Gary Thomas  
2002-03-05  Gary Thomas  
2002-02-25 Hendrik Ruijter 
2002-02-25 Hendrik Ruijter 
        * include/net/net.h: Add 'reuse' flag.
        * include/net/net.h: Add 'reuse' flag.
        * src/net/tcp.c
        * src/net/tcp.c
        (tcp_send): Adjust socket close time to allow for faster re-use.
        (tcp_send): Adjust socket close time to allow for faster re-use.
        (__tcp_handler): Statetransitions to TIME_WAIT on active close
        (__tcp_handler): Statetransitions to TIME_WAIT on active close
        when FIN,ACK receivedsimultaneously.
        when FIN,ACK receivedsimultaneously.
        (__tcp_so_reuseaddr): New function - select fast re-use.
        (__tcp_so_reuseaddr): New function - select fast re-use.
2002-03-05  Jesper Skov  
2002-03-05  Jesper Skov  
        * doc/redboot.sgml: Add something about updating RedBoot on
        * doc/redboot.sgml: Add something about updating RedBoot on
        platforms using ROMRAM-startup type RedBoot. Also mention that fis
        platforms using ROMRAM-startup type RedBoot. Also mention that fis
        create can get some of its information from the fis directory.
        create can get some of its information from the fis directory.
        Updated assabet details.
        Updated assabet details.
2002-03-01  Mark Salter  
2002-03-01  Mark Salter  
        * redboot.sgml: Add diag docs and switch setting info for 80321.
        * redboot.sgml: Add diag docs and switch setting info for 80321.
2002-02-28  Hugo Tyson  
2002-02-28  Hugo Tyson  
        * src/flash.c (do_flash_config): Add "-d" to the help info.
        * src/flash.c (do_flash_config): Add "-d" to the help info.
        * doc/redboot.sgml: Docuement the "-d" option for dumb terminals
        * doc/redboot.sgml: Docuement the "-d" option for dumb terminals
        with fconfig - so you're not forced to use line editing.
        with fconfig - so you're not forced to use line editing.
2002-02-28  Jesper Skov  
2002-02-28  Jesper Skov  
        * src/syscall.c: Moved SYS_ value definitions to the header file.
        * src/syscall.c: Moved SYS_ value definitions to the header file.
        * include/redboot.h: Same.
        * include/redboot.h: Same.
2002-02-27  David Howells  
2002-02-27  David Howells  
        * sgml/redboot.sgml: Removed extraneous .
        * sgml/redboot.sgml: Removed extraneous .
2002-02-26  David Howells  
2002-02-26  David Howells  
        * doc/redboot.sgml: Updated the ASB2305 notes to be more complete
        * doc/redboot.sgml: Updated the ASB2305 notes to be more complete
        with respect to having two flash chips.
        with respect to having two flash chips.
2002-02-19  Mark Salter  
2002-02-19  Mark Salter  
        * src/net/net_io.c (net_io_init): Remove ISR installation. This
        * src/net/net_io.c (net_io_init): Remove ISR installation. This
        was wrong way to fix problem.
        was wrong way to fix problem.
2002-02-15  Mark Salter  
2002-02-15  Mark Salter  
        * src/net/net_io.c (net_io_init): Install default ISR for ethernet.
        * src/net/net_io.c (net_io_init): Install default ISR for ethernet.
2002-02-14  Patrick Doyle  
2002-02-14  Patrick Doyle  
        * src/fs/disk.c (disk_stream_read): Modified to return the number
        * src/fs/disk.c (disk_stream_read): Modified to return the number
        of bytes read instead of -1 when such number is less than was
        of bytes read instead of -1 when such number is less than was
        requested.
        requested.
2002-02-06  Mark Salter  
2002-02-06  Mark Salter  
        * src/syscall.c (sys_write): Call __flush after last __putc.
        * src/syscall.c (sys_write): Call __flush after last __putc.
        (__flush): New function to flush console output.
        (__flush): New function to flush console output.
2002-02-05  Jonathan Larmour  
2002-02-05  Jonathan Larmour  
        * src/net/net_io.c (net_init): Set use_bootp and net_debug defaults
        * src/net/net_io.c (net_init): Set use_bootp and net_debug defaults
        properly.
        properly.
2002-01-31  Gary Thomas  
2002-01-31  Gary Thomas  
        * src/fs/ide.c (ide_packet_read_sectors): Pass errors on read.
        * src/fs/ide.c (ide_packet_read_sectors): Pass errors on read.
        (ide_init): Ignore ATAPI devices that are not CDROM (like ZIP).
        (ide_init): Ignore ATAPI devices that are not CDROM (like ZIP).
2002-01-30  Hugo Tyson  
2002-01-30  Hugo Tyson  
        * src/net/net_io.c (start_console): Pick up config items to choose
        * src/net/net_io.c (start_console): Pick up config items to choose
        a console for special debug messages.  If it's not set, select
        a console for special debug messages.  If it's not set, select
        channel 0 regardless, like it used to.
        channel 0 regardless, like it used to.
        (info_console_force, info_console_number): New fconfig options to
        (info_console_force, info_console_number): New fconfig options to
        control this channel *plus* forcing application special debug out
        control this channel *plus* forcing application special debug out
        to a particular serial.   This is crucial for debugging debugging
        to a particular serial.   This is crucial for debugging debugging
        itself, or debugging a networked app over the network when you're
        itself, or debugging a networked app over the network when you're
        liable to get such messages popping out from the app as well as
        liable to get such messages popping out from the app as well as
        from RedBoot.
        from RedBoot.
        * cdl/redboot.cdl (CYGDBG_REDBOOT_NET_DEBUG_CONSOLE_NUMBER):
        * cdl/redboot.cdl (CYGDBG_REDBOOT_NET_DEBUG_CONSOLE_NUMBER):
        Option deleted, because this is now controlled by fconfig items.
        Option deleted, because this is now controlled by fconfig items.
2002-01-25  Hugo Tyson  
2002-01-25  Hugo Tyson  
        * src/syscall.c (sys_profile_reset): New routine - doesn't do
        * src/syscall.c (sys_profile_reset): New routine - doesn't do
        much, just NULLs the callback.  Useful placeholder in case more is
        much, just NULLs the callback.  Useful placeholder in case more is
        needed in future, eg. reset the clock also.
        needed in future, eg. reset the clock also.
        (__do_syscall): Calls the reset on syscall 2003.
        (__do_syscall): Calls the reset on syscall 2003.
2002-01-21  Hugo Tyson  
2002-01-21  Hugo Tyson  
        * src/flash.c (do_flash_config): Enable a "dumb terminal" mode for
        * src/flash.c (do_flash_config): Enable a "dumb terminal" mode for
        fconfig, which does not pre-fill the buffer for editing, but
        fconfig, which does not pre-fill the buffer for editing, but
        merely prompts for a new value (or RET for old, for non-string
        merely prompts for a new value (or RET for old, for non-string
        values).  This is because telnet/kermit-like network terminal apps
        values).  This is because telnet/kermit-like network terminal apps
        are not by default configured to pass all characters through.
        are not by default configured to pass all characters through.
2002-01-18  Hugo Tyson  
2002-01-18  Hugo Tyson  
        * src/syscall.c (sys_timer_ticks): Change this to a cyg_uint64 to
        * src/syscall.c (sys_timer_ticks): Change this to a cyg_uint64 to
        give better range for times() sanity in case we run the hardware
        give better range for times() sanity in case we run the hardware
        clock ticking at a faster rate, or want to last > 8 days.
        clock ticking at a faster rate, or want to last > 8 days.
2002-01-16  Hugo Tyson  
2002-01-16  Hugo Tyson  
        * src/syscall.c (sys_profile_frequency): Change frequency that is
        * src/syscall.c (sys_profile_frequency): Change frequency that is
        passed around to signed, so that we can enquire using -ve values.
        passed around to signed, so that we can enquire using -ve values.
        Re-order the logic a little so as to permit enquiries which do not
        Re-order the logic a little so as to permit enquiries which do not
        modify what's set up in the hardware.  Adjust the times() counter
        modify what's set up in the hardware.  Adjust the times() counter
        when its HZ rate changes so it tells the truth.
        when its HZ rate changes so it tells the truth.
2002-01-15  David Woodhouse  
2002-01-15  David Woodhouse  
        * src/flash.c: Better default for 'fis cr' - if we're programming
        * src/flash.c: Better default for 'fis cr' - if we're programming
        an existing flash image, take img_size from the last-loaded image
        an existing flash image, take img_size from the last-loaded image
        but length from the one that's already on the flash.
        but length from the one that's already on the flash.
2002-01-14  David Woodhouse  
2002-01-14  David Woodhouse  
        * src/main.c: Useful defaults for cksum command.
        * src/main.c: Useful defaults for cksum command.
        * src/flash.c: Useful defaults for fis create command.
        * src/flash.c: Useful defaults for fis create command.
        * src/load.c: Slight cleanup of file type detection.
        * src/load.c: Slight cleanup of file type detection.
2002-01-14  Jesper Skov  
2002-01-14  Jesper Skov  
        * src/net/cksum.c: Added volatile keyword to union members to
        * src/net/cksum.c: Added volatile keyword to union members to
        prevent compiler optimization messing things up.
        prevent compiler optimization messing things up.
2002-01-10  Hugo Tyson  
2002-01-10  Hugo Tyson  
        * src/syscall.c (sys_timer_isr): Add CYGARC_HAL_SAVE_GP(); and
        * src/syscall.c (sys_timer_isr): Add CYGARC_HAL_SAVE_GP(); and
        CYGARC_HAL_RESTORE_GP(); around the callback invocation to protect
        CYGARC_HAL_RESTORE_GP(); around the callback invocation to protect
        ourselves from whatever the app routine might do along those lines.
        ourselves from whatever the app routine might do along those lines.
2002-01-10  Hugo Tyson  
2002-01-10  Hugo Tyson  
        * src/syscall.c (sys_timer_ticks): Explicitly initialize this.
        * src/syscall.c (sys_timer_ticks): Explicitly initialize this.
        (sys_timer_isr): Call periodic callback function, with PC and SP
        (sys_timer_isr): Call periodic callback function, with PC and SP
        of interrupted context, if set.
        of interrupted context, if set.
        (sys_profile_call_back): New routine to support
        (sys_profile_call_back): New routine to support
        gprof profiling of GNUPro/newlib apps via BSP_SYSCALLS.  Sets the
        gprof profiling of GNUPro/newlib apps via BSP_SYSCALLS.  Sets the
        periodic callback function, returning the old value.
        periodic callback function, returning the old value.
        (sys_profile_frequency): Ditto, sets the frequency of the call, if
        (sys_profile_frequency): Ditto, sets the frequency of the call, if
        possible, or zero => a mere inquiry.
        possible, or zero => a mere inquiry.
        (sys_timer_init, sys_times): Be prepared for a dynamic non-default
        (sys_timer_init, sys_times): Be prepared for a dynamic non-default
        clock rate.
        clock rate.
        (__do_syscall): Handle new case arms.
        (__do_syscall): Handle new case arms.
        * cdl/redboot.cdl (CYGSEM_REDBOOT_BSP_SYSCALLS): Changed to a
        * cdl/redboot.cdl (CYGSEM_REDBOOT_BSP_SYSCALLS): Changed to a
        component; want to add stuff in here later.
        component; want to add stuff in here later.
        (CYGSEM_REDBOOT_BSP_SYSCALLS_GPROF): New option
        (CYGSEM_REDBOOT_BSP_SYSCALLS_GPROF): New option
        to control inclusion of histogram profiling callback syscalls.
        to control inclusion of histogram profiling callback syscalls.
2002-01-10  Jesper Skov  
2002-01-10  Jesper Skov  
        * src/main.c (do_version): Added year 2002.
        * src/main.c (do_version): Added year 2002.
2002-01-07  Gary Thomas  
2002-01-07  Gary Thomas  
        * src/flash.c (lookup_alias): Remove warning.
        * src/flash.c (lookup_alias): Remove warning.
2002-01-03  Gary Thomas  
2002-01-03  Gary Thomas  
        * src/xyzModem.c (xyzModem_stream_read): BUG 57497
        * src/xyzModem.c (xyzModem_stream_read): BUG 57497
        Try and detect (and remove) ^Z characters placed at end of stream.
        Try and detect (and remove) ^Z characters placed at end of stream.
        This data confuses higher processing, like the zlib decompression
        This data confuses higher processing, like the zlib decompression
        routines.
        routines.
2001-12-16  Mark Salter  
2001-12-16  Mark Salter  
        * src/fs/ide.c: Add ATAPI support.
        * src/fs/ide.c: Add ATAPI support.
        * include/fs/ide.h: Add ATAPI defines.
        * include/fs/ide.h: Add ATAPI defines.
        * src/fs/disk.c (disk_stream_open): Fix support for IDE CDROMs.
        * src/fs/disk.c (disk_stream_open): Fix support for IDE CDROMs.
        (disk_parse_filename): Ditto.
        (disk_parse_filename): Ditto.
2001-12-12  Hugo Tyson  
2001-12-12  Hugo Tyson  
        * cdl/redboot.cdl (CYGDBG_REDBOOT_NET_DEBUG_CONSOLE_NUMBER): New
        * cdl/redboot.cdl (CYGDBG_REDBOOT_NET_DEBUG_CONSOLE_NUMBER): New
        option to control the console number for network debug messages.
        option to control the console number for network debug messages.
        For platforms where serial0 is supported (due to common variant
        For platforms where serial0 is supported (due to common variant
        HAL code) but not connected; serial1 is all you get, say.
        HAL code) but not connected; serial1 is all you get, say.
        * src/net/net_io.c (start_console): Use it.
        * src/net/net_io.c (start_console): Use it.
2001-12-10  Nick Garnett  
2001-12-10  Nick Garnett  
        * src/net/cksum.c (__pseudo_sum): Fixed method of adding protocol
        * src/net/cksum.c (__pseudo_sum): Fixed method of adding protocol
        field to checksum. Some compilers optimize some of this away to
        field to checksum. Some compilers optimize some of this away to
        give a bogus result.
        give a bogus result.
2001-12-06  Jesper Skov  
2001-12-06  Jesper Skov  
        * src/load.c (do_load): Fix warning.
        * src/load.c (do_load): Fix warning.
        * src/main.c: Added support for dumping memory in 16 and 32 bit
        * src/main.c: Added support for dumping memory in 16 and 32 bit
        units. Based on patch from Warren Jasper .
        units. Based on patch from Warren Jasper .
2001-12-05  Hugo Tyson  
2001-12-05  Hugo Tyson  
        * src/flash.c (get_config): If we are editing an IP address, and
        * 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
        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
        the initial value of the string, it is unhelpful as a starting
        point for line editing.
        point for line editing.
        If we were given a value on the CLI eg. "fco bootp false" because
        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
        the new value was copied into the holding string, it was not
        recognized as a change, so the flash was not updated.  Bug!  The
        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
        fix is to change the order of the strcpy()s so that holdline is
        before line.
        before line.
        If the input line for a new value is completely blank, and the
        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.
        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
        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.
        tries to DNS resolve it there and then, looks like a hang.
        (do_flash_config): If we print the message "** invalid entry" do
        (do_flash_config): If we print the message "** invalid entry" do
        not just loop; set onevalue = NULL so that the user is prompted
        not just loop; set onevalue = NULL so that the user is prompted
        for a good value.  Otherwise it loops forever trying the same
        for a good value.  Otherwise it loops forever trying the same
        value if you typed "fco bootp goat" (goat being a bad boolean).
        value if you typed "fco bootp goat" (goat being a bad boolean).
        * src/parse.c (parse_bool): Check for (partial) rest of the word
        * src/parse.c (parse_bool): Check for (partial) rest of the word
        either "true" or "false" and nothing extra.  Thus we reject
        either "true" or "false" and nothing extra.  Thus we reject
        "truefalse" as is all to easy to type in by accident.  "TRU" "T"
        "truefalse" as is all to easy to type in by accident.  "TRU" "T"
        "tRuE" are all OK of course.
        "tRuE" are all OK of course.
        * src/net/inet_addr.c (inet_aton): Do not accept terminating the
        * 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
        dot-quad address with a final dot.  Else typing on the end of a
        provided-for-editing string is accepted.  Also reject units > 255.
        provided-for-editing string is accepted.  Also reject units > 255.
        Allow typing in either exactly one (large) number or 4 small ones;
        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
        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,
        "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
        and things like 10.0.0xffff which used to be accepted.  0x0a00ffff
        is OK though.  This change also prevents the pointer s running off
        is OK though.  This change also prevents the pointer s running off
        the end of the string if you just entered eg. "1".
        the end of the string if you just entered eg. "1".
2001-12-04  Richard Sandiford  
2001-12-04  Richard Sandiford  
        * include/net/net.h (ETH_MAX_PKTLEN): Increase to match definition
        * include/net/net.h (ETH_MAX_PKTLEN): Increase to match definition
        of MAX_ETH_MSG.
        of MAX_ETH_MSG.
2001-12-04  Richard Sandiford  
2001-12-04  Richard Sandiford  
        * src/net/tcp.c (__tcp_poll): Call MS_TICKS_DELAY before __timer_poll.
        * 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...
        * src/net/net_io.c (net_io_getc): Remove MS_TICKS_DELAY from here...
        (net_io_getc_nonblock): ...and from here.
        (net_io_getc_nonblock): ...and from here.
2001-11-30  Jesper Skov  
2001-11-30  Jesper Skov  
        * src/net/net_io.c (net_init): Print ESA for device even if bootp
        * src/net/net_io.c (net_init): Print ESA for device even if bootp
        fails.
        fails.
2001-11-29  Jonathan Larmour  
2001-11-29  Jonathan Larmour  
        * src/net/dns.c: Rename index -> ptdindex to avoid conflict with BSD
        * src/net/dns.c: Rename index -> ptdindex to avoid conflict with BSD
        index() function.
        index() function.
2001-11-29  Jesper Skov  
2001-11-29  Jesper Skov  
        * src/net/tftp_client.c (tftp_stream_open): Clear from_addr's
        * src/net/tftp_client.c (tftp_stream_open): Clear from_addr's
        sin_port so multiple loads are possible.
        sin_port so multiple loads are possible.
2001-11-26  Jesper Skov  
2001-11-26  Jesper Skov  
        * misc/redboot_XXX.ecm: Added. Replaced the _RAM, _ROM, and
        * misc/redboot_XXX.ecm: Added. Replaced the _RAM, _ROM, and
        _ROMRAM variants.
        _ROMRAM variants.
        * misc/redboot_ROM.ecm: Added configuration with all packages
        * misc/redboot_ROM.ecm: Added configuration with all packages
        relevant for a full RedBoot configuration. Whenever new (optional)
        relevant for a full RedBoot configuration. Whenever new (optional)
        RedBoot peer packages are added, they should be added to these
        RedBoot peer packages are added, they should be added to these
        files and not the RedBoot template.
        files and not the RedBoot template.
        * misc/redboot_ROMRAM.ecm: Same.
        * misc/redboot_ROMRAM.ecm: Same.
        * misc/redboot_RAM.ecm: Same.
        * misc/redboot_RAM.ecm: Same.
2001-11-15  Jesper Skov  
2001-11-15  Jesper Skov  
        * include/redboot.h: Added load_address and load_address_end
        * include/redboot.h: Added load_address and load_address_end
        variables to hold bounds of a loaded image.
        variables to hold bounds of a loaded image.
        * src/load.c: Fill load_address and load_address_end after srec
        * src/load.c: Fill load_address and load_address_end after srec
        and binary loads.
        and binary loads.
        * src/flash.c: Same.
        * src/flash.c: Same.
        * src/main.c (do_go): removed unneeded cast.
        * src/main.c (do_go): removed unneeded cast.
2001-11-14  Gary Thomas  
2001-11-14  Gary Thomas  
        * src/io.c (_rb_gets_preloaded): More correct timeout handling.
        * src/io.c (_rb_gets_preloaded): More correct timeout handling.
        n.b. in practice, this changes nothing, but it is more "correct".
        n.b. in practice, this changes nothing, but it is more "correct".
2001-11-05  Gary Thomas  
2001-11-05  Gary Thomas  
        * src/load.c: Minor typo in help string.
        * src/load.c: Minor typo in help string.
        * src/io.c (_rb_gets_preloaded): Clear buffer if ^C.
        * src/io.c (_rb_gets_preloaded): Clear buffer if ^C.
2001-11-02  Jesper Skov  
2001-11-02  Jesper Skov  
        * src/flash.c (fis_init): Fix warning.
        * src/flash.c (fis_init): Fix warning.
2001-11-01  Jesper Skov  
2001-11-01  Jesper Skov  
        * src/flash.c (fis_init): tweaks to the SIB protection code.
        * src/flash.c (fis_init): tweaks to the SIB protection code.
2001-11-01  Gary Thomas  
2001-11-01  Gary Thomas  
        * src/flash.c (fis_init): Need to init block fully, otherwise old
        * src/flash.c (fis_init): Need to init block fully, otherwise old
        images can persist after init.
        images can persist after init.
2001-10-31  Jesper Skov  
2001-10-31  Jesper Skov  
        * include/sib.h: Contains information about ARM Boot Monitor flash
        * include/sib.h: Contains information about ARM Boot Monitor flash
        block information.
        block information.
        * cdl/redboot.cdl: Added CYGOPT_REDBOOT_FIS_DIRECTORY_ARM_SIB_ID
        * cdl/redboot.cdl: Added CYGOPT_REDBOOT_FIS_DIRECTORY_ARM_SIB_ID
        option.
        option.
        * src/flash.c (fis_init): Added code to add ARM Boot Monitor
        * src/flash.c (fis_init): Added code to add ARM Boot Monitor
        footer on FIS block.
        footer on FIS block.
2001-10-30  Jonathan Larmour  
2001-10-30  Jonathan Larmour  
        * src/flash.c (fis_delete): Prototype arm_fis_delete in correct place.
        * src/flash.c (fis_delete): Prototype arm_fis_delete in correct place.
        (fis_list): Fix compilation problem - this isn't C++!
        (fis_list): Fix compilation problem - this isn't C++!
2001-10-30  Philippe Robin 
2001-10-30  Philippe Robin 
2001-10-30  Jonathan Larmour  
2001-10-30  Jonathan Larmour  
        * cdl/redboot.cdl: Add CYGINT_REDBOOT_ARM_FLASH_SIB_SUPPORTED and
        * cdl/redboot.cdl: Add CYGINT_REDBOOT_ARM_FLASH_SIB_SUPPORTED and
        CYGHWR_REDBOOT_ARM_FLASH_SIB to indicate support for, and a request
        CYGHWR_REDBOOT_ARM_FLASH_SIB to indicate support for, and a request
        to provide ARM flash block structure support.
        to provide ARM flash block structure support.
        * src/flash.c (fis_list): Call out to driver for ARM block FIS listing.
        * 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.
        (fis_delete): Call out to driver for ARM block FIS deletion.
2001-10-29  Gary Thomas  
2001-10-29  Gary Thomas  
        * src/main.c (cyg_start): New pseudo-commands, useful for scripts.
        * src/main.c (cyg_start): New pseudo-commands, useful for scripts.
        '# anything' - treated like a comment.
        '# anything' - treated like a comment.
        '= anything' - comment, but prints command line on console.
        '= anything' - comment, but prints command line on console.
        * src/flash.c (expand_aliases): Don't expand aliases which are
        * src/flash.c (expand_aliases): Don't expand aliases which are
        quoted, but only on the command line.  This allows aliases to
        quoted, but only on the command line.  This allows aliases to
        expand into other aliases which are within quoted strings.
        expand into other aliases which are within quoted strings.
        * include/redboot.h:
        * include/redboot.h:
        * src/io.c (_rb_gets_preloaded): New function which allows for a
        * src/io.c (_rb_gets_preloaded): New function which allows for a
        buffer to be displayed and edited in place.  This is extremely
        buffer to be displayed and edited in place.  This is extremely
        useful for 'fconfig', now that better line editing functions are
        useful for 'fconfig', now that better line editing functions are
        supported.
        supported.
        * src/flash.c (get_config): Using new function _rb_gets_preloaded(),
        * src/flash.c (get_config): Using new function _rb_gets_preloaded(),
        which supports edit-in-place for data items.
        which supports edit-in-place for data items.
2001-10-28  Gary Thomas  
2001-10-28  Gary Thomas  
        * src/main.c (cyg_start):
        * src/main.c (cyg_start):
        * src/io.c (_rb_gets):
        * src/io.c (_rb_gets):
        * include/redboot.h: Add new global control 'cmd_history' which is
        * include/redboot.h: Add new global control 'cmd_history' which is
        used to enable/disable command history collection.  This keeps the
        used to enable/disable command history collection.  This keeps the
        history from being cluttered with things like 'y' (answers to simple
        history from being cluttered with things like 'y' (answers to simple
        questions).
        questions).
2001-10-26  Gary Thomas  
2001-10-26  Gary Thomas  
        * src/io.c (_rb_gets): Fix ^A editing - was timing out, thus erasing
        * src/io.c (_rb_gets): Fix ^A editing - was timing out, thus erasing
        buffer [silently].
        buffer [silently].
2001-10-25  Gary Thomas  
2001-10-25  Gary Thomas  
        * src/io.c:
        * src/io.c:
        * cdl/redboot.cdl: Add command line history and edit functions.
        * cdl/redboot.cdl: Add command line history and edit functions.
        Controlled by CYGNUM_REDBOOT_CMD_LINE_EDITING option which defines
        Controlled by CYGNUM_REDBOOT_CMD_LINE_EDITING option which defines
        the depth of the history buffer.
        the depth of the history buffer.
2001-10-22  Jonathan Larmour  
2001-10-22  Jonathan Larmour  
        * include/redboot.h: Declare net_debug here.
        * include/redboot.h: Declare net_debug here.
2001-10-18  Jonathan Larmour  
2001-10-18  Jonathan Larmour  
        * src/net/net_io.c (net_init): Set cyg_io_eth_net_debug from net_debug.
        * 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.
        * include/net/net.h: Declare cyg_io_eth_net_debug.
2001-10-18  David Howells  
2001-10-18  David Howells  
        * src/syscall.c: Added support for the times() syscall and marked
        * src/syscall.c: Added support for the times() syscall and marked
        the utime() syscall as being implemented incorrectly.
        the utime() syscall as being implemented incorrectly.
2001-10-18  Gary Thomas  
2001-10-18  Gary Thomas  
        * src/io.c (_rb_gets): Fix parsing of \" in strings.
        * src/io.c (_rb_gets): Fix parsing of \" in strings.
2001-10-16  Jesper Skov  
2001-10-16  Jesper Skov  
        * cdl/redboot.cdl: Require ISOINFA.
        * cdl/redboot.cdl: Require ISOINFA.
2001-10-16  Jesper Skov  
2001-10-16  Jesper Skov  
        * src/net/dns.c (send_recv): Clear from_addr before passing it to
        * src/net/dns.c (send_recv): Clear from_addr before passing it to
        __udp_recvfrom. Fixed return value.
        __udp_recvfrom. Fixed return value.
2001-10-16  Gary Thomas  
2001-10-16  Gary Thomas  
        * src/flash.c (_do_flash_init):
        * src/flash.c (_do_flash_init):
        Add wrapper function for do_flash_init() to avoid compiler warning.
        Add wrapper function for do_flash_init() to avoid compiler warning.
        * src/io.c (_rb_gets):
        * src/io.c (_rb_gets):
        Use sub-timeouts when calling mon_read_char_with_timeout() as it
        Use sub-timeouts when calling mon_read_char_with_timeout() as it
        was intended that this routine should timeout quickly to allow
        was intended that this routine should timeout quickly to allow
        for other processing to take place if no data is available.  In
        for other processing to take place if no data is available.  In
        practice this won't make any difference unless the global "idle"
        practice this won't make any difference unless the global "idle"
        timeout value is changed to be something quite large.
        timeout value is changed to be something quite large.
        * src/decompress.c: Improve memory allocators.  Also use 'init'
        * src/decompress.c: Improve memory allocators.  Also use 'init'
        style function so that this is the only file that knows anything
        style function so that this is the only file that knows anything
        of the details of the decompression process or packaging.
        of the details of the decompression process or packaging.
        * src/main.c:
        * src/main.c:
        * include/redboot.h:
        * include/redboot.h:
        * cdl/redboot.cdl: Rework decompression to be totally encapsulated.
        * cdl/redboot.cdl: Rework decompression to be totally encapsulated.
        This keeps the details of this functionality in a single file, rather
        This keeps the details of this functionality in a single file, rather
        than scattered throughout RedBoot.
        than scattered throughout RedBoot.
2001-10-15  David Howells  
2001-10-15  David Howells  
        * src/xyzModem.c: put semicolon between goto-label and close curly.
        * src/xyzModem.c: put semicolon between goto-label and close curly.
2001-10-15  Gary Thomas  
2001-10-15  Gary Thomas  
        * src/flash.c (_expand_aliases): Change around some ambiguous code.
        * src/flash.c (_expand_aliases): Change around some ambiguous code.
        * src/main.c:
        * src/main.c:
        * src/decompress.c:
        * src/decompress.c:
        * include/redboot.h:
        * include/redboot.h:
        * cdl/redboot.cdl: Provide RedBoot specific memory allocators
        * cdl/redboot.cdl: Provide RedBoot specific memory allocators
        for ZLIB.  Allows much finer control over memory map.
        for ZLIB.  Allows much finer control over memory map.
        * src/main.c (do_dump): Add option "-s" to dump data as S-records.
        * src/main.c (do_dump): Add option "-s" to dump data as S-records.
2001-10-11  Gary Thomas  
2001-10-11  Gary Thomas  
        * src/net/enet.c (__enet_poll): Suppress warning messages.
        * src/net/enet.c (__enet_poll): Suppress warning messages.
2001-10-10  Jonathan Larmour  
2001-10-10  Jonathan Larmour  
        * src/flash.c (do_flash_init): Only set __flash_init when init is
        * src/flash.c (do_flash_init): Only set __flash_init when init is
        successful.
        successful.
2001-10-04  Jesper Skov  
2001-10-04  Jesper Skov  
        * src/fs/disk.c: Fix ISO9660 build error.
        * src/fs/disk.c: Fix ISO9660 build error.
        * src/main.c: Added x as an alias for the dump command.
        * src/main.c: Added x as an alias for the dump command.
        * src/net/dns.c: Fixed some messages (DNS -> DNS server).
        * src/net/dns.c: Fixed some messages (DNS -> DNS server).
2001-10-02  Gary Thomas  
2001-10-02  Gary Thomas  
        * src/xyzModem.h:
        * src/xyzModem.h:
        * src/xyzModem.c (xyzModem_stream_open):
        * src/xyzModem.c (xyzModem_stream_open):
        * src/load.c (do_load): Add new option "-c " to let the user
        * src/load.c (do_load): Add new option "-c " to let the user
        specify the I/O channel to use - xyModem only.
        specify the I/O channel to use - xyModem only.
2001-10-01  Gary Thomas  
2001-10-01  Gary Thomas  
        * src/net/udp.c (__udp_recvfrom): Don't change server address (returned
        * src/net/udp.c (__udp_recvfrom): Don't change server address (returned
        by this function) until a packet has been received with no timeout.
        by this function) until a packet has been received with no timeout.
2001-09-28  Jonathan Larmour  
2001-09-28  Jonathan Larmour  
        * src/flash.c (fis_create): if not copying, still update directory.
        * src/flash.c (fis_create): if not copying, still update directory.
2001-09-28  Gary Thomas  
2001-09-28  Gary Thomas  
        * src/flash.c (_expand_aliases): Properly null terminate expanded
        * src/flash.c (_expand_aliases): Properly null terminate expanded
        string - failed if alias was at end of line.
        string - failed if alias was at end of line.
2001-09-27  Jesper Skov  
2001-09-27  Jesper Skov  
        * src/net/dns.c: Include tracing header.
        * src/net/dns.c: Include tracing header.
2001-09-26  Jesper Skov  
2001-09-26  Jesper Skov  
        * src/net/dns.c: Removed errno hacks.
        * src/net/dns.c: Removed errno hacks.
        Reduce size of string buffers. Make sure they suffice (or fail).
        Reduce size of string buffers. Make sure they suffice (or fail).
        * include/redboot.h: Added DNS h_errno definitions.
        * include/redboot.h: Added DNS h_errno definitions.
        * include/redboot.h: Fix for building on targets wo network.
        * include/redboot.h: Fix for building on targets wo network.
        * src/load.c (do_load): Make sure host can be reached - and print
        * src/load.c (do_load): Make sure host can be reached - and print
        appropriate error message if not.
        appropriate error message if not.
        * src/net/net_io.c (net_init): Call DNS init when appropriate.
        * 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/inet_addr.c (inet_aton): Made s argument const.
        * src/net/dns.c: Added UDP driven DNS support.
        * src/net/dns.c: Added UDP driven DNS support.
        * src/net/bootp.c: Fixed warnings.
        * src/net/bootp.c: Fixed warnings.
        * src/flash.c: Replaced inet_aton with _gethostbyname.
        * src/flash.c: Replaced inet_aton with _gethostbyname.
        * src/load.c: Same.
        * src/load.c: Same.
        * src/net/ping.c: Same.
        * src/net/ping.c: Same.
        * include/net/net.h: Fix warning.
        * include/net/net.h: Fix warning.
        * include/redboot.h: Added DNS stuff, including some string
        * include/redboot.h: Added DNS stuff, including some string
        helpers.
        helpers.
        * cdl/redboot.cdl: Added DNS support options.
        * cdl/redboot.cdl: Added DNS support options.
2001-09-14  Jonathan Larmour  
2001-09-14  Jonathan Larmour  
        * src/version.c: Simplify _CERTIFICATE handling.
        * src/version.c: Simplify _CERTIFICATE handling.
2001-09-13  Fabrice Gautier 
2001-09-13  Fabrice Gautier 
        * cdl/redboot.cdl: Added configuration options to deactivate BOOTP and
        * cdl/redboot.cdl: Added configuration options to deactivate BOOTP and
        enable net debug.
        enable net debug.
        * src/net/net_io.c (net_init): Use them.
        * src/net/net_io.c (net_init): Use them.
2001-09-13  Gary Thomas  
2001-09-13  Gary Thomas  
        * src/flash.c: Cleanups - removing some redundant code.
        * src/flash.c: Cleanups - removing some redundant code.
2001-09-12  Jonathan Larmour  
2001-09-12  Jonathan Larmour  
        * src/flash.c (do_flash_init): Only allocate fis block when
        * src/flash.c (do_flash_init): Only allocate fis block when
        CYGOPT_REDBOOT_FIS enabled.
        CYGOPT_REDBOOT_FIS enabled.
        Conditionalize fis_work_block and fisdir_size.
        Conditionalize fis_work_block and fisdir_size.
2001-09-12  Gary Thomas  
2001-09-12  Gary Thomas  
        * src/flash.c (load_flash_config): Use additional space in the
        * src/flash.c (load_flash_config): Use additional space in the
        FLASH work area (at end of RAM) for 'fconfig' data.  This reduces
        FLASH work area (at end of RAM) for 'fconfig' data.  This reduces
        overall stack requirements as there is no need for 'fconfig' data
        overall stack requirements as there is no need for 'fconfig' data
        to be held on the stack anymore.
        to be held on the stack anymore.
        * src/flash.c:
        * src/flash.c:
        * include/fis.h: Define flash addresses using CYG_ADDRESS which
        * include/fis.h: Define flash addresses using CYG_ADDRESS which
        is more portable than (unsigned long).
        is more portable than (unsigned long).
2001-09-11  Jonathan Larmour  
2001-09-11  Jonathan Larmour  
        * cdl/redboot.cdl (CYGPKG_REDBOOT_FLASH): Be conditional on an
        * cdl/redboot.cdl (CYGPKG_REDBOOT_FLASH): Be conditional on an
        actual flash device, not just the generic flash layer.
        actual flash device, not just the generic flash layer.
2001-09-11  Gary Thomas  
2001-09-11  Gary Thomas  
        * src/version.c (_CERTIFICATE): Add information about product
        * src/version.c (_CERTIFICATE): Add information about product
        certification (either Red Hat certified or not).
        certification (either Red Hat certified or not).
        * src/flash.c (fis_delete): Deny user deleting "reserved" images.
        * src/flash.c (fis_delete): Deny user deleting "reserved" images.
2001-09-07  Andrew Lunn  
2001-09-07  Andrew Lunn  
        * src/flash.c: Extend the alias handling to allow configuration
        * src/flash.c: Extend the alias handling to allow configuration
        information to be access using alias. Fixed alias expansion
        information to be access using alias. Fixed alias expansion
        when the alias is bigger than the replacement.
        when the alias is bigger than the replacement.
        * src/parse.c: A semi colon can be used to separate multiple
        * src/parse.c: A semi colon can be used to separate multiple
        commands on one line.
        commands on one line.
2001-09-06  Jonathan Larmour  
2001-09-06  Jonathan Larmour  
        * include/redboot.h: Include string function prototype header.
        * include/redboot.h: Include string function prototype header.
2001-09-06  Jesper Skov  
2001-09-06  Jesper Skov  
        * src/fs/ide.c (ide_read_sectors): Use diag_(s)printf.
        * src/fs/ide.c (ide_read_sectors): Use diag_(s)printf.
        * src/fs/disk.c (do_disks): Same.
        * src/fs/disk.c (do_disks): Same.
2001-08-27  Andrew Lunn  
2001-08-27  Andrew Lunn  
        * src/flash.c: Allow the flash blocks used for FIS directory and
        * src/flash.c: Allow the flash blocks used for FIS directory and
        config information to be user configured. Generalise the fis_init
        config information to be user configured. Generalise the fis_init
        function to deal with the blocks in any order.
        function to deal with the blocks in any order.
        * cdl/redboot.cdl: Added the configury needed to specify which
        * cdl/redboot.cdl: Added the configury needed to specify which
        flash blocks to use.
        flash blocks to use.
2001-08-27  Mark Salter  
2001-08-27  Mark Salter  
        * src/syscall.c (HZ): Should be 60 for ARM, also.
        * src/syscall.c (HZ): Should be 60 for ARM, also.
2001-08-24  Tim Smith  
2001-08-24  Tim Smith  
        * src/xyzModem.c
        * src/xyzModem.c
        * src/xyzModem.h
        * src/xyzModem.h
        Provide xyzModem_stream_terminate() function to abort/clean up
        Provide xyzModem_stream_terminate() function to abort/clean up
        XYZmodem download on normal termination or after errors.
        XYZmodem download on normal termination or after errors.
        * src/load.c
        * src/load.c
        Use aforementioned function to abort downloads on SREC errors,
        Use aforementioned function to abort downloads on SREC errors,
        stop load_srec_image() from injecting stuff into the XYZmodem
        stop load_srec_image() from injecting stuff into the XYZmodem
        stream and confusing things.
        stream and confusing things.
2001-08-24  Mark Salter  
2001-08-24  Mark Salter  
        * src/net/net_io.c: Don't close connections if there is
        * src/net/net_io.c: Don't close connections if there is
        data left to read or write.
        data left to read or write.
        * src/syscall.c: Add support for utimes syscall.
        * src/syscall.c: Add support for utimes syscall.
2001-08-22  Gary Thomas  
2001-08-22  Gary Thomas  
        * src/net/udp.c:
        * src/net/udp.c:
        * src/net/pktbuf.c:
        * src/net/pktbuf.c:
        * src/net/ping.c:
        * src/net/ping.c:
        * src/net/net_io.c:
        * src/net/net_io.c:
        * src/net/inet_addr.c:
        * src/net/inet_addr.c:
        * src/net/enet.c:
        * src/net/enet.c:
        * src/fs/e2fs.c:
        * src/fs/e2fs.c:
        * src/xyzModem.c:
        * src/xyzModem.c:
        * src/parse.c:
        * src/parse.c:
        * src/misc_funs.c:
        * src/misc_funs.c:
        * src/main.c:
        * src/main.c:
        * src/load.c:
        * src/load.c:
        * src/io.c:
        * src/io.c:
        * src/flash.c:
        * src/flash.c:
        * include/net/net.h:
        * include/net/net.h:
        * include/redboot.h:
        * include/redboot.h:
        printf() is no longer a part of RedBoot.  Thus all programs
        printf() is no longer a part of RedBoot.  Thus all programs
        must use diag_printf() and related functions instead.  Also
        must use diag_printf() and related functions instead.  Also
        renamed the non-standard function gets() to be _rb_gets()
        renamed the non-standard function gets() to be _rb_gets()
        since there was some confusion about it because of it's
        since there was some confusion about it because of it's
        rather standard name.
        rather standard name.
        * cdl/redboot.cdl: Lots of changes based on moving all printf()
        * cdl/redboot.cdl: Lots of changes based on moving all printf()
        functionality into "infra" and only using it as diag_XXX().
        functionality into "infra" and only using it as diag_XXX().
2001-08-17  Gary Thomas  
2001-08-17  Gary Thomas  
        * src/version.c: Augment version information with startup mode.
        * src/version.c: Augment version information with startup mode.
        * src/flash.c (fis_find_free): Fix error in size comparisons.
        * src/flash.c (fis_find_free): Fix error in size comparisons.
        (load_flash_config): Fix 'fconfig' alignment now that it's
        (load_flash_config): Fix 'fconfig' alignment now that it's
        size is no longer fixed.
        size is no longer fixed.
2001-08-16  Jesper Skov  
2001-08-16  Jesper Skov  
        [from branch]
        [from branch]
        * cdl/redboot.cdl: Also behave as ROM monitor in ROMRAM
        * cdl/redboot.cdl: Also behave as ROM monitor in ROMRAM
        configurations.
        configurations.
        * src/load.c (do_load): Fix handling of conditional options.
        * src/load.c (do_load): Fix handling of conditional options.
        * src/flash.c (fis_load): Fix handling of conditional options.
        * src/flash.c (fis_load): Fix handling of conditional options.
        (fis_delete): Fix behavior on failure.
        (fis_delete): Fix behavior on failure.
        * src/flash.c (fis_write): Fix output.
        * src/flash.c (fis_write): Fix output.
        (fis_create): Only update directory when programming succeeded.
        (fis_create): Only update directory when programming succeeded.
2001-08-17  Jonathan Larmour  
2001-08-17  Jonathan Larmour  
        * cdl/redboot.cdl (CYGSEM_REDBOOT_VARIABLE_BAUD_RATE): Default
        * cdl/redboot.cdl (CYGSEM_REDBOOT_VARIABLE_BAUD_RATE): Default
        on, but only if platform supports it.
        on, but only if platform supports it.
2001-08-15  Mark Salter  
2001-08-15  Mark Salter  
        * src/io.c: Add support for "{...}" notation in boot scripts.
        * src/io.c: Add support for "{...}" notation in boot scripts.
2001-08-14  Jonathan Larmour  
2001-08-14  Jonathan Larmour  
        * src/io.c (gets): Allow $'s and +'s to be escaped.
        * src/io.c (gets): Allow $'s and +'s to be escaped.
2001-08-10  Jesper Skov  
2001-08-10  Jesper Skov  
        * src/flash.c (do_flash_init): Print error message instead of
        * src/flash.c (do_flash_init): Print error message instead of
        error code on init failure.
        error code on init failure.
        Don't print error codes where error messages are printed. Make
        Don't print error codes where error messages are printed. Make
        failure reporting strings look consistent.
        failure reporting strings look consistent.
        CYGHWR_IO_FLASH_BLOCK_LOCKING flavor changed to booldata.
        CYGHWR_IO_FLASH_BLOCK_LOCKING flavor changed to booldata.
2001-08-08  Jonathan Larmour  
2001-08-08  Jonathan Larmour  
        * src/io.c (gets): Match $ as indicating GDB anywhere in a line.
        * src/io.c (gets): Match $ as indicating GDB anywhere in a line.
2001-08-07  Julian Smart 
2001-08-07  Julian Smart 
        * src/version.c: added commented-out CYGDAT_REDBOOT_CUSTOM_VERSION
        * src/version.c: added commented-out CYGDAT_REDBOOT_CUSTOM_VERSION
        define that can be replaced using the RedBoot release script by
        define that can be replaced using the RedBoot release script by
        a specific version in a customer branch.
        a specific version in a customer branch.
2001-08-06  Jesper Skov  
2001-08-06  Jesper Skov  
        * src/fs/disk.c: Simple fix for DISK_IDE_CDROM partition type.
        * src/fs/disk.c: Simple fix for DISK_IDE_CDROM partition type.
        * cdl/redboot.cdl: Added (unused) CYGSEM_REDBOOT_DISK_ISO9660 option.
        * cdl/redboot.cdl: Added (unused) CYGSEM_REDBOOT_DISK_ISO9660 option.
2001-08-03  David Howells  
2001-08-03  David Howells  
        * src/net/net_io.c: Show the MAC address of the ethernet device
        * src/net/net_io.c: Show the MAC address of the ethernet device
        amongst the boot banners.
        amongst the boot banners.
2001-08-01  Mark Salter  
2001-08-01  Mark Salter  
        * src/fs/ide.c (ide_reset): Check for bogus status and timeout. Add
        * src/fs/ide.c (ide_reset): Check for bogus status and timeout. Add
        return value to indicate success.
        return value to indicate success.
        (ide_init): Check ide_reset() return value.
        (ide_init): Check ide_reset() return value.
2001-07-31  Mark Salter  
2001-07-31  Mark Salter  
        * src/fs/disk.c (find_dos_partitions): Fix extended partitions.
        * src/fs/disk.c (find_dos_partitions): Fix extended partitions.
        * src/fs/ide.c (ide_init): Rework the test for device presence.
        * src/fs/ide.c (ide_init): Rework the test for device presence.
2001-07-27  Gary Thomas  
2001-07-27  Gary Thomas  
        * src/load.c (load_srec_image, do_load):
        * src/load.c (load_srec_image, do_load):
        * cdl/redboot.cdl: New option CYGSEM_REDBOOT_VALIDATE_USER_RAM_LOADS
        * cdl/redboot.cdl: New option CYGSEM_REDBOOT_VALIDATE_USER_RAM_LOADS
        which can be used to disable user RAM checks in 'load' command.
        which can be used to disable user RAM checks in 'load' command.
        * src/load.c: Fix build problem if no IDE support.
        * src/load.c: Fix build problem if no IDE support.
        * src/net/tftp_client.c (tftp_stream_read): Only ACK data when it
        * src/net/tftp_client.c (tftp_stream_read): Only ACK data when it
        has been processed and we're ready for the next block.  This fixes
        has been processed and we're ready for the next block.  This fixes
        a race/timing issue which was exacerbated by the "spinner" in 'load'.
        a race/timing issue which was exacerbated by the "spinner" in 'load'.
2001-07-27  David Howells  
2001-07-27  David Howells  
        * src/xyzModem.c: Fixed an uninitialised variable warning.
        * src/xyzModem.c: Fixed an uninitialised variable warning.
2001-07-27  Mark Salter  
2001-07-27  Mark Salter  
        * cdl/redboot.cdl (CYGNUM_REDBOOT_MAX_PARTITIONS): New option.
        * cdl/redboot.cdl (CYGNUM_REDBOOT_MAX_PARTITIONS): New option.
        Rename CYGBLD_REDBOOT_MAX_DISKS to CYGNUM_REDBOOT_MAX_DISKS.
        Rename CYGBLD_REDBOOT_MAX_DISKS to CYGNUM_REDBOOT_MAX_DISKS.
        * include/fs/disk.h: Exported functions declared "externC".
        * include/fs/disk.h: Exported functions declared "externC".
        Replace MAX_PARTITIONS with CYGNUM_REDBOOT_MAX_PARTITIONS.
        Replace MAX_PARTITIONS with CYGNUM_REDBOOT_MAX_PARTITIONS.
        * src/fs/disk.c: Make exported functions "externC".
        * src/fs/disk.c: Make exported functions "externC".
        Rename CYGBLD_REDBOOT_MAX_DISKS to CYGNUM_REDBOOT_MAX_DISKS.
        Rename CYGBLD_REDBOOT_MAX_DISKS to CYGNUM_REDBOOT_MAX_DISKS.
        Replace MAX_PARTITIONS with CYGNUM_REDBOOT_MAX_PARTITIONS.
        Replace MAX_PARTITIONS with CYGNUM_REDBOOT_MAX_PARTITIONS.
        * src/fs/e2fs.c: Add support for symbolic links.
        * src/fs/e2fs.c: Add support for symbolic links.
        * include/fs/e2fs.h: Add dir filetype support.
        * include/fs/e2fs.h: Add dir filetype support.
2001-07-24  Mark Salter  
2001-07-24  Mark Salter  
        * src/load.c: Add disk load support.
        * src/load.c: Add disk load support.
        * src/fs/disk.c: New file. RedBoot disk management.
        * src/fs/disk.c: New file. RedBoot disk management.
        * src/fs/ide.c: New file. IDE disk I/O.
        * src/fs/ide.c: New file. IDE disk I/O.
        * src/fs/e2fs.c: New file. Linux ext2 filesystem support.
        * src/fs/e2fs.c: New file. Linux ext2 filesystem support.
        * cdl/redboot.cdl: Add options for disk/ide/filesystem support.
        * cdl/redboot.cdl: Add options for disk/ide/filesystem support.
2001-07-23  Jonathan Larmour  
2001-07-23  Jonathan Larmour  
        * src/main.c (set_console_baud_rate): No need to query the console
        * src/main.c (set_console_baud_rate): No need to query the console
        number if we don't care what it is.
        number if we don't care what it is.
        (do_baud_rate): Likewise.
        (do_baud_rate): Likewise.
2001-07-23  David Howells  
2001-07-23  David Howells  
        * src/flash.c: Force block-alignment for flash addresses in write
        * src/flash.c: Force block-alignment for flash addresses in write
        and erase functions.
        and erase functions.
2001-07-20  Jonathan Larmour  
2001-07-20  Jonathan Larmour  
        * src/net/net_io.c (net_init): Don't overwrite static IP
        * src/net/net_io.c (net_init): Don't overwrite static IP
        address when reading flash config if configured to not use BOOTP.
        address when reading flash config if configured to not use BOOTP.
        Set have_net if not using BOOTP and a default static IP addr is set.
        Set have_net if not using BOOTP and a default static IP addr is set.
2001-07-19  Gary Thomas  
2001-07-19  Gary Thomas  
        * src/flash.c: Be more generic with 'fconfig' layout.  In
        * src/flash.c: Be more generic with 'fconfig' layout.  In
        particular, handle case where FLASH block size is too small
        particular, handle case where FLASH block size is too small
        to hold fconfig data.
        to hold fconfig data.
        * src/io.c (mon_set_read_char_timeout): Fix dangling else bug.
        * src/io.c (mon_set_read_char_timeout): Fix dangling else bug.
        * src/flash.c (do_flash_init): Suppress printing info - this
        * src/flash.c (do_flash_init): Suppress printing info - this
        will happen when 'version' is called.  Also allow flash subsystem
        will happen when 'version' is called.  Also allow flash subsystem
        to be initialized when there is no 'fconfig' or 'fis' command
        to be initialized when there is no 'fconfig' or 'fis' command
        configured in (but flash support still is present).
        configured in (but flash support still is present).
        * src/version.c: Display complete version information which
        * src/version.c: Display complete version information which
        reflects such information as the source release, etc.
        reflects such information as the source release, etc.
        * cdl/redboot.cdl: New option CYGDAT_REDBOOT_CUSTOM_VERSION used to
        * cdl/redboot.cdl: New option CYGDAT_REDBOOT_CUSTOM_VERSION used to
        allow site-specific version information.  Define this via the
        allow site-specific version information.  Define this via the
        CDL like this:
        CDL like this:
           cdl_option CYGDAT_REDBOOT_CUSTOM_VERSION {
           cdl_option CYGDAT_REDBOOT_CUSTOM_VERSION {
             user_value 1 "Special test version"
             user_value 1 "Special test version"
           };
           };
2001-07-18  Gary Thomas  
2001-07-18  Gary Thomas  
        * src/net/net_io.c (net_io_putc, net_io_isr):
        * src/net/net_io.c (net_io_putc, net_io_isr):
        Need CYGARC_HAL_SAVE_GP()/CYGARC_HAL_RESTORE_GP() to support
        Need CYGARC_HAL_SAVE_GP()/CYGARC_HAL_RESTORE_GP() to support
        network debugging since different layers of eCos programs are
        network debugging since different layers of eCos programs are
        involved.
        involved.
2001-07-16  Gary Thomas  
2001-07-16  Gary Thomas  
        * src/main.c (do_version): Use external function _flash_info() to
        * src/main.c (do_version): Use external function _flash_info() to
        display information about installed FLASH.
        display information about installed FLASH.
        * src/load.c (load_srec_image): Remove extra '\n' on out of range msg.
        * src/load.c (load_srec_image): Remove extra '\n' on out of range msg.
        * src/flash.c (_flash_info): New function - displays information
        * src/flash.c (_flash_info): New function - displays information
        about FLASH found in system.  Used by 'version' command.
        about FLASH found in system.  Used by 'version' command.
2001-07-12  Gary Thomas  
2001-07-12  Gary Thomas  
2001-07-12  Fabrice Gautier 
2001-07-12  Fabrice Gautier 
        * cdl/redboot.cdl: Improve some descriptions of options.
        * cdl/redboot.cdl: Improve some descriptions of options.
2001-07-02  Jesper Skov  
2001-07-02  Jesper Skov  
        * src/io.c (do_channel): Fox build for !CYGPKG_REDBOOT_ANY_CONSOLE
        * src/io.c (do_channel): Fox build for !CYGPKG_REDBOOT_ANY_CONSOLE
2001-06-28  Jonathan Larmour  
2001-06-28  Jonathan Larmour  
        * cdl/redboot.cdl: Don't have a configured default IP address by
        * cdl/redboot.cdl: Don't have a configured default IP address by
        default if we have fconfig.
        default if we have fconfig.
        * src/net/ip.c: Provide a default ip addr if not defined.
        * src/net/ip.c: Provide a default ip addr if not defined.
2001-06-28  Jesper Skov  
2001-06-28  Jesper Skov  
        * src/load.c (do_load): Don't allow verbose to be used with serial
        * src/load.c (do_load): Don't allow verbose to be used with serial
        downloads.
        downloads.
        * src/main.c (do_reset): Reset via VV function.
        * src/main.c (do_reset): Reset via VV function.
2001-06-27  Hugo Tyson  
2001-06-27  Hugo Tyson  
        * src/io.c: Provide proto for do_channel() to reduce warning.
        * src/io.c: Provide proto for do_channel() to reduce warning.
2001-06-27  Jonathan Larmour  
2001-06-27  Jonathan Larmour  
        * cdl/redboot.cdl (CYGDAT_REDBOOT_DEFAULT_IP_ADDR): Provide a compiled
        * cdl/redboot.cdl (CYGDAT_REDBOOT_DEFAULT_IP_ADDR): Provide a compiled
        in default IP address.
        in default IP address.
        * src/net/ip.c: Initialize __local_ip_addr with it.
        * src/net/ip.c: Initialize __local_ip_addr with it.
        * src/net/bootp.c: Restore the previous __local_ip_addr if BOOTP fails.
        * src/net/bootp.c: Restore the previous __local_ip_addr if BOOTP fails.
        * include/redboot.h: Fix another VARIBLE_BAUD_RATE typo. Fun this.
        * include/redboot.h: Fix another VARIBLE_BAUD_RATE typo. Fun this.
2001-06-26  Jonathan Larmour  
2001-06-26  Jonathan Larmour  
        * src/io.c (do_channel): New function to display/switch console
        * src/io.c (do_channel): New function to display/switch console
        channel
        channel
        * src/main.c: Move define of CYGNUM_HAL_VIRTUAL_VECTOR_NUM_CHANNELS to
        * src/main.c: Move define of CYGNUM_HAL_VIRTUAL_VECTOR_NUM_CHANNELS to
        * include/redboot.h: ...here
        * include/redboot.h: ...here
2001-06-26  Gary Thomas  
2001-06-26  Gary Thomas  
        * src/flash.c (load_flash_config): Fix another VARIBLE_BAUD_RATE typo.
        * src/flash.c (load_flash_config): Fix another VARIBLE_BAUD_RATE typo.
        * src/xyzModem.c (xyzModem_get_hdr): ACK on EOT was missing.
        * src/xyzModem.c (xyzModem_get_hdr): ACK on EOT was missing.
2001-06-22  Gary Thomas  
2001-06-22  Gary Thomas  
        * src/load.c (do_load): Move [static] data used by decompression
        * src/load.c (do_load): Move [static] data used by decompression
        code into this routine where it is used - no longer static.
        code into this routine where it is used - no longer static.
2001-06-14  Gary Thomas  
2001-06-14  Gary Thomas  
        * src/xyzModem.c (xyzModem_get_hdr): More resilient header scan,
        * src/xyzModem.c (xyzModem_get_hdr): More resilient header scan,
        improves error handling capability by avoiding "early" aborts.
        improves error handling capability by avoiding "early" aborts.
        * src/load.c (do_load): Only check TFTP arguments if networking.
        * src/load.c (do_load): Only check TFTP arguments if networking.
        * src/flash.c: Reorg to support new config option (below).
        * src/flash.c: Reorg to support new config option (below).
        * cdl/redboot.cdl: New option CYGOPT_REDBOOT_FIS used to enable
        * cdl/redboot.cdl: New option CYGOPT_REDBOOT_FIS used to enable
        FIS oriented commands.  Other flash commands, e.g. 'fis write',
        FIS oriented commands.  Other flash commands, e.g. 'fis write',
        still exist even if disabled.
        still exist even if disabled.
        * src/main.c (do_dump): 'dump' with no arguments will now "continue"
        * src/main.c (do_dump): 'dump' with no arguments will now "continue"
        dumping from where the last command left off.
        dumping from where the last command left off.
2001-06-13  Gary Thomas  
2001-06-13  Gary Thomas  
        * src/main.c (cyg_start):
        * src/main.c (cyg_start):
        * src/io.c (gets):
        * src/io.c (gets):
        * cdl/redboot.cdl: Support RedBoot without GDB stubs.  Later
        * cdl/redboot.cdl: Support RedBoot without GDB stubs.  Later
        versions may also support alternate debug environments.
        versions may also support alternate debug environments.
2001-06-12  Gary Thomas  
2001-06-12  Gary Thomas  
        * src/net/net_io.c (net_io_putc): Flush data on '\n'.
        * src/net/net_io.c (net_io_putc): Flush data on '\n'.
2001-06-11  Jonathan Larmour  
2001-06-11  Jonathan Larmour  
        * doc/redboot.ebsa285: Remove, obsolete.
        * doc/redboot.ebsa285: Remove, obsolete.
        * doc/redboot.edb7xxx: Ditto.
        * doc/redboot.edb7xxx: Ditto.
        * doc/users_guide: Ditto.
        * doc/users_guide: Ditto.
2001-06-11  Gary Thomas  
2001-06-11  Gary Thomas  
        * src/flash.c (fis_create): Remove default for "-s" - too dangerous!
        * src/flash.c (fis_create): Remove default for "-s" - too dangerous!
        * include/net/tftp.h: Make sure packet size is valid (was one byte
        * include/net/tftp.h: Make sure packet size is valid (was one byte
        too long).
        too long).
        * src/net/tftp_client.c (tftp_stream_open): Fix problem when using
        * src/net/tftp_client.c (tftp_stream_open): Fix problem when using
        Windows (3Com at least) servers.
        Windows (3Com at least) servers.
        * src/flash.c: Remove dependency on printf() via user function
        * src/flash.c: Remove dependency on printf() via user function
        in flash drivers, provided at 'init' time.
        in flash drivers, provided at 'init' time.
2001-06-08  Gary Thomas  
2001-06-08  Gary Thomas  
        * src/parse.c (parse): Check for 'argv[]' overruns.
        * src/parse.c (parse): Check for 'argv[]' overruns.
        * src/main.c (ZLIB_COMPRESSION_OVERHEAD): Update - based on observations.
        * src/main.c (ZLIB_COMPRESSION_OVERHEAD): Update - based on observations.
        * src/net/tftp_client.c:
        * src/net/tftp_client.c:
        * src/net/net_io.c:
        * src/net/net_io.c:
        * src/net/enet.c:
        * src/net/enet.c:
        * include/redboot.h (MAX_ARGV): Minor memory reduction/tightening.
        * include/redboot.h (MAX_ARGV): Minor memory reduction/tightening.
2001-06-08  Jonathan Larmour  
2001-06-08  Jonathan Larmour  
        * src/main.c (do_caches): HAL_DCACHE_IS_ENABLED is not present
        * src/main.c (do_caches): HAL_DCACHE_IS_ENABLED is not present
        on all arch's, so conditionalize. Ditto HAL_ICACHE_IS_ENABLED.
        on all arch's, so conditionalize. Ditto HAL_ICACHE_IS_ENABLED.
2001-06-08  Nick Garnett  
2001-06-08  Nick Garnett  
        * src/main.c (cyg_start): Added code to disable interrupts on all
        * src/main.c (cyg_start): Added code to disable interrupts on all
        comm channels before entering GDB. If this is not done then stray
        comm channels before entering GDB. If this is not done then stray
        interrupts from an otherwise idle ethernet controller can cause
        interrupts from an otherwise idle ethernet controller can cause
        mayhem in the application.
        mayhem in the application.
        * src/net/net_io.c (net_io_control): Added code to set static
        * src/net/net_io.c (net_io_control): Added code to set static
        vector number in disable case as well as enable case.
        vector number in disable case as well as enable case.
        (net_io_init): Added call to net_io_control() to disable network
        (net_io_init): Added call to net_io_control() to disable network
        interrupts initially. Mainly to get current disable state
        interrupts initially. Mainly to get current disable state
        correctly set.
        correctly set.
2001-06-07  Jonathan Larmour  
2001-06-07  Jonathan Larmour  
        * src/load.c (do_load): Ask confirmation of RAM write addr, rather
        * src/load.c (do_load): Ask confirmation of RAM write addr, rather
        than automatically denying.
        than automatically denying.
        (load_srec_image): Ditto.
        (load_srec_image): Ditto.
        * src/io.c (verify_action): Don't ask if we're executing a script.
        * src/io.c (verify_action): Don't ask if we're executing a script.
2001-06-07  Gary Thomas  
2001-06-07  Gary Thomas  
        * src/flash.c (expand_aliases): Allow aliases/macros to be nested.
        * src/flash.c (expand_aliases): Allow aliases/macros to be nested.
        * src/main.c (set_console_baud_rate):
        * src/main.c (set_console_baud_rate):
        * src/flash.c (do_alias): Force 'fconfig' updates.
        * src/flash.c (do_alias): Force 'fconfig' updates.
        * include/flash_config.h (flash_add_config): New signature.
        * include/flash_config.h (flash_add_config): New signature.
        Parameter 'update' controls whether the Flash is updated.
        Parameter 'update' controls whether the Flash is updated.
2001-06-07    
2001-06-07    
        * src/load.c (do_load): Tidy some messages.
        * src/load.c (do_load): Tidy some messages.
        * src/flash.c (fis_load): Print image limits (memory range) when
        * src/flash.c (fis_load): Print image limits (memory range) when
        loading a compressed image.
        loading a compressed image.
2001-06-06  Mark Salter  
2001-06-06  Mark Salter  
        * include/net/tftp_support.h (TFTP_TIMEOUT_PERIOD): Increase to 5.
        * include/net/tftp_support.h (TFTP_TIMEOUT_PERIOD): Increase to 5.
        * src/net/udp.c (__udp_recvfrom): Initialize server source port
        * src/net/udp.c (__udp_recvfrom): Initialize server source port
        to zero.
        to zero.
        (__udp_recvfrom_handler): Validate server source port before
        (__udp_recvfrom_handler): Validate server source port before
        accepting packet.
        accepting packet.
2001-05-29  Jesper Skov  
2001-05-29  Jesper Skov  
        * src/flash.c (fis_load): Fix compiler warning.
        * src/flash.c (fis_load): Fix compiler warning.
2001-05-25  Gary Thomas  
2001-05-25  Gary Thomas  
        * src/main.c (set_console_baud_rate): Couldn't restore baud
        * src/main.c (set_console_baud_rate): Couldn't restore baud
        rate to default value!
        rate to default value!
        (do_baud_rate): Update baud rate in flash config database.
        (do_baud_rate): Update baud rate in flash config database.
        * src/flash.c (do_flash_config): Add "-i" option to force
        * src/flash.c (do_flash_config): Add "-i" option to force
        initialization of entire configuration database.
        initialization of entire configuration database.
        (do_alias): Improve handling of existing aliases.
        (do_alias): Improve handling of existing aliases.
2001-05-24  Gary Thomas  
2001-05-24  Gary Thomas  
        * src/flash.c (get_config):
        * src/flash.c (get_config):
        (do_alias): Be more careful about length of strings accepted.
        (do_alias): Be more careful about length of strings accepted.
        * cdl/redboot.cdl: Make 'fconfig' data space and strings larger.
        * cdl/redboot.cdl: Make 'fconfig' data space and strings larger.
        * src/main.c (cyg_start): Expand aliases on input commands.
        * src/main.c (cyg_start): Expand aliases on input commands.
        * src/flash.c: Add support for aliases (macros).  Also update
        * src/flash.c: Add support for aliases (macros).  Also update
        support for 'fconfig' strings.
        support for 'fconfig' strings.
        * include/flash_config.h (MAX_STRING_LENGTH): Infer from CDL.
        * include/flash_config.h (MAX_STRING_LENGTH): Infer from CDL.
        * cdl/redboot.cdl: Add options for [FLASH based] aliases.
        * cdl/redboot.cdl: Add options for [FLASH based] aliases.
        Also, 'fconfig' now supports strings.
        Also, 'fconfig' now supports strings.
2001-05-23  Gary Thomas  
2001-05-23  Gary Thomas  
        * src/flash.c: Fixed typo as below.
        * src/flash.c: Fixed typo as below.
2001-05-22  Jonathan Larmour  
2001-05-22  Jonathan Larmour  
        * cdl/redboot.cdl: Fix typo: CYGSEM_REDBOOT_VARIBLE_BAUD_RATE ->
        * cdl/redboot.cdl: Fix typo: CYGSEM_REDBOOT_VARIBLE_BAUD_RATE ->
        CYGSEM_REDBOOT_VARIABLE_BAUD_RATE
        CYGSEM_REDBOOT_VARIABLE_BAUD_RATE
        * src/main.c: Ditto.
        * src/main.c: Ditto.
2001-05-17  Jonathan Larmour  
2001-05-17  Jonathan Larmour  
        * src/net/tftp_client.c: include redboot.h for have_net.
        * src/net/tftp_client.c: include redboot.h for have_net.
2001-05-17  Dennis Ehlin  
2001-05-17  Dennis Ehlin  
        (with minor mods by jlarmour@redhat.com)
        (with minor mods by jlarmour@redhat.com)
        * cdl/redboot.cdl: Split boot script functionality into separate
        * cdl/redboot.cdl: Split boot script functionality into separate
        component. Rename some options not to be specific to FLASH.
        component. Rename some options not to be specific to FLASH.
        Add default boot script option.
        Add default boot script option.
        * src/main.c (cyg_start): Use default boot script if none provided
        * src/main.c (cyg_start): Use default boot script if none provided
        in FLASH (or indeed no FLASH). Support renamed CDL options.
        in FLASH (or indeed no FLASH). Support renamed CDL options.
        * src/io.c (gets): Support renamed CDL options.
        * src/io.c (gets): Support renamed CDL options.
        (verify_action): Ditto.
        (verify_action): Ditto.
        * src/flash.c: Ditto.
        * src/flash.c: Ditto.
        * include/redboot.h: Ditto.
        * include/redboot.h: Ditto.
2001-05-17  Gary Thomas  
2001-05-17  Gary Thomas  
        * src/crc.c (crc32): Remove unused variable/warning.
        * src/crc.c (crc32): Remove unused variable/warning.
        * src/main.c (set_console_baud_rate, do_baud_rate):
        * src/main.c (set_console_baud_rate, do_baud_rate):
        * src/flash.c:
        * src/flash.c:
        * include/redboot.h:
        * include/redboot.h:
        * cdl/redboot.cdl: Add support for variable, settable, console
        * cdl/redboot.cdl: Add support for variable, settable, console
        baud rate.
        baud rate.
        * src/net/tftp_client.c (tftp_stream_open): Don't try if no network.
        * src/net/tftp_client.c (tftp_stream_open): Don't try if no network.
2001-05-10  Gary Thomas  
2001-05-10  Gary Thomas  
        * cdl/redboot.cdl: Can't build RedBoot without virtual vectors.
        * cdl/redboot.cdl: Can't build RedBoot without virtual vectors.
2001-05-09  Mark Salter  
2001-05-09  Mark Salter  
        * src/main.c (cyg_start): Cast CYGACC_CALL_IF_DELAY_US argument
        * src/main.c (cyg_start): Cast CYGACC_CALL_IF_DELAY_US argument
        to a cyg_int32. Needed when sizeof(int) < sizeof(cyg_int32).
        to a cyg_int32. Needed when sizeof(int) < sizeof(cyg_int32).
2001-05-07  Gary Thomas  
2001-05-07  Gary Thomas  
        * src/net/net_io.c (net_io_isr): Interrupt acknowledgement
        * src/net/net_io.c (net_io_isr): Interrupt acknowledgement
        should rightly be done by the driver 'delivery' routine, not here.
        should rightly be done by the driver 'delivery' routine, not here.
2001-04-26  Gary Thomas  
2001-04-26  Gary Thomas  
        * src/main.c (do_caches): Display cache state if no arguments.
        * src/main.c (do_caches): Display cache state if no arguments.
2001-04-13  Gary Thomas  
2001-04-13  Gary Thomas  
        * src/net/ping.c (do_ping): Tidy message.
        * src/net/ping.c (do_ping): Tidy message.
2001-04-12  Robin Farine  
2001-04-12  Robin Farine  
2001-04-12  Jonathan Larmour  
2001-04-12  Jonathan Larmour  
        * src/io.c (gets): Checks for buffer overflow and returns buflen
        * src/io.c (gets): Checks for buffer overflow and returns buflen
        if it reaches the end of the buffer.
        if it reaches the end of the buffer.
        * src/main.c (cyg_start): Cope with gets() return being the
        * src/main.c (cyg_start): Cope with gets() return being the
        buffer length.
        buffer length.
2001-04-12  Mark Salter  
2001-04-12  Mark Salter  
2001-04-12  Robin Farine  
2001-04-12  Robin Farine  
        * src/net/enet.c (__eth_install_listener): Does not accept a
        * src/net/enet.c (__eth_install_listener): Does not accept a
        handler for an eth_type less than 0x800.
        handler for an eth_type less than 0x800.
        (__enet_poll): Only scan the handlers for a frame type greater
        (__enet_poll): Only scan the handlers for a frame type greater
        than 0x800.
        than 0x800.
2001-04-09  Mark Salter  
2001-04-09  Mark Salter  
        * src/printf.c (_vprintf): Fixed some portability problems where
        * src/printf.c (_vprintf): Fixed some portability problems where
        sizeof(int) != sizeof(long).
        sizeof(int) != sizeof(long).
2001-04-09  Hugo Tyson  
2001-04-09  Hugo Tyson  
        * src/main.c (do_cksum): Reduce warning absent posix_crc32().
        * src/main.c (do_cksum): Reduce warning absent posix_crc32().
        * src/main.c (cyg_start): Compare ram_end against workspace_end to
        * src/main.c (cyg_start): Compare ram_end against workspace_end to
        see if there is *less* SDRAM than the MLT suggested, and shorten
        see if there is *less* SDRAM than the MLT suggested, and shorten
        workspace et al accordingly.  This is needed if some SDRAM is
        workspace et al accordingly.  This is needed if some SDRAM is
        "stolen" for use by eg. a PCI window, and mapped far away.
        "stolen" for use by eg. a PCI window, and mapped far away.
2001-04-03  Gary Thomas  
2001-04-03  Gary Thomas  
        * src/load.c (do_load): Fix 'raw' loading to check for valid
        * src/load.c (do_load): Fix 'raw' loading to check for valid
        base address _before_ trying to load anything.  Also, some
        base address _before_ trying to load anything.  Also, some
        reorg to make raw vs non-raw cleaner.
        reorg to make raw vs non-raw cleaner.
2001-04-02  Hugo Tyson  
2001-04-02  Hugo Tyson  
        * src/flash.c (get_config): Update to support some new syntax:
        * src/flash.c (get_config): Update to support some new syntax:
        fco -l -n        ... lists showing nicknames instead of titles.
        fco -l -n        ... lists showing nicknames instead of titles.
        fco -l -n -f     ... lists showing both nicknames and titles.
        fco -l -n -f     ... lists showing both nicknames and titles.
        fco nickname     ... goes straight to editing only nickname.
        fco nickname     ... goes straight to editing only nickname.
        fco nick value   ... sets nickname to value.
        fco nick value   ... sets nickname to value.
        All then follow the usual flow out, including the question
        All then follow the usual flow out, including the question
        Update RedBoot non-volatile configuration - are you sure (y/n)
        Update RedBoot non-volatile configuration - are you sure (y/n)
        as it should be if you made a change.
        as it should be if you made a change.
2001-03-29  Mark Salter  
2001-03-29  Mark Salter  
        * cdl/redboot.cdl (CYGSEM_REDBOOT_FIS_CRC_CHECK): New option to
        * cdl/redboot.cdl (CYGSEM_REDBOOT_FIS_CRC_CHECK): New option to
        enable (default) or disable CRC checks in FIS images.
        enable (default) or disable CRC checks in FIS images.
        * src/flash.c: Use CYGSEM_REDBOOT_FIS_CRC_CHECK to decide whether
        * src/flash.c: Use CYGSEM_REDBOOT_FIS_CRC_CHECK to decide whether
        to provide CRC for flash images.
        to provide CRC for flash images.
2001-03-28  Mark Salter  
2001-03-28  Mark Salter  
        * src/net/tcp.c (__tcp_handler): Don't send ACK from TIME_WAIT state
        * src/net/tcp.c (__tcp_handler): Don't send ACK from TIME_WAIT state
        unless the FIN comes in again.
        unless the FIN comes in again.
2000-03-27  Grant Edwards 
2000-03-27  Grant Edwards 
        * src/net/tcp.c (__tcp_handler): Fixed sequence number bug seen when
        * src/net/tcp.c (__tcp_handler): Fixed sequence number bug seen when
        doing an active close.
        doing an active close.
2001-03-23  Gary Thomas  
2001-03-23  Gary Thomas  
        * src/printf.c (_vprintf): Support %u (unsigned) descriptor.
        * src/printf.c (_vprintf): Support %u (unsigned) descriptor.
        * src/main.c (do_cksum): New command to compute and print a POSIX
        * src/main.c (do_cksum): New command to compute and print a POSIX
        checksum on a range of memory.
        checksum on a range of memory.
        * src/crc.c (posix_crc32): New routine - matches POSIX algorithm.
        * src/crc.c (posix_crc32): New routine - matches POSIX algorithm.
2001-03-21  Gary Thomas  
2001-03-21  Gary Thomas  
        * cdl/redboot.cdl: Back off previous change in number of packets.
        * cdl/redboot.cdl: Back off previous change in number of packets.
        Also change minimum - below this, network debugging fails.
        Also change minimum - below this, network debugging fails.
        * src/flash.c (fis_write): New function - support raw writes to FLASH.
        * 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/net/enet.c (__enet_poll): Try to continue if out of packets.
        * src/main.c:
        * src/main.c:
        * src/load.c:
        * src/load.c:
        * src/flash.c:
        * src/flash.c:
        * include/redboot.h: Keep track of available "user" RAM.
        * include/redboot.h: Keep track of available "user" RAM.
        * cdl/redboot.cdl: Reduce default number of [network] packets.
        * cdl/redboot.cdl: Reduce default number of [network] packets.
2001-03-20  Gary Thomas  
2001-03-20  Gary Thomas  
        * src/net/net_io.c (net_io_test): Change for new calling convention.
        * 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/main.c (cyg_start): Idle processing now in I/O routines.
        * src/io.c (gets): Move idle processing into this function.
        * src/io.c (gets): Move idle processing into this function.
        * include/net/net.h (net_io_test): Needs idle parameter.
        * include/net/net.h (net_io_test): Needs idle parameter.
        * include/redboot.h: Change 'idle' functions to take state (idle/not).
        * include/redboot.h: Change 'idle' functions to take state (idle/not).
2001-03-19  Jesper Skov  
2001-03-19  Jesper Skov  
        * cdl/redboot.cdl: Put version.o file in the public lib directory
        * cdl/redboot.cdl: Put version.o file in the public lib directory
        so other packages can get at it and link redboot.
        so other packages can get at it and link redboot.
2001-03-16  Gary Thomas  
2001-03-16  Gary Thomas  
        * src/flash.c (fis_create): Preserve memory [load/exec] address
        * src/flash.c (fis_create): Preserve memory [load/exec] address
        when making assumptions [rewriting existing image].
        when making assumptions [rewriting existing image].
2001-03-16  Mark Salter  
2001-03-16  Mark Salter  
        * src/main.c (cyg_start): Restore console channel after returning
        * src/main.c (cyg_start): Restore console channel after returning
        from stub.
        from stub.
2001-03-15  Gary Thomas  
2001-03-15  Gary Thomas  
2001-03-15  Grant Edwards 
2001-03-15  Grant Edwards 
        * src/net/bootp.c (bootp_handler): Guard against buffer overflow.
        * src/net/bootp.c (bootp_handler): Guard against buffer overflow.
2001-03-15  Hugo Tyson  
2001-03-15  Hugo Tyson  
        * src/flash.c (fis_create): The code was installing a default for
        * 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,
        img_size from data_length of an extant record.  That's zero, so,
        so whilst the flash was erased, no data was copied in!
        so whilst the flash was erased, no data was copied in!
        (fis_list): Added a -d to get the data length field displayed.
        (fis_list): Added a -d to get the data length field displayed.
2001-03-15  Jesper Skov  
2001-03-15  Jesper Skov  
        * src/main.c: Make use of script variable conditional on flash.
        * src/main.c: Make use of script variable conditional on flash.
        * include/redboot.h: Changed type of workspace_end to silence
        * include/redboot.h: Changed type of workspace_end to silence
        warning.
        warning.
        * src/net/ping.c (do_ping): Fix warning.
        * src/net/ping.c (do_ping): Fix warning.
        * src/net/pktbuf.c (__pktbuf_dump): Fix warnings.
        * src/net/pktbuf.c (__pktbuf_dump): Fix warnings.
2001-03-14  Gary Thomas  
2001-03-14  Gary Thomas  
        * src/main.c (do_go): Make timeout code consistent with other
        * src/main.c (do_go): Make timeout code consistent with other
        versions, e.g. script timeout.  Also, allow a script to continue
        versions, e.g. script timeout.  Also, allow a script to continue
        if it was in effect when 'go' was called and ^C was typed.
        if it was in effect when 'go' was called and ^C was typed.
        * src/flash.c (fis_create): Ask for additional user verification
        * src/flash.c (fis_create): Ask for additional user verification
        if any [important] parameters are being assumed [left out by user].
        if any [important] parameters are being assumed [left out by user].
        This just adds a level of safety in the presence of assumptions.
        This just adds a level of safety in the presence of assumptions.
2001-03-13  Gary Thomas  
2001-03-13  Gary Thomas  
        * src/main.c: Define 'workspace' based on MLT files, rather than
        * src/main.c: Define 'workspace' based on MLT files, rather than
        simply using end of RAM area.
        simply using end of RAM area.
        * src/flash.c: Use 'workspace' for scratch area.
        * src/flash.c: Use 'workspace' for scratch area.
        * include/redboot.h: Define new variables 'workspace_XXX' to specify
        * include/redboot.h: Define new variables 'workspace_XXX' to specify
        ares used by RedBoot for scratch, etc.
        ares used by RedBoot for scratch, etc.
2001-03-12  Jesper Skov  
2001-03-12  Jesper Skov  
        * src/decompress.c: Removed Z_BAD_CRC hack. zlib does CRC checking
        * src/decompress.c: Removed Z_BAD_CRC hack. zlib does CRC checking
        now.
        now.
2001-03-09  Jesper Skov  
2001-03-09  Jesper Skov  
        * src/misc_funs.c: Added strncpy.
        * src/misc_funs.c: Added strncpy.
        * include/redboot.h: And declaration.
        * include/redboot.h: And declaration.
2001-03-08  Jesper Skov  
2001-03-08  Jesper Skov  
        * src/load.c (do_load): Added decompression support.
        * src/load.c (do_load): Added decompression support.
        * src/flash.c (fis_load): Same.
        * src/flash.c (fis_load): Same.
        * src/decompress.c: Added. Interfaces the zlib API.
        * src/decompress.c: Added. Interfaces the zlib API.
        * include/redboot.h: Added some definitions used by decompression
        * include/redboot.h: Added some definitions used by decompression
        code.
        code.
        * cdl/redboot.cdl: Added option to control size of zlib bounce
        * cdl/redboot.cdl: Added option to control size of zlib bounce
        buffer.
        buffer.
2001-03-05  Jesper Skov  
2001-03-05  Jesper Skov  
        * src/main.c (cyg_start): Make sure communication channels are
        * src/main.c (cyg_start): Make sure communication channels are
        initialized.
        initialized.
2001-03-03  Gary Thomas  
2001-03-03  Gary Thomas  
        * src/main.c (do_idle): New function - all 'idle' handling is here.
        * src/main.c (do_idle): New function - all 'idle' handling is here.
        * src/io.c (mon_read_char_with_timeout): Improve timeout handling
        * src/io.c (mon_read_char_with_timeout): Improve timeout handling
        when scanning for a console by applying the minimum possible value
        when scanning for a console by applying the minimum possible value
        (1 ms) to each channel, accumulating the total value.  The previous
        (1 ms) to each channel, accumulating the total value.  The previous
        algorithm was quite poor on systems where there is no buffering,
        algorithm was quite poor on systems where there is no buffering,
        i.e. serial channels with no FIFOs, because each channel would
        i.e. serial channels with no FIFOs, because each channel would
        wait for T/N (t = total timeout, N = number channels).  This might
        wait for T/N (t = total timeout, N = number channels).  This might
        possibly have been much longer than the devices could tolerate and
        possibly have been much longer than the devices could tolerate and
        still return valid data.
        still return valid data.
2001-03-01  Gary Thomas  
2001-03-01  Gary Thomas  
        * src/version.c: Add 'bootstrap' to banner so the world can see
        * src/version.c: Add 'bootstrap' to banner so the world can see
        more of what RedBoot's all about.
        more of what RedBoot's all about.
2001-02-28  Gary Thomas  
2001-02-28  Gary Thomas  
        * include/redboot.h: Fix prioritization of 'init' table entries.
        * include/redboot.h: Fix prioritization of 'init' table entries.
2001-02-26  Gary Thomas  
2001-02-26  Gary Thomas  
        * include/redboot.h (RedBoot_INIT_PRIO): Slight change - avoid
        * include/redboot.h (RedBoot_INIT_PRIO): Slight change - avoid
        arithmetic which C preprocessor doesn't handle anyway.  This also
        arithmetic which C preprocessor doesn't handle anyway.  This also
        fixes prioritizing init entries.
        fixes prioritizing init entries.
        * src/flash.c (fis_load): Only load actual data [length] when loading
        * src/flash.c (fis_load): Only load actual data [length] when loading
        an image.
        an image.
        * cdl/redboot.cdl: Change build rule to always rebuild 'version.o'
        * cdl/redboot.cdl: Change build rule to always rebuild 'version.o'
        whenever the application is relinked.  Thus the version string will
        whenever the application is relinked.  Thus the version string will
        always accurately reflect the actual build date/time.
        always accurately reflect the actual build date/time.
2001-02-22  Hugo Tyson  
2001-02-22  Hugo Tyson  
        * cdl/redboot.cdl: New config options to control default creation
        * cdl/redboot.cdl: New config options to control default creation
        of various FIS image files.  Also opt for a reserved area at the
        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
        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
        we must not interfere with.  This isn't the same as the extant
        boot_offset option, so the two are made to work together.
        boot_offset option, so the two are made to work together.
        Likewise an offset for the start of a POST-cooperative RedBoot
        Likewise an offset for the start of a POST-cooperative RedBoot
        image, if any; the value is of course platform dependent, not
        image, if any; the value is of course platform dependent, not
        simply after the first RedBoot image, if there is one.
        simply after the first RedBoot image, if there is one.
        Clarification: a POST-cooperative RedBoot image is a ROM-start
        Clarification: a POST-cooperative RedBoot image is a ROM-start
        image that runs at a higher address in ROM, and which omits some
        image that runs at a higher address in ROM, and which omits some
        of the hardware initialization because it's already done by
        of the hardware initialization because it's already done by
        whatever came before.  Most targets do not have such a thing;
        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
        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
        startup type.  A POST Redboot can be tested from a plain ROM
        redboot by just calling its entrypoint once it is installed in
        redboot by just calling its entrypoint once it is installed in
        flash; eg. by "go 0x50040044" at the RedBoot prompt.
        flash; eg. by "go 0x50040044" at the RedBoot prompt.
        * src/flash.c (fis_init): Create additional optional entries for
        * src/flash.c (fis_init): Create additional optional entries for
          o (reserved) reserved area at start, for preboot or post code.
          o (reserved) reserved area at start, for preboot or post code.
          o RedBoot itself now optional
          o RedBoot itself now optional
          o RedBoot[post]
          o RedBoot[post]
          o RedBoot[backup]
          o RedBoot[backup]
        Also initialize their addresses, sizes, accordingly.
        Also initialize their addresses, sizes, accordingly.
        The default behaviour is unchanged.
        The default behaviour is unchanged.
        The flash erase is moved to after the fis table init because the
        The flash erase is moved to after the fis table init because the
        fis table init most conveniently calculates the high water mark of
        fis table init most conveniently calculates the high water mark of
        built-in default objects.
        built-in default objects.
        (fis_create): If creating a file which already exists (most likely
        (fis_create): If creating a file which already exists (most likely
        one of the preconfigured defaults) pick up Flash address and
        one of the preconfigured defaults) pick up Flash address and
        length (the two required parameters) from there.  They're required
        length (the two required parameters) from there.  They're required
        to be the same to it's no loss of generality, and saves typing,
        to be the same to it's no loss of generality, and saves typing,
        makes the default entries far more useful and so on.
        makes the default entries far more useful and so on.
        (fis_delete): Skip those entries which were
        (fis_delete): Skip those entries which were
        preconfigured; we want nobody to be able to delete these.
        preconfigured; we want nobody to be able to delete these.
        (fis_free): Start searching for free space to list only after the
        (fis_free): Start searching for free space to list only after the
        reserved base area - if there is one.
        reserved base area - if there is one.
        (fis_find_free): Start searching for free space only after the
        (fis_find_free): Start searching for free space only after the
        reserved base area...
        reserved base area...
2001-02-22  Jesper Skov  
2001-02-22  Jesper Skov  
        * src/flash.c: Added default case to switch statement.
        * src/flash.c: Added default case to switch statement.
2001-02-20  Gary Thomas  
2001-02-20  Gary Thomas  
        * src/load.c: Remove unnecessary \r from usage message.
        * src/load.c: Remove unnecessary \r from usage message.
        * src/printf.c (_vprintf): Ensure CR/LF sequence, not LFCR.
        * src/printf.c (_vprintf): Ensure CR/LF sequence, not LFCR.
        * src/net/ping.c:
        * src/net/ping.c:
        * src/flash.c: Better usage messages [no naked linefeeds].
        * src/flash.c: Better usage messages [no naked linefeeds].
        * src/net/ping.c: Tidy up usage message.  Check for reasonable
        * src/net/ping.c: Tidy up usage message.  Check for reasonable
        packet lengths.
        packet lengths.
        * src/load.c: Tidy up usage message.
        * src/load.c: Tidy up usage message.
2001-02-16  Nick Garnett  
2001-02-16  Nick Garnett  
        * src/flash.c (load_flash_config): Move setting of config_ok to
        * 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
        true to before we look for a script to run. Otherwise scripts just
        don't work.
        don't work.
2001-02-14  Hugo Tyson  
2001-02-14  Hugo Tyson  
        * src/load.c (do_load): Wrap the help message at < 80 cols and fix
        * src/load.c (do_load): Wrap the help message at < 80 cols and fix
        a coupla warnings.
        a coupla warnings.
2001-02-13  Hugo Tyson  
2001-02-13  Hugo Tyson  
        * src/flash.c: Fix token/string pasting thinko: ## operators are
        * src/flash.c: Fix token/string pasting thinko: ## operators are
        not needed and do confuse some compilers.
        not needed and do confuse some compilers.
2001-02-12  Jesper Skov  
2001-02-12  Jesper Skov  
        * src/main.c: Use CYGNUM_HAL_VIRTUAL_VECTOR_DEBUG_CHANNEL instead
        * src/main.c: Use CYGNUM_HAL_VIRTUAL_VECTOR_DEBUG_CHANNEL instead
        of CYGNUM_HAL_VIRTUAL_VECTOR_CONSOLE_CHANNEL.
        of CYGNUM_HAL_VIRTUAL_VECTOR_CONSOLE_CHANNEL.
2001-02-11  Gary Thomas  
2001-02-11  Gary Thomas  
        * src/net/ping.c (do_ping): Accomodate new MS_TICKS scheme.
        * src/net/ping.c (do_ping): Accomodate new MS_TICKS scheme.
2001-02-09  Grant Edwards  
2001-02-09  Grant Edwards  
        * include/net/net.h (MS_TICKS_DELAY): New macro, different from
        * 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() so that MS_TICKS() gets the current tick count, and
        MS_TICKS_DELAY is used in a delay loop to actually do a delay.
        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
        * src/ticks.c (get_ms_ticks): New function imlementing rework of
        MS_TICKS
        MS_TICKS
        * src/net/net_io.c (net_io_getc): Use MS_TICKS_DELAY() instead of
        * src/net/net_io.c (net_io_getc): Use MS_TICKS_DELAY() instead of
        CYGACC_CALL_IF_DELAY_US() directly
        CYGACC_CALL_IF_DELAY_US() directly
        (net_io_getc_timeout): Likewise
        (net_io_getc_timeout): Likewise
        * src/net/udp.c (__udp_recvfrom): MS_TICKS -> MS_TICKS_DELAY
        * src/net/udp.c (__udp_recvfrom): MS_TICKS -> MS_TICKS_DELAY
        * src/net/bootp.c (__bootp_find_local_ip): Likewise
        * src/net/bootp.c (__bootp_find_local_ip): Likewise
2001-02-09  Jonathan Larmour  
2001-02-09  Jonathan Larmour  
2001-02-09  Grant Edwards  
2001-02-09  Grant Edwards  
        * src/net/net_io.c (net_io_getc_nonblock): Silence compiler warning
        * src/net/net_io.c (net_io_getc_nonblock): Silence compiler warning
2001-01-31  Gary Thomas  
2001-01-31  Gary Thomas  
        * include/redboot.h:
        * include/redboot.h:
        * cdl/redboot.cdl:
        * cdl/redboot.cdl:
        * src/flash.c: Use new CRC functions.
        * src/flash.c: Use new CRC functions.
        * src/crc.c: New file - supports 16 and 32 bit CRC functions.
        * src/crc.c: New file - supports 16 and 32 bit CRC functions.
2001-01-31  Grant Edwards 
2001-01-31  Grant Edwards 
        * src/net/net_io.c (net_io_test): Use new idle function to
        * src/net/net_io.c (net_io_test): Use new idle function to
        poll for incoming network connections.  Removes #if requirements
        poll for incoming network connections.  Removes #if requirements
        from the main CLI loop.
        from the main CLI loop.
        * src/main.c (cyg_start):
        * src/main.c (cyg_start):
        * include/redboot.h (RedBoot_idle): Add new tables to support
        * include/redboot.h (RedBoot_idle): Add new tables to support
        user defined functions to be called when idle (during command input).
        user defined functions to be called when idle (during command input).
2001-01-31  Gary Thomas  
2001-01-31  Gary Thomas  
        * include/redboot.h:
        * include/redboot.h:
        * src/main.c (cyg_start):
        * src/main.c (cyg_start):
        * src/net/net_io.c (net_io_getc_nonblock): Forgo TELNET escape
        * src/net/net_io.c (net_io_getc_nonblock): Forgo TELNET escape
        processing if GDB is active (requires 8-bit clean connection).
        processing if GDB is active (requires 8-bit clean connection).
2001-01-31  Nick Garnett  
2001-01-31  Nick Garnett  
        * src/syscall.c (__do_syscall):
        * src/syscall.c (__do_syscall):
        Added SYS_meminfo syscall.
        Added SYS_meminfo syscall.
        This is used by the MIPS3264 GNUPro runtime.
        This is used by the MIPS3264 GNUPro runtime.
        * src/net/net_io.c (net_io_getc_nonblock):
        * src/net/net_io.c (net_io_getc_nonblock):
        Telnet escape processing temporarily disabled because it does not
        Telnet escape processing temporarily disabled because it does not
        work.
        work.
2001-01-31  Grant Edwards 
2001-01-31  Grant Edwards 
        * include/net/net.h:
        * include/net/net.h:
        * src/net/enet.c (__eth_install_listener, __eth_remove_listener):
        * src/net/enet.c (__eth_install_listener, __eth_remove_listener):
        New functions - allow user registerable callout to handle
        New functions - allow user registerable callout to handle
        non-standard ethernet packets.
        non-standard ethernet packets.
2001-01-30  Gary Thomas  
2001-01-30  Gary Thomas  
        * src/main.c (do_reset): HAL macro name changed.
        * src/main.c (do_reset): HAL macro name changed.
        * src/net/ping.c (do_ping): Remove warning.
        * src/net/ping.c (do_ping): Remove warning.
        * src/main.c (do_help): Only display help for selected topic
        * src/main.c (do_help): Only display help for selected topic
        if provided.
        if provided.
2001-01-24  Jonathan Larmour  
2001-01-24  Jonathan Larmour  
        * src/main.c (cyg_start): Rework last change to use more generic
        * src/main.c (cyg_start): Rework last change to use more generic
        HAL_MEM_REAL_REGION_TOP macro.
        HAL_MEM_REAL_REGION_TOP macro.
2001-01-24  Hugo Tyson  
2001-01-24  Hugo Tyson  
        * src/main.c (cyg_start): Take notice of the hal_dram_size
        * src/main.c (cyg_start): Take notice of the hal_dram_size
        variable (only supported on ARMs) to set ram_end.  The symbols
        variable (only supported on ARMs) to set ram_end.  The symbols
        given by the CYGMEM_REGION_ram symbols are minima or defaults.
        given by the CYGMEM_REGION_ram symbols are minima or defaults.
2001-01-22  Gary Thomas  
2001-01-22  Gary Thomas  
        * src/net/inet_addr.c (inet_aton): Fix byte order on big endian
        * src/net/inet_addr.c (inet_aton): Fix byte order on big endian
        systems.
        systems.
        * src/net/icmp.c (__icmp_install_listener):
        * src/net/icmp.c (__icmp_install_listener):
        (__icmp_remove_listener): New functions.
        (__icmp_remove_listener): New functions.
        (__icmp_handler): Call listener for unhandled packets.
        (__icmp_handler): Call listener for unhandled packets.
        * include/net/net.h: Add handler for ICMP [incoming] data.
        * include/net/net.h: Add handler for ICMP [incoming] data.
        * cdl/redboot.cdl:
        * cdl/redboot.cdl:
        * src/net/ping.c: New CLI command - ping a host.
        * src/net/ping.c: New CLI command - ping a host.
2001-01-18  Gary Thomas  
2001-01-18  Gary Thomas  
        * include/net/net.h:
        * include/net/net.h:
        * src/net/pktbuf.c (__pktbuf_alloc):
        * src/net/pktbuf.c (__pktbuf_alloc):
        * src/net/tcp.c (__tcp_listen): Remove obsolete code regarding
        * src/net/tcp.c (__tcp_listen): Remove obsolete code regarding
        'eth_hdr' stored with packet buffer.
        'eth_hdr' stored with packet buffer.
2001-01-17  Hugo Tyson  
2001-01-17  Hugo Tyson  
        * src/io.c (dump_buf_with_offset): Fix previous change so it
        * src/io.c (dump_buf_with_offset): Fix previous change so it
        compiles; variable names used not same as parm names in func.
        compiles; variable names used not same as parm names in func.
2001-01-16  Gary Thomas  
2001-01-16  Gary Thomas  
        * src/xyzModem.c: Improved debug support - now allows debug
        * src/xyzModem.c: Improved debug support - now allows debug
        trace to be kept in memory and dumped at completion.
        trace to be kept in memory and dumped at completion.
        * src/io.c (vdump_buf_with_offset): New function which allows
        * src/io.c (vdump_buf_with_offset): New function which allows
        dumping via any generic "print" function.
        dumping via any generic "print" function.
        * include/redboot.h: Export new print/dump functions.
        * include/redboot.h: Export new print/dump functions.
2001-01-08  Gary Thomas  
2001-01-08  Gary Thomas  
        * src/net/arp.c: Add special case handling for ARP(self).
        * src/net/arp.c: Add special case handling for ARP(self).
2001-01-03  Gary Thomas  
2001-01-03  Gary Thomas  
        * src/main.c (do_version): Update copyright for 2001.
        * src/main.c (do_version): Update copyright for 2001.
        * src/io.c (gets): Use timeout provided [was hardcoded to 50ms!]
        * src/io.c (gets): Use timeout provided [was hardcoded to 50ms!]
2000-12-21  Mark Salter  
2000-12-21  Mark Salter  
        * src/flash.c (fis_init): Use CYGBLD_REDBOOT_FLASH_BOOT_OFFSET to
        * src/flash.c (fis_init): Use CYGBLD_REDBOOT_FLASH_BOOT_OFFSET to
        decide where to create default images.
        decide where to create default images.
        * cdl/redboot.cdl (CYGBLD_REDBOOT_FLASH_BOOT_OFFSET): Use this
        * cdl/redboot.cdl (CYGBLD_REDBOOT_FLASH_BOOT_OFFSET): Use this
        to define offset from start of FLASH to start of boot image.
        to define offset from start of FLASH to start of boot image.
2000-12-15  Gary Thomas  
2000-12-15  Gary Thomas  
        * src/version.c: Define GDB stubs version here as well.  Also
        * src/version.c: Define GDB stubs version here as well.  Also
        add warnings and informationabout how all of this works.
        add warnings and informationabout how all of this works.
2000-12-13  Gary Thomas  
2000-12-13  Gary Thomas  
        * src/version.c: New file.
        * src/version.c: New file.
        * src/main.c:
        * src/main.c:
        * cdl/redboot.cdl: Reorg - main.c is now treated like all other
        * cdl/redboot.cdl: Reorg - main.c is now treated like all other
        files.  New file 'version.c' holds the special stuff used at
        files.  New file 'version.c' holds the special stuff used at
        build time to get interesting version information into the
        build time to get interesting version information into the
        final product.
        final product.
2000-12-12  Gary Thomas  
2000-12-12  Gary Thomas  
        * src/flash.c (get_config): Increase size of input buffer used
        * src/flash.c (get_config): Increase size of input buffer used
        during 'fconfig' command.
        during 'fconfig' command.
2000-12-11  Gary Thomas  
2000-12-11  Gary Thomas  
        * src/main.c: Change in HAL layering - need to include proper
        * src/main.c: Change in HAL layering - need to include proper
        file to get 'reset' definition.
        file to get 'reset' definition.
2000-12-08  Jonathan Larmour  
2000-12-08  Jonathan Larmour  
        * cdl/redboot.cdl: Tweak CYGPKG_REDBOOT_MAX_CMD_LINE description.
        * cdl/redboot.cdl: Tweak CYGPKG_REDBOOT_MAX_CMD_LINE description.
2000-12-07  Gary Thomas  
2000-12-07  Gary Thomas  
        * src/main.c (cyg_start): Make CLI command buffer static.
        * src/main.c (cyg_start): Make CLI command buffer static.
        (do_reset): New command - reset platform from CLI.
        (do_reset): New command - reset platform from CLI.
        * src/io.c (dump_buf_with_offset): Change signature for
        * src/io.c (dump_buf_with_offset): Change signature for
        more generic export.
        more generic export.
        * include/redboot.h: Export 'dump_buf_with_offset' function.
        * include/redboot.h: Export 'dump_buf_with_offset' function.
        * cdl/redboot.cdl: Define CLI command buffer - static with
        * cdl/redboot.cdl: Define CLI command buffer - static with
        user specified length - to accomodate some environments which
        user specified length - to accomodate some environments which
        may want excrutiatingly long commands.
        may want excrutiatingly long commands.
2000-12-07  Jesper Skov  
2000-12-07  Jesper Skov  
        * src/misc_funs.c (strlen): NULL ptr string has length 0.
        * src/misc_funs.c (strlen): NULL ptr string has length 0.
        * src/load.c (load_srec_image): Refuse to load data to a location
        * src/load.c (load_srec_image): Refuse to load data to a location
        not in RAM.
        not in RAM.
        * src/flash.c (fis_create): Hack around another MIPS compiler bug.
        * src/flash.c (fis_create): Hack around another MIPS compiler bug.
2000-12-06  Jesper Skov  
2000-12-06  Jesper Skov  
        * src/load.c: Suppress verbosity when using xyz modem download.
        * src/load.c: Suppress verbosity when using xyz modem download.
        * src/main.c: Fix warnings.
        * src/main.c: Fix warnings.
        * src/load.c: Fix warnings.
        * src/load.c: Fix warnings.
        * src/parse.c (parse_num): Hack around MIPS compiler bug.
        * src/parse.c (parse_num): Hack around MIPS compiler bug.
2000-12-01  Gary Thomas  
2000-12-01  Gary Thomas  
        * src/xyzModem.h:
        * src/xyzModem.h:
        * src/xyzModem.c (xyzModem_stream_close): New function - tidy up
        * src/xyzModem.c (xyzModem_stream_close): New function - tidy up
        and print some statistics about the download.  Better handling
        and print some statistics about the download.  Better handling
        of CAN (cancel) function.
        of CAN (cancel) function.
        * src/load.c (load_srec_image): Consume all data, not just to
        * src/load.c (load_srec_image): Consume all data, not just to
        final record.  This makes Ymodem happier.  Also, call xyzModem_close().
        final record.  This makes Ymodem happier.  Also, call xyzModem_close().
2000-11-30  Gary Thomas  
2000-11-30  Gary Thomas  
        * src/flash.c (fis_create): Add new option '-n' which suppresses
        * src/flash.c (fis_create): Add new option '-n' which suppresses
        the copy from RAM to FLASH.  Used to simply update the FIS directory.
        the copy from RAM to FLASH.  Used to simply update the FIS directory.
        Also misc printf() changes - add 0x everywhere hex is used.
        Also misc printf() changes - add 0x everywhere hex is used.
        * src/net/net_io.c (_net_io_getc_nonblock): Abstract function.
        * src/net/net_io.c (_net_io_getc_nonblock): Abstract function.
        (net_io_getc_nonblock): Add minimal handling of telnet escape
        (net_io_getc_nonblock): Add minimal handling of telnet escape
        sequences - required to properly handle ^C.
        sequences - required to properly handle ^C.
        * src/main.c (cyg_start): Support network connection during
        * src/main.c (cyg_start): Support network connection during
        boot/startup script.  Use new codes from 'gets()'.
        boot/startup script.  Use new codes from 'gets()'.
        * src/flash.c (fis_create): Cleanup to remove warnings.
        * src/flash.c (fis_create): Cleanup to remove warnings.
        * include/net/net.h (BSPLOG): Update for new start/end_console().
        * include/net/net.h (BSPLOG): Update for new start/end_console().
        * src/io.c (gets):
        * src/io.c (gets):
        * include/redboot.h (_GETS_xxx): Define result codes from
        * include/redboot.h (_GETS_xxx): Define result codes from
        'gets()' function.
        'gets()' function.
2000-11-28  Gary Thomas  
2000-11-28  Gary Thomas  
        * src/parse.c (parse): Support escaped quote marks inside of
        * src/parse.c (parse): Support escaped quote marks inside of
        quoted string.  "ab\"c\"" is 'ab"c"'.
        quoted string.  "ab\"c\"" is 'ab"c"'.
        * src/net/tftp_client.c (tftp_stream_open): Read first datum from
        * src/net/tftp_client.c (tftp_stream_open): Read first datum from
        file during open to ensure that errors are reported.
        file during open to ensure that errors are reported.
2000-11-27  Drew Moseley  
2000-11-27  Drew Moseley  
        * src/main.c: Switch to an application stack before running a
        * src/main.c: Switch to an application stack before running a
        user-downloaded app.
        user-downloaded app.
2000-11-20  Gary Thomas  
2000-11-20  Gary Thomas  
        * src/flash.c: Use CYGBLD_REDBOOT_MIN_IMAGE_SIZE.
        * src/flash.c: Use CYGBLD_REDBOOT_MIN_IMAGE_SIZE.
        * cdl/redboot.cdl(CYGBLD_REDBOOT_MIN_IMAGE_SIZE): Define this to
        * cdl/redboot.cdl(CYGBLD_REDBOOT_MIN_IMAGE_SIZE): Define this to
        be the minimum size allowed for FIS images.
        be the minimum size allowed for FIS images.
        * src/xyzModem.c: Tidy up debug support.  Fix some synch problems
        * src/xyzModem.c: Tidy up debug support.  Fix some synch problems
        so that X/Y modem protocols now work properly with Windows/Hyperterm.
        so that X/Y modem protocols now work properly with Windows/Hyperterm.
2000-11-20  Mark Salter  
2000-11-20  Mark Salter  
        * src/net/net_io.c (net_io_flush): Add __tcp_drain to make sure
        * src/net/net_io.c (net_io_flush): Add __tcp_drain to make sure
        everything is successfully sent out.
        everything is successfully sent out.
        (net_io_control): Call net_io_flush for __COMMCTL_FLUSH_OUTPUT.
        (net_io_control): Call net_io_flush for __COMMCTL_FLUSH_OUTPUT.
2000-11-19  Gary Thomas  
2000-11-19  Gary Thomas  
        * src/flash.c (fis_create): Print more info when length check fails.
        * src/flash.c (fis_create): Print more info when length check fails.
        * src/main.c: Split version display into separate command.
        * src/main.c: Split version display into separate command.
2000-11-06  Mark Salter  
2000-11-06  Mark Salter  
        * src/syscall.c: New file. Common handling for bsp syscalls.
        * src/syscall.c: New file. Common handling for bsp syscalls.
        * cdl/redboot.cdl: Add CYGSEM_REDBOOT_BSP_SYSCALLS option to
        * cdl/redboot.cdl: Add CYGSEM_REDBOOT_BSP_SYSCALLS option to
        turn on BSP syscall support.
        turn on BSP syscall support.
2000-11-06  Jesper Skov  
2000-11-06  Jesper Skov  
        * src/net/net_io.c (net_io_flush): Clear interrupt flag before
        * src/net/net_io.c (net_io_flush): Clear interrupt flag before
        setting breakpoint.
        setting breakpoint.
2000-10-30  Gary Thomas  
2000-10-30  Gary Thomas  
        * src/net/udp.c:
        * src/net/udp.c:
        * src/net/pktbuf.c:
        * src/net/pktbuf.c:
        * src/net/net_io.c:
        * src/net/net_io.c:
        * src/net/enet.c:
        * src/net/enet.c:
        * include/net/net.h: Minor cleanups to remove warnings.
        * include/net/net.h: Minor cleanups to remove warnings.
        * cdl/redboot.cdl: Support threads in all but RAM mode.  Note:
        * cdl/redboot.cdl: Support threads in all but RAM mode.  Note:
        this should allow thread support in ROM and FLOPPY startup mode.
        this should allow thread support in ROM and FLOPPY startup mode.
2000-10-27  Gary Thomas  
2000-10-27  Gary Thomas  
        * src/xyzModem.c (xyzModem_stream_open): Add extra delay during
        * src/xyzModem.c (xyzModem_stream_open): Add extra delay during
        startup - to give the sender time to get started.
        startup - to give the sender time to get started.
        * src/flash.c (fis_load): Add "-c" option to show checksum of
        * src/flash.c (fis_load): Add "-c" option to show checksum of
        image after loading.
        image after loading.
        (fis_list): Add "-c" to display stored checksums.
        (fis_list): Add "-c" to display stored checksums.
2000-10-26  Mark Salter  
2000-10-26  Mark Salter  
        * src/load.c (do_load): Move some local variable declarations
        * src/load.c (do_load): Move some local variable declarations
        needed by xyzmodem support so they can be used when redboot
        needed by xyzmodem support so they can be used when redboot
        networking not enabled.
        networking not enabled.
2000-10-26  Gary Thomas  
2000-10-26  Gary Thomas  
        * cdl/redboot.cdl: Improve CDL so CYGSEM_HAL_ROM_MONITOR can
        * cdl/redboot.cdl: Improve CDL so CYGSEM_HAL_ROM_MONITOR can
        be correctly infered (when building ROM versions).
        be correctly infered (when building ROM versions).
        * cdl/redboot.cdl:
        * cdl/redboot.cdl:
        * src/load.c: Add support for xyzModem serial download.
        * src/load.c: Add support for xyzModem serial download.
        * src/xyzModem.h:
        * src/xyzModem.h:
        * src/xyzModem.c: New file(s).
        * src/xyzModem.c: New file(s).
2000-10-24  Gary Thomas  
2000-10-24  Gary Thomas  
        * src/flash.c:
        * src/flash.c:
        * cdl/redboot.cdl: Add new option which supports keeping all
        * cdl/redboot.cdl: Add new option which supports keeping all
        important RedBoot data "locked" in FLASH.
        important RedBoot data "locked" in FLASH.
2000-10-23  Gary Thomas  
2000-10-23  Gary Thomas  
        * src/flash.c (fis_lookup): New exported function.
        * src/flash.c (fis_lookup): New exported function.
        (fis_load): Add memory load option. Also checksum data after copy.
        (fis_load): Add memory load option. Also checksum data after copy.
        * include/fis.h: Add 'data_length' member.
        * include/fis.h: Add 'data_length' member.
        Prototype for 'fis_lookup()'.
        Prototype for 'fis_lookup()'.
        * src/main.c (bist): New [weak] function.  Provide hook for
        * src/main.c (bist): New [weak] function.  Provide hook for
        platform specific "builtin tests".  This will be overridden by
        platform specific "builtin tests".  This will be overridden by
        platform based functions.
        platform based functions.
        * cdl/redboot.cdl:
        * cdl/redboot.cdl:
        * src/main.c (cyg_start):
        * src/main.c (cyg_start):
        * src/flash.c: Script timeout now has a configurable resolution.
        * src/flash.c: Script timeout now has a configurable resolution.
2000-10-21  Gary Thomas  
2000-10-21  Gary Thomas  
        * src/net/eth_drv.c: Removed obsolete file - now provided by
        * src/net/eth_drv.c: Removed obsolete file - now provided by
        standard IO/ETH package.
        standard IO/ETH package.
2000-10-20  Gary Thomas  
2000-10-20  Gary Thomas  
        * src/net/pktbuf.c: Diagnostc - add buffer [list] dumper.
        * src/net/pktbuf.c: Diagnostc - add buffer [list] dumper.
        * src/net/enet.c: Diagnostic - dump when run out of buffers.
        * src/net/enet.c: Diagnostic - dump when run out of buffers.
        * src/flash.c: Make sure RedBoot flash image size meets
        * src/flash.c: Make sure RedBoot flash image size meets
        certain minimums - currently at least 128K.
        certain minimums - currently at least 128K.
2000-10-19  Gary Thomas  
2000-10-19  Gary Thomas  
        * cdl/redboot.cdl: Add dependency on 'vectors.o'.
        * cdl/redboot.cdl: Add dependency on 'vectors.o'.
        * include/redboot.h:
        * include/redboot.h:
        * src/misc_funs.c (strcpy, memcmp):
        * src/misc_funs.c (strcpy, memcmp):
        Make function signature [prototype] conform to standards.
        Make function signature [prototype] conform to standards.
        (memmove, memset): Remove.
        (memmove, memset): Remove.
2000-10-18  Gary Thomas  
2000-10-18  Gary Thomas  
        * cdl/redboot.cdl: Improve dependency checking in make rules.
        * cdl/redboot.cdl: Improve dependency checking in make rules.
2000-10-17  Gary Thomas  
2000-10-17  Gary Thomas  
        * src/flash.c (fis_create): Add new "-s" option to support padded
        * src/flash.c (fis_create): Add new "-s" option to support padded
        images (data size not the same as image size in FLASH).
        images (data size not the same as image size in FLASH).
        * include/fis.h: New file - make structure available for export.
        * include/fis.h: New file - make structure available for export.
        * src/parse.c: New file.
        * src/parse.c: New file.
        * include/redboot.h:
        * include/redboot.h:
        * src/main.c:
        * src/main.c:
        * cdl/redboot.cdl: Split command line parsing functions to separate
        * cdl/redboot.cdl: Split command line parsing functions to separate
        file.
        file.
2000-10-05  Gary Thomas  
2000-10-05  Gary Thomas  
        * src/net/net_io.c (net_io_revert_console):
        * src/net/net_io.c (net_io_revert_console):
        (net_io_assume_console):
        (net_io_assume_console):
        * src/main.c (cyg_start):
        * src/main.c (cyg_start):
        * src/io.c (gets):
        * src/io.c (gets):
        * include/redboot.h: Add notion of "console_echo" so that telnet
        * include/redboot.h: Add notion of "console_echo" so that telnet
        connections don't echo doubly.  Note: there is no telnet negotiation
        connections don't echo doubly.  Note: there is no telnet negotiation
        at this time, so some things are still not perfect.
        at this time, so some things are still not perfect.
2000-09-17  Gary Thomas  
2000-09-17  Gary Thomas  
        * src/main.c: Display platform/cpu identification strings if available.
        * src/main.c: Display platform/cpu identification strings if available.
        * cdl/redboot.cdl: Improve CDL to include thread support if
        * cdl/redboot.cdl: Improve CDL to include thread support if
        built in ROM mode.  Also, better handling of network option.
        built in ROM mode.  Also, better handling of network option.
2000-09-15  Gary Thomas  
2000-09-15  Gary Thomas  
        * src/flash.c (fis_create): Length (and flash address) must match
        * src/flash.c (fis_create): Length (and flash address) must match
        exactly when replacing an image.
        exactly when replacing an image.
        Only warn of invalid memory addresses, not fail.
        Only warn of invalid memory addresses, not fail.
2000-09-13  Gary Thomas  
2000-09-13  Gary Thomas  
        * src/load.c: Better handling of bad data / checksum errors.
        * src/load.c: Better handling of bad data / checksum errors.
        * src/flash.c: Handle case of replacing an image, even if no flash
        * src/flash.c: Handle case of replacing an image, even if no flash
        address was given.
        address was given.
        * include/net/tftp_support.h: Modify timeouts, etc, for better response.
        * include/net/tftp_support.h: Modify timeouts, etc, for better response.
2000-09-12  Gary Thomas  
2000-09-12  Gary Thomas  
        * src/io.c (mon_read_char_with_timeout): Only "select" a console
        * src/io.c (mon_read_char_with_timeout): Only "select" a console
        when real data (non-zero) arrives.
        when real data (non-zero) arrives.
2000-09-10  Gary Thomas  
2000-09-10  Gary Thomas  
        * src/load.c:
        * src/load.c:
        * src/flash.c: Remove warnings if built without networking.
        * src/flash.c: Remove warnings if built without networking.
2000-09-11  Jonathan Larmour  
2000-09-11  Jonathan Larmour  
        * include/redboot.h (_RedBoot_init): Define tables entries as structs
        * include/redboot.h (_RedBoot_init): Define tables entries as structs
        with one member rather than just func ptrs, to enforce alignment rules
        with one member rather than just func ptrs, to enforce alignment rules
        * src/main.c (cyg_start): Change to use struct init_tab_entry per above
        * src/main.c (cyg_start): Change to use struct init_tab_entry per above
2000-09-07 Andrew Lunn  
2000-09-07 Andrew Lunn  
        * src/load.c, include/redboot.h: renamed the getc functions to
        * src/load.c, include/redboot.h: renamed the getc functions to
        redboot_getc and made them global so custom boot loaders can use
        redboot_getc and made them global so custom boot loaders can use
        them.
        them.
2000-09-06  Gary Thomas  
2000-09-06  Gary Thomas  
        * doc/users_guide: Add info about region locking/unlocking.
        * doc/users_guide: Add info about region locking/unlocking.
2000-09-04  Jonathan Larmour  
2000-09-04  Jonathan Larmour  
        * include/flash_config.h (struct config_option): Apply
        * include/flash_config.h (struct config_option): Apply
        CYG_HAL_TABLE_TYPE
        CYG_HAL_TABLE_TYPE
        * include/redboot.h: Ditto for struct cmd and void_fun_ptr
        * include/redboot.h: Ditto for struct cmd and void_fun_ptr
2000-09-01  Hugo Tyson  
2000-09-01  Hugo Tyson  
        * src/flash.c: CYGHWR_IO_FLASH_BLOCK_LOCKING is an interface, so
        * src/flash.c: CYGHWR_IO_FLASH_BLOCK_LOCKING is an interface, so
        it's always defined; look for > 0 instead.
        it's always defined; look for > 0 instead.
2000-08-28  Gary Thomas  
2000-08-28  Gary Thomas  
        * src/flash.c: Support block locking if available.
        * src/flash.c: Support block locking if available.
2000-08-25  Gary Thomas  
2000-08-25  Gary Thomas  
        * src/load.c (getc): Fix edge condition when file is an exact multiple
        * src/load.c (getc): Fix edge condition when file is an exact multiple
        of internal buffer size (got stuck at end of file).
        of internal buffer size (got stuck at end of file).
2000-08-24  Gary Thomas  
2000-08-24  Gary Thomas  
        * src/load.c: Fix some prints.  Also use command line parse functions
        * src/load.c: Fix some prints.  Also use command line parse functions
        instead of ad hoc code.
        instead of ad hoc code.
        * src/flash.c: Better configuration control.
        * src/flash.c: Better configuration control.
2000-08-23  Gary Thomas  
2000-08-23  Gary Thomas  
        * src/load.c (do_load): Use paramterized command line parser.
        * src/load.c (do_load): Use paramterized command line parser.
        * include/redboot.h:
        * include/redboot.h:
        * src/main.c (scan_opts): Better support for simple flags.
        * src/main.c (scan_opts): Better support for simple flags.
        * src/flash.c: Add "-l" (list only) option to 'fconfig'.
        * src/flash.c: Add "-l" (list only) option to 'fconfig'.
        * src/net/net_io.c: Add handling of ^C via network connections.
        * src/net/net_io.c: Add handling of ^C via network connections.
        * include/flash_config.h:
        * include/flash_config.h:
        * include/redboot.h: Fully qualify table entries (for proper
        * include/redboot.h: Fully qualify table entries (for proper
        sorting and order control).
        sorting and order control).
        * cdl/redboot.cdl: Update requirements to support ^C and thread
        * cdl/redboot.cdl: Update requirements to support ^C and thread
        debugging.
        debugging.
2000-08-21  Gary Thomas  
2000-08-21  Gary Thomas  
        * cdl/redboot.cdl:
        * cdl/redboot.cdl:
        * src/net/pktbuf.c (MAX_PKTBUF): Add CDL configury for number
        * src/net/pktbuf.c (MAX_PKTBUF): Add CDL configury for number
        of network packet buffers.
        of network packet buffers.
        * src/net/net_io.c: Change config param names to enforce
        * src/net/net_io.c: Change config param names to enforce
        layout (config fields are sorted by name).
        layout (config fields are sorted by name).
        * src/load.c: Adapt to changes in 'parse_num'.
        * src/load.c: Adapt to changes in 'parse_num'.
        * src/main.c (parse_num): Now takes additional arguments which
        * src/main.c (parse_num): Now takes additional arguments which
        allow a delimiter set and returning the end of number string.
        allow a delimiter set and returning the end of number string.
        * include/redboot.h: Augment 'parse_num' to handle strings
        * include/redboot.h: Augment 'parse_num' to handle strings
        with more than one number, delimiters, etc.
        with more than one number, delimiters, etc.
        * src/flash.c:
        * src/flash.c:
        * include/flash_config.h: Add support for ethernet hardware
        * include/flash_config.h: Add support for ethernet hardware
        addresses.
        addresses.
2000-08-20  Gary Thomas  
2000-08-20  Gary Thomas  
        * include/flash_config.h: New file - configuration data layout.
        * include/flash_config.h: New file - configuration data layout.
        * src/flash.c: Restructure config data to be 100% table driven.
        * src/flash.c: Restructure config data to be 100% table driven.
        * include/redboot.h:
        * include/redboot.h:
        * include/net/bootp.h:
        * include/net/bootp.h:
        * include/net/net.h:
        * include/net/net.h:
        * include/net/tftp.h:
        * include/net/tftp.h:
        * include/net/tftp_support.h: New location.
        * include/net/tftp_support.h: New location.
        * src/printf.c:
        * src/printf.c:
        * src/net/arp.c:
        * src/net/arp.c:
        * src/net/bootp.c:
        * src/net/bootp.c:
        * src/net/cksum.c:
        * src/net/cksum.c:
        * src/net/enet.c:
        * src/net/enet.c:
        * src/net/icmp.c:
        * src/net/icmp.c:
        * src/net/inet_addr.c:
        * src/net/inet_addr.c:
        * src/net/ip.c:
        * src/net/ip.c:
        * src/net/net_io.c:
        * src/net/net_io.c:
        * src/net/pktbuf.c:
        * src/net/pktbuf.c:
        * src/net/tcp.c:
        * src/net/tcp.c:
        * src/net/tftp_client.c:
        * src/net/tftp_client.c:
        * src/net/timers.c:
        * src/net/timers.c:
        * src/net/udp.c: Include files moved.
        * src/net/udp.c: Include files moved.
        * src/redboot.h:
        * src/redboot.h:
        * src/net/bootp.h:
        * src/net/bootp.h:
        * src/net/net.h:
        * src/net/net.h:
        * src/net/tftp.h:
        * src/net/tftp.h:
        * src/net/tftp_support.h: Files moved.
        * src/net/tftp_support.h: Files moved.
        * cdl/redboot.cdl: Move .h files to include directory.
        * cdl/redboot.cdl: Move .h files to include directory.
2000-08-16  Gary Thomas  
2000-08-16  Gary Thomas  
        * src/io.c (dump_buf_with_offset): Clean up warnings.
        * src/io.c (dump_buf_with_offset): Clean up warnings.
        * src/net/net_io.c: Cosmetic - clean up TCP debug code.
        * src/net/net_io.c: Cosmetic - clean up TCP debug code.
        * src/main.c (cmd_search): Search for ambiguous commands was
        * src/main.c (cmd_search): Search for ambiguous commands was
        wrong since layout change (only know the limits, don't rely
        wrong since layout change (only know the limits, don't rely
        on "null" entry).
        on "null" entry).
2000-08-14  Gary Thomas  
2000-08-14  Gary Thomas  
        * cdl/redboot.cdl: Support for plugin (table driven) modules.
        * cdl/redboot.cdl: Support for plugin (table driven) modules.
        * src/flash.c: Lots of warning cleanups.
        * src/flash.c: Lots of warning cleanups.
        * src/io.c: Fix some flash configury.
        * src/io.c: Fix some flash configury.
        * src/load.c: Make internal buffer unsigned so 'raw' mode
        * src/load.c: Make internal buffer unsigned so 'raw' mode
        works properly.  Also, support as a plugin command.
        works properly.  Also, support as a plugin command.
        * src/main.c:
        * src/main.c:
        * src/redboot.h: Add support for "tableized" entries.  In
        * src/redboot.h: Add support for "tableized" entries.  In
        particular, commands and platform initializations can now
        particular, commands and platform initializations can now
        be handled via anonymous tables.
        be handled via anonymous tables.
        * src/net/net.h: Update for changes in network init setup.
        * src/net/net.h: Update for changes in network init setup.
        * src/net/net_io.c: Move network initialization here.
        * src/net/net_io.c: Move network initialization here.
2000-08-07  Gary Thomas  
2000-08-07  Gary Thomas  
        * src/net/net.h:
        * src/net/net.h:
        * src/redboot.h:
        * src/redboot.h:
        * src/main.c: Cosmetic [warnings] cleanups.
        * src/main.c: Cosmetic [warnings] cleanups.
2000-08-03  Gary Thomas  
2000-08-03  Gary Thomas  
        * cdl/redboot.cdl: Ethernet driver now comes from common
        * cdl/redboot.cdl: Ethernet driver now comes from common
        I/O package.
        I/O package.
        * src/io.c (verify_action): Force normal I/O (no script)
        * src/io.c (verify_action): Force normal I/O (no script)
        to get response.
        to get response.
        * src/main.c: Add script timeout to allow user to abort before
        * src/main.c: Add script timeout to allow user to abort before
        script is run on boot.
        script is run on boot.
        * src/printf.c: '%p' implies zero filled long format.
        * src/printf.c: '%p' implies zero filled long format.
        * src/flash.c:
        * src/flash.c:
        * src/redboot.h: Add TCP socket and script timeouts.
        * src/redboot.h: Add TCP socket and script timeouts.
        * src/net/net_io.c: TCP socket for debug is now configurable
        * src/net/net_io.c: TCP socket for debug is now configurable
        and settable in FLASH.  Better handling of GDB $O packets (less
        and settable in FLASH.  Better handling of GDB $O packets (less
        latency).  Additional small changes to support network debug.
        latency).  Additional small changes to support network debug.
2000-07-30  Gary Thomas  
2000-07-30  Gary Thomas  
        * src/flash.c: Make config data safer with a 'key'.  Also, don't
        * src/flash.c: Make config data safer with a 'key'.  Also, don't
        erase the config data when doing a full FIS initialization.
        erase the config data when doing a full FIS initialization.
        Finally, ensure that the commands which erase data are not going
        Finally, ensure that the commands which erase data are not going
        to erase the current code!
        to erase the current code!
        * src/io.c (gets): Treat 'delete' char like ^H.
        * src/io.c (gets): Treat 'delete' char like ^H.
2000-07-30  Gary Thomas  
2000-07-30  Gary Thomas  
        * cdl/redboot.cdl: Add option for FLASH based configuration data.
        * cdl/redboot.cdl: Add option for FLASH based configuration data.
        * src/flash.c: Lots of changes to support FLASH based configuration
        * src/flash.c: Lots of changes to support FLASH based configuration
        data, including routines to read and maintain this data.
        data, including routines to read and maintain this data.
        * src/main.c:
        * src/main.c:
        * src/redboot.h: Many changes for FLASH configuration data support.
        * src/redboot.h: Many changes for FLASH configuration data support.
        Also split out table driven option/parameter parsing.
        Also split out table driven option/parameter parsing.
        * src/io.c: Allow ^C to abort input.  Fix timeout stuff to
        * src/io.c: Allow ^C to abort input.  Fix timeout stuff to
        work better while waiting for console to be discovered.
        work better while waiting for console to be discovered.
        Add support for boot-time script.
        Add support for boot-time script.
        * src/load.c: Use new IP/INET address functions.
        * src/load.c: Use new IP/INET address functions.
        * src/net/bootp.c: Remove force of net_debug and result print.
        * src/net/bootp.c: Remove force of net_debug and result print.
        * src/net/inet_addr.c: IP/INET address conversion routines.
        * src/net/inet_addr.c: IP/INET address conversion routines.
        * src/net/net.h: Make 'net_debug' be boolean.  Add IP/INET
        * src/net/net.h: Make 'net_debug' be boolean.  Add IP/INET
        address conversion routine prototypes.
        address conversion routine prototypes.
2000-07-29  Gary Thomas  
2000-07-29  Gary Thomas  
        * src/flash.c: Misc little cleanups.
        * src/flash.c: Misc little cleanups.
        * src/load.c: Print address range of loaded image/file.
        * src/load.c: Print address range of loaded image/file.
2000-07-29  Gary Thomas  
2000-07-29  Gary Thomas  
        * src/flash.c: Add 'load' command which loads an image into RAM.
        * src/flash.c: Add 'load' command which loads an image into RAM.
        * src/load.c: Add '-raw' switch to allow loading a file without
        * src/load.c: Add '-raw' switch to allow loading a file without
        trying to interpret it as an executable image.
        trying to interpret it as an executable image.
        * src/main.c:
        * src/main.c:
        * src/redboot.h: Make command parsing functions public.
        * src/redboot.h: Make command parsing functions public.
2000-07-29  Gary Thomas  
2000-07-29  Gary Thomas  
        * src/net/bootp.c: Turn on network debug during address discovery.
        * src/net/bootp.c: Turn on network debug during address discovery.
        (Note: this will be optional/configurable in the future).
        (Note: this will be optional/configurable in the future).
        * src/net/eth_drv.c: Use 'net_debug' for diagnostic dumps.
        * src/net/eth_drv.c: Use 'net_debug' for diagnostic dumps.
        * src/redboot.h: Prototypes for new functions.
        * src/redboot.h: Prototypes for new functions.
        * src/printf.c (vprintf): New function.
        * src/printf.c (vprintf): New function.
        * src/io.c (verify_action): New function.
        * src/io.c (verify_action): New function.
        * cdl/redboot.cdl: Make FLASH support optional.
        * cdl/redboot.cdl: Make FLASH support optional.
        * src/flash.c: New file - implements simple FLASH Image System.
        * src/flash.c: New file - implements simple FLASH Image System.
        * src/misc_funs.c (memset):
        * src/misc_funs.c (memset):
        (strcpy): New functions.
        (strcpy): New functions.
        * src/main.c: Split flash functions to separate file.
        * src/main.c: Split flash functions to separate file.
2000-07-28  Gary Thomas  
2000-07-28  Gary Thomas  
        * src/load.c: Add "-v" switch to turn on a little 'spinner' while
        * src/load.c: Add "-v" switch to turn on a little 'spinner' while
        downloading to provide some feedback to the user.
        downloading to provide some feedback to the user.
        * src/printf.c: Use only RedBoot I/O to allow console to "float."
        * src/printf.c: Use only RedBoot I/O to allow console to "float."
        * src/net/bootp.c: Force hardware type to be "original" ethernet.
        * src/net/bootp.c: Force hardware type to be "original" ethernet.
        * cdl/redboot.cdl:
        * cdl/redboot.cdl:
        * src/redboot.h:
        * src/redboot.h:
        * src/main.c:
        * src/main.c:
        * src/io.c:
        * src/io.c:
        * src/net/net_io.c: Support "floating" console, chosen from
        * src/net/net_io.c: Support "floating" console, chosen from
        available serial I/O channels.
        available serial I/O channels.
2000-07-26  Gary Thomas  
2000-07-26  Gary Thomas  
        * src/net/tftp_support.h:
        * src/net/tftp_support.h:
        * src/net/tftp_client.c: Add new stream oriented functions.
        * src/net/tftp_client.c: Add new stream oriented functions.
        * src/net/net.h: More prototypes.
        * src/net/net.h: More prototypes.
        * src/redboot.h: Move support functions here.  Update interfaces.
        * src/redboot.h: Move support functions here.  Update interfaces.
        * src/printf.c: Support %l (long) qualifier.
        * src/printf.c: Support %l (long) qualifier.
        * src/misc_funs.c: Misc cleanups.  Add case insensitive routines.
        * src/misc_funs.c: Misc cleanups.  Add case insensitive routines.
        * src/main.c: FLASH functionality is now in it's own package.
        * src/main.c: FLASH functionality is now in it's own package.
        * src/net/eth_drv.c:
        * src/net/eth_drv.c:
        * include/eth_drv.h: Update to new interface conventions.
        * include/eth_drv.h: Update to new interface conventions.
        * cdl/redboot.cdl: Changes for new files(s).
        * cdl/redboot.cdl: Changes for new files(s).
2000-07-24  Gary Thomas  
2000-07-24  Gary Thomas  
        * src/net/inet_addr.c: New file.  Support for IP address parsing.
        * src/net/inet_addr.c: New file.  Support for IP address parsing.
        * src/load.c: New file.  Split out download functionality.
        * src/load.c: New file.  Split out download functionality.
        Restructured to support download via stream (zmodem).
        Restructured to support download via stream (zmodem).
        * src/misc_funs.c: Add case insensitive compare functions.
        * src/misc_funs.c: Add case insensitive compare functions.
2000-07-22  Gary Thomas  
2000-07-22  Gary Thomas  
        * src/main.c (do_load): Add proper argument parsing.
        * src/main.c (do_load): Add proper argument parsing.
2000-07-21  Gary Thomas  
2000-07-21  Gary Thomas  
        * src/io.c (gets): Treat "\n\r" and "\r\n" as exactluy "\n".  This
        * src/io.c (gets): Treat "\n\r" and "\r\n" as exactluy "\n".  This
        solves problems of simply ignoring "\n" on terminals which can only
        solves problems of simply ignoring "\n" on terminals which can only
        send that character while still working with telnet/TCP connections.
        send that character while still working with telnet/TCP connections.
        * src/net/net_io.c: New file.  Supports local I/O via a TCP channel.
        * src/net/net_io.c: New file.  Supports local I/O via a TCP channel.
        Additional changes to support TCP channel for GDB debug I/O.
        Additional changes to support TCP channel for GDB debug I/O.
        * cdl/redboot.cdl: Clean up dependencies.  Extend network configuration.
        * cdl/redboot.cdl: Clean up dependencies.  Extend network configuration.
        * src/io.c (gets): Ignore blank lines which contain only '\n'.
        * src/io.c (gets): Ignore blank lines which contain only '\n'.
        This works fine for terminal I/O since they will have '\r' and it
        This works fine for terminal I/O since they will have '\r' and it
        allows reasonable handling when connected via telnet/TCP.
        allows reasonable handling when connected via telnet/TCP.
        * src/main.c: Better support for network connections.
        * src/main.c: Better support for network connections.
        Also some reworking of FLASH routines [will be moved later].
        Also some reworking of FLASH routines [will be moved later].
        More error checking and better error messages in download code.
        More error checking and better error messages in download code.
        * src/net/net.h: Reorder 'tcp_socket' fields to enforce proper
        * src/net/net.h: Reorder 'tcp_socket' fields to enforce proper
        alignment of data buffer [needs to be on dword boundary].
        alignment of data buffer [needs to be on dword boundary].
        * src/net/tcp.c: Many small changes getting 'endian'-ness correct.
        * src/net/tcp.c: Many small changes getting 'endian'-ness correct.
        * src/net/tftp_client.c (tftp_error): New function - returns a
        * src/net/tftp_client.c (tftp_error): New function - returns a
        string representing the error code [for humans].
        string representing the error code [for humans].
2000-07-16  Gary Thomas  
2000-07-16  Gary Thomas  
        * cdl/redboot.cdl: Make network support configurable/optional.
        * cdl/redboot.cdl: Make network support configurable/optional.
        * src/io.c: Add command line input function.
        * src/io.c: Add command line input function.
        * src/main.c: Lots of new functions, command line processing, etc.
        * src/main.c: Lots of new functions, command line processing, etc.
        * src/misc_funs.c (strcmp, strncmp): New function(s).
        * src/misc_funs.c (strcmp, strncmp): New function(s).
        * src/printf.c: Add support for "%p" (pointers).
        * src/printf.c: Add support for "%p" (pointers).
        * src/redboot.h: Expand, move global vars, here, etc.
        * src/redboot.h: Expand, move global vars, here, etc.
        * src/net/eth_drv.c: Make quieter, change "no interface" string.
        * src/net/eth_drv.c: Make quieter, change "no interface" string.
        * src/net/net.h (__LITTLE_ENDIAN__): Avoid redefining this on platforms
        * src/net/net.h (__LITTLE_ENDIAN__): Avoid redefining this on platforms
        where GCC does it for us.
        where GCC does it for us.
2000-07-12  Gary Thomas  
2000-07-12  Gary Thomas  
        * cdl/redboot.cdl: New file(s).
        * cdl/redboot.cdl: New file(s).
//===========================================================================
//===========================================================================
//####ECOSGPLCOPYRIGHTBEGIN####
//####ECOSGPLCOPYRIGHTBEGIN####
// -------------------------------------------
// -------------------------------------------
// This file is part of eCos, the Embedded Configurable Operating System.
// This file is part of eCos, the Embedded Configurable Operating System.
// Copyright (C) 1998, 1999, 2000, 2001, 2002 Red Hat, Inc.
// Copyright (C) 1998, 1999, 2000, 2001, 2002 Red Hat, Inc.
//
//
// eCos is free software; you can redistribute it and/or modify it under
// 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
// 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.
// 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
// eCos is distributed in the hope that it will be useful, but WITHOUT ANY
// WARRANTY; without even the implied warranty of MERCHANTABILITY or
// WARRANTY; without even the implied warranty of MERCHANTABILITY or
// FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
// FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
// for more details.
// for more details.
//
//
// You should have received a copy of the GNU General Public License along
// You should have received a copy of the GNU General Public License along
// with eCos; if not, write to the Free Software Foundation, Inc.,
// with eCos; if not, write to the Free Software Foundation, Inc.,
// 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
// 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
//
//
// As a special exception, if other files instantiate templates or use macros
// 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
// 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
// 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
// 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
// License. However the source code for this file must still be made available
// in accordance with section (3) of the GNU General Public License.
// 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 exception does not invalidate any other reasons why a work based on
// this file might be covered by the GNU General Public License.
// this file might be covered by the GNU General Public License.
//
//
// Alternative licenses for eCos may be arranged by contacting Red Hat, Inc.
// Alternative licenses for eCos may be arranged by contacting Red Hat, Inc.
// at http://sources.redhat.com/ecos/ecos-license/
// at http://sources.redhat.com/ecos/ecos-license/
// -------------------------------------------
// -------------------------------------------
//####ECOSGPLCOPYRIGHTEND####
//####ECOSGPLCOPYRIGHTEND####
//===========================================================================
//===========================================================================
 
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.