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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [rtos/] [ecos-3.0/] [packages/] [redboot/] [current/] [ChangeLog] - Blame information for rev 786

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 786 skrzyp
2012-03-06  Grant Edwards  
2
 
3
        * src/net/net_io.c:
4
        * cdl/redboot.cdl: Added new CDL option
5
        CYGPKG_REDBOOT_NETWORKING_BOOTP to control whether BOOTP/DHCP
6
        support is built into Redboot.  Moved "DEFAULT_NO_BOOTP" option
7
        into the new package.
8
        [ Bugzilla 1001177 ]
9
 
10
        * src/net/bootp.c:
11
        * cdl/redboot.cdl: Re-wrote BOOTP/DHCP client code to fix retry
12
        mechanism and to fix race conditions that were corrupting the
13
        received IP configuration data.  Added verbose BOOTP/DHCP output
14
        CDL option.
15
        [ Bugzilla 1001177 ]
16
 
17
 
18
2011-12-02  John Dallaway  
19
 
20
        * cdl/redboot.cdl: Fix typographical error. Issue reported by
21
        Keith Smith. [ Bugzilla 1001403 ]
22
 
23
2010-04-23  John Dallaway  
24
 
25
        * src/net/dns.c: Initialise DNS domain with an empty string to
26
        avoid possible invalid memory access. Issue reported by
27
        Kirill Berezin.
28
 
29
2009-06-24  Nick Garnett  
30
 
31
        * cdl/redboot.cdl:
32
        * src/main.c (cyg_start): Added options and code to reinitialize
33
        the heap, if it exists, to an arena cut off the end of the
34
        workspace.
35
        [Imported from eCosPro sources, mainly to support use of
36
        filesystems in RedBoot].
37
 
38
2009-06-02  Ross Younger  
39
 
40
        * redboot.cdl: REDBOOT_IO_FILEIO requires CYGPKG_IO
41
 
42
2009-04-20  Andrew Lunn  
43
 
44
        * src/net/tcp.c (__tcp_abort): Ensure the connection is closed
45
        before returning. This fixes a race condition which Ilko Iliev
46
         found when performing two back to back http
47
        transfers.
48
 
49
2009-04-02  Rene Schipp von Branitz Nielsen 
50
 
51
        * src/flash.c: Fix compilation warnings when redundant FIS
52
        is selected.
53
 
54
2009-03-25  Sergei Gavrikov  
55
 
56
        * src/main.c: Move platform info behind GPL banner.
57
        [ Bugzilla 1000688 ]
58
 
59
2009-03-20  John Dallaway  
60
 
61
        * doc/redboot_cmds.sgml: Add note concerning the termination of
62
        ELF downloads once all relevant sections have been transferred.
63
        [ Bugzilla 1000711 ]
64
 
65
        * doc/redboot_main.sgml: Update copyright notice.
66
 
67
        * src/main.c (do_baud_rate): Wait for 10s when changing serial
68
        baud to accommodate terminal emulators which do not provide
69
        rapid access to this parameter.
70
 
71
        * src/main.c (do_version): Tidy RAM availability message.
72
        [ Bugzilla 1000712 ]
73
 
74
2009-03-09  Gary Thomas  
75
 
76
        * src/io.c: Better handling of history - commands now have
77
        a [fixed] virtual number over time.  This makes !nn work correctly.
78
        Fixes BZ#1000714
79
 
80
2009-03-04  Gary Thomas  
81
 
82
        * src/fconfig.c (get_config): Simplify memcpy() call to
83
        work around GCC 4.3 code generation error.  BZ#1000672
84
 
85
2009-02-20  Jonathan Larmour  
86
 
87
        * src/flash.c (do_flash_init): Call cyg_flash_init() with
88
        NULL argument.
89
 
90
2009-02-19  John Dallaway  
91
 
92
        * src/main.c: Update copyright notice.
93
 
94
2009-02-19  Jonathan Larmour  
95
 
96
        * src/flash.c (do_flash_init): Update for minor flash API
97
        mod to call cyg_flash_set_global_printf() to set printf
98
        function.
99
 
100
2009-02-06  John Dallaway  
101
 
102
        * cdl/redboot.cdl: Fix documentation reference.
103
 
104
2008-11-20  Bart Veer  
105
 
106
        * src/fconfig.c (flash_lookup_config): add a sanity check to
107
        reduce the risk of RedBoot going into an infinite loop.
108
 
109
2008-11-16  Jonathan Larmour  
110
 
111
        * cdl/redboot.cdl, src/flash.c, src/fconfig.c:
112
        Flash-related eCosCentric changes to these files (including a
113
        merge of the flashv2 work) have been merged. Changes have been
114
        directly interleaved below on the correct dates.
115
 
116
2008-11-14  Jonathan Larmour  
117
 
118
        * src/flash.c (fis_lock): Revert patch of 2005-10-05 which disabled
119
        locking entirely if FIS was disabled. Was better fixed by patch of
120
        2006-02-17.
121
        (fis_list): Revert patch of 2007-04-03 to avoid skipping entries
122
        at 0x0. Replaced by anoncvs patch of 2007-06-02 for consistency.
123
 
124
2008-09-11  Nick Garnett  
125
 
126
        * src/flash.c (fis_create, fis_write, fis_erase): Change alignment
127
        test to cope with flash blocks that are not a power of 2 in size.
128
 
129
2008-06-18  Bart Veer  
130
 
131
        * src/fconfig.c, src/flash.c, src/io.c, src/load.c, src/main.c,
132
        src/xyzModem.c, include/redboot.h: more signed vs. unsigned char
133
        issues.
134
 
135
2008-05-20  Jonathan Larmour  
136
 
137
        * src/fs/e2fs.c (e2fs_mount): Avoid compiler strict aliasing
138
        problem.
139
 
140
        * include/fis.h (struct fis_image_desc): Make fis name be
141
        signed char to reduce warnings.
142
        * include/flash_config.h (struct _config): Make config_data
143
        be signed char to reduce warnings.
144
        * include/redboot.h: mon_write_char and mon_read_char_with_timeout
145
        take unsigned char, to reduce warnings.
146
        * src/parse.c: Add const to err_printf format.
147
        * src/fconfig.c: Many signed/unsigned warning cleanups.
148
        * src/io.c: Ditto.
149
        * src/xyzModem.c: Ditto.
150
        * src/load.c: Ditto.
151
        * src/flash.c: Ditto.
152
 
153
2007-11-21  Jonathan Larmour  
154
 
155
        * src/flash.c (fis_create): Allow length to be inferred if same
156
        mem address given as prior load address.
157
 
158
2007-08-28  Gary Thomas  
159
 
160
        * src/flash.c (do_flash_init): Memory allocation was slightly
161
        incorrect - 'workspace_end' should always be used to find
162
        the end of available memory.
163
 
164
2007-08-08  Peter Korsgaard  
165
 
166
        * include/net/http.h:
167
        * src/net/http_client.c: Add HTTP_FORBIDDEN error code for 403
168
        Forbidden response.
169
 
170
2007-06-03  Andrew Lunn 
171
 
172
        * src/net/net_io.c: (do_ip_addr): Option to set domain name.
173
        * doc/redboot_cmds.sgml: Document new option.
174
 
175
2007-06-03  Hans Rosenfeld 
176
 
177
        * cdl/redboot.cdl: CDL to control the use of DNS domain name.
178
        * src/net/bootp.c: Get the domain name from the reply.
179
        * src/net/dns.c: Domain name from CDL, fconfig and DHCP.
180
 
181
2007-06-02  Hans Rosenfeld 
182
 
183
        * src/flash.c: (fis_list): fis list will now list an image
184
        which happens to start at address 0.
185
 
186
2007-04-11  Gary Thomas  
187
2007-04-11  Jonathan Larmour  
188
 
189
        * src/fs/fileio.c: Temporary kludge to treat flash correctly if either
190
        flash v1 or flash v2 used with this file.
191
        (do_mount): silence warning. Include accidentally omitted printf arg.
192
        (do_list): silence warning.
193
 
194
2007-04-03  Bart Veer  
195
 
196
        * src/flash.c (fis_list): don't skip entries at location 0x0
197
 
198
2007-01-22  Peter Korsgaard  
199
 
200
        * src/load.c (do_load): Reset entry address before load so
201
        go/exec commands will fail after an incomplete upload.
202
 
203
2006-12-18  John Dallaway  
204
 
205
        * src/flash.c, src/fconfig.c: Eliminate some compiler warnings.
206
 
207
2006-12-06  Jonathan Larmour  
208
 
209
        * src/flash.c (find_free): When eliminating collapsed free chunks,
210
        don't decrement num_chunks as a side effect every loop!
211
 
212
2006-12-04  Bart Veer  
213
 
214
        * src/flash.c, src/main.c: eliminate some compiler warnings.
215
 
216
2006-11-28  David Fernandez  
217
 
218
        * cdl/redboot.cdl: Modified to change the option
219
        CYGDAT_REDBOOT_DEFAULT_NETWORK_DEVICE to make it independent of
220
        CYGSEM_REDBOOT_FLASH_CONFIG, changes in net_io.c will allow to
221
        specify a default interface in terms of the name and its position
222
        in the table of interfaces for the driver.
223
 
224
        * src/net/net_io.c: Modified to allow
225
        CYGDAT_REDBOOT_DEFAULT_NETWORK_DEVICE to be used even with no flash
226
        available.
227
        Bug regarding CYGSEM_REDBOOT_NETWORK_INIT_ONE_DEVICE fixed, so that
228
        when working with several network interfaces, and the default one
229
        fails to initialize, only the first successfully initialized one is
230
        used.
231
 
232
2006-11-19  Andrew Lunn  
233
 
234
        * src/load.c: Only call valid_address() if
235
        CYGSEM_REDBOOT_VALIDATE_USER_RAM_LOADS is enabled.
236
 
237
2006-11-01  Jonathan Larmour  
238
 
239
        * src/flash.c (fis_create): Ensure flash_addr is always inferred
240
        to come from unused space if not set.
241
 
242
2006-10-19  Jonathan Larmour  
243
 
244
        * src/flash.c (fis_create): If not copying, no reason to insist
245
        on a flash address being set.
246
 
247
2006-09-06  Andrew Lunn  
248
 
249
        * cdl/redboot.cdl: Fix description of CYGSEM_REDBOOT_DISK_IDE.
250
        Error pointed out by Wang Cui
251
 
252
2006-08-28  Sergei Gavrikov  
253
 
254
        * src/net/tftp_client.c (tftp_error_ack): Fix compiler warnings.
255
 
256
2006-07-21  David Ho 
257
 
258
        * src/flash.c (fis_start_update_directory): Fix build error when
259
        redundant FIS selected and locking is not enabled/supported.
260
 
261
2006-06-16  Nick Garnett  
262
 
263
        * src/flash.c (flash_reserved): Value for the macro used when this
264
        feature is disabled should be false not true.
265
 
266
2006-06-09  Nick Garnett  
267
 
268
        * cdl/redboot.cdl:
269
        * src/flash.c (flash_reserved): Added config option,
270
        CYGNUM_REDBOOT_FLASH_RESERVED_DEVICES, and code to check for a
271
        list of reserved flash devices that should not be used for FIS
272
        file allocation.
273
 
274
2006-05-24  Gary Thomas  
275
 
276
        * src/net/net_io.c (do_ip_addr): Bail out if no networking.
277
 
278
2006-05-23  Gary Thomas  
279
 
280
        * src/flash.c (fis_update_directory): Fix problems building on systems
281
        with no FLASH locking.
282
 
283
2006-04-19 Alexander Neundorf 
284
        * src/flash.c, src/main.c, src/fconfig.c:
285
        * include/fis.h, include/redboot.h:
286
        * cdl/redboot.cdl:
287
        add support for redundant FIS tables, configurable via
288
        CYGOPT_REDBOOT_REDUNDANT_FIS
289
 
290
2006-04-07  Grant Edwards 
291
 
292
        * src/net/net_io.c (net_io_getc_nonblock):
293
        Handle TELNET_WILL (reject same as TELNET_DO)
294
 
295
2006-04-03  Lars Povlsen  
296
 
297
        * src/flash.c (fis_update_directory): Fixed flash region size when
298
        CYGSEM_REDBOOT_FLASH_COMBINED_FIS_AND_CONFIG is enabled.
299
 
300
2006-03-27  Gary Thomas  
301
 
302
        * src/net/tcp.c (__tcp_write_block): Fix calculation of actual
303
        total number of bytes sent (from Wolfgang Koebler)
304
 
305
2006-03-21  Jonathan Larmour  
306
 
307
        * src/flash.c (find_free): Fix typo in last change.
308
 
309
2006-03-16  Jonathan Larmour  
310
 
311
        * src/flash.c (find_free): Fix indentation.
312
        Trivial optimisation when free chunk collapsed.
313
        When splitting chunks, be sure to insert not overwrite - there may be
314
        a subsequent free chunk.
315
        Even if out of free chunks when splitting, be sure to mark end of this
316
        chunk as used, to avoid it inappropriately being reported as free.
317
 
318
2006-03-10  Bart Veer  
319
 
320
        * src/flash.c (find_free): fix boundary condition when an fis img
321
        is right at the end of memory.
322
 
323
2006-02-25  Oliver Munz  
324
            Andrew Lunn  
325
 
326
        * src/xyzModem.c (xyzModem_stream_open): Fix compiler warnings.
327
        * src/flash_load.c (NEW): Implements access to flash
328
        * src/load.c: Allow load command to load directly into flash
329
        * cdl/redboot.c (CYGBLD_REDBOOT_LOAD_INTO_FLASH) Control new
330
        feature, disabled by default.
331
        * cdl/main.c (cyg_start): Assert check to see if we have
332
        overflowed the workspace.
333
        * doc/redboot_cmds.sgml: Document new flag.
334
 
335
2006-02-24  Jonathan Larmour  
336
 
337
        * src/fs/fileio.c (do_list): Use getcwd for current directory,
338
        rather than "." which may not be implemented in the FS.
339
 
340
2006-02-17  Andrew Lunn  
341
 
342
        * src/flash.c (fis_lock & fis_unlock): Allow compilation without
343
        FIS being enabled.
344
        * src/flash.c (fis_update_directory): When reading/writing flash
345
        use the full size of the fis directory, not just one block.
346
 
347
2006-01-26  John Dallaway  
348
 
349
        * src/flash.c (_flash_info): Tidy presentation of flash block info.
350
 
351
2006-01-17  Jonathan Larmour  
352
 
353
        * src/flash.c (fis_init): Default data_length = FIS partition
354
        size for special partitions.
355
 
356
2005-12-22  Jonathan Larmour  
357
 
358
        * src/flash.c (find_free): adjust base only for appropriate device.
359
        (fis_free): Fix up case for !CYGDAT_REDBOOT_FIS_MAX_FREE_CHUNKS
360
        to correctly scan for blank regions.
361
        Remove obsolete version of same.
362
        (fis_find_free): Adapt fis_free changes for this.
363
 
364
2005-12-12  Jonathan Larmour  
365
 
366
        * src/flash.c (fis_free): Rewrite to improve support
367
        for multiple flash devices. Still not really right - needs
368
        wider changes.
369
        (fis_find_free): Better support multiple flash devices.
370
        Far from perfect yet though. Minor improvement on what
371
        was there before though.
372
 
373
2005-11-23  Peter Korsgaard  
374
 
375
        * src/gunzip.c (do_gunzip): Fixed diag_printf format string warnings.
376
 
377
2005-10-17  Gary Thomas  
378
 
379
        * src/iomem.c (do_iopeek): Correct number of options.
380
 
381
2005-10-05  Nick Garnett  
382
 
383
        * src/flash.c: Changes to various ifdefs to allow FCONFIG to be
384
        used independently of FIS. It was always intended that this be
385
        possible, but over time it suffered a little bitrot.
386
 
387
2005-09-30  Nick Garnett  
388
 
389
        * cdl/redboot.cdl: Move CYGNUM_REDBOOT_FLASH_BASE out of
390
        CYGPKG_REDBOOT_FLASH component so that it can be used from RBL
391
        when CYGPKG_REDBOOT_FLASH is disabled.
392
 
393
2005-09-26  Bart Veer  
394
 
395
        * src/flash.c: put flag into .bss rather than .data, avoids
396
        problems if soft reset involves branching to the entry point and
397
        .data does not get reinitialized.
398
 
399
2005-09-13  Jonathan Larmour  
400
 
401
        * src/parse.c (redboot_exec): Conditionalise use of
402
        __mem_fault_handler to only be when stubs are included.
403
        (error_handler): Ditto for this function.
404
 
405
        * src/main.c (cyg_start): Conditionalise use of
406
        __mem_fault_handler to only be when stubs are included.
407
        (do_go): Ditto.
408
        (error_handler): Ditto for this function.
409
 
410
        * cdl/redboot.cdl: RedBoot always needs to claim the virtual
411
        vector comms, so express that explicitly.
412
 
413
2005-09-09  Andrew Dyer  
414
 
415
        * src/load.c: add calls to redboot_getc_terminate before exiting
416
        load_elf_image() in various error scenarios, change the final call
417
        to redboot_getc_terminate to have the error flag set.  This will
418
        cause a tftp nak and close down the connection since for ELF files
419
        we don't read the whole content but end the connection when the
420
        runnable parts are in.
421
 
422
        * src/net/tftp_client.c: add tftp_error() to send an error back to
423
        the server. define tftp_stream_terminate() and pass it into the
424
        redboot interface.
425
 
426
2005-09-08  Gary Thomas  
427
 
428
        * src/io.c:
429
        * include/redboot.h:
430
        * doc/redboot.sgml:
431
        * cdl/redboot.cdl: Add support for ANSI keyboard cursor keys
432
        such as HOME/END/Arrows
433
 
434
2005-09-08  Stefan Sommerfeld  
435
        * src/flash.c: Fix usage of "fis create", more arguments are optional
436
        Set mem_base to mem_addr instead of flash_addr for a loaded image
437
 
438
2005-09-03  Andrew Lunn  
439
 
440
        * cdl/redboot.cdl: White space changes to aid readability.
441
 
442
2005-09-03  Isaac Claymore   
443
 
444
        * src/flash.c (fis_create): Print an error if the FIS directory is
445
        full when we try to create a new entry.
446
 
447
2005-08-17  David Vrabel  
448
 
449
        * cdl/redboot.cdl (CYGNUM_REDBOOT_DEFAULT_NETWORK_DEVICE): Removed
450
        since isn't used anywhere.
451
        * cdl/redboot.cdl (CYGDAT_REDBOOT_DEFAULT_NETWORK_DEVICE): New option
452
        to specify the name of the default network device.
453
 
454
        * src/net/net_io.c: Use CYGDAT_REDBOOT_DEFAULT_NETWORK_DEVICE as
455
        the default to the net_device config option.
456
 
457
2005-08-15  Jonathan Larmour  
458
 
459
        * src/fconfig.c (flash_write_config): Warning cleanup.
460
        * src/net/net_io.c (do_ip_addr): Warning cleanup.
461
        * src/flash.c (fis_create): Warning cleanup.
462
 
463
2005-08-09  Jonathan Larmour  
464
 
465
        * include/net/net.h: Include redboot.h for tick functions.
466
 
467
2005-08-05  Jonathan Larmour  
468
 
469
        * include/net/net.h: Pull tick functions into redboot.h as they
470
        are used more widely than the net stack.
471
        * include/redboot.h: Declare tick functions.
472
        * src/main.c (cyg_start): Correctly compute workspace_end so it
473
        works even on high RAM values [bug #1000202].
474
        Don't use workspace_end directly for context init - it gets
475
        modified.
476
        (do_go): Don't use workspace_end directly for context init -
477
        it gets modified.
478
 
479
2005-07-06  Isaac Claymore 
480
 
481
        * src/fconfig.c: (get_config): Verify the length of the script is
482
        less than MAX_SCRIPT_LENGTH.
483
 
484
2005-06-29  Andrew Lunn  
485
 
486
        * doc/redboot_cmds.sgml:
487
        * src/dump.c: Fix the usage for dump and x command.
488
 
489
2005-06-29  Peter Korsgaard  
490
 
491
        * src/flash.c (find_free): Maintain sort order when splitting
492
        chunks.
493
 
494
2005-06-27  Andrew Lunn  
495
 
496
        * src/net/enet.c (ntohs): Return type is a short.
497
 
498
2005-06-22  Peter Korsgaard  
499
 
500
        * src/flash.c (fis_list, fis_free, fis_create):
501
        * src/iomem.c (do_iopeek): Fixed compiler warnings about formats
502
        strings for diag_printf.
503
 
504
2005-06-09  David Vrabel  
505
 
506
        * src/xyzModem.c: Use the Ymodem length field by #define'ing
507
        USE_YMODEM_LENGTH.
508
        (xyzModem_stream_read): Only discard runs of ^Z's if we're using
509
        Xmodem or the Ymodem length field is 0.  This allows binary files
510
        with runs of ^Z's to be transferred.
511
 
512
2005-06-07  Andrew Lunn  
513
 
514
        * src/flash.c (_flash_info): Fixed a warning about a diag_printf
515
        format string.
516
 
517
2005-05-27  David Vrabel  
518
 
519
        * src/main.c (cyg_start): Expand aliases even if
520
        CYGSEM_REDBOOT_FLASH_ALIASES is not enabled since there are some
521
        hardcoded aliases (e.g., FREEMEMLO).
522
 
523
2005-05-04  David Vrabel  
524
 
525
        * src/alias.c (lookup_alias): The expansion of FREEMEMLO and
526
        FREEMEMHI needs a leading '0x' so they're recognized as hex.
527
 
528
2005-04-21  Ian Campbell  
529
 
530
        * src/net/net_io.c (net_init): Don't initialize the network if we
531
        don't have an IP address.
532
 
533
        * src/net/net_io.c (do_ip_addr): Add a '-b' option to obtain IP
534
        address using BOOTP/DHCP.
535
 
536
        * doc/redboot_cmds.sgml: Document the new '-b' option to the
537
        'ip_address' command.
538
 
539
        * src/decompress.c (zcfree): Remove unnecessary variable
540
        reinitialisation.
541
 
542
 
543
2005-04-17  Andrew Lunn  
544
 
545
        * src/alias.c (lookup_alias): Fix compiler warnings about formats
546
        * src/cksum.c (do_cksum): Ditto
547
        * src/dump.c  (do_dump): Ditto
548
 
549
2005-04-11  Peter Korsgaard  
550
 
551
        * src/flash.c (find_free): Correctly split chunks in two when
552
        not final chunk.
553
 
554
2005-04-07  Peter Korsgaard  
555
 
556
        * cdl/redboot.cdl, doc/redboot_cmds.sgml, src/gunzip.c: Added
557
        gunzip command to uncompress GZIP compressed data.
558
 
559
2005-03-07 Alexander Neundorf 
560
 
561
        * src/net/arp.c: use correct sizeof(rt->enet_addr) in
562
        __arp_lookup()
563
 
564
2005-02-17  Bart Veer  
565
 
566
        * src/flash.c (fis_create): if -r is not specified, set the ram
567
        base address in the fis directory to the current load address.
568
        This assumes the data is currently in the right place, as should
569
        be the case after e.g. loading an elf executable.
570
 
571
2005-02-11  Jonathan Larmour  
572
 
573
        * src/flash.c (find_free): Correct fis free calculations to account
574
        for chunk regions ending 1 byte before fis fis regions.
575
        (fis_find_free): Allow for difference of end from start being one
576
        less than size of region.
577
 
578
2005-01-26  Nick Garnett  
579
 
580
        * src/fs/fileio.c (do_mkdir, do_deldir, do_del, do_write): Added
581
        some extra argument checking to these functions.
582
 
583
2005-01-22  Andrew Lunn  
584
 
585
        * src/main.c (cyg_start): Fix compiler warning with
586
        HAL_THREAD_INIT_CONTEXT and the worspace end address.
587
        * src/fs/disk.c (find_dos_partitions): Removed unused variable.
588
 
589
2005-01-19  Jonathan Larmour  
590
 
591
        * src/fs/fileio.c (do_mount): Only support -f with "legacy" flash
592
        block devices.
593
        Clear mount table on failure.
594
        (do_move): Silence rename undefined warning.
595
        (do_write): Silence warnings.
596
        (do_info): Support longer device names.
597
 
598
        * src/decompress.c (ZLIB_COMPRESSION_OVERHEAD):
599
        Increase substantially if jffs2 is present.
600
 
601
2005-01-05  David Vrabel  
602
 
603
        * src/fs/fileio.c (do_ls): Remove useless "getcwd" message.
604
        * src/net/bootp.c (__bootp_find_local_ip): Only print the
605
        "waiting for BOOTP" message when after first retry.
606
 
607
2004-12-17  Nick Garnett  
608
 
609
        * src/fs/fileio.c: Fixed some bugs in handling of mounts. The
610
        strings used in the mount table must be copied, otherwise the
611
        mount table is corrupted by later commands. Also toughened up some
612
        error testing.
613
 
614
2004-12-16  Nick Garnett  
615
 
616
        * doc/redboot_cmds.sgml: Added file mode documentation to load
617
        command.
618
 
619
2004-12-01  Andrea Michelotti  
620
 
621
        * main.c :
622
        * mfill.c:
623
        * mcmp.c : Changes required for use with GCC v4 - cast as lvalue
624
        is no longer supported.
625
 
626
2004-11-26  Nick Garnett  
627
 
628
        * doc/redboot_cmds.sgml: Added documentation of filesystem access
629
        commands.
630
 
631
        * src/fs/fileio.c (do_write): Added O_TRUNC to the open call to
632
        ensure that the file is resized to fit the new data.
633
 
634
2004-11-24  Bart Veer  
635
 
636
        * Merge from flash V2 branch
637
 
638
  2004-11-21  Bart Veer  
639
 
640
        * src/flash.c (check_code_overlaps): cyg_flash_code_overlaps() has
641
        been removed, so use a RedBoot-specific function instead
642
 
643
  2004-11-20  Bart Veer  
644
 
645
        * src/flash.c (do_flash_init): info.end already holds the last
646
        flash byte, no need to adjust.
647
 
648
  2004-10-07  Andrew Lunn  
649
 
650
        * src/flash.c (do_flash_init): Fix compiler warning about an
651
        unused variable.
652
 
653
  2004-10-06  Andrew Lunn  
654
 
655
        * src/flash.c (do_flash_init): We need info independent of
656
        CYGNUM_REDBOOT_FLASH_BASE being set or not.
657
 
658
  2004-09-14  Andrew Lunn  
659
 
660
        * cdl/redboot.cdl: Change CYGNUM_REDBOOT_FLASH_BASE to a booldata
661
        so we don't always look at address 0 for the flash!
662
 
663
  2004-08-21  Andrew Lunn  
664
 
665
        * src/flash.c (do_flash_init): cyg_flash_get_limits has been removed.
666
        Reimplement this functionality using other calls.
667
 
668
  2004-08-13  Andrew Lunn  
669
 
670
        * cdl/redboot.cdl: Fixed the type of CYGNUM_REDBOOT_FLASH_BASE
671
        * src/flash.c (fis_[un]lock): Fix compiler warnings
672
 
673
  2004-08-06  Andrew Lunn  
674
 
675
        * src/flash.c (do_flash_init): Removed the MIPS br0ken condition
676
        which i wrongly added. My problem was actually a / 0. This roundup
677
        is needed otherwise the workspace goes off the end of the RAM.
678
 
679
  2004-08-05  Andrew Lunn  
680
 
681
        * src/flash.c:
682
        * src/fconfig.c: Make use of the new flash API.
683
 
684
2004-11-24  Nick Garnett  
685
 
686
        * src/fs/fileio.c: Significantly reorganized to present an
687
        interface similar to the fis commands. Added a variety of command
688
        to manipulate files and directories in a filesystem.
689
 
690
        * src/parse.c: Added redboot_exec() to provide an internal
691
        interface for executing RedBoot commands. Added err_printf() which
692
        allows an error message to be printed before longjumping out to an
693
        enclosing call to redboot_exec(). Where redboot_exec() is not
694
        involved, it just behaves like diag_printf().
695
 
696
        * src/main.c: Removed unnecessary delay during startup. Changed
697
        diag_printf() in do_go() into err_printf().
698
 
699
        * src/load.c: Changed some calls to diag_printf() to err_printf().
700
 
701
        * src/net/net_io.c: Changed init priority to RedBoot_INIT_NET.
702
 
703
        * include/redboot.h: Added some extra initialization
704
        priorities. Added prototypes for redboot_exec() and err_printf().
705
 
706
2004-11-11  Bart Veer  
707
 
708
        * src/flash.c (find_free): allow for flash blocks larger than the
709
        RedBoot MIN_IMAGE_SIZE
710
 
711
2004-11-09  Ian Campbell  
712
 
713
        * cdl/redboot.cdl, doc/redboot_cmds.sgml, src/iomem.c: Add support
714
        for iopeek and iopoke commands to allow access to the I/O regions.
715
 
716
2004-11-09  David Vrabel  
717
 
718
        * cdl/redboot.cdl (CYGBLD_REDBOOT_MIN_IMAGE_SIZE): Correct the
719
        description to match what the option is actually used for.
720
 
721
        * src/flash.c (find_free, fis_free, fis_find_free): Don't ignore
722
        an extra CYGBLD_REDBOOT_MIN_IMAGE_SIZE amount from the start.
723
        This fixes the case where nothing uses the start of flash.
724
 
725
2004-11-05  John Dallaway  
726
 
727
        * src/flash.c (fis_create): Eliminate MIPS compiler workaround
728
        which causes problems with multiple use of flash blocks and appears
729
        to be unnecessary with GCC 3.2.1.
730
 
731
        * src/flash.c (fis_write): Eliminate MIPS compiler workaround.
732
 
733
2004-11-04  Peter Korsgaard  
734
 
735
        * src/fconfig.c (flash_write_config): Removed compiler warning
736
        when building redboot with combined FIS and config.
737
 
738
2004-10-10      Iztok Zupet      
739
 
740
        * cdl/redboot.cdl: added CYGSEM_REDBOOT_DISK_IDE_VMWARE option.
741
        * src/fs/ide.c : skip reset IDE commands if running under VMware.
742
 
743
2004-10-08  Andrew Lunn  
744
 
745
        * doc/redboot_installing.sgml: Added links to the tools for the
746
        Atmel AT91 JTST board.
747
 
748
2004-09-27  Mark Salter  
749
 
750
        * src/fs/ide.c (ide_presence_detect): New function.
751
        * src/fs/disk.c (u32_unaligned): New function to read unaligned words.
752
        (find_dos_partitions): Use u32_unaligned instead of memcpy.
753
 
754
2004-9-25   Andrew Lunn 
755
 
756
        * doc/redboot_install.sgml: Added installation information for the
757
        Atmel AT91 JTST board provided by Andrea Michelotti
758
 
759
2004-9-23   Bob Koninckx 
760
 
761
        * src/net/tc.c: Removed unneccesary call to MS_TICKS_DELAY
762
 
763
2004-09-19  Mark Salter  
764
 
765
        * cdl/redboot.cdl: Add CYGSEM_REDBOOT_NETWORK_INIT_ONE_DEVICE
766
        * src/net/net_io.c (net_init): Initialize only one network
767
        device if CYGSEM_REDBOOT_NETWORK_INIT_ONE_DEVICE defined.
768
 
769
2004-09-19  Andrew Lunn  
770
 
771
        * src/load.c (do_load): Removed compiler warning when building
772
        reboot without networking.
773
 
774
2004-09-05  Mark Salter  
775
 
776
        * doc/redboot_installing.sgml: Add mb93091 and mb93093.
777
 
778
2004-09-02  Mark Salter  
779
 
780
        * doc/redboot_cmds.sgml: Add -x option to exec command.
781
 
782
2004-09-01  Mark Salter  
783
 
784
        * cdl/redboot.cdl (CYGOPT_REDBOOT_FLASH_BYTEORDER): New option.
785
        * include/redboot.h: Define FLASH_{READ,PROGRAM} macros.
786
        Define REDBOOT_FLASH_REVERSE_BYTEORDER if appropriate.
787
        * src/flash.c: Add support for CYGOPT_REDBOOT_FLASH_BYTEORDER.
788
        Use FLASH_{READ,PROGRAM} macros instead of flash driver api.
789
        * src/fconfig.c: Ditto.
790
 
791
        * src/main.c (do_version): Update copyright message.
792
 
793
2004-08-31  Jonathan Larmour  
794
 
795
        * src/flash.c (fis_init): Avoid potentially unnecessary erase
796
        attempt at end of flash.
797
 
798
2004-08-27  Peter Korsgaard 
799
 
800
        * doc/redboot_cmds.sgml: Fixed a minor typo with fis list
801
 
802
2004-08-17  Andrew Lunn  
803
 
804
        * cdl/redboot.cdl:
805
        * src/net/net_io.c: added CDL to allow the default server to
806
        be configured. Also respect the CYGSEM_REDBOOT_DEFAULT_NO_BOOTP
807
        setting.
808
 
809
2004-08-16  Andrew Lunn  
810
 
811
        * cdl/redboot.cdl:
812
        * src/load.c: Added cdl to control the size of the buffer used
813
        by getc. The size can have significant affect on load speed
814
        when loading from a filesystem.
815
 
816
2004-08-13  Jani Monoses 
817
 
818
        * src/net/http_client.c: Fix off-by-one error in checking
819
        the HTTP response header, so the ending CRLF-CRLF is detected
820
        even if it's the last 4 bytes in the buffer.
821
 
822
2004-08-10  Andrew Lunn  
823
 
824
        * cdl/redboot.cdl
825
        * src/load.c (load_elf_image): Added a CDL option to configure
826
        if the physical or virtual address in the headers should be used
827
        when loading the image.
828
 
829
2004-08-09  Andrew Lunn  
830
 
831
        * cdl/redboot.cdl
832
        * src/fs/fileio.c (do_ls) Added an ls command so we can see what
833
        is inside the mounted filesystem.
834
 
835
2004-06-25  Andrew Lunn  
836
 
837
        * src/flash.c (find_free): fix endless loop when removing a
838
        collapsed chunk from chunk table. Found by Laurent Gonzalez
839
        (fis_load): Fixed a compiler warning.
840
 
841
2004-06-11  Nick Garnett  
842
 
843
        * src/flash.c (fis_create): Made unlock/lock operations dependent
844
        on CYGHWR_IO_FLASH_BLOCK_LOCKING.
845
 
846
2004-05-31  Jani Monoses 
847
 
848
        * src/main.c:
849
        * include/redboot.h: Get rid of unused workspace_size.
850
 
851
2004-05-16  Andrew Dyer  
852
2004-05-27  Jonathan Larmour  
853
 
854
        * src/fs/ide.c: make sure IDE_STAT_BSY is 0 before checking other
855
        bits in the status register
856
 
857
2004-05-21  Ian Campbell  
858
 
859
        * src/main.c: Make it build without CYGSEM_REDBOOT_FLASH_ALIASES.
860
 
861
2004-05-07  Nick Garnett  
862
 
863
        * src/flash.c (fis_create): Added unlock and lock operations
864
        around programming of flash region. Some flash parts power up with
865
        all locks on, so we have to unlock, and we might as well play safe
866
        and keep everything locked.
867
 
868
2004-05-05  Gary Thomas  
869
 
870
        * src/flash.c (fis_load): CRC check on load was broken (the CDL
871
        option changed names)
872
 
873
2004-04-29  Jonathan Larmour  
874
 
875
        * doc/redboot_epilogue.sgml: Comment out  to reflect change
876
        of 2004-04-19.
877
 
878
2004-04-23  Gary Thomas  
879
 
880
        * src/main.c:
881
        * src/fs/fileio.c:
882
        * src/net/net_io.c:
883
        * src/load.c:
884
        * src/flash.c:
885
        * include/redboot.h: Add asserts to check that option arrays
886
        are not overrun (when used with variable number of options).
887
 
888
2004-04-23  Gary Parnes  
889
 
890
        * src/net/tftp_client.c: The port, if specified by the user,
891
        is now corrected for endianness issues.
892
 
893
2004-04-19  Gary Thomas  
894
 
895
        * src/fs/fileio.c: Can't test for CYGPKG_IO_FLASH_BLOCK_DEVICE without
896
        first testing for CYGPKG_IO_FLASH and including it's pkgconf file.
897
 
898
2004-04-19  John Dallaway  
899
 
900
        * doc/makefile, doc/redboot_main.sgml: New files to build the RedBoot
901
        User's Guide as a self-contained document.
902
 
903
        * doc/redboot.sgml: Eliminate  tag to build the RedBoot User's
904
        Guide as a self-contained document.
905
 
906
2004-03-30  Mark Salter  
907
 
908
        * src/net/udp.c (__udp_recvfrom_handler): Protect against back-to-back
909
        duplicate packets.
910
 
911
2004-03-17  Thomas Koeller 
912
 
913
       * src/fs/fileio.c: Only include IO package headers if required.
914
 
915
2004-03-02  Andrew Dyer  
916
 
917
        * src/load.c: add -p option to help string and only print it and -h if
918
        CYGPKG_REDBOOT_NETWORKING is enabled.  Add a CR to the end of the
919
        SHORT_DATA message string
920
 
921
2004-02-27  Jani Monoses 
922
 
923
        * src/net/http_client.c: Close connection with abort instead of
924
        friendly close since for ELF files we don't read the whole content
925
        but end the connection when the runnable parts are in. The server
926
        interprets close as it has nothing more to receive, but it still wants
927
        to send the rest of the file and does that until it times out.
928
 
929
2004-02-26  Jani Monoses 
930
 
931
        * src/load.c:
932
        * src/net/http_client.c: Allow overriding the default HTTP port.
933
 
934
2004-02-25  Gratian Crisan 
935
 
936
        * src/xyzModem.c: Do not read an information header for XModem
937
        in xyzModem_stream_open(). XModem does not have a file information
938
        header and this caused in the previous implementation a retransmission
939
        of the first data block (it was read and ignored in the open function).
940
 
941
2004-02-24  Gary Thomas  
942
 
943
        * cdl/redboot.cdl: net_io needs to be in libextras to enable network
944
        support (failed if network debug was disabled)
945
 
946
2004-02-23  Uwe Kindler  
947
 
948
        * src/cksum.c:
949
        * src/dump.c:
950
        * src/fconfig.c:
951
        * src/flash.c:
952
        * src/load.c:
953
        * src/main.c:
954
        * src/mcmp.c:
955
        * src/mcopy.c:
956
        * src/mfill.c:
957
        * src/net/net_io.c:
958
        * src/net/ping.c: Minor cleanups to remove warnings.
959
 
960
2004-02-20  Jonathan Larmour  
961
 
962
        * doc/redboot.sgml: Document lowering security level for TFTP to
963
        work on more recent Red Hat Linux.
964
 
965
2004-02-19  Jani Monoses 
966
 
967
        * src/xyzModem.c: Start with sending a 'C', do not wait until the
968
        first packet from the sender.This allows download to start quicker.
969
 
970
2004-02-16  Andrew Dyer  
971
 
972
        * src/main.c: add 'go' options to help string
973
 
974
2004-02-11  Jonathan Larmour  
975
 
976
        * cdl/redboot.cdl: Bring CYGNUM_REDBOOT_LOAD_ZLIB_BUFFER under
977
        CYGBLD_BUILD_REDBOOT_WITH_ZLIB. Add CYGPRI_REDBOOT_ZLIB_FLASH to
978
        control whether decompression can be used with flash images.
979
        * src/flash.c: Use CYGPRI_REDBOOT_ZLIB_FLASH instead of
980
        CYGPKG_COMPRESS_ZLIB.
981
        * src/load.c: Use CYGBLD_BUILD_REDBOOT_WITH_ZLIB in place of
982
        CYGPKG_COMPRESS_ZLIB.
983
        * src/main.c: only set fis_zlib_common_buffer if
984
        CYGPRI_REDBOOT_ZLIB_FLASH.
985
 
986
        * src/main.c (set_comm_baud_rate): Get current rate with GETBAUD
987
        not SETBAUD!
988
 
989
2004-02-04  Gary Thomas  
990
 
991
        * cdl/redboot.cdl: Do not build with "common" interrupt stack
992
        support.  This can cause problems when running programs (via
993
        the "go" command) as interrupts will corrupt RedBoot's stack.
994
 
995
2004-01-18  Gary Thomas  
996
 
997
        * src/main.c: Fix build problem if GDB stubs are not included.
998
        Minor warning cleanup (cast on NO_MEMORY).
999
 
1000
2003-12-21  Gary Thomas  
1001
 
1002
        * src/net/tcp.c (tcp_send): Add [restore] delay into TCP write
1003
        path.  Sadly, there seems to be some issue where some ACK packets
1004
        get lost unless this is present (at least on some hardware).
1005
        n.b. a small delay here is definitely preferable to the horrendous
1006
        delays imposed by TCP retries if this condition occurs.
1007
 
1008
        * src/fconfig.c:
1009
        * include/flash_config.h: New functions for get/set/enumerate
1010
        config data which can be used via virtual vector interface.
1011
 
1012
2003-12-12  Jani Monoses 
1013
 
1014
        * src/net/tcp.c: Cancel retransmission timer when SYN is acked
1015
        otherwise an open active connection which doesn't send data
1016
        eventually resends the SYN resulting in reset from the peer.
1017
 
1018
2003-12-08  Gary Thomas  
1019
 
1020
        * cdl/redboot.cdl: Better handling of GDB stubs support.  This
1021
        should be automatically included if the platform supports GDB.
1022
        Disabling CYGDBG_HAL_DEBUG_GDB_INCLUDE_STUBS (in the common HAL)
1023
        will fully disable GDB support.
1024
 
1025
2003-12-05  Gary Thomas  
1026
 
1027
        * src/decompress.c (gzip_init): Memory pool initialization should
1028
        only be done in _zlib_init().
1029
 
1030
2003-12-05  Ian Campbell  
1031
 
1032
        * src/decompress.c: Ensure that free'd blocks are returned to the
1033
        free pool and that adjacent free blocks are merged. Initialise the
1034
        pool in _zlib_init() so that things are initialised even when
1035
        gzip_init hasn't been called.
1036
 
1037
2003-12-05  Gary Thomas  
1038
 
1039
        * src/io.c (_rb_gets_preloaded): ^A could have moved the cursor to
1040
        the wrong location on the screen if ^F/^B had been used.
1041
 
1042
2003-12-03  David Vrabel  
1043
 
1044
        * src/time_date.cxx (do_time_date): Use YYYY/MM/DD HH:MM:SS format
1045
        throughout (instead of the American specific format).  Expand
1046
        range of valid years to 1970 - 2034 (instead of 2000 - 2034).
1047
 
1048
2003-11-27  David Woodhouse  
1049
 
1050
        * cdl/redboot.cdl, fs/fileio.c, include/fs/fileio.h, src/load.c:
1051
        Support for mounting and loading files from fileio file systems
1052
        such as JFFS2.
1053
 
1054
2003-11-25  John Dallaway  
1055
 
1056
        * src/fconfig.c (load_flash_config):
1057
        Fix typo in output string.
1058
 
1059
2003-11-24  Gary Thomas  
1060
 
1061
        * src/net/bootp.c (__bootp_find_local_ip):
1062
        Suppress diagnostic message that DNS info found.
1063
 
1064
2002-11-24  Jani Monoses  
1065
 
1066
        * src/flash.c: Remove references to FLASH_MIN_WORKSPACE.
1067
 
1068
2003-11-21  David Vrabel  
1069
 
1070
        * src/net/bootp.c (bootp_handler): Scan for DHCP Message Type tag
1071
        as it isn't always the first tag.
1072
 
1073
        * include/net/bootp.h: New #define's for DHCP message types
1074
        (DHCP_MESSAGE_TYPE_DISCOVER etc.).
1075
 
1076
2002-11-20  Jani Monoses  
1077
 
1078
        * src/flash.c: flash_init() no longer takes three args.
1079
 
1080
2003-11-19  David Woodhouse  
1081
 
1082
        * src/main.c: Restore correct old baud rate if changing fails.
1083
 
1084
2003-11-13  Gary Thomas  
1085
 
1086
        * src/main.c (do_go): Need to stop catching exceptions when running a
1087
        user program, otherwise GDB will never run when the program fails, gets
1088
        a ^C interrupt, etc.  Also, clean up [remove] some cache debug code.
1089
 
1090
2003-11-12  Gary Thomas  
1091
 
1092
        * misc/redboot_XXX.ecm: Removed - since it was only a source of confusion.
1093
 
1094
2003-11-07  Gary Thomas  
1095
 
1096
        * src/net/dns.c:
1097
        * src/net/bootp.c:
1098
        * include/net/net.h: Use DNS server address from DHCP if provided.
1099
        Inspired by John Newlin 
1100
 
1101
        * src/flash.c (fis_init): Take out misleading warning - since the
1102
        new [default] behaviour of "fis free" means free space need not
1103
        be necessarily erased on the device.
1104
 
1105
2003-11-04  Gary Thomas  
1106
 
1107
        * src/flash.c (find_free): Better handling of end address - otherwise
1108
        list of free blocks could be incorrect.  Thanks to Chris Garry.
1109
 
1110
2003-11-01  Gary Thomas  
1111
 
1112
        * cdl/redboot.cdl: Reorg to allow disk operations on other than
1113
        IDE drives.
1114
 
1115
2003-10-23  Gary Thomas  
1116
 
1117
        * src/main.c (cyg_start): Try to catch illegal memory accesses and
1118
        other abort conditions during command execution.
1119
 
1120
2003-10-17  Gary Thomas  
1121
 
1122
        * src/load.c: Only examine loadable segments when scanning to determine
1123
        lowest loadable address (only used when -b XXX option used).  Otherwise,
1124
        an offset into space could be chosen.
1125
 
1126
2003-10-16  Jonathan Larmour  
1127
 
1128
        * doc/redboot_installing.sgml: Fix eb40 flash install instructions.
1129
 
1130
2003-10-15  Gary Thomas  
1131
 
1132
        * src/flash.c:
1133
        * src/fconfig.c: Better handling of layout of fconfig and fis
1134
        data within the FLASH.  Should work for even flash devices with
1135
        very smal block sizes.
1136
 
1137
        * include/redboot.h (RedBoot_INIT_SECOND):
1138
        Finer initialization control.
1139
 
1140
        * cdl/redboot.cdl: Combine FIS directory and FCONFIG database
1141
        by default.  This results in better FLASH utilization. Also define
1142
        number of FIS directory slots.  This will allow support for FLASH
1143
        devices with very small block sizes.
1144
 
1145
2003-10-12  Gary Thomas  
1146
 
1147
        * src/flash.c (fis_create): Verify that any hard FLASH addresses
1148
        (given via -f XXX) are known to be free.
1149
 
1150
2003-10-11  Gary Thomas  
1151
 
1152
        * src/flash.c:
1153
        * cdl/redboot.cdl: Change 'fis free' to use the directory structure
1154
        to determine what space is free in the FLASH.  This is controlled
1155
        by the CDL option CYGDAT_REDBOOT_FIS_MAX_FREE_CHUNKS so the old
1156
        behaviour can still be defined if desired.
1157
 
1158
2003-10-09  Gary Thomas  
1159
 
1160
        * src/flash.c (fis_create): Check whole length of image, not just
1161
        effective size, when validating addresses.
1162
 
1163
        * src/net/net_io.c (net_init):
1164
        * include/net/net.h: Rework handling of multiple network devices.  All
1165
        devices will now be initialized, with either the first or the default
1166
        device actually used for I/O.
1167
 
1168
2003-10-06  Gary Thomas  
1169
 
1170
        * src/net/net_io.c:
1171
        * src/net/bootp.c: Fix some compile problems if GATEWAY support is disabled.
1172
 
1173
        * src/flash.c (fis_list): Display FIS directory entries in FLASH
1174
        address (sorted) order.
1175
 
1176
2003-10-03  Gary Thomas  
1177
 
1178
        * src/flash.c (fis_delete): 'fconfig' data only shows up in FIS if
1179
        the data is stored in FLASH - account for this.  Also, make sure
1180
        FLASH gets initialized if built without 'fconfig' enabled.
1181
 
1182
2003-10-02  Gary Thomas  
1183
 
1184
        * src/fconfig.c:
1185
        * cdl/redboot.cdl: Allow platforms to provide a function to validate
1186
        ethernet station addresses.
1187
 
1188
2003-09-30  Gary Thomas  
1189
 
1190
        * src/fconfig.c (do_flash_config): Fix typo in error message.
1191
 
1192
2003-09-30  David Vrabel  
1193
 
1194
        * src/net/tcp.c: Include missing .
1195
 
1196
        * include/redboot.h, src/parse.c (init_opts, scan_opts): Remove
1197
        the excessive level of indirection in the handling of option
1198
        arguments.
1199
 
1200
2003-09-29  Gary Thomas  
1201
 
1202
        * src/load.c (load_elf_image): Use LMA (loader memory address), instead
1203
        of VMA (virtual memory address) to load code.  If LMA != VMA, it's up
1204
        to the loaded program to figure it out.
1205
        Inspired by Artur Lipowski 
1206
 
1207
2003-09-26  Nick Garnett  
1208
 
1209
        * doc/redboot_installing.sgml: Fixed bogus memory sizes in AT91
1210
        EB42/55 description.
1211
 
1212
2003-09-26  Gary Thomas  
1213
 
1214
        * src/flash.c (fis_free, fis_find_free):
1215
        Fix some problems introduced with the new FLASH interfaces (used by
1216
        NAND devices)
1217
 
1218
        * src/fconfig.c: Honor FLASH/FIS configury.
1219
 
1220
        * src/net/bootp.c:
1221
        * src/fs/ide.c: Clean up some compiler warnings.
1222
 
1223
2003-09-25  Gary Thomas  
1224
 
1225
        * src/net/bootp.c: Rework DHCP process to handle really stubborn
1226
        servers.
1227
 
1228
2003-09-24  Gary Thomas  
1229
 
1230
        * src/net/bootp.c (__bootp_find_local_ip): Forgot to unregister
1231
        UDP handler - could cause serious problems later!  Also, fix
1232
        problem with retries after DHCP discovery phase.
1233
 
1234
2003-09-23  Gary Thomas  
1235
 
1236
        * src/net/bootp.c (__bootp_find_local_ip): Handle retries on DHCP
1237
        requests better.
1238
 
1239
2003-09-22  Gary Thomas  
1240
 
1241
        * cdl/redboot.cdl: Fix compile error for systems with no FLASH.
1242
 
1243
2003-09-21  Gary Thomas  
1244
 
1245
        * cdl/redboot.cdl: Make DNS truly optional (remove from template).
1246
        BUG #57316
1247
 
1248
2003-09-20  Gary Thomas  
1249
 
1250
        * src/fs/ide.c: Improve IDE handling by having init function return
1251
        actual number of controllers detected.  This avoids really long times
1252
        for startup if the controller is missing.
1253
 
1254
        * src/net/bootp.c: Rework to use full DHCP protocol.  Previously,
1255
        once an offer came in, RedBoot was happy, without actually making
1256
        the address reservation and waiting for the final acknowledgement.
1257
        Also, added CDL to enable/disable DHCP.  BUG #1000053
1258
 
1259
2003-09-20  Chris Garry  
1260
 
1261
        * src/main.c: Modified the way multiple "RAM" segments are reported.
1262
 
1263
        * src/fconfig.c: Variables 'stat' and '*err_addr' in function
1264
        flash_write_config() are now defined regardless of whether
1265
        CYGSEM_REDBOOT_FLASH_COMBINED_FIS_AND_CONFIG is defined of not.
1266
 
1267
2003-09-19  Gary Thomas  
1268
 
1269
        * src/net/timers.c (__timer_poll): Need to call MS_TICKS_DELAY() or
1270
        else time will never progress.  This can cause a missed TCP packet
1271
        to cause the stack to freeze.  BUG #23006
1272
 
1273
        * src/net/tftp_client.c: Make timeout on very first transaction really
1274
        long - again since some servers are just slow/ill mannered.
1275
 
1276
        * src/net/net_io.c: Allow default server IP to be always enabled, thus
1277
        it can override what is provided by BOOTP/DHCP (since some DHCP servers
1278
        don't provide this properly).
1279
 
1280
        * src/time_date.cxx: New file - support "date" command for platforms
1281
        with battery backed up clocks.
1282
 
1283
        * src/fconfig.c: New file - split out from flash.c
1284
 
1285
        * src/main.c:
1286
        * src/load.c:
1287
        * src/flash.c:
1288
        * src/alias.c:
1289
        * include/redboot.h:
1290
        * cdl/redboot.cdl: Support multiple "RAM" segments (known writable
1291
        memory).  Also rearrange FLASH & FCONFIG, separating them as much
1292
        as possible and supporting FCONFIG data stored in some other sort
1293
        of device, like EEPROM.
1294
 
1295
2003-09-09  Gary Thomas  
1296
 
1297
        * src/flash.c (flash_config_insert_value): Default value was
1298
        wrong for ESA type.
1299
 
1300
2003-09-08  David Vrabel  
1301
 
1302
        * src/net/bootp.c (__bootp_find_local_ip): Adds Option 55 Parameter
1303
        Request List) to the DHCP request (requests: Subnet Mask; Router;
1304
        Domain Name server).
1305
 
1306
2003-08-19  Gary Thomas  
1307
 
1308
        * src/net/udp.c (__udp_recvfrom): Rework loop so delay only happens
1309
        if no packet is immediately available - improves network throughput.
1310
 
1311
        * src/ticks.c:
1312
        * cdl/redboot.cdl: Add control over granularity of timers used
1313
        by RedBoot and the network stack.
1314
 
1315
2003-08-05  Jonathan Larmour  
1316
 
1317
        * doc/redboot_installing.sgml: Fix brain fart in last change to
1318
        AT91 instructions. Also clarify instructions a bit, including
1319
        documenting better for windows users.
1320
 
1321
2003-07-23  Patrick Doyle  
1322
 
1323
        * src/flash.c (fis_find_free)
1324
        * src/flash.c (fis_free): Do not search areas reserved for RedBoot
1325
        when scanning for free space.
1326
 
1327
2003-07-16  Gary Thomas  
1328
 
1329
        * src/net/ping.c:
1330
        * src/net/bootp.c: Allow ^C to abort.
1331
 
1332
        * src/io.c:
1333
        * include/redboot.h: New function _rb_break() used to test for ^C
1334
        on the console.  Used to break out of long operations like BOOTP.
1335
 
1336
2003-07-15  Gary Thomas  
1337
 
1338
        * src/net/bootp.c: Use correct options for DHCP discover.  This has
1339
        the added bonus that when BOOTP & GATEWAY options are enabled, then
1340
        RedBoot can get it's address via normal DHCP.  Of course, DHCP leases
1341
        will be ignored by RedBoot, so some caution is warranted.
1342
 
1343
        * include/net/net.h:
1344
        * src/net/arp.c (__arp_request): Allow ARP of self - used during
1345
        initialization to "broadcast" that an IP address is in use.
1346
 
1347
        * src/net/net_io.c (net_init): When using a static IP, send an
1348
        initial ARP to see if any other node is using this address.
1349
        Also, some minor cosmetic cleanups to remove warnings.
1350
 
1351
2003-07-15  Jonathan Larmour  
1352
 
1353
        * doc/redboot_installing.sgml (AT91): Tell users to switch JP1
1354
        (or SW1 for EB40) when installing, and warn them in no
1355
        uncertain terms the consequences of failing to do so.
1356
 
1357
2003-07-01  Mark Salter  
1358
 
1359
        * cdl/redboot.cdl (CYGBLD_BUILD_REDBOOT_WITH_MCOPY): New option.
1360
        * src/mcopy.c: New file adding mcopy command.
1361
        * doc/redboot_cmds.sgml: Add mcopy.
1362
 
1363
2003-06-26  Jonathan Larmour  
1364
 
1365
        * doc/redboot_installing.sgml: Clarify use of correct cables with
1366
        serial ports with AT91 boards.
1367
 
1368
2003-06-24  Jonathan Larmour  
1369
 
1370
        * doc/redboot_cmds.sgml (IP): Clarify last change a bit and fix typos
1371
        and markup.
1372
 
1373
2003-05-20  David Vrabel  
1374
2003-05-20  Ian Campbell  
1375
 
1376
        * src/net/net_io.c: Add the ability to specify a netmask length to
1377
        the ip_address command
1378
        * doc/redboot_cmds.sgml: Document the above.
1379
 
1380
2003-06-24  Jeroen Dobbelaere  
1381
2003-06-24  Jonathan Larmour  
1382
 
1383
        * src/net/tftp_client.c: Define tftp_stream.last_good_block to
1384
        permit downloads > 32MB.
1385
        (tftp_ack): Allow last_good_block to wrap.
1386
        (tftp_stream_read): Ditto.
1387
 
1388
        * src/net/bootp.c: Use correct DHCP message type for DHCPREQUEST.
1389
 
1390
2003-05-20  Mark Salter  
1391
 
1392
        * cdl/redboot.cdl (CYGBLD_REDBOOT_CMD_LINE_HISTORY): New option.
1393
        * src/io.c: Support history command and history expansion.
1394
        * doc/redboot.sgml: Document command history support.
1395
 
1396
2003-05-14  Mark Salter  
1397
 
1398
        * src/flash.c (flash_get_config): Add CONFIG_NETPORT case.
1399
 
1400
2003-05-13  Nick Garnett  
1401
 
1402
        * doc/redboot_installing.sgml: Added installation instructions for
1403
        Atmel EB40A, EB42 and EB55 boards.
1404
 
1405
2003-05-06  Mark Salter  
1406
 
1407
        * src/main.c (cyg_start): Clear gdb_active when returning from stub.
1408
 
1409
2003-05-06  Pierre Habraken  
1410
 
1411
        * cdl/redboot.cdl: Added option
1412
        CYGOPT_REDBOOT_BSP_SYSCALLS_EXIT_WITHOUT_TRAP for enabling (possibly
1413
        single shot) programs to exit and return a termination status as
1414
        their normal behavior (i.e. without raising a SIGTRAP).
1415
        * src/syscall.c (__do_syscall): Added conditionally compiled code
1416
        to SYS_exit for returning to RedBoot main loop without raising a
1417
        SIGTRAP, even when the calling program is not being debugged.
1418
        * src/main.c (cyg_start): Added code (following Jonathan Larmour's
1419
        and Mark Salter's suggestions) to RedBoot main loop: a (context)
1420
        savepoint is created before the thread of control is transferred to
1421
        gdb stubs (through a trampoline procedure). This savepoint enables
1422
        the stubs to return control back to the main loop by calling the
1423
        return_to_redboot procedure (macro CYGACC_CALL_IF_MONITOR_RETURN).
1424
        Procedure go_trampoline and variables go_saved_context and
1425
        go_return_status have been respectively renamed to trampoline,
1426
        saved_context and return_status.
1427
 
1428
2003-04-23  Chris Garry 
1429
 
1430
        * src/flash.c: Only perform RAM check in fis load command when
1431
        CYGSEM_REDBOOT_VALIDATE_USER_RAM_LOADS = 1
1432
 
1433
2003-04-18  Gary Thomas  
1434
 
1435
        * src/net/tftp_client.c: Arrange to ACK last good packet when closing.
1436
        Without this, the host can be left tryint to send that packet forever.
1437
 
1438
2003-04-14  Jani Monoses  
1439
 
1440
        * src/load.c:
1441
        Change #else if to #elif so it compiles when TFTP is disabled.
1442
 
1443
2003-04-08  Jonathan Larmour  
1444
 
1445
        * src/main.c (do_go): Silence unused variable warning when no net.
1446
 
1447
2003-04-04  Mark Salter  
1448
 
1449
        * src/main.c (do_go): Add -n switch to optionally stop network
1450
        device. Mask interrupts on all comm channels.
1451
        Don't scan for -n unless ethernet configured in.
1452
        * doc/redboot_cmds.sgml: Update go command info.
1453
 
1454
2003-04-03  Gary Thomas  
1455
 
1456
        * src/load.c: Better handling of default download mode.  Also
1457
        display information when I/O errors occor (was silent).
1458
        (do_load): Handle case when X-modem protocol is disabled.
1459
 
1460
        * src/net/http_client.c:
1461
        * include/net/http.h: Improve parsing of HTTP responses for errors.
1462
 
1463
2003-03-28  Gary Thomas    inspired by
1464
2003-03-28  Jani Monoses 
1465
 
1466
        * src/load.c:
1467
        * cdl/redboot.cdl: Make TFTP download protocol optional.
1468
 
1469
2003-03-20  Mark Salter  
1470
 
1471
        * include/flash_config.h (CONFIG_NETPORT): New config option.
1472
        * src/flash.c: Support CONFIG_NETPORT.
1473
        * cdl/redboot.cdl: New option to select default ethernet device.
1474
        * src/net/net_io.c: Support multiple ethernet devices.
1475
        * include/net/net.h: Add externs for net_devname and net_devindex.
1476
 
1477
2002-03-19  John Dallaway  
1478
 
1479
        * doc/redboot_installing.sgml: Update Atmel AT91EB40 RedBoot
1480
        installation instructions.
1481
 
1482
2003-03-18  Mark Salter  
1483
 
1484
        * doc/redboot_installing.sgml: Add XScale IXDP425 and GRG.
1485
 
1486
2003-03-05  Jonathan Larmour  
1487
 
1488
        * src/main.c (do_version): Test for CYGPKG_REDBOOT_FLASH as
1489
        CYGPKG_IO_FLASH can be loaded with no underlying hardware drivers!
1490
 
1491
2003-03-03  Gary Thomas  
1492
 
1493
        * src/main.c (set_console_baud_rate): Avoid "unused" warning.
1494
 
1495
2003-03-03  Knud Woehler  
1496
 
1497
        * src/flash.c: fis_work_block was not initialized in do_flash_init()
1498
        thus fis_lookup() does not work if called via the virtual vector table.
1499
 
1500
2003-02-24  Jonathan Larmour  
1501
 
1502
        * doc/redboot.sgml: De-vendorise a little.
1503
        Fix extraneous .
1504
 
1505
        * cdl/redboot.cdl: Add doc links.
1506
 
1507
2003-02-14  Jonathan Larmour  
1508
 
1509
        * cdl/redboot.cdl: Put virtually all options inside
1510
        CYGBLD_BUILD_REDBOOT. And indent accordingly.
1511
 
1512
2003-02-04  Gary Thomas  
1513
 
1514
        * src/fs/ide.c: Print more info if failed to identify IDE device.
1515
 
1516
        * src/fs/e2fs.c: Improved debug output.
1517
 
1518
2003-02-04  Mark Salter  
1519
2003-02-04  Brian Murphy 
1520
 
1521
        * src/main.c (return_to_redboot): Add CYGARC_HAL_RESTORE_GP.
1522
 
1523
2003-01-31  Mark Salter  
1524
 
1525
        * src/main.c: Add support to allow programs started by go to
1526
        return to RedBoot.
1527
 
1528
        * src/syscall.c (__do_syscall): Return to monitor on program exit
1529
        if gdb not active.
1530
        (sys_timer_isr): Return CYG_ISR_HANDLED.
1531
 
1532
2003-01-10  Patrick Doyle  
1533
 
1534
        * src/load.c (do_load): Don't abort and complain about overwriting
1535
        the end of RAM when loading raw data files and we already asked
1536
        the user if it was ok to write outside what we believe to be RAM.
1537
 
1538
2002-12-31  Patrick Doyle  
1539
 
1540
        * src/decompress.c (gzip_close): Don't complain that decompression
1541
        didn't complete when the stream reaches its end.
1542
 
1543
2002-12-18  David Mazur  
1544
2002-12-18  Mark Salter  
1545
 
1546
        * src/fs/e2fs.c (e2fs_get_gdesc): Fixed handling of group descriptor
1547
        cache misses.
1548
 
1549
2002-12-03  Gary Thomas  
1550
 
1551
        * src/main.c: Export version string via virtual vector table.
1552
 
1553
2002-11-05  Jonathan Larmour  
1554
 
1555
        * src/io.c (_rb_gets_preloaded): Null terminate when buffer full.
1556
 
1557
2002-10-24  Gary Thomas   (inspired by)
1558
2002-10-24  Jay Foster 
1559
 
1560
        * include/net/bootp.h (BP_MIN_VEND_SIZE):
1561
        * src/net/bootp.c (__bootp_find_local_ip): Require a minimum vendor
1562
        area to always be sent (to keep some servers happy).
1563
 
1564
        * src/flash.c: Fix typo for "FIS DELETE"
1565
 
1566
2002-09-16  Mark Salter  
1567
 
1568
        * src/main.c (set_console_baud_rate): Handle CYGPKG_REDBOOT_ANY_CONSOLE.
1569
        (set_comm_baud_rate): New function.
1570
 
1571
2002-09-13  Mark Salter  
1572
 
1573
        * src/decompress.c: Move error handling back into gzip_close to
1574
        fix xyzmodem loads.
1575
 
1576
2002-09-12  Mark Salter  
1577
 
1578
        * src/decompress.c (gzip_inflate): Fix error return so that upper
1579
        doesn't quit on Z_STREAM_END.
1580
        (gzip_close): Move error handling into gzip_inflate.
1581
 
1582
        * src/load.c (do_load): Fix printing of address range for raw loads.
1583
 
1584
2002-09-11  Mark Salter  
1585
 
1586
        * src/main.c (do_go): Turn on line flushes before jumping to function.
1587
        * src/net/net_io.c (net_io_control): Support flushes at end of lines.
1588
 
1589
2002-09-03  Yoshinori Sato 
1590
2002-09-03  Mark Salter  
1591
 
1592
        * include/fs/disk.h (__SWAB32): Fix incorrect masking.
1593
        * src/fs/e2fs.c (e2fs_inode_block): Fix endianess of block numbers.
1594
 
1595
2002-08-29  Mark Salter  
1596
 
1597
        * src/net/net_io.c (net_init): Initialize dns before showing addresses.
1598
 
1599
2002-08-26  Thomas Koeller 
1600
 
1601
        * src/flash.c: Do not warn about overwriting image data if
1602
        -n option is used with 'fis create'. For 'fis load',
1603
        perform load size check based on actual data length, not
1604
        image size.
1605
 
1606
2002-08-22  Mark Salter  
1607
 
1608
        * src/net/net_io.c (net_io_putc): Don't flush on every \n.
1609
        * src/syscall.c (__do_syscall): Allow fileio support to fall back
1610
        to non-fileio behavior if program is not being run by gdb.
1611
 
1612
2002-08-20  Thomas Koeller  
1613
 
1614
        * cdl/redboot.cdl:
1615
        * include/redboot.h:
1616
        * src/main.c:
1617
        * src/flash.c:
1618
        * src/decompress.c: Use a common buffer for FIS directory
1619
        manipulation and zlib workspace to conserve RAM.
1620
 
1621
2002-08-20  Thomas Koeller  
1622
 
1623
        * cdl/redboot.cdl:
1624
        * include/fis.h: Allow control of FIS descriptor padding.
1625
 
1626
2002-08-16  Jani Monoses  
1627
 
1628
        * src/io.c: Do not add empty lines to command history.
1629
        * src/net/http_client.c: Read all data when in CLOSE_WAIT
1630
        otherwise if the server closes quickly enough nothing is
1631
        received.
1632
 
1633
2002-08-09  Andrew Lunn  
1634
 
1635
        * src/crc.c: Removed. Replaced with the CRC package.
1636
        * src/cksum.c: Removed the posix_crc function.
1637
        * src/flash.c: Use the crc package crc functions.
1638
        * src/xyzModem.c: Ditto
1639
        * include/redboot.h: Use the crc package include file.
1640
        * cdl/redboot.cdl: removed crc.c
1641
 
1642
2002-08-09  Jani Monoses  
1643
 
1644
        * src/net/http_client.c: use standard HTTP GET request ('/'
1645
        instead of ' ' in HTTP/1.0) to work with all servers
1646
 
1647
2002-08-08  Jani Monoses  
1648
 
1649
        * src/flash.c: fis delete should mark the slot as reusable
1650
        not just delete the area of flash used by the file.
1651
 
1652
2002-08-08  Gary Thomas  
1653
2002-08-08  Motoya Kurotsu 
1654
 
1655
        * src/load.c (do_load): Make sure 'io_tab' is set before using it.
1656
 
1657
2002-08-07  Gary Thomas  
1658
 
1659
        * src/net/tftp_client.c:
1660
        * include/net/tftp.h: Make block numbers unsigned to handle files
1661
        larger than 16MB.
1662
 
1663
2002-08-06  Gary Thomas  
1664
 
1665
        * src/crc.c: POSIX crc code is now separate.
1666
 
1667
        * src/mfill.c:
1668
        * src/mcmp.c:
1669
        * src/dump.c:
1670
        * src/cksum.c:
1671
        * src/caches.c: New (split out) file(s).
1672
 
1673
        * src/main.c:
1674
        * cdl/redboot.cdl: Split major CLI functionality to separate
1675
        files, more easily controlled by CDL - inspired by Andrew.
1676
 
1677
2002-08-06  Andrew Lunn  
1678
 
1679
        * src/io.c: Fix the parsing of boot scripts to allow the use
1680
          of aliases. This was broken when the ability to do startup
1681
          type specific scripting was added.
1682
 
1683
2002-08-05  Andrew Lunn  
1684
 
1685
        * src/main.c: Made more of the commands conditionally compilable
1686
        * cdl/redboot.cdl: CDL code to control the compilation.
1687
 
1688
2002-07-30  Gary Thomas  
1689
 
1690
        * src/net/net_io.c: Handle broadcast/mask setup better (failed if
1691
        not found in FLASH).  Also print on network info line.
1692
 
1693
2002-07-18  Gary Thomas  
1694
 
1695
        * src/net/tftp_client.c:
1696
        * src/net/http_client.c:
1697
        * src/fs/disk.c:
1698
        * src/xyzModem.c:
1699
        * src/load.c:
1700
        * include/redboot.h: Rework load/mode information tables so that
1701
        load I/O methods can detect actual mode (e.g. X-modem vs Y-modem)
1702
 
1703
2002-07-16  Hendrik Ruijter  
1704
2002-07-16  Mark Salter  
1705
 
1706
        * include/net/net.h: Add __tcp_abort prototype.
1707
 
1708
        * src/net/icmp.c: The default handler can be replaced by a
1709
        user defined handler which handles all ICMP segments.
1710
 
1711
        * src/net/ping.c
1712
        (handle_icmp): Only ICMP Echo Reply segments must be counted and
1713
        ICMP Echo Requests are handled in the user defined handler.
1714
 
1715
        * src/net/tcp.c
1716
        (do_abort, __tcp_abort): Send an RST flag in order to abort a
1717
        connection. May use a delay to send the flag.
1718
 
1719
2002-07-15  Mark Salter  
1720
 
1721
        * src/net/net_io.c: Increase size of out_buf to 1024 bytes.
1722
 
1723
2002-07-11  Gary Thomas  
1724
 
1725
        * src/io.c (mon_read_char_with_timeout): Ensure interrupts are
1726
        disabled on all I/O channels, except for the current console.
1727
        This is done when selecting a console, as this process causes
1728
        the interrupt state to be inherited from the current console.
1729
 
1730
2002-07-09  Gary Thomas  
1731
2002-07-09  Grant Edwards 
1732
 
1733
        * src/net/udp.c:
1734
        * src/net/net_io.c:
1735
        * src/net/ip.c:
1736
        * src/net/bootp.c:
1737
        * src/net/arp.c:
1738
        * include/net/net.h:
1739
        * include/net/bootp.h:
1740
        * cdl/redboot.cdl: Add basic support for non-local networking
1741
        using a single gateway.  Based on contribution from Grant Edwards.
1742
 
1743
2002-07-01  Gary Thomas  
1744
 
1745
        * src/net/tftp_client.c:
1746
        * src/net/http_client.c:
1747
        * src/fs/disk.c:
1748
        * src/xyzModem.h:
1749
        * src/xyzModem.c:
1750
        * src/load.c:
1751
        * include/net/tftp_support.h:
1752
        * include/net/http.h:
1753
        * include/redboot.h:
1754
        * cdl/redboot.cdl: Make 'load' command stream I/O table driven.
1755
 
1756
2002-05-31  Jesper Skov  
1757
 
1758
        * doc/redboot_installing.sgml: Updated the remaining installation
1759
        instructions (well, the top mode details anyway).
1760
 
1761
2002-05-29  Jesper Skov  
1762
 
1763
        * doc/redboot_cmds.sgml: Changed format of fis commands.
1764
 
1765
        * doc/redboot_installing.sgml: Updated installation instructions
1766
        for all targets up to PowerPC.
1767
 
1768
2002-05-28  Gary Thomas  
1769
 
1770
        * src/load.c (load_elf_image): Improve loading of ELF files with
1771
        multiple physical segments.
1772
 
1773
2002-05-27  Jesper Skov  
1774
 
1775
        * doc/redboot_rebuilding.sgml: Added some guimenu tags.
1776
 
1777
        * doc/redboot_installing.sgml: Updating more board instructions.
1778
        More updates. Changing most programlisting keywords to screen.
1779
        Converted remaining rebuild instructions. More mode descriptions
1780
        updated. iPAQ converted as well.
1781
 
1782
2002-05-24  Gary Thomas  
1783
 
1784
        * src/load.c (load_elf_image): Improve loading where ELF image
1785
        actually overlaps headers [old COFF style files].
1786
 
1787
2002-05-24  Jesper Skov  
1788
 
1789
        * doc/redboot_installing.sgml: Updated another 3 boards'
1790
        instructions.
1791
 
1792
        * doc/redboot.sgml: Changes due to comments from Jifl.
1793
        * doc/redboot_rebuilding.sgml: Same.
1794
 
1795
        * doc/redboot.sgml: Fix wording.
1796
 
1797
        * doc/redboot_installing.sgml: Reordered the platform sections
1798
        according to CPU architecture/variant and board manufacturer.
1799
 
1800
2002-05-23  Jonathan Larmour  
1801
 
1802
        * src/net/dns.c (store_hent): New function. DNS package now requires
1803
        this instead of the cyg_thread_get_data calls.
1804
        (free_stored_hent): New function. Ditto.
1805
 
1806
2002-05-23  Gary Thomas  
1807
 
1808
        * doc/redboot_cmds.sgml: Document new HTTP download mode.
1809
 
1810
        * src/net/tcp.c: Improve some interfaces.  Add support for
1811
        outgoing (__tcp_open) connections.
1812
 
1813
        * src/net/net_io.c (net_io_flush): Use improved TCP interfaces.
1814
 
1815
        * src/main.c (_mon_write_char): Map '\n' => '\r\n'.  This used
1816
        to be done by diag_printf(), but that was the wrong place for it.
1817
 
1818
        * include/net/net.h: Add support for TCP outgoing connections.
1819
 
1820
        * src/net/http_client.c:
1821
        * include/net/http.h: New file(s) - HTTP client support.
1822
 
1823
        * src/load.c:
1824
        * cdl/redboot.cdl: Support HTTP download mode.
1825
 
1826
2002-05-23  Jesper Skov  
1827
 
1828
        * doc/redboot.sgml: Moved the editing and resource sections to
1829
        this document. Added new section on RedBoot (startup) modes.
1830
        * doc/redboot_cmds.sgml: Removed the editing and resource
1831
        sections.
1832
        * doc/redboot_installing.sgml: Changed a couple of platform
1833
        descriptions.
1834
        * doc/redboot_rebuilding.sgml: Make use of mode/config
1835
        consistent. Removed mode section.
1836
 
1837
2002-05-22  Jesper Skov  
1838
 
1839
        * doc/redboot_rebuilding.sgml: Added a note about redboot growing
1840
        beyond its slot limits.
1841
        Rewrote the RedBoot rebuilding documentation.
1842
 
1843
        * src/flash.c (fis_create): Clarify error message. Get rid of bool
1844
        flag slot_found that only duplicated fis variable state.
1845
 
1846
2002-05-21  Gary Thomas  
1847
 
1848
        * src/xyzModem.h:
1849
        * src/xyzModem.c:
1850
        * src/load.c: Purge mention of Z-modem until it's implemented.
1851
 
1852
2002-05-21  Jesper Skov  
1853
 
1854
        * src/flash.c (fis_create): Removed one of the three questions to
1855
        verify.
1856
        * doc/redboot_rebuilding.sgml: Removed the query lines from the
1857
        docs.
1858
 
1859
        * doc/redboot_installing.sgml: Removed all the free RAM related
1860
        resource descriptions. Left in a few timer resource descriptions.
1861
        * doc/redboot_cmds.sgml: Refer to platform sections for additional
1862
        platform-specific resource usage.
1863
 
1864
        * doc/redboot_installing.sgml: Removed all platform specific
1865
        references to the updating section which told the user to use
1866
        specific flash paramemters. All this is now handled
1867
        automagically.
1868
 
1869
        * src/alias.c (lookup_alias): FREEMEMHI is just the high address
1870
        masked to 1KB alignment.
1871
 
1872
        * doc/redboot_cmds.sgml: Added load disk example.
1873
        Added section on RedBoot resources.
1874
 
1875
2002-05-18  Gary Thomas  
1876
 
1877
        * src/main.c (do_baud_rate): Improve safety by asking for verification
1878
        after actually changing the rate, before updating fconfig data.  This
1879
        reduces the chance of making a "brick" by setting a bad baud rate.
1880
 
1881
        * src/flash.c (load_flash_config): Fix set_console_baud_rate prototype.
1882
 
1883
        * src/io.c (verify_action_with_timeout):
1884
        * include/redboot.h: New function verify_action_with_timeout().
1885
        Returns false if no response within XX ms (or ^C).
1886
 
1887
2002-05-17  Gary Thomas  
1888
 
1889
        * src/main.c (do_help):
1890
        * src/flash.c:
1891
        * include/redboot.h: Support nested command structures, like "fis",
1892
        better.
1893
 
1894
2002-05-17  Jesper Skov  
1895
 
1896
        * doc/redboot_rebuilding.sgml: Rewrote update procedure to become
1897
        truly generic. Some minor tweaks.
1898
 
1899
        * doc/redboot_cmds.sgml: Added id to cksum command.
1900
 
1901
        * src/shex.c (load_shex_image): Set entry address to be base
1902
        address.
1903
        * src/load.c (do_load): Same.
1904
 
1905
        * src/flash.c (fis_create): Infer correct exec and entry
1906
        addresses.
1907
 
1908
        * src/load.c (load_elf_image): Save load_address/end.
1909
 
1910
        * src/flash.c: Made fis lock/unlock support optional image name
1911
        instead of addresses. Made a few places of the code use fis_lookup
1912
        instead of scanning the table by steam.
1913
        (do_flash_config): Update flash after configuration has been
1914
        initialized.
1915
 
1916
2002-05-16  Jesper Skov  
1917
 
1918
        * doc/redboot_cmds.sgml: Updated text on cksum to show the new
1919
        output format.
1920
 
1921
        * src/xyzModem.c (xyzModem_stream_read): Fix build breakage.
1922
 
1923
        * doc/redboot.sgml: Some minor tweaks.
1924
 
1925
        * src/alias.c (lookup_alias): Renamed freemem aliases.
1926
 
1927
2002-05-15  Jesper Skov  
1928
 
1929
        * src/io.c (verify_action): Replaced 'are you sure' with
1930
        'continue'.
1931
        * doc/redboot.sgml: Same.
1932
 
1933
        * src/xyzModem.c: Let Y-modem load correct length. Don't remove
1934
        assumed padding bytes since they may well be actual data. Don't
1935
        read anything after the EOF package is received.
1936
        Disabled the Y-modem header stuff again; it still needs the
1937
        padding culling code. So in the end, only the EOF-package read
1938
        was at fault.
1939
 
1940
        * src/main.c: Tweak cksum output.
1941
 
1942
        * src/flash.c (fis_create): language tweaks.
1943
 
1944
        * src/main.c: Always call expand_aliases - leave it to that
1945
        function to look for flash aliases when appropriate.
1946
 
1947
        * src/flash.c: Moved basic alias expansion into separate file.
1948
        * src/alias.c: New file. Always provide FREE_LOW & FREE_HIGH
1949
        aliases, but also call flash_lookup_alias when defined.
1950
 
1951
        * include/redboot.h: Added declarations for alias functions. Added
1952
        getc_t and terminate_t types.
1953
 
1954
        * src/load.c: Use getc_t/terminate_t types. Made raw load abort if
1955
        user tries to load a file too big for memory.
1956
 
1957
        * cdl/redboot.cdl: Compile alias.c.
1958
 
1959
2002-05-14  Jonathan Larmour  
1960
 
1961
        * src/version.c: Clarify comments.
1962
 
1963
2002-05-14  Gary Thomas  
1964
 
1965
        * include/redboot.h:
1966
        * src/net/net_io.c:
1967
        * src/net/dns.c: Merge generic "ip" command with "dns" for
1968
        more homogenous interface.
1969
 
1970
2002-05-13  Gary Thomas  
1971
 
1972
        * cdl/redboot.cdl: Disable CYGOPT_REDBOOT_FIS_REDBOOT_BACKUP
1973
        by default, since its use is currently unclear.
1974
 
1975
        * src/flash.c (load_flash_config): Check for adequate FIS space
1976
        was incorrect [when FIS directory and FCONFIG are combined].
1977
        (fis_lookup): Image name lookup is case insensitive.
1978
 
1979
2002-05-10  Gary Thomas  
1980
 
1981
        * src/flash.c: Lots of restructuring in support of combined
1982
        FIS and FCONFIG data.
1983
 
1984
        * cdl/redboot.cdl:
1985
        Add new option CYGSEM_REDBOOT_FLASH_COMBINED_FIS_AND_CONFIG
1986
        to allow FIS directory and FCONFIG data to share the same
1987
        physical FLASH block.
1988
 
1989
2002-05-03  Gary Thomas  
1990
 
1991
        * src/flash.c (load_flash_config): Adjust fconfig database
1992
        address - necessary if FLASH blocks are very small.
1993
 
1994
2002-05-02  Gary Thomas  
1995
 
1996
        * src/load.c: Rework how decompression is done (with changes
1997
        noted below).  Now turning on decompression works by pushing
1998
        the decompress code into the stream I/O.
1999
 
2000
        * src/flash.c (fis_load):
2001
        * src/decompress.c (gzip_inflate):
2002
        * include/redboot.h: Make decompression code more generalized.
2003
 
2004
2002-05-01  Gary Thomas  
2005
 
2006
        * include/elf.h: New file.
2007
 
2008
        * cdl/redboot.cdl:
2009
        * src/load.c (load_elf_image): Support [simple] ELF images.
2010
 
2011
2002-04-24  Yoshinori Sato  
2012
 
2013
        * src/xyzModem.c (xyzModem_stream_terminate): Increase time for
2014
        cleanup from 100ms to 250ms.
2015
 
2016
2002-04-23  Jonathan Larmour  
2017
 
2018
        * src/syscall.c (__do_syscall): Rename EIO to NEWLIB_EIO to
2019
        pre-empt any potential conflict. Add definition of
2020
        NEWLIB_ENOSYS and use it in place of ENOSYS.
2021
 
2022
2002-04-22  Jonathan Larmour  
2023
 
2024
        * doc/redboot.sgml: Document iq80321 switch settings.
2025
 
2026
        * include/redboot.h: Add gettimeofday, rename, isatty and system
2027
        syscall numbers.
2028
 
2029
        * src/syscall.c (__do_syscall): Handle above new syscalls in a
2030
        "default" way.
2031
        Take new extra signal argument.
2032
        When required, handle file I/O syscalls, by passing into HAL.
2033
 
2034
2002-04-21  Paul Fine  
2035
 
2036
        * src/flash.c (flash_get_config, load_flash_config): Save a
2037
        pointer to the configuration structure in FLASH.  If
2038
        flash_get_config fails to find a config item, check to make sure
2039
        that the config structure in RAM has not been trashed.  If it has
2040
        been trashed, set the pointer to the "readonly" version in FLASH
2041
        and try to read the config item again.
2042
 
2043
        * cdl/redboot.cdl (CYGSEM_REDBOOT_FLASH_CONFIG_READONLY_FALLBACK):
2044
        Added this flash config option to control the readonly fallback in
2045
        flash.c
2046
 
2047
2002-04-16  Yoshinori Sato  
2048
2002-04-16  Jonathan Larmour  
2049
 
2050
        * src/xyzModem.c: Don't return ACKs too early.
2051
 
2052
2002-04-16  Gary Thomas  
2053
 
2054
        * src/net/bootp.c: Readjust timeouts - more, shorter.  Better response.
2055
 
2056
2002-04-12  Gary Thomas  
2057
 
2058
        * src/net/bootp.c: Increase timeouts for slower networks.
2059
 
2060
2002-04-11  Nick Garnett  
2061
 
2062
        * doc/redboot.sgml: Changed some misplaced s into
2063
        s.
2064
 
2065
2002-04-08  Nick Garnett  
2066
 
2067
        * doc/redboot.sgml: Added full LED code desription, revised memory
2068
        layout and miscellaneous other fixes for 80321.
2069
 
2070
2002-04-03  Gary Thomas  
2071
 
2072
        * src/main.c (do_mfill):
2073
        (do_mcmp): New routines for fill/compare random buffers.
2074
 
2075
        * cdl/redboot.cdl: CDL to control mfill, mcmp, cksum commands.
2076
 
2077
        * src/net/net_io.c (do_ip_addr):
2078
        * doc/redboot.sgml: Add new command 'ip_addr', used to set/show the
2079
        local and host [server] addresses.
2080
 
2081
2002-04-02  Jesper Skov  
2082
 
2083
        * redboot.sgml: excalibur: Updated memory map details, added
2084
        information about REDBOOT startup mode.
2085
 
2086
2002-03-07  Mark Salter  
2087
 
2088
        * src/net/tcp.c: Fix missing acks of resent segments pointed out
2089
        by Hendrik Ruijter.
2090
 
2091
2002-03-06  Nick Garnett  
2092
 
2093
        * doc/redboot.sgml: Added Integrator details.
2094
 
2095
2002-03-06  Mark Salter  
2096
 
2097
        * src/net/tcp.c (__tcp_handler): Slight rework of Hendrik Ruijter's
2098
        fix for FIN_WAIT_1 to TIME_WAIT transition.
2099
 
2100
2002-03-06  Jesper Skov  
2101
 
2102
        * doc/redboot.sgml: Updated iq80310 details.
2103
        Updated iq80321 details.
2104
        Updated e7t details.
2105
 
2106
2002-03-05  Jesper Skov  
2107
 
2108
        * doc/redboot.sgml: Updated ebsa285 details.
2109
        Updated ipaq details.
2110
        Updated edb7312 details.
2111
 
2112
2002-03-05  Gary Thomas  
2113
2002-02-25 Hendrik Ruijter 
2114
 
2115
        * include/net/net.h: Add 'reuse' flag.
2116
 
2117
        * src/net/tcp.c
2118
        (tcp_send): Adjust socket close time to allow for faster re-use.
2119
        (__tcp_handler): Statetransitions to TIME_WAIT on active close
2120
        when FIN,ACK receivedsimultaneously.
2121
        (__tcp_so_reuseaddr): New function - select fast re-use.
2122
 
2123
2002-03-05  Jesper Skov  
2124
 
2125
        * doc/redboot.sgml: Add something about updating RedBoot on
2126
        platforms using ROMRAM-startup type RedBoot. Also mention that fis
2127
        create can get some of its information from the fis directory.
2128
        Updated assabet details.
2129
 
2130
2002-03-01  Mark Salter  
2131
 
2132
        * redboot.sgml: Add diag docs and switch setting info for 80321.
2133
 
2134
2002-02-28  Hugo Tyson  
2135
 
2136
        * src/flash.c (do_flash_config): Add "-d" to the help info.
2137
 
2138
        * doc/redboot.sgml: Docuement the "-d" option for dumb terminals
2139
        with fconfig - so you're not forced to use line editing.
2140
 
2141
2002-02-28  Jesper Skov  
2142
 
2143
        * src/syscall.c: Moved SYS_ value definitions to the header file.
2144
        * include/redboot.h: Same.
2145
 
2146
2002-02-27  David Howells  
2147
 
2148
        * sgml/redboot.sgml: Removed extraneous .
2149
 
2150
2002-02-26  David Howells  
2151
 
2152
        * doc/redboot.sgml: Updated the ASB2305 notes to be more complete
2153
        with respect to having two flash chips.
2154
 
2155
2002-02-19  Mark Salter  
2156
 
2157
        * src/net/net_io.c (net_io_init): Remove ISR installation. This
2158
        was wrong way to fix problem.
2159
 
2160
2002-02-15  Mark Salter  
2161
 
2162
        * src/net/net_io.c (net_io_init): Install default ISR for ethernet.
2163
 
2164
2002-02-14  Patrick Doyle  
2165
 
2166
        * src/fs/disk.c (disk_stream_read): Modified to return the number
2167
        of bytes read instead of -1 when such number is less than was
2168
        requested.
2169
 
2170
2002-02-06  Mark Salter  
2171
 
2172
        * src/syscall.c (sys_write): Call __flush after last __putc.
2173
        (__flush): New function to flush console output.
2174
 
2175
2002-02-05  Jonathan Larmour  
2176
 
2177
        * src/net/net_io.c (net_init): Set use_bootp and net_debug defaults
2178
        properly.
2179
 
2180
2002-01-31  Gary Thomas  
2181
 
2182
        * src/fs/ide.c (ide_packet_read_sectors): Pass errors on read.
2183
        (ide_init): Ignore ATAPI devices that are not CDROM (like ZIP).
2184
 
2185
2002-01-30  Hugo Tyson  
2186
 
2187
        * src/net/net_io.c (start_console): Pick up config items to choose
2188
        a console for special debug messages.  If it's not set, select
2189
        channel 0 regardless, like it used to.
2190
        (info_console_force, info_console_number): New fconfig options to
2191
        control this channel *plus* forcing application special debug out
2192
        to a particular serial.   This is crucial for debugging debugging
2193
        itself, or debugging a networked app over the network when you're
2194
        liable to get such messages popping out from the app as well as
2195
        from RedBoot.
2196
 
2197
        * cdl/redboot.cdl (CYGDBG_REDBOOT_NET_DEBUG_CONSOLE_NUMBER):
2198
        Option deleted, because this is now controlled by fconfig items.
2199
 
2200
2002-01-25  Hugo Tyson  
2201
 
2202
        * src/syscall.c (sys_profile_reset): New routine - doesn't do
2203
        much, just NULLs the callback.  Useful placeholder in case more is
2204
        needed in future, eg. reset the clock also.
2205
        (__do_syscall): Calls the reset on syscall 2003.
2206
 
2207
2002-01-21  Hugo Tyson  
2208
 
2209
        * src/flash.c (do_flash_config): Enable a "dumb terminal" mode for
2210
        fconfig, which does not pre-fill the buffer for editing, but
2211
        merely prompts for a new value (or RET for old, for non-string
2212
        values).  This is because telnet/kermit-like network terminal apps
2213
        are not by default configured to pass all characters through.
2214
 
2215
2002-01-18  Hugo Tyson  
2216
 
2217
        * src/syscall.c (sys_timer_ticks): Change this to a cyg_uint64 to
2218
        give better range for times() sanity in case we run the hardware
2219
        clock ticking at a faster rate, or want to last > 8 days.
2220
 
2221
2002-01-16  Hugo Tyson  
2222
 
2223
        * src/syscall.c (sys_profile_frequency): Change frequency that is
2224
        passed around to signed, so that we can enquire using -ve values.
2225
        Re-order the logic a little so as to permit enquiries which do not
2226
        modify what's set up in the hardware.  Adjust the times() counter
2227
        when its HZ rate changes so it tells the truth.
2228
 
2229
2002-01-15  David Woodhouse  
2230
 
2231
        * src/flash.c: Better default for 'fis cr' - if we're programming
2232
        an existing flash image, take img_size from the last-loaded image
2233
        but length from the one that's already on the flash.
2234
 
2235
2002-01-14  David Woodhouse  
2236
 
2237
        * src/main.c: Useful defaults for cksum command.
2238
        * src/flash.c: Useful defaults for fis create command.
2239
        * src/load.c: Slight cleanup of file type detection.
2240
 
2241
2002-01-14  Jesper Skov  
2242
 
2243
        * src/net/cksum.c: Added volatile keyword to union members to
2244
        prevent compiler optimization messing things up.
2245
 
2246
2002-01-10  Hugo Tyson  
2247
 
2248
        * src/syscall.c (sys_timer_isr): Add CYGARC_HAL_SAVE_GP(); and
2249
        CYGARC_HAL_RESTORE_GP(); around the callback invocation to protect
2250
        ourselves from whatever the app routine might do along those lines.
2251
 
2252
2002-01-10  Hugo Tyson  
2253
 
2254
        * src/syscall.c (sys_timer_ticks): Explicitly initialize this.
2255
        (sys_timer_isr): Call periodic callback function, with PC and SP
2256
        of interrupted context, if set.
2257
        (sys_profile_call_back): New routine to support
2258
        gprof profiling of GNUPro/newlib apps via BSP_SYSCALLS.  Sets the
2259
        periodic callback function, returning the old value.
2260
        (sys_profile_frequency): Ditto, sets the frequency of the call, if
2261
        possible, or zero => a mere inquiry.
2262
        (sys_timer_init, sys_times): Be prepared for a dynamic non-default
2263
        clock rate.
2264
        (__do_syscall): Handle new case arms.
2265
 
2266
        * cdl/redboot.cdl (CYGSEM_REDBOOT_BSP_SYSCALLS): Changed to a
2267
        component; want to add stuff in here later.
2268
        (CYGSEM_REDBOOT_BSP_SYSCALLS_GPROF): New option
2269
        to control inclusion of histogram profiling callback syscalls.
2270
 
2271
2002-01-10  Jesper Skov  
2272
 
2273
        * src/main.c (do_version): Added year 2002.
2274
 
2275
2002-01-07  Gary Thomas  
2276
 
2277
        * src/flash.c (lookup_alias): Remove warning.
2278
 
2279
2002-01-03  Gary Thomas  
2280
 
2281
        * src/xyzModem.c (xyzModem_stream_read): BUG 57497
2282
        Try and detect (and remove) ^Z characters placed at end of stream.
2283
        This data confuses higher processing, like the zlib decompression
2284
        routines.
2285
 
2286
2001-12-16  Mark Salter  
2287
 
2288
        * src/fs/ide.c: Add ATAPI support.
2289
        * include/fs/ide.h: Add ATAPI defines.
2290
        * src/fs/disk.c (disk_stream_open): Fix support for IDE CDROMs.
2291
        (disk_parse_filename): Ditto.
2292
 
2293
2001-12-12  Hugo Tyson  
2294
 
2295
        * cdl/redboot.cdl (CYGDBG_REDBOOT_NET_DEBUG_CONSOLE_NUMBER): New
2296
        option to control the console number for network debug messages.
2297
        For platforms where serial0 is supported (due to common variant
2298
        HAL code) but not connected; serial1 is all you get, say.
2299
 
2300
        * src/net/net_io.c (start_console): Use it.
2301
 
2302
2001-12-10  Nick Garnett  
2303
 
2304
        * src/net/cksum.c (__pseudo_sum): Fixed method of adding protocol
2305
        field to checksum. Some compilers optimize some of this away to
2306
        give a bogus result.
2307
 
2308
2001-12-06  Jesper Skov  
2309
 
2310
        * src/load.c (do_load): Fix warning.
2311
        * src/main.c: Added support for dumping memory in 16 and 32 bit
2312
        units. Based on patch from Warren Jasper .
2313
 
2314
2001-12-05  Hugo Tyson  
2315
 
2316
        * src/flash.c (get_config): If we are editing an IP address, and
2317
        it is 0.0.0.0 (as you get at "fco -i" time) suppress using that as
2318
        the initial value of the string, it is unhelpful as a starting
2319
        point for line editing.
2320
 
2321
        If we were given a value on the CLI eg. "fco bootp false" because
2322
        the new value was copied into the holding string, it was not
2323
        recognized as a change, so the flash was not updated.  Bug!  The
2324
        fix is to change the order of the strcpy()s so that holdline is
2325
        before line.
2326
 
2327
        If the input line for a new value is completely blank, and the
2328
        type is not string, take this to mean don't change the value.
2329
        Otherwise typing in an empty line to an IP address goes off and
2330
        tries to DNS resolve it there and then, looks like a hang.
2331
 
2332
        (do_flash_config): If we print the message "** invalid entry" do
2333
        not just loop; set onevalue = NULL so that the user is prompted
2334
        for a good value.  Otherwise it loops forever trying the same
2335
        value if you typed "fco bootp goat" (goat being a bad boolean).
2336
 
2337
        * src/parse.c (parse_bool): Check for (partial) rest of the word
2338
        either "true" or "false" and nothing extra.  Thus we reject
2339
        "truefalse" as is all to easy to type in by accident.  "TRU" "T"
2340
        "tRuE" are all OK of course.
2341
 
2342
        * src/net/inet_addr.c (inet_aton): Do not accept terminating the
2343
        dot-quad address with a final dot.  Else typing on the end of a
2344
        provided-for-editing string is accepted.  Also reject units > 255.
2345
        Allow typing in either exactly one (large) number or 4 small ones;
2346
        reject intermediates.  Thus we reject "10.16.19.1110.16.19.33" and
2347
        "0.0.0.010.16.19.11" as are all to easy to type in by accident,
2348
        and things like 10.0.0xffff which used to be accepted.  0x0a00ffff
2349
        is OK though.  This change also prevents the pointer s running off
2350
        the end of the string if you just entered eg. "1".
2351
 
2352
2001-12-04  Richard Sandiford  
2353
 
2354
        * include/net/net.h (ETH_MAX_PKTLEN): Increase to match definition
2355
        of MAX_ETH_MSG.
2356
 
2357
2001-12-04  Richard Sandiford  
2358
 
2359
        * src/net/tcp.c (__tcp_poll): Call MS_TICKS_DELAY before __timer_poll.
2360
        * src/net/net_io.c (net_io_getc): Remove MS_TICKS_DELAY from here...
2361
        (net_io_getc_nonblock): ...and from here.
2362
 
2363
2001-11-30  Jesper Skov  
2364
 
2365
        * src/net/net_io.c (net_init): Print ESA for device even if bootp
2366
        fails.
2367
 
2368
2001-11-29  Jonathan Larmour  
2369
 
2370
        * src/net/dns.c: Rename index -> ptdindex to avoid conflict with BSD
2371
        index() function.
2372
 
2373
2001-11-29  Jesper Skov  
2374
 
2375
        * src/net/tftp_client.c (tftp_stream_open): Clear from_addr's
2376
        sin_port so multiple loads are possible.
2377
 
2378
2001-11-26  Jesper Skov  
2379
 
2380
        * misc/redboot_XXX.ecm: Added. Replaced the _RAM, _ROM, and
2381
        _ROMRAM variants.
2382
 
2383
        * misc/redboot_ROM.ecm: Added configuration with all packages
2384
        relevant for a full RedBoot configuration. Whenever new (optional)
2385
        RedBoot peer packages are added, they should be added to these
2386
        files and not the RedBoot template.
2387
        * misc/redboot_ROMRAM.ecm: Same.
2388
        * misc/redboot_RAM.ecm: Same.
2389
 
2390
2001-11-15  Jesper Skov  
2391
 
2392
        * include/redboot.h: Added load_address and load_address_end
2393
        variables to hold bounds of a loaded image.
2394
        * src/load.c: Fill load_address and load_address_end after srec
2395
        and binary loads.
2396
        * src/flash.c: Same.
2397
        * src/main.c (do_go): removed unneeded cast.
2398
 
2399
2001-11-14  Gary Thomas  
2400
 
2401
        * src/io.c (_rb_gets_preloaded): More correct timeout handling.
2402
        n.b. in practice, this changes nothing, but it is more "correct".
2403
 
2404
2001-11-05  Gary Thomas  
2405
 
2406
        * src/load.c: Minor typo in help string.
2407
 
2408
        * src/io.c (_rb_gets_preloaded): Clear buffer if ^C.
2409
 
2410
2001-11-02  Jesper Skov  
2411
 
2412
        * src/flash.c (fis_init): Fix warning.
2413
 
2414
2001-11-01  Jesper Skov  
2415
 
2416
        * src/flash.c (fis_init): tweaks to the SIB protection code.
2417
 
2418
2001-11-01  Gary Thomas  
2419
 
2420
        * src/flash.c (fis_init): Need to init block fully, otherwise old
2421
        images can persist after init.
2422
 
2423
2001-10-31  Jesper Skov  
2424
 
2425
        * include/sib.h: Contains information about ARM Boot Monitor flash
2426
        block information.
2427
 
2428
        * cdl/redboot.cdl: Added CYGOPT_REDBOOT_FIS_DIRECTORY_ARM_SIB_ID
2429
        option.
2430
 
2431
        * src/flash.c (fis_init): Added code to add ARM Boot Monitor
2432
        footer on FIS block.
2433
 
2434
2001-10-30  Jonathan Larmour  
2435
 
2436
        * src/flash.c (fis_delete): Prototype arm_fis_delete in correct place.
2437
        (fis_list): Fix compilation problem - this isn't C++!
2438
 
2439
2001-10-30  Philippe Robin 
2440
2001-10-30  Jonathan Larmour  
2441
 
2442
        * cdl/redboot.cdl: Add CYGINT_REDBOOT_ARM_FLASH_SIB_SUPPORTED and
2443
        CYGHWR_REDBOOT_ARM_FLASH_SIB to indicate support for, and a request
2444
        to provide ARM flash block structure support.
2445
 
2446
        * src/flash.c (fis_list): Call out to driver for ARM block FIS listing.
2447
        (fis_delete): Call out to driver for ARM block FIS deletion.
2448
 
2449
2001-10-29  Gary Thomas  
2450
 
2451
        * src/main.c (cyg_start): New pseudo-commands, useful for scripts.
2452
        '# anything' - treated like a comment.
2453
        '= anything' - comment, but prints command line on console.
2454
 
2455
        * src/flash.c (expand_aliases): Don't expand aliases which are
2456
        quoted, but only on the command line.  This allows aliases to
2457
        expand into other aliases which are within quoted strings.
2458
 
2459
        * include/redboot.h:
2460
        * src/io.c (_rb_gets_preloaded): New function which allows for a
2461
        buffer to be displayed and edited in place.  This is extremely
2462
        useful for 'fconfig', now that better line editing functions are
2463
        supported.
2464
 
2465
        * src/flash.c (get_config): Using new function _rb_gets_preloaded(),
2466
        which supports edit-in-place for data items.
2467
 
2468
2001-10-28  Gary Thomas  
2469
 
2470
        * src/main.c (cyg_start):
2471
        * src/io.c (_rb_gets):
2472
        * include/redboot.h: Add new global control 'cmd_history' which is
2473
        used to enable/disable command history collection.  This keeps the
2474
        history from being cluttered with things like 'y' (answers to simple
2475
        questions).
2476
 
2477
2001-10-26  Gary Thomas  
2478
 
2479
        * src/io.c (_rb_gets): Fix ^A editing - was timing out, thus erasing
2480
        buffer [silently].
2481
 
2482
2001-10-25  Gary Thomas  
2483
 
2484
        * src/io.c:
2485
        * cdl/redboot.cdl: Add command line history and edit functions.
2486
        Controlled by CYGNUM_REDBOOT_CMD_LINE_EDITING option which defines
2487
        the depth of the history buffer.
2488
 
2489
2001-10-22  Jonathan Larmour  
2490
 
2491
        * include/redboot.h: Declare net_debug here.
2492
 
2493
2001-10-18  Jonathan Larmour  
2494
 
2495
        * src/net/net_io.c (net_init): Set cyg_io_eth_net_debug from net_debug.
2496
        * include/net/net.h: Declare cyg_io_eth_net_debug.
2497
 
2498
2001-10-18  David Howells  
2499
 
2500
        * src/syscall.c: Added support for the times() syscall and marked
2501
        the utime() syscall as being implemented incorrectly.
2502
 
2503
2001-10-18  Gary Thomas  
2504
 
2505
        * src/io.c (_rb_gets): Fix parsing of \" in strings.
2506
 
2507
2001-10-16  Jesper Skov  
2508
 
2509
        * cdl/redboot.cdl: Require ISOINFA.
2510
 
2511
2001-10-16  Jesper Skov  
2512
 
2513
        * src/net/dns.c (send_recv): Clear from_addr before passing it to
2514
        __udp_recvfrom. Fixed return value.
2515
 
2516
2001-10-16  Gary Thomas  
2517
 
2518
        * src/flash.c (_do_flash_init):
2519
        Add wrapper function for do_flash_init() to avoid compiler warning.
2520
 
2521
        * src/io.c (_rb_gets):
2522
        Use sub-timeouts when calling mon_read_char_with_timeout() as it
2523
        was intended that this routine should timeout quickly to allow
2524
        for other processing to take place if no data is available.  In
2525
        practice this won't make any difference unless the global "idle"
2526
        timeout value is changed to be something quite large.
2527
 
2528
        * src/decompress.c: Improve memory allocators.  Also use 'init'
2529
        style function so that this is the only file that knows anything
2530
        of the details of the decompression process or packaging.
2531
 
2532
        * src/main.c:
2533
        * include/redboot.h:
2534
        * cdl/redboot.cdl: Rework decompression to be totally encapsulated.
2535
        This keeps the details of this functionality in a single file, rather
2536
        than scattered throughout RedBoot.
2537
 
2538
2001-10-15  David Howells  
2539
 
2540
        * src/xyzModem.c: put semicolon between goto-label and close curly.
2541
 
2542
2001-10-15  Gary Thomas  
2543
 
2544
        * src/flash.c (_expand_aliases): Change around some ambiguous code.
2545
 
2546
        * src/main.c:
2547
        * src/decompress.c:
2548
        * include/redboot.h:
2549
        * cdl/redboot.cdl: Provide RedBoot specific memory allocators
2550
        for ZLIB.  Allows much finer control over memory map.
2551
 
2552
        * src/main.c (do_dump): Add option "-s" to dump data as S-records.
2553
 
2554
2001-10-11  Gary Thomas  
2555
 
2556
        * src/net/enet.c (__enet_poll): Suppress warning messages.
2557
 
2558
2001-10-10  Jonathan Larmour  
2559
 
2560
        * src/flash.c (do_flash_init): Only set __flash_init when init is
2561
        successful.
2562
 
2563
2001-10-04  Jesper Skov  
2564
 
2565
        * src/fs/disk.c: Fix ISO9660 build error.
2566
 
2567
        * src/main.c: Added x as an alias for the dump command.
2568
 
2569
        * src/net/dns.c: Fixed some messages (DNS -> DNS server).
2570
 
2571
2001-10-02  Gary Thomas  
2572
 
2573
        * src/xyzModem.h:
2574
        * src/xyzModem.c (xyzModem_stream_open):
2575
        * src/load.c (do_load): Add new option "-c " to let the user
2576
        specify the I/O channel to use - xyModem only.
2577
 
2578
2001-10-01  Gary Thomas  
2579
 
2580
        * src/net/udp.c (__udp_recvfrom): Don't change server address (returned
2581
        by this function) until a packet has been received with no timeout.
2582
 
2583
2001-09-28  Jonathan Larmour  
2584
 
2585
        * src/flash.c (fis_create): if not copying, still update directory.
2586
 
2587
2001-09-28  Gary Thomas  
2588
 
2589
        * src/flash.c (_expand_aliases): Properly null terminate expanded
2590
        string - failed if alias was at end of line.
2591
 
2592
2001-09-27  Jesper Skov  
2593
 
2594
        * src/net/dns.c: Include tracing header.
2595
 
2596
2001-09-26  Jesper Skov  
2597
 
2598
        * src/net/dns.c: Removed errno hacks.
2599
        Reduce size of string buffers. Make sure they suffice (or fail).
2600
 
2601
        * include/redboot.h: Added DNS h_errno definitions.
2602
 
2603
        * include/redboot.h: Fix for building on targets wo network.
2604
 
2605
        * src/load.c (do_load): Make sure host can be reached - and print
2606
        appropriate error message if not.
2607
 
2608
        * src/net/net_io.c (net_init): Call DNS init when appropriate.
2609
 
2610
        * src/net/inet_addr.c (inet_aton): Made s argument const.
2611
 
2612
        * src/net/dns.c: Added UDP driven DNS support.
2613
 
2614
        * src/net/bootp.c: Fixed warnings.
2615
 
2616
        * src/flash.c: Replaced inet_aton with _gethostbyname.
2617
        * src/load.c: Same.
2618
        * src/net/ping.c: Same.
2619
 
2620
        * include/net/net.h: Fix warning.
2621
 
2622
        * include/redboot.h: Added DNS stuff, including some string
2623
        helpers.
2624
 
2625
        * cdl/redboot.cdl: Added DNS support options.
2626
 
2627
2001-09-14  Jonathan Larmour  
2628
 
2629
        * src/version.c: Simplify _CERTIFICATE handling.
2630
 
2631
2001-09-13  Fabrice Gautier 
2632
 
2633
        * cdl/redboot.cdl: Added configuration options to deactivate BOOTP and
2634
        enable net debug.
2635
        * src/net/net_io.c (net_init): Use them.
2636
 
2637
2001-09-13  Gary Thomas  
2638
 
2639
        * src/flash.c: Cleanups - removing some redundant code.
2640
 
2641
2001-09-12  Jonathan Larmour  
2642
 
2643
        * src/flash.c (do_flash_init): Only allocate fis block when
2644
        CYGOPT_REDBOOT_FIS enabled.
2645
        Conditionalize fis_work_block and fisdir_size.
2646
 
2647
2001-09-12  Gary Thomas  
2648
 
2649
        * src/flash.c (load_flash_config): Use additional space in the
2650
        FLASH work area (at end of RAM) for 'fconfig' data.  This reduces
2651
        overall stack requirements as there is no need for 'fconfig' data
2652
        to be held on the stack anymore.
2653
 
2654
        * src/flash.c:
2655
        * include/fis.h: Define flash addresses using CYG_ADDRESS which
2656
        is more portable than (unsigned long).
2657
 
2658
2001-09-11  Jonathan Larmour  
2659
 
2660
        * cdl/redboot.cdl (CYGPKG_REDBOOT_FLASH): Be conditional on an
2661
        actual flash device, not just the generic flash layer.
2662
 
2663
2001-09-11  Gary Thomas  
2664
 
2665
        * src/version.c (_CERTIFICATE): Add information about product
2666
        certification (either Red Hat certified or not).
2667
 
2668
        * src/flash.c (fis_delete): Deny user deleting "reserved" images.
2669
 
2670
2001-09-07  Andrew Lunn  
2671
        * src/flash.c: Extend the alias handling to allow configuration
2672
        information to be access using alias. Fixed alias expansion
2673
        when the alias is bigger than the replacement.
2674
        * src/parse.c: A semi colon can be used to separate multiple
2675
        commands on one line.
2676
 
2677
2001-09-06  Jonathan Larmour  
2678
 
2679
        * include/redboot.h: Include string function prototype header.
2680
 
2681
2001-09-06  Jesper Skov  
2682
 
2683
        * src/fs/ide.c (ide_read_sectors): Use diag_(s)printf.
2684
        * src/fs/disk.c (do_disks): Same.
2685
 
2686
2001-08-27  Andrew Lunn  
2687
        * src/flash.c: Allow the flash blocks used for FIS directory and
2688
        config information to be user configured. Generalise the fis_init
2689
        function to deal with the blocks in any order.
2690
        * cdl/redboot.cdl: Added the configury needed to specify which
2691
        flash blocks to use.
2692
 
2693
2001-08-27  Mark Salter  
2694
 
2695
        * src/syscall.c (HZ): Should be 60 for ARM, also.
2696
 
2697
2001-08-24  Tim Smith  
2698
        * src/xyzModem.c
2699
        * src/xyzModem.h
2700
        Provide xyzModem_stream_terminate() function to abort/clean up
2701
        XYZmodem download on normal termination or after errors.
2702
 
2703
        * src/load.c
2704
        Use aforementioned function to abort downloads on SREC errors,
2705
        stop load_srec_image() from injecting stuff into the XYZmodem
2706
        stream and confusing things.
2707
 
2708
2001-08-24  Mark Salter  
2709
 
2710
        * src/net/net_io.c: Don't close connections if there is
2711
        data left to read or write.
2712
 
2713
        * src/syscall.c: Add support for utimes syscall.
2714
 
2715
2001-08-22  Gary Thomas  
2716
 
2717
        * src/net/udp.c:
2718
 
2719
        * src/net/pktbuf.c:
2720
 
2721
        * src/net/ping.c:
2722
 
2723
        * src/net/net_io.c:
2724
 
2725
        * src/net/inet_addr.c:
2726
 
2727
        * src/net/enet.c:
2728
 
2729
        * src/fs/e2fs.c:
2730
 
2731
        * src/xyzModem.c:
2732
        * src/parse.c:
2733
        * src/misc_funs.c:
2734
        * src/main.c:
2735
        * src/load.c:
2736
        * src/io.c:
2737
        * src/flash.c:
2738
        * include/net/net.h:
2739
        * include/redboot.h:
2740
        printf() is no longer a part of RedBoot.  Thus all programs
2741
        must use diag_printf() and related functions instead.  Also
2742
        renamed the non-standard function gets() to be _rb_gets()
2743
        since there was some confusion about it because of it's
2744
        rather standard name.
2745
 
2746
        * cdl/redboot.cdl: Lots of changes based on moving all printf()
2747
        functionality into "infra" and only using it as diag_XXX().
2748
 
2749
2001-08-17  Gary Thomas  
2750
 
2751
        * src/version.c: Augment version information with startup mode.
2752
 
2753
        * src/flash.c (fis_find_free): Fix error in size comparisons.
2754
        (load_flash_config): Fix 'fconfig' alignment now that it's
2755
        size is no longer fixed.
2756
 
2757
2001-08-16  Jesper Skov  
2758
        [from branch]
2759
        * cdl/redboot.cdl: Also behave as ROM monitor in ROMRAM
2760
        configurations.
2761
 
2762
        * src/load.c (do_load): Fix handling of conditional options.
2763
 
2764
        * src/flash.c (fis_load): Fix handling of conditional options.
2765
        (fis_delete): Fix behavior on failure.
2766
 
2767
        * src/flash.c (fis_write): Fix output.
2768
        (fis_create): Only update directory when programming succeeded.
2769
 
2770
2001-08-17  Jonathan Larmour  
2771
 
2772
        * cdl/redboot.cdl (CYGSEM_REDBOOT_VARIABLE_BAUD_RATE): Default
2773
        on, but only if platform supports it.
2774
 
2775
2001-08-15  Mark Salter  
2776
 
2777
        * src/io.c: Add support for "{...}" notation in boot scripts.
2778
 
2779
2001-08-14  Jonathan Larmour  
2780
 
2781
        * src/io.c (gets): Allow $'s and +'s to be escaped.
2782
 
2783
2001-08-10  Jesper Skov  
2784
 
2785
        * src/flash.c (do_flash_init): Print error message instead of
2786
        error code on init failure.
2787
        Don't print error codes where error messages are printed. Make
2788
        failure reporting strings look consistent.
2789
        CYGHWR_IO_FLASH_BLOCK_LOCKING flavor changed to booldata.
2790
 
2791
2001-08-08  Jonathan Larmour  
2792
 
2793
        * src/io.c (gets): Match $ as indicating GDB anywhere in a line.
2794
 
2795
2001-08-07  Julian Smart 
2796
 
2797
        * src/version.c: added commented-out CYGDAT_REDBOOT_CUSTOM_VERSION
2798
        define that can be replaced using the RedBoot release script by
2799
        a specific version in a customer branch.
2800
 
2801
2001-08-06  Jesper Skov  
2802
 
2803
        * src/fs/disk.c: Simple fix for DISK_IDE_CDROM partition type.
2804
 
2805
        * cdl/redboot.cdl: Added (unused) CYGSEM_REDBOOT_DISK_ISO9660 option.
2806
 
2807
2001-08-03  David Howells  
2808
 
2809
        * src/net/net_io.c: Show the MAC address of the ethernet device
2810
        amongst the boot banners.
2811
 
2812
2001-08-01  Mark Salter  
2813
 
2814
        * src/fs/ide.c (ide_reset): Check for bogus status and timeout. Add
2815
        return value to indicate success.
2816
        (ide_init): Check ide_reset() return value.
2817
 
2818
2001-07-31  Mark Salter  
2819
 
2820
        * src/fs/disk.c (find_dos_partitions): Fix extended partitions.
2821
        * src/fs/ide.c (ide_init): Rework the test for device presence.
2822
 
2823
2001-07-27  Gary Thomas  
2824
 
2825
        * src/load.c (load_srec_image, do_load):
2826
        * cdl/redboot.cdl: New option CYGSEM_REDBOOT_VALIDATE_USER_RAM_LOADS
2827
        which can be used to disable user RAM checks in 'load' command.
2828
 
2829
        * src/load.c: Fix build problem if no IDE support.
2830
 
2831
        * src/net/tftp_client.c (tftp_stream_read): Only ACK data when it
2832
        has been processed and we're ready for the next block.  This fixes
2833
        a race/timing issue which was exacerbated by the "spinner" in 'load'.
2834
 
2835
2001-07-27  David Howells  
2836
 
2837
        * src/xyzModem.c: Fixed an uninitialised variable warning.
2838
 
2839
2001-07-27  Mark Salter  
2840
 
2841
        * cdl/redboot.cdl (CYGNUM_REDBOOT_MAX_PARTITIONS): New option.
2842
        Rename CYGBLD_REDBOOT_MAX_DISKS to CYGNUM_REDBOOT_MAX_DISKS.
2843
 
2844
        * include/fs/disk.h: Exported functions declared "externC".
2845
        Replace MAX_PARTITIONS with CYGNUM_REDBOOT_MAX_PARTITIONS.
2846
 
2847
        * src/fs/disk.c: Make exported functions "externC".
2848
        Rename CYGBLD_REDBOOT_MAX_DISKS to CYGNUM_REDBOOT_MAX_DISKS.
2849
        Replace MAX_PARTITIONS with CYGNUM_REDBOOT_MAX_PARTITIONS.
2850
 
2851
        * src/fs/e2fs.c: Add support for symbolic links.
2852
        * include/fs/e2fs.h: Add dir filetype support.
2853
 
2854
2001-07-24  Mark Salter  
2855
 
2856
        * src/load.c: Add disk load support.
2857
        * src/fs/disk.c: New file. RedBoot disk management.
2858
        * src/fs/ide.c: New file. IDE disk I/O.
2859
        * src/fs/e2fs.c: New file. Linux ext2 filesystem support.
2860
        * cdl/redboot.cdl: Add options for disk/ide/filesystem support.
2861
 
2862
2001-07-23  Jonathan Larmour  
2863
 
2864
        * src/main.c (set_console_baud_rate): No need to query the console
2865
        number if we don't care what it is.
2866
        (do_baud_rate): Likewise.
2867
 
2868
2001-07-23  David Howells  
2869
 
2870
        * src/flash.c: Force block-alignment for flash addresses in write
2871
        and erase functions.
2872
 
2873
2001-07-20  Jonathan Larmour  
2874
 
2875
        * src/net/net_io.c (net_init): Don't overwrite static IP
2876
        address when reading flash config if configured to not use BOOTP.
2877
        Set have_net if not using BOOTP and a default static IP addr is set.
2878
 
2879
2001-07-19  Gary Thomas  
2880
 
2881
        * src/flash.c: Be more generic with 'fconfig' layout.  In
2882
        particular, handle case where FLASH block size is too small
2883
        to hold fconfig data.
2884
 
2885
        * src/io.c (mon_set_read_char_timeout): Fix dangling else bug.
2886
 
2887
        * src/flash.c (do_flash_init): Suppress printing info - this
2888
        will happen when 'version' is called.  Also allow flash subsystem
2889
        to be initialized when there is no 'fconfig' or 'fis' command
2890
        configured in (but flash support still is present).
2891
 
2892
        * src/version.c: Display complete version information which
2893
        reflects such information as the source release, etc.
2894
 
2895
        * cdl/redboot.cdl: New option CYGDAT_REDBOOT_CUSTOM_VERSION used to
2896
        allow site-specific version information.  Define this via the
2897
        CDL like this:
2898
           cdl_option CYGDAT_REDBOOT_CUSTOM_VERSION {
2899
             user_value 1 "Special test version"
2900
           };
2901
 
2902
2001-07-18  Gary Thomas  
2903
 
2904
        * src/net/net_io.c (net_io_putc, net_io_isr):
2905
        Need CYGARC_HAL_SAVE_GP()/CYGARC_HAL_RESTORE_GP() to support
2906
        network debugging since different layers of eCos programs are
2907
        involved.
2908
 
2909
2001-07-16  Gary Thomas  
2910
 
2911
        * src/main.c (do_version): Use external function _flash_info() to
2912
        display information about installed FLASH.
2913
 
2914
        * src/load.c (load_srec_image): Remove extra '\n' on out of range msg.
2915
 
2916
        * src/flash.c (_flash_info): New function - displays information
2917
        about FLASH found in system.  Used by 'version' command.
2918
 
2919
2001-07-12  Gary Thomas  
2920
2001-07-12  Fabrice Gautier 
2921
 
2922
        * cdl/redboot.cdl: Improve some descriptions of options.
2923
 
2924
2001-07-02  Jesper Skov  
2925
 
2926
        * src/io.c (do_channel): Fox build for !CYGPKG_REDBOOT_ANY_CONSOLE
2927
 
2928
2001-06-28  Jonathan Larmour  
2929
 
2930
        * cdl/redboot.cdl: Don't have a configured default IP address by
2931
        default if we have fconfig.
2932
        * src/net/ip.c: Provide a default ip addr if not defined.
2933
 
2934
2001-06-28  Jesper Skov  
2935
 
2936
        * src/load.c (do_load): Don't allow verbose to be used with serial
2937
        downloads.
2938
 
2939
        * src/main.c (do_reset): Reset via VV function.
2940
 
2941
2001-06-27  Hugo Tyson  
2942
 
2943
        * src/io.c: Provide proto for do_channel() to reduce warning.
2944
 
2945
2001-06-27  Jonathan Larmour  
2946
 
2947
        * cdl/redboot.cdl (CYGDAT_REDBOOT_DEFAULT_IP_ADDR): Provide a compiled
2948
        in default IP address.
2949
        * src/net/ip.c: Initialize __local_ip_addr with it.
2950
        * src/net/bootp.c: Restore the previous __local_ip_addr if BOOTP fails.
2951
 
2952
        * include/redboot.h: Fix another VARIBLE_BAUD_RATE typo. Fun this.
2953
 
2954
2001-06-26  Jonathan Larmour  
2955
 
2956
        * src/io.c (do_channel): New function to display/switch console
2957
        channel
2958
 
2959
        * src/main.c: Move define of CYGNUM_HAL_VIRTUAL_VECTOR_NUM_CHANNELS to
2960
        * include/redboot.h: ...here
2961
 
2962
2001-06-26  Gary Thomas  
2963
 
2964
        * src/flash.c (load_flash_config): Fix another VARIBLE_BAUD_RATE typo.
2965
 
2966
        * src/xyzModem.c (xyzModem_get_hdr): ACK on EOT was missing.
2967
 
2968
2001-06-22  Gary Thomas  
2969
 
2970
        * src/load.c (do_load): Move [static] data used by decompression
2971
        code into this routine where it is used - no longer static.
2972
 
2973
2001-06-14  Gary Thomas  
2974
 
2975
        * src/xyzModem.c (xyzModem_get_hdr): More resilient header scan,
2976
        improves error handling capability by avoiding "early" aborts.
2977
 
2978
        * src/load.c (do_load): Only check TFTP arguments if networking.
2979
 
2980
        * src/flash.c: Reorg to support new config option (below).
2981
 
2982
        * cdl/redboot.cdl: New option CYGOPT_REDBOOT_FIS used to enable
2983
        FIS oriented commands.  Other flash commands, e.g. 'fis write',
2984
        still exist even if disabled.
2985
 
2986
        * src/main.c (do_dump): 'dump' with no arguments will now "continue"
2987
        dumping from where the last command left off.
2988
 
2989
2001-06-13  Gary Thomas  
2990
 
2991
        * src/main.c (cyg_start):
2992
        * src/io.c (gets):
2993
        * cdl/redboot.cdl: Support RedBoot without GDB stubs.  Later
2994
        versions may also support alternate debug environments.
2995
 
2996
2001-06-12  Gary Thomas  
2997
 
2998
        * src/net/net_io.c (net_io_putc): Flush data on '\n'.
2999
 
3000
2001-06-11  Jonathan Larmour  
3001
 
3002
        * doc/redboot.ebsa285: Remove, obsolete.
3003
        * doc/redboot.edb7xxx: Ditto.
3004
        * doc/users_guide: Ditto.
3005
 
3006
2001-06-11  Gary Thomas  
3007
 
3008
        * src/flash.c (fis_create): Remove default for "-s" - too dangerous!
3009
 
3010
        * include/net/tftp.h: Make sure packet size is valid (was one byte
3011
        too long).
3012
 
3013
        * src/net/tftp_client.c (tftp_stream_open): Fix problem when using
3014
        Windows (3Com at least) servers.
3015
 
3016
        * src/flash.c: Remove dependency on printf() via user function
3017
        in flash drivers, provided at 'init' time.
3018
 
3019
2001-06-08  Gary Thomas  
3020
 
3021
        * src/parse.c (parse): Check for 'argv[]' overruns.
3022
 
3023
        * src/main.c (ZLIB_COMPRESSION_OVERHEAD): Update - based on observations.
3024
 
3025
        * src/net/tftp_client.c:
3026
        * src/net/net_io.c:
3027
        * src/net/enet.c:
3028
        * include/redboot.h (MAX_ARGV): Minor memory reduction/tightening.
3029
 
3030
2001-06-08  Jonathan Larmour  
3031
 
3032
        * src/main.c (do_caches): HAL_DCACHE_IS_ENABLED is not present
3033
        on all arch's, so conditionalize. Ditto HAL_ICACHE_IS_ENABLED.
3034
 
3035
2001-06-08  Nick Garnett  
3036
 
3037
        * src/main.c (cyg_start): Added code to disable interrupts on all
3038
        comm channels before entering GDB. If this is not done then stray
3039
        interrupts from an otherwise idle ethernet controller can cause
3040
        mayhem in the application.
3041
 
3042
        * src/net/net_io.c (net_io_control): Added code to set static
3043
        vector number in disable case as well as enable case.
3044
        (net_io_init): Added call to net_io_control() to disable network
3045
        interrupts initially. Mainly to get current disable state
3046
        correctly set.
3047
 
3048
2001-06-07  Jonathan Larmour  
3049
 
3050
        * src/load.c (do_load): Ask confirmation of RAM write addr, rather
3051
        than automatically denying.
3052
        (load_srec_image): Ditto.
3053
 
3054
        * src/io.c (verify_action): Don't ask if we're executing a script.
3055
 
3056
2001-06-07  Gary Thomas  
3057
 
3058
        * src/flash.c (expand_aliases): Allow aliases/macros to be nested.
3059
 
3060
        * src/main.c (set_console_baud_rate):
3061
        * src/flash.c (do_alias): Force 'fconfig' updates.
3062
 
3063
        * include/flash_config.h (flash_add_config): New signature.
3064
        Parameter 'update' controls whether the Flash is updated.
3065
 
3066
2001-06-07    
3067
 
3068
        * src/load.c (do_load): Tidy some messages.
3069
 
3070
        * src/flash.c (fis_load): Print image limits (memory range) when
3071
        loading a compressed image.
3072
 
3073
2001-06-06  Mark Salter  
3074
 
3075
        * include/net/tftp_support.h (TFTP_TIMEOUT_PERIOD): Increase to 5.
3076
 
3077
        * src/net/udp.c (__udp_recvfrom): Initialize server source port
3078
        to zero.
3079
        (__udp_recvfrom_handler): Validate server source port before
3080
        accepting packet.
3081
 
3082
2001-05-29  Jesper Skov  
3083
 
3084
        * src/flash.c (fis_load): Fix compiler warning.
3085
 
3086
2001-05-25  Gary Thomas  
3087
 
3088
        * src/main.c (set_console_baud_rate): Couldn't restore baud
3089
        rate to default value!
3090
        (do_baud_rate): Update baud rate in flash config database.
3091
 
3092
        * src/flash.c (do_flash_config): Add "-i" option to force
3093
        initialization of entire configuration database.
3094
        (do_alias): Improve handling of existing aliases.
3095
 
3096
2001-05-24  Gary Thomas  
3097
 
3098
        * src/flash.c (get_config):
3099
        (do_alias): Be more careful about length of strings accepted.
3100
 
3101
        * cdl/redboot.cdl: Make 'fconfig' data space and strings larger.
3102
 
3103
        * src/main.c (cyg_start): Expand aliases on input commands.
3104
 
3105
        * src/flash.c: Add support for aliases (macros).  Also update
3106
        support for 'fconfig' strings.
3107
 
3108
        * include/flash_config.h (MAX_STRING_LENGTH): Infer from CDL.
3109
 
3110
        * cdl/redboot.cdl: Add options for [FLASH based] aliases.
3111
        Also, 'fconfig' now supports strings.
3112
 
3113
2001-05-23  Gary Thomas  
3114
 
3115
        * src/flash.c: Fixed typo as below.
3116
 
3117
2001-05-22  Jonathan Larmour  
3118
 
3119
        * cdl/redboot.cdl: Fix typo: CYGSEM_REDBOOT_VARIBLE_BAUD_RATE ->
3120
        CYGSEM_REDBOOT_VARIABLE_BAUD_RATE
3121
        * src/main.c: Ditto.
3122
 
3123
2001-05-17  Jonathan Larmour  
3124
 
3125
        * src/net/tftp_client.c: include redboot.h for have_net.
3126
 
3127
2001-05-17  Dennis Ehlin  
3128
        (with minor mods by jlarmour@redhat.com)
3129
 
3130
        * cdl/redboot.cdl: Split boot script functionality into separate
3131
        component. Rename some options not to be specific to FLASH.
3132
        Add default boot script option.
3133
        * src/main.c (cyg_start): Use default boot script if none provided
3134
        in FLASH (or indeed no FLASH). Support renamed CDL options.
3135
        * src/io.c (gets): Support renamed CDL options.
3136
        (verify_action): Ditto.
3137
        * src/flash.c: Ditto.
3138
        * include/redboot.h: Ditto.
3139
 
3140
2001-05-17  Gary Thomas  
3141
 
3142
        * src/crc.c (crc32): Remove unused variable/warning.
3143
 
3144
        * src/main.c (set_console_baud_rate, do_baud_rate):
3145
        * src/flash.c:
3146
        * include/redboot.h:
3147
        * cdl/redboot.cdl: Add support for variable, settable, console
3148
        baud rate.
3149
 
3150
        * src/net/tftp_client.c (tftp_stream_open): Don't try if no network.
3151
 
3152
2001-05-10  Gary Thomas  
3153
 
3154
        * cdl/redboot.cdl: Can't build RedBoot without virtual vectors.
3155
 
3156
2001-05-09  Mark Salter  
3157
 
3158
        * src/main.c (cyg_start): Cast CYGACC_CALL_IF_DELAY_US argument
3159
        to a cyg_int32. Needed when sizeof(int) < sizeof(cyg_int32).
3160
 
3161
2001-05-07  Gary Thomas  
3162
 
3163
        * src/net/net_io.c (net_io_isr): Interrupt acknowledgement
3164
        should rightly be done by the driver 'delivery' routine, not here.
3165
 
3166
2001-04-26  Gary Thomas  
3167
 
3168
        * src/main.c (do_caches): Display cache state if no arguments.
3169
 
3170
2001-04-13  Gary Thomas  
3171
 
3172
        * src/net/ping.c (do_ping): Tidy message.
3173
 
3174
2001-04-12  Robin Farine  
3175
2001-04-12  Jonathan Larmour  
3176
 
3177
        * src/io.c (gets): Checks for buffer overflow and returns buflen
3178
        if it reaches the end of the buffer.
3179
        * src/main.c (cyg_start): Cope with gets() return being the
3180
        buffer length.
3181
 
3182
2001-04-12  Mark Salter  
3183
2001-04-12  Robin Farine  
3184
 
3185
        * src/net/enet.c (__eth_install_listener): Does not accept a
3186
        handler for an eth_type less than 0x800.
3187
        (__enet_poll): Only scan the handlers for a frame type greater
3188
        than 0x800.
3189
 
3190
2001-04-09  Mark Salter  
3191
 
3192
        * src/printf.c (_vprintf): Fixed some portability problems where
3193
        sizeof(int) != sizeof(long).
3194
 
3195
2001-04-09  Hugo Tyson  
3196
 
3197
        * src/main.c (do_cksum): Reduce warning absent posix_crc32().
3198
 
3199
        * src/main.c (cyg_start): Compare ram_end against workspace_end to
3200
        see if there is *less* SDRAM than the MLT suggested, and shorten
3201
        workspace et al accordingly.  This is needed if some SDRAM is
3202
        "stolen" for use by eg. a PCI window, and mapped far away.
3203
 
3204
2001-04-03  Gary Thomas  
3205
 
3206
        * src/load.c (do_load): Fix 'raw' loading to check for valid
3207
        base address _before_ trying to load anything.  Also, some
3208
        reorg to make raw vs non-raw cleaner.
3209
 
3210
2001-04-02  Hugo Tyson  
3211
 
3212
        * src/flash.c (get_config): Update to support some new syntax:
3213
        fco -l -n        ... lists showing nicknames instead of titles.
3214
        fco -l -n -f     ... lists showing both nicknames and titles.
3215
        fco nickname     ... goes straight to editing only nickname.
3216
        fco nick value   ... sets nickname to value.
3217
        All then follow the usual flow out, including the question
3218
        Update RedBoot non-volatile configuration - are you sure (y/n)
3219
        as it should be if you made a change.
3220
 
3221
2001-03-29  Mark Salter  
3222
 
3223
        * cdl/redboot.cdl (CYGSEM_REDBOOT_FIS_CRC_CHECK): New option to
3224
        enable (default) or disable CRC checks in FIS images.
3225
        * src/flash.c: Use CYGSEM_REDBOOT_FIS_CRC_CHECK to decide whether
3226
        to provide CRC for flash images.
3227
 
3228
2001-03-28  Mark Salter  
3229
 
3230
        * src/net/tcp.c (__tcp_handler): Don't send ACK from TIME_WAIT state
3231
        unless the FIN comes in again.
3232
 
3233
2000-03-27  Grant Edwards 
3234
 
3235
        * src/net/tcp.c (__tcp_handler): Fixed sequence number bug seen when
3236
        doing an active close.
3237
 
3238
2001-03-23  Gary Thomas  
3239
 
3240
        * src/printf.c (_vprintf): Support %u (unsigned) descriptor.
3241
 
3242
        * src/main.c (do_cksum): New command to compute and print a POSIX
3243
        checksum on a range of memory.
3244
 
3245
        * src/crc.c (posix_crc32): New routine - matches POSIX algorithm.
3246
 
3247
2001-03-21  Gary Thomas  
3248
 
3249
        * cdl/redboot.cdl: Back off previous change in number of packets.
3250
        Also change minimum - below this, network debugging fails.
3251
 
3252
        * src/flash.c (fis_write): New function - support raw writes to FLASH.
3253
 
3254
        * src/net/enet.c (__enet_poll): Try to continue if out of packets.
3255
 
3256
        * src/main.c:
3257
        * src/load.c:
3258
        * src/flash.c:
3259
        * include/redboot.h: Keep track of available "user" RAM.
3260
 
3261
        * cdl/redboot.cdl: Reduce default number of [network] packets.
3262
 
3263
2001-03-20  Gary Thomas  
3264
 
3265
        * src/net/net_io.c (net_io_test): Change for new calling convention.
3266
 
3267
        * src/main.c (cyg_start): Idle processing now in I/O routines.
3268
 
3269
        * src/io.c (gets): Move idle processing into this function.
3270
 
3271
        * include/net/net.h (net_io_test): Needs idle parameter.
3272
 
3273
        * include/redboot.h: Change 'idle' functions to take state (idle/not).
3274
 
3275
2001-03-19  Jesper Skov  
3276
 
3277
        * cdl/redboot.cdl: Put version.o file in the public lib directory
3278
        so other packages can get at it and link redboot.
3279
 
3280
2001-03-16  Gary Thomas  
3281
 
3282
        * src/flash.c (fis_create): Preserve memory [load/exec] address
3283
        when making assumptions [rewriting existing image].
3284
 
3285
2001-03-16  Mark Salter  
3286
 
3287
        * src/main.c (cyg_start): Restore console channel after returning
3288
        from stub.
3289
 
3290
2001-03-15  Gary Thomas  
3291
2001-03-15  Grant Edwards 
3292
 
3293
        * src/net/bootp.c (bootp_handler): Guard against buffer overflow.
3294
 
3295
2001-03-15  Hugo Tyson  
3296
 
3297
        * src/flash.c (fis_create): The code was installing a default for
3298
        img_size from data_length of an extant record.  That's zero, so,
3299
        so whilst the flash was erased, no data was copied in!
3300
        (fis_list): Added a -d to get the data length field displayed.
3301
 
3302
2001-03-15  Jesper Skov  
3303
 
3304
        * src/main.c: Make use of script variable conditional on flash.
3305
 
3306
        * include/redboot.h: Changed type of workspace_end to silence
3307
        warning.
3308
 
3309
        * src/net/ping.c (do_ping): Fix warning.
3310
        * src/net/pktbuf.c (__pktbuf_dump): Fix warnings.
3311
 
3312
2001-03-14  Gary Thomas  
3313
 
3314
        * src/main.c (do_go): Make timeout code consistent with other
3315
        versions, e.g. script timeout.  Also, allow a script to continue
3316
        if it was in effect when 'go' was called and ^C was typed.
3317
 
3318
        * src/flash.c (fis_create): Ask for additional user verification
3319
        if any [important] parameters are being assumed [left out by user].
3320
        This just adds a level of safety in the presence of assumptions.
3321
 
3322
2001-03-13  Gary Thomas  
3323
 
3324
        * src/main.c: Define 'workspace' based on MLT files, rather than
3325
        simply using end of RAM area.
3326
 
3327
        * src/flash.c: Use 'workspace' for scratch area.
3328
 
3329
        * include/redboot.h: Define new variables 'workspace_XXX' to specify
3330
        ares used by RedBoot for scratch, etc.
3331
 
3332
2001-03-12  Jesper Skov  
3333
 
3334
        * src/decompress.c: Removed Z_BAD_CRC hack. zlib does CRC checking
3335
        now.
3336
 
3337
2001-03-09  Jesper Skov  
3338
 
3339
        * src/misc_funs.c: Added strncpy.
3340
        * include/redboot.h: And declaration.
3341
 
3342
2001-03-08  Jesper Skov  
3343
 
3344
        * src/load.c (do_load): Added decompression support.
3345
        * src/flash.c (fis_load): Same.
3346
 
3347
        * src/decompress.c: Added. Interfaces the zlib API.
3348
 
3349
        * include/redboot.h: Added some definitions used by decompression
3350
        code.
3351
 
3352
        * cdl/redboot.cdl: Added option to control size of zlib bounce
3353
        buffer.
3354
 
3355
2001-03-05  Jesper Skov  
3356
 
3357
        * src/main.c (cyg_start): Make sure communication channels are
3358
        initialized.
3359
 
3360
2001-03-03  Gary Thomas  
3361
 
3362
        * src/main.c (do_idle): New function - all 'idle' handling is here.
3363
 
3364
        * src/io.c (mon_read_char_with_timeout): Improve timeout handling
3365
        when scanning for a console by applying the minimum possible value
3366
        (1 ms) to each channel, accumulating the total value.  The previous
3367
        algorithm was quite poor on systems where there is no buffering,
3368
        i.e. serial channels with no FIFOs, because each channel would
3369
        wait for T/N (t = total timeout, N = number channels).  This might
3370
        possibly have been much longer than the devices could tolerate and
3371
        still return valid data.
3372
 
3373
2001-03-01  Gary Thomas  
3374
 
3375
        * src/version.c: Add 'bootstrap' to banner so the world can see
3376
        more of what RedBoot's all about.
3377
 
3378
2001-02-28  Gary Thomas  
3379
 
3380
        * include/redboot.h: Fix prioritization of 'init' table entries.
3381
 
3382
2001-02-26  Gary Thomas  
3383
 
3384
        * include/redboot.h (RedBoot_INIT_PRIO): Slight change - avoid
3385
        arithmetic which C preprocessor doesn't handle anyway.  This also
3386
        fixes prioritizing init entries.
3387
 
3388
        * src/flash.c (fis_load): Only load actual data [length] when loading
3389
        an image.
3390
 
3391
        * cdl/redboot.cdl: Change build rule to always rebuild 'version.o'
3392
        whenever the application is relinked.  Thus the version string will
3393
        always accurately reflect the actual build date/time.
3394
 
3395
2001-02-22  Hugo Tyson  
3396
 
3397
        * cdl/redboot.cdl: New config options to control default creation
3398
        of various FIS image files.  Also opt for a reserved area at the
3399
        base of flash, eg. for user's POST or other pre-RedBoot code that
3400
        we must not interfere with.  This isn't the same as the extant
3401
        boot_offset option, so the two are made to work together.
3402
        Likewise an offset for the start of a POST-cooperative RedBoot
3403
        image, if any; the value is of course platform dependent, not
3404
        simply after the first RedBoot image, if there is one.
3405
 
3406
        Clarification: a POST-cooperative RedBoot image is a ROM-start
3407
        image that runs at a higher address in ROM, and which omits some
3408
        of the hardware initialization because it's already done by
3409
        whatever came before.  Most targets do not have such a thing;
3410
        those that do, it is created by a config export file, not by a new
3411
        startup type.  A POST Redboot can be tested from a plain ROM
3412
        redboot by just calling its entrypoint once it is installed in
3413
        flash; eg. by "go 0x50040044" at the RedBoot prompt.
3414
 
3415
        * src/flash.c (fis_init): Create additional optional entries for
3416
          o (reserved) reserved area at start, for preboot or post code.
3417
          o RedBoot itself now optional
3418
          o RedBoot[post]
3419
          o RedBoot[backup]
3420
        Also initialize their addresses, sizes, accordingly.
3421
        The default behaviour is unchanged.
3422
        The flash erase is moved to after the fis table init because the
3423
        fis table init most conveniently calculates the high water mark of
3424
        built-in default objects.
3425
        (fis_create): If creating a file which already exists (most likely
3426
        one of the preconfigured defaults) pick up Flash address and
3427
        length (the two required parameters) from there.  They're required
3428
        to be the same to it's no loss of generality, and saves typing,
3429
        makes the default entries far more useful and so on.
3430
        (fis_delete): Skip those entries which were
3431
        preconfigured; we want nobody to be able to delete these.
3432
        (fis_free): Start searching for free space to list only after the
3433
        reserved base area - if there is one.
3434
        (fis_find_free): Start searching for free space only after the
3435
        reserved base area...
3436
 
3437
2001-02-22  Jesper Skov  
3438
 
3439
        * src/flash.c: Added default case to switch statement.
3440
 
3441
2001-02-20  Gary Thomas  
3442
 
3443
        * src/load.c: Remove unnecessary \r from usage message.
3444
 
3445
        * src/printf.c (_vprintf): Ensure CR/LF sequence, not LFCR.
3446
 
3447
        * src/net/ping.c:
3448
        * src/flash.c: Better usage messages [no naked linefeeds].
3449
 
3450
        * src/net/ping.c: Tidy up usage message.  Check for reasonable
3451
        packet lengths.
3452
 
3453
        * src/load.c: Tidy up usage message.
3454
 
3455
2001-02-16  Nick Garnett  
3456
 
3457
        * src/flash.c (load_flash_config): Move setting of config_ok to
3458
        true to before we look for a script to run. Otherwise scripts just
3459
        don't work.
3460
 
3461
2001-02-14  Hugo Tyson  
3462
 
3463
        * src/load.c (do_load): Wrap the help message at < 80 cols and fix
3464
        a coupla warnings.
3465
 
3466
2001-02-13  Hugo Tyson  
3467
 
3468
        * src/flash.c: Fix token/string pasting thinko: ## operators are
3469
        not needed and do confuse some compilers.
3470
 
3471
2001-02-12  Jesper Skov  
3472
 
3473
        * src/main.c: Use CYGNUM_HAL_VIRTUAL_VECTOR_DEBUG_CHANNEL instead
3474
        of CYGNUM_HAL_VIRTUAL_VECTOR_CONSOLE_CHANNEL.
3475
 
3476
2001-02-11  Gary Thomas  
3477
 
3478
        * src/net/ping.c (do_ping): Accomodate new MS_TICKS scheme.
3479
 
3480
2001-02-09  Grant Edwards  
3481
 
3482
        * include/net/net.h (MS_TICKS_DELAY): New macro, different from
3483
        MS_TICKS() so that MS_TICKS() gets the current tick count, and
3484
        MS_TICKS_DELAY is used in a delay loop to actually do a delay.
3485
 
3486
        * src/ticks.c (get_ms_ticks): New function imlementing rework of
3487
        MS_TICKS
3488
 
3489
        * src/net/net_io.c (net_io_getc): Use MS_TICKS_DELAY() instead of
3490
        CYGACC_CALL_IF_DELAY_US() directly
3491
        (net_io_getc_timeout): Likewise
3492
 
3493
        * src/net/udp.c (__udp_recvfrom): MS_TICKS -> MS_TICKS_DELAY
3494
        * src/net/bootp.c (__bootp_find_local_ip): Likewise
3495
 
3496
2001-02-09  Jonathan Larmour  
3497
2001-02-09  Grant Edwards  
3498
 
3499
        * src/net/net_io.c (net_io_getc_nonblock): Silence compiler warning
3500
 
3501
2001-01-31  Gary Thomas  
3502
 
3503
        * include/redboot.h:
3504
        * cdl/redboot.cdl:
3505
        * src/flash.c: Use new CRC functions.
3506
 
3507
        * src/crc.c: New file - supports 16 and 32 bit CRC functions.
3508
 
3509
2001-01-31  Grant Edwards 
3510
 
3511
        * src/net/net_io.c (net_io_test): Use new idle function to
3512
        poll for incoming network connections.  Removes #if requirements
3513
        from the main CLI loop.
3514
 
3515
        * src/main.c (cyg_start):
3516
        * include/redboot.h (RedBoot_idle): Add new tables to support
3517
        user defined functions to be called when idle (during command input).
3518
 
3519
2001-01-31  Gary Thomas  
3520
 
3521
        * include/redboot.h:
3522
        * src/main.c (cyg_start):
3523
        * src/net/net_io.c (net_io_getc_nonblock): Forgo TELNET escape
3524
        processing if GDB is active (requires 8-bit clean connection).
3525
 
3526
2001-01-31  Nick Garnett  
3527
 
3528
        * src/syscall.c (__do_syscall):
3529
        Added SYS_meminfo syscall.
3530
        This is used by the MIPS3264 GNUPro runtime.
3531
 
3532
        * src/net/net_io.c (net_io_getc_nonblock):
3533
        Telnet escape processing temporarily disabled because it does not
3534
        work.
3535
 
3536
2001-01-31  Grant Edwards 
3537
 
3538
        * include/net/net.h:
3539
        * src/net/enet.c (__eth_install_listener, __eth_remove_listener):
3540
        New functions - allow user registerable callout to handle
3541
        non-standard ethernet packets.
3542
 
3543
2001-01-30  Gary Thomas  
3544
 
3545
        * src/main.c (do_reset): HAL macro name changed.
3546
 
3547
        * src/net/ping.c (do_ping): Remove warning.
3548
 
3549
        * src/main.c (do_help): Only display help for selected topic
3550
        if provided.
3551
 
3552
2001-01-24  Jonathan Larmour  
3553
 
3554
        * src/main.c (cyg_start): Rework last change to use more generic
3555
        HAL_MEM_REAL_REGION_TOP macro.
3556
 
3557
2001-01-24  Hugo Tyson  
3558
 
3559
        * src/main.c (cyg_start): Take notice of the hal_dram_size
3560
        variable (only supported on ARMs) to set ram_end.  The symbols
3561
        given by the CYGMEM_REGION_ram symbols are minima or defaults.
3562
 
3563
2001-01-22  Gary Thomas  
3564
 
3565
        * src/net/inet_addr.c (inet_aton): Fix byte order on big endian
3566
        systems.
3567
 
3568
        * src/net/icmp.c (__icmp_install_listener):
3569
        (__icmp_remove_listener): New functions.
3570
        (__icmp_handler): Call listener for unhandled packets.
3571
 
3572
        * include/net/net.h: Add handler for ICMP [incoming] data.
3573
 
3574
        * cdl/redboot.cdl:
3575
        * src/net/ping.c: New CLI command - ping a host.
3576
 
3577
2001-01-18  Gary Thomas  
3578
 
3579
        * include/net/net.h:
3580
        * src/net/pktbuf.c (__pktbuf_alloc):
3581
        * src/net/tcp.c (__tcp_listen): Remove obsolete code regarding
3582
        'eth_hdr' stored with packet buffer.
3583
 
3584
2001-01-17  Hugo Tyson  
3585
 
3586
        * src/io.c (dump_buf_with_offset): Fix previous change so it
3587
        compiles; variable names used not same as parm names in func.
3588
 
3589
2001-01-16  Gary Thomas  
3590
 
3591
        * src/xyzModem.c: Improved debug support - now allows debug
3592
        trace to be kept in memory and dumped at completion.
3593
 
3594
        * src/io.c (vdump_buf_with_offset): New function which allows
3595
        dumping via any generic "print" function.
3596
 
3597
        * include/redboot.h: Export new print/dump functions.
3598
 
3599
2001-01-08  Gary Thomas  
3600
 
3601
        * src/net/arp.c: Add special case handling for ARP(self).
3602
 
3603
2001-01-03  Gary Thomas  
3604
 
3605
        * src/main.c (do_version): Update copyright for 2001.
3606
 
3607
        * src/io.c (gets): Use timeout provided [was hardcoded to 50ms!]
3608
 
3609
2000-12-21  Mark Salter  
3610
 
3611
        * src/flash.c (fis_init): Use CYGBLD_REDBOOT_FLASH_BOOT_OFFSET to
3612
        decide where to create default images.
3613
 
3614
        * cdl/redboot.cdl (CYGBLD_REDBOOT_FLASH_BOOT_OFFSET): Use this
3615
        to define offset from start of FLASH to start of boot image.
3616
 
3617
2000-12-15  Gary Thomas  
3618
 
3619
        * src/version.c: Define GDB stubs version here as well.  Also
3620
        add warnings and informationabout how all of this works.
3621
 
3622
2000-12-13  Gary Thomas  
3623
 
3624
        * src/version.c: New file.
3625
 
3626
        * src/main.c:
3627
        * cdl/redboot.cdl: Reorg - main.c is now treated like all other
3628
        files.  New file 'version.c' holds the special stuff used at
3629
        build time to get interesting version information into the
3630
        final product.
3631
 
3632
2000-12-12  Gary Thomas  
3633
 
3634
        * src/flash.c (get_config): Increase size of input buffer used
3635
        during 'fconfig' command.
3636
 
3637
2000-12-11  Gary Thomas  
3638
 
3639
        * src/main.c: Change in HAL layering - need to include proper
3640
        file to get 'reset' definition.
3641
 
3642
2000-12-08  Jonathan Larmour  
3643
 
3644
        * cdl/redboot.cdl: Tweak CYGPKG_REDBOOT_MAX_CMD_LINE description.
3645
 
3646
2000-12-07  Gary Thomas  
3647
 
3648
        * src/main.c (cyg_start): Make CLI command buffer static.
3649
        (do_reset): New command - reset platform from CLI.
3650
 
3651
        * src/io.c (dump_buf_with_offset): Change signature for
3652
        more generic export.
3653
 
3654
        * include/redboot.h: Export 'dump_buf_with_offset' function.
3655
 
3656
        * cdl/redboot.cdl: Define CLI command buffer - static with
3657
        user specified length - to accomodate some environments which
3658
        may want excrutiatingly long commands.
3659
 
3660
2000-12-07  Jesper Skov  
3661
 
3662
        * src/misc_funs.c (strlen): NULL ptr string has length 0.
3663
 
3664
        * src/load.c (load_srec_image): Refuse to load data to a location
3665
        not in RAM.
3666
 
3667
        * src/flash.c (fis_create): Hack around another MIPS compiler bug.
3668
 
3669
2000-12-06  Jesper Skov  
3670
 
3671
        * src/load.c: Suppress verbosity when using xyz modem download.
3672
 
3673
        * src/main.c: Fix warnings.
3674
        * src/load.c: Fix warnings.
3675
 
3676
        * src/parse.c (parse_num): Hack around MIPS compiler bug.
3677
 
3678
2000-12-01  Gary Thomas  
3679
 
3680
        * src/xyzModem.h:
3681
        * src/xyzModem.c (xyzModem_stream_close): New function - tidy up
3682
        and print some statistics about the download.  Better handling
3683
        of CAN (cancel) function.
3684
 
3685
        * src/load.c (load_srec_image): Consume all data, not just to
3686
        final record.  This makes Ymodem happier.  Also, call xyzModem_close().
3687
 
3688
2000-11-30  Gary Thomas  
3689
 
3690
        * src/flash.c (fis_create): Add new option '-n' which suppresses
3691
        the copy from RAM to FLASH.  Used to simply update the FIS directory.
3692
        Also misc printf() changes - add 0x everywhere hex is used.
3693
 
3694
        * src/net/net_io.c (_net_io_getc_nonblock): Abstract function.
3695
        (net_io_getc_nonblock): Add minimal handling of telnet escape
3696
        sequences - required to properly handle ^C.
3697
 
3698
        * src/main.c (cyg_start): Support network connection during
3699
        boot/startup script.  Use new codes from 'gets()'.
3700
 
3701
        * src/flash.c (fis_create): Cleanup to remove warnings.
3702
 
3703
        * include/net/net.h (BSPLOG): Update for new start/end_console().
3704
 
3705
        * src/io.c (gets):
3706
        * include/redboot.h (_GETS_xxx): Define result codes from
3707
        'gets()' function.
3708
 
3709
2000-11-28  Gary Thomas  
3710
 
3711
        * src/parse.c (parse): Support escaped quote marks inside of
3712
        quoted string.  "ab\"c\"" is 'ab"c"'.
3713
 
3714
        * src/net/tftp_client.c (tftp_stream_open): Read first datum from
3715
        file during open to ensure that errors are reported.
3716
 
3717
2000-11-27  Drew Moseley  
3718
 
3719
        * src/main.c: Switch to an application stack before running a
3720
        user-downloaded app.
3721
 
3722
2000-11-20  Gary Thomas  
3723
 
3724
        * src/flash.c: Use CYGBLD_REDBOOT_MIN_IMAGE_SIZE.
3725
 
3726
        * cdl/redboot.cdl(CYGBLD_REDBOOT_MIN_IMAGE_SIZE): Define this to
3727
        be the minimum size allowed for FIS images.
3728
 
3729
        * src/xyzModem.c: Tidy up debug support.  Fix some synch problems
3730
        so that X/Y modem protocols now work properly with Windows/Hyperterm.
3731
 
3732
2000-11-20  Mark Salter  
3733
 
3734
        * src/net/net_io.c (net_io_flush): Add __tcp_drain to make sure
3735
        everything is successfully sent out.
3736
        (net_io_control): Call net_io_flush for __COMMCTL_FLUSH_OUTPUT.
3737
 
3738
2000-11-19  Gary Thomas  
3739
 
3740
        * src/flash.c (fis_create): Print more info when length check fails.
3741
 
3742
        * src/main.c: Split version display into separate command.
3743
 
3744
2000-11-06  Mark Salter  
3745
 
3746
        * src/syscall.c: New file. Common handling for bsp syscalls.
3747
 
3748
        * cdl/redboot.cdl: Add CYGSEM_REDBOOT_BSP_SYSCALLS option to
3749
        turn on BSP syscall support.
3750
 
3751
2000-11-06  Jesper Skov  
3752
 
3753
        * src/net/net_io.c (net_io_flush): Clear interrupt flag before
3754
        setting breakpoint.
3755
 
3756
2000-10-30  Gary Thomas  
3757
 
3758
        * src/net/udp.c:
3759
        * src/net/pktbuf.c:
3760
        * src/net/net_io.c:
3761
        * src/net/enet.c:
3762
        * include/net/net.h: Minor cleanups to remove warnings.
3763
 
3764
        * cdl/redboot.cdl: Support threads in all but RAM mode.  Note:
3765
        this should allow thread support in ROM and FLOPPY startup mode.
3766
 
3767
2000-10-27  Gary Thomas  
3768
 
3769
        * src/xyzModem.c (xyzModem_stream_open): Add extra delay during
3770
        startup - to give the sender time to get started.
3771
 
3772
        * src/flash.c (fis_load): Add "-c" option to show checksum of
3773
        image after loading.
3774
        (fis_list): Add "-c" to display stored checksums.
3775
 
3776
2000-10-26  Mark Salter  
3777
 
3778
        * src/load.c (do_load): Move some local variable declarations
3779
        needed by xyzmodem support so they can be used when redboot
3780
        networking not enabled.
3781
 
3782
2000-10-26  Gary Thomas  
3783
 
3784
        * cdl/redboot.cdl: Improve CDL so CYGSEM_HAL_ROM_MONITOR can
3785
        be correctly infered (when building ROM versions).
3786
 
3787
        * cdl/redboot.cdl:
3788
        * src/load.c: Add support for xyzModem serial download.
3789
 
3790
        * src/xyzModem.h:
3791
        * src/xyzModem.c: New file(s).
3792
 
3793
2000-10-24  Gary Thomas  
3794
 
3795
        * src/flash.c:
3796
        * cdl/redboot.cdl: Add new option which supports keeping all
3797
        important RedBoot data "locked" in FLASH.
3798
 
3799
2000-10-23  Gary Thomas  
3800
 
3801
        * src/flash.c (fis_lookup): New exported function.
3802
        (fis_load): Add memory load option. Also checksum data after copy.
3803
 
3804
        * include/fis.h: Add 'data_length' member.
3805
        Prototype for 'fis_lookup()'.
3806
 
3807
        * src/main.c (bist): New [weak] function.  Provide hook for
3808
        platform specific "builtin tests".  This will be overridden by
3809
        platform based functions.
3810
 
3811
        * cdl/redboot.cdl:
3812
        * src/main.c (cyg_start):
3813
        * src/flash.c: Script timeout now has a configurable resolution.
3814
 
3815
2000-10-21  Gary Thomas  
3816
 
3817
        * src/net/eth_drv.c: Removed obsolete file - now provided by
3818
        standard IO/ETH package.
3819
 
3820
2000-10-20  Gary Thomas  
3821
 
3822
        * src/net/pktbuf.c: Diagnostc - add buffer [list] dumper.
3823
 
3824
        * src/net/enet.c: Diagnostic - dump when run out of buffers.
3825
 
3826
        * src/flash.c: Make sure RedBoot flash image size meets
3827
        certain minimums - currently at least 128K.
3828
 
3829
2000-10-19  Gary Thomas  
3830
 
3831
        * cdl/redboot.cdl: Add dependency on 'vectors.o'.
3832
 
3833
        * include/redboot.h:
3834
        * src/misc_funs.c (strcpy, memcmp):
3835
        Make function signature [prototype] conform to standards.
3836
        (memmove, memset): Remove.
3837
 
3838
2000-10-18  Gary Thomas  
3839
 
3840
        * cdl/redboot.cdl: Improve dependency checking in make rules.
3841
 
3842
2000-10-17  Gary Thomas  
3843
 
3844
        * src/flash.c (fis_create): Add new "-s" option to support padded
3845
        images (data size not the same as image size in FLASH).
3846
 
3847
        * include/fis.h: New file - make structure available for export.
3848
 
3849
        * src/parse.c: New file.
3850
 
3851
        * include/redboot.h:
3852
        * src/main.c:
3853
        * cdl/redboot.cdl: Split command line parsing functions to separate
3854
        file.
3855
 
3856
2000-10-05  Gary Thomas  
3857
 
3858
        * src/net/net_io.c (net_io_revert_console):
3859
        (net_io_assume_console):
3860
        * src/main.c (cyg_start):
3861
        * src/io.c (gets):
3862
        * include/redboot.h: Add notion of "console_echo" so that telnet
3863
        connections don't echo doubly.  Note: there is no telnet negotiation
3864
        at this time, so some things are still not perfect.
3865
 
3866
2000-09-17  Gary Thomas  
3867
 
3868
        * src/main.c: Display platform/cpu identification strings if available.
3869
 
3870
        * cdl/redboot.cdl: Improve CDL to include thread support if
3871
        built in ROM mode.  Also, better handling of network option.
3872
 
3873
2000-09-15  Gary Thomas  
3874
 
3875
        * src/flash.c (fis_create): Length (and flash address) must match
3876
        exactly when replacing an image.
3877
        Only warn of invalid memory addresses, not fail.
3878
 
3879
2000-09-13  Gary Thomas  
3880
 
3881
        * src/load.c: Better handling of bad data / checksum errors.
3882
 
3883
        * src/flash.c: Handle case of replacing an image, even if no flash
3884
        address was given.
3885
 
3886
        * include/net/tftp_support.h: Modify timeouts, etc, for better response.
3887
 
3888
2000-09-12  Gary Thomas  
3889
 
3890
        * src/io.c (mon_read_char_with_timeout): Only "select" a console
3891
        when real data (non-zero) arrives.
3892
 
3893
2000-09-10  Gary Thomas  
3894
 
3895
        * src/load.c:
3896
        * src/flash.c: Remove warnings if built without networking.
3897
 
3898
2000-09-11  Jonathan Larmour  
3899
 
3900
        * include/redboot.h (_RedBoot_init): Define tables entries as structs
3901
        with one member rather than just func ptrs, to enforce alignment rules
3902
        * src/main.c (cyg_start): Change to use struct init_tab_entry per above
3903
 
3904
2000-09-07 Andrew Lunn  
3905
 
3906
        * src/load.c, include/redboot.h: renamed the getc functions to
3907
        redboot_getc and made them global so custom boot loaders can use
3908
        them.
3909
 
3910
2000-09-06  Gary Thomas  
3911
 
3912
        * doc/users_guide: Add info about region locking/unlocking.
3913
 
3914
2000-09-04  Jonathan Larmour  
3915
 
3916
        * include/flash_config.h (struct config_option): Apply
3917
        CYG_HAL_TABLE_TYPE
3918
        * include/redboot.h: Ditto for struct cmd and void_fun_ptr
3919
 
3920
2000-09-01  Hugo Tyson  
3921
 
3922
        * src/flash.c: CYGHWR_IO_FLASH_BLOCK_LOCKING is an interface, so
3923
        it's always defined; look for > 0 instead.
3924
 
3925
2000-08-28  Gary Thomas  
3926
 
3927
        * src/flash.c: Support block locking if available.
3928
 
3929
2000-08-25  Gary Thomas  
3930
 
3931
        * src/load.c (getc): Fix edge condition when file is an exact multiple
3932
        of internal buffer size (got stuck at end of file).
3933
 
3934
2000-08-24  Gary Thomas  
3935
 
3936
        * src/load.c: Fix some prints.  Also use command line parse functions
3937
        instead of ad hoc code.
3938
 
3939
        * src/flash.c: Better configuration control.
3940
 
3941
2000-08-23  Gary Thomas  
3942
 
3943
        * src/load.c (do_load): Use paramterized command line parser.
3944
 
3945
        * include/redboot.h:
3946
        * src/main.c (scan_opts): Better support for simple flags.
3947
 
3948
        * src/flash.c: Add "-l" (list only) option to 'fconfig'.
3949
 
3950
        * src/net/net_io.c: Add handling of ^C via network connections.
3951
 
3952
        * include/flash_config.h:
3953
 
3954
        * include/redboot.h: Fully qualify table entries (for proper
3955
        sorting and order control).
3956
 
3957
        * cdl/redboot.cdl: Update requirements to support ^C and thread
3958
        debugging.
3959
 
3960
2000-08-21  Gary Thomas  
3961
 
3962
        * cdl/redboot.cdl:
3963
        * src/net/pktbuf.c (MAX_PKTBUF): Add CDL configury for number
3964
        of network packet buffers.
3965
 
3966
        * src/net/net_io.c: Change config param names to enforce
3967
        layout (config fields are sorted by name).
3968
 
3969
        * src/load.c: Adapt to changes in 'parse_num'.
3970
 
3971
        * src/main.c (parse_num): Now takes additional arguments which
3972
        allow a delimiter set and returning the end of number string.
3973
 
3974
        * include/redboot.h: Augment 'parse_num' to handle strings
3975
        with more than one number, delimiters, etc.
3976
 
3977
        * src/flash.c:
3978
        * include/flash_config.h: Add support for ethernet hardware
3979
        addresses.
3980
 
3981
2000-08-20  Gary Thomas  
3982
 
3983
        * include/flash_config.h: New file - configuration data layout.
3984
 
3985
        * src/flash.c: Restructure config data to be 100% table driven.
3986
 
3987
        * include/redboot.h:
3988
        * include/net/bootp.h:
3989
        * include/net/net.h:
3990
        * include/net/tftp.h:
3991
        * include/net/tftp_support.h: New location.
3992
 
3993
        * src/printf.c:
3994
        * src/net/arp.c:
3995
        * src/net/bootp.c:
3996
        * src/net/cksum.c:
3997
        * src/net/enet.c:
3998
        * src/net/icmp.c:
3999
        * src/net/inet_addr.c:
4000
        * src/net/ip.c:
4001
        * src/net/net_io.c:
4002
        * src/net/pktbuf.c:
4003
        * src/net/tcp.c:
4004
        * src/net/tftp_client.c:
4005
        * src/net/timers.c:
4006
        * src/net/udp.c: Include files moved.
4007
 
4008
        * src/redboot.h:
4009
        * src/net/bootp.h:
4010
        * src/net/net.h:
4011
        * src/net/tftp.h:
4012
        * src/net/tftp_support.h: Files moved.
4013
 
4014
        * cdl/redboot.cdl: Move .h files to include directory.
4015
 
4016
2000-08-16  Gary Thomas  
4017
 
4018
        * src/io.c (dump_buf_with_offset): Clean up warnings.
4019
 
4020
        * src/net/net_io.c: Cosmetic - clean up TCP debug code.
4021
 
4022
        * src/main.c (cmd_search): Search for ambiguous commands was
4023
        wrong since layout change (only know the limits, don't rely
4024
        on "null" entry).
4025
 
4026
2000-08-14  Gary Thomas  
4027
 
4028
        * cdl/redboot.cdl: Support for plugin (table driven) modules.
4029
 
4030
        * src/flash.c: Lots of warning cleanups.
4031
 
4032
        * src/io.c: Fix some flash configury.
4033
 
4034
        * src/load.c: Make internal buffer unsigned so 'raw' mode
4035
        works properly.  Also, support as a plugin command.
4036
 
4037
        * src/main.c:
4038
        * src/redboot.h: Add support for "tableized" entries.  In
4039
        particular, commands and platform initializations can now
4040
        be handled via anonymous tables.
4041
 
4042
        * src/net/net.h: Update for changes in network init setup.
4043
 
4044
        * src/net/net_io.c: Move network initialization here.
4045
 
4046
2000-08-07  Gary Thomas  
4047
 
4048
        * src/net/net.h:
4049
        * src/redboot.h:
4050
        * src/main.c: Cosmetic [warnings] cleanups.
4051
 
4052
2000-08-03  Gary Thomas  
4053
 
4054
        * cdl/redboot.cdl: Ethernet driver now comes from common
4055
        I/O package.
4056
 
4057
        * src/io.c (verify_action): Force normal I/O (no script)
4058
        to get response.
4059
 
4060
        * src/main.c: Add script timeout to allow user to abort before
4061
        script is run on boot.
4062
 
4063
        * src/printf.c: '%p' implies zero filled long format.
4064
 
4065
        * src/flash.c:
4066
        * src/redboot.h: Add TCP socket and script timeouts.
4067
 
4068
        * src/net/net_io.c: TCP socket for debug is now configurable
4069
        and settable in FLASH.  Better handling of GDB $O packets (less
4070
        latency).  Additional small changes to support network debug.
4071
 
4072
2000-07-30  Gary Thomas  
4073
 
4074
        * src/flash.c: Make config data safer with a 'key'.  Also, don't
4075
        erase the config data when doing a full FIS initialization.
4076
        Finally, ensure that the commands which erase data are not going
4077
        to erase the current code!
4078
 
4079
        * src/io.c (gets): Treat 'delete' char like ^H.
4080
 
4081
2000-07-30  Gary Thomas  
4082
 
4083
        * cdl/redboot.cdl: Add option for FLASH based configuration data.
4084
 
4085
        * src/flash.c: Lots of changes to support FLASH based configuration
4086
        data, including routines to read and maintain this data.
4087
 
4088
        * src/main.c:
4089
        * src/redboot.h: Many changes for FLASH configuration data support.
4090
        Also split out table driven option/parameter parsing.
4091
 
4092
        * src/io.c: Allow ^C to abort input.  Fix timeout stuff to
4093
        work better while waiting for console to be discovered.
4094
        Add support for boot-time script.
4095
 
4096
        * src/load.c: Use new IP/INET address functions.
4097
 
4098
        * src/net/bootp.c: Remove force of net_debug and result print.
4099
 
4100
        * src/net/inet_addr.c: IP/INET address conversion routines.
4101
 
4102
        * src/net/net.h: Make 'net_debug' be boolean.  Add IP/INET
4103
        address conversion routine prototypes.
4104
 
4105
2000-07-29  Gary Thomas  
4106
 
4107
        * src/flash.c: Misc little cleanups.
4108
 
4109
        * src/load.c: Print address range of loaded image/file.
4110
 
4111
2000-07-29  Gary Thomas  
4112
 
4113
        * src/flash.c: Add 'load' command which loads an image into RAM.
4114
 
4115
        * src/load.c: Add '-raw' switch to allow loading a file without
4116
        trying to interpret it as an executable image.
4117
 
4118
        * src/main.c:
4119
        * src/redboot.h: Make command parsing functions public.
4120
 
4121
2000-07-29  Gary Thomas  
4122
 
4123
        * src/net/bootp.c: Turn on network debug during address discovery.
4124
        (Note: this will be optional/configurable in the future).
4125
 
4126
        * src/net/eth_drv.c: Use 'net_debug' for diagnostic dumps.
4127
 
4128
        * src/redboot.h: Prototypes for new functions.
4129
 
4130
        * src/printf.c (vprintf): New function.
4131
 
4132
        * src/io.c (verify_action): New function.
4133
 
4134
        * cdl/redboot.cdl: Make FLASH support optional.
4135
 
4136
        * src/flash.c: New file - implements simple FLASH Image System.
4137
 
4138
        * src/misc_funs.c (memset):
4139
        (strcpy): New functions.
4140
 
4141
        * src/main.c: Split flash functions to separate file.
4142
 
4143
2000-07-28  Gary Thomas  
4144
 
4145
        * src/load.c: Add "-v" switch to turn on a little 'spinner' while
4146
        downloading to provide some feedback to the user.
4147
 
4148
        * src/printf.c: Use only RedBoot I/O to allow console to "float."
4149
 
4150
        * src/net/bootp.c: Force hardware type to be "original" ethernet.
4151
 
4152
        * cdl/redboot.cdl:
4153
        * src/redboot.h:
4154
        * src/main.c:
4155
        * src/io.c:
4156
        * src/net/net_io.c: Support "floating" console, chosen from
4157
        available serial I/O channels.
4158
 
4159
2000-07-26  Gary Thomas  
4160
 
4161
        * src/net/tftp_support.h:
4162
        * src/net/tftp_client.c: Add new stream oriented functions.
4163
 
4164
        * src/net/net.h: More prototypes.
4165
 
4166
        * src/redboot.h: Move support functions here.  Update interfaces.
4167
 
4168
        * src/printf.c: Support %l (long) qualifier.
4169
 
4170
        * src/misc_funs.c: Misc cleanups.  Add case insensitive routines.
4171
 
4172
        * src/main.c: FLASH functionality is now in it's own package.
4173
 
4174
        * src/net/eth_drv.c:
4175
        * include/eth_drv.h: Update to new interface conventions.
4176
 
4177
        * cdl/redboot.cdl: Changes for new files(s).
4178
 
4179
2000-07-24  Gary Thomas  
4180
 
4181
        * src/net/inet_addr.c: New file.  Support for IP address parsing.
4182
 
4183
        * src/load.c: New file.  Split out download functionality.
4184
        Restructured to support download via stream (zmodem).
4185
 
4186
        * src/misc_funs.c: Add case insensitive compare functions.
4187
 
4188
2000-07-22  Gary Thomas  
4189
 
4190
        * src/main.c (do_load): Add proper argument parsing.
4191
 
4192
2000-07-21  Gary Thomas  
4193
 
4194
        * src/io.c (gets): Treat "\n\r" and "\r\n" as exactluy "\n".  This
4195
        solves problems of simply ignoring "\n" on terminals which can only
4196
        send that character while still working with telnet/TCP connections.
4197
 
4198
        * src/net/net_io.c: New file.  Supports local I/O via a TCP channel.
4199
        Additional changes to support TCP channel for GDB debug I/O.
4200
 
4201
        * cdl/redboot.cdl: Clean up dependencies.  Extend network configuration.
4202
 
4203
        * src/io.c (gets): Ignore blank lines which contain only '\n'.
4204
        This works fine for terminal I/O since they will have '\r' and it
4205
        allows reasonable handling when connected via telnet/TCP.
4206
 
4207
        * src/main.c: Better support for network connections.
4208
        Also some reworking of FLASH routines [will be moved later].
4209
        More error checking and better error messages in download code.
4210
 
4211
        * src/net/net.h: Reorder 'tcp_socket' fields to enforce proper
4212
        alignment of data buffer [needs to be on dword boundary].
4213
 
4214
        * src/net/tcp.c: Many small changes getting 'endian'-ness correct.
4215
 
4216
        * src/net/tftp_client.c (tftp_error): New function - returns a
4217
        string representing the error code [for humans].
4218
 
4219
2000-07-16  Gary Thomas  
4220
 
4221
        * cdl/redboot.cdl: Make network support configurable/optional.
4222
 
4223
        * src/io.c: Add command line input function.
4224
 
4225
        * src/main.c: Lots of new functions, command line processing, etc.
4226
 
4227
        * src/misc_funs.c (strcmp, strncmp): New function(s).
4228
 
4229
        * src/printf.c: Add support for "%p" (pointers).
4230
 
4231
        * src/redboot.h: Expand, move global vars, here, etc.
4232
 
4233
        * src/net/eth_drv.c: Make quieter, change "no interface" string.
4234
 
4235
        * src/net/net.h (__LITTLE_ENDIAN__): Avoid redefining this on platforms
4236
        where GCC does it for us.
4237
 
4238
2000-07-12  Gary Thomas  
4239
 
4240
        * cdl/redboot.cdl: New file(s).
4241
 
4242
//===========================================================================
4243
// ####GPLCOPYRIGHTBEGIN####
4244
// -------------------------------------------
4245
// This file is part of eCos, the Embedded Configurable Operating System.
4246
// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
4247
//
4248
// This program is free software; you can redistribute it and/or modify
4249
// it under the terms of the GNU General Public License as published by
4250
// the Free Software Foundation; either version 2 or (at your option) any
4251
// later version.
4252
//
4253
// This program is distributed in the hope that it will be useful, but
4254
// WITHOUT ANY WARRANTY; without even the implied warranty of
4255
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
4256
// General Public License for more details.
4257
//
4258
// You should have received a copy of the GNU General Public License
4259
// along with this program; if not, write to the
4260
// Free Software Foundation, Inc., 51 Franklin Street,
4261
// Fifth Floor, Boston, MA  02110-1301, USA.
4262
// -------------------------------------------
4263
// ####GPLCOPYRIGHTEND####
4264
//===========================================================================

powered by: WebSVN 2.1.0

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