1 |
27 |
unneback |
2002-03-19 John Dallaway
|
2 |
|
|
|
3 |
|
|
* doc/redboot_installing.sgml: Update Atmel AT91EB40 RedBoot
|
4 |
|
|
installation instructions.
|
5 |
|
|
|
6 |
|
|
2003-02-24 Jonathan Larmour
|
7 |
|
|
|
8 |
|
|
* doc/redboot.sgml: De-vendorise a little.
|
9 |
|
|
Fix extraneous .
|
10 |
|
|
|
11 |
|
|
* cdl/redboot.cdl: Add doc links.
|
12 |
|
|
|
13 |
|
|
2003-02-14 Jonathan Larmour
|
14 |
|
|
|
15 |
|
|
* cdl/redboot.cdl: Put virtually all options inside
|
16 |
|
|
CYGBLD_BUILD_REDBOOT. And indent accordingly.
|
17 |
|
|
|
18 |
|
|
2003-02-04 Gary Thomas
|
19 |
|
|
|
20 |
|
|
* src/fs/ide.c: Print more info if failed to identify IDE device.
|
21 |
|
|
|
22 |
|
|
* src/fs/e2fs.c: Improved debug output.
|
23 |
|
|
|
24 |
|
|
2003-02-04 Mark Salter
|
25 |
|
|
2003-02-04 Brian Murphy
|
26 |
|
|
|
27 |
|
|
* src/main.c (return_to_redboot): Add CYGARC_HAL_RESTORE_GP.
|
28 |
|
|
|
29 |
|
|
2003-01-31 Mark Salter
|
30 |
|
|
|
31 |
|
|
* src/main.c: Add support to allow programs started by go to
|
32 |
|
|
return to RedBoot.
|
33 |
|
|
|
34 |
|
|
* src/syscall.c (__do_syscall): Return to monitor on program exit
|
35 |
|
|
if gdb not active.
|
36 |
|
|
(sys_timer_isr): Return CYG_ISR_HANDLED.
|
37 |
|
|
|
38 |
|
|
2003-01-10 Patrick Doyle
|
39 |
|
|
|
40 |
|
|
* src/load.c (do_load): Don't abort and complain about overwriting
|
41 |
|
|
the end of RAM when loading raw data files and we already asked
|
42 |
|
|
the user if it was ok to write outside what we believe to be RAM.
|
43 |
|
|
|
44 |
|
|
2002-12-31 Patrick Doyle
|
45 |
|
|
|
46 |
|
|
* src/decompress.c (gzip_close): Don't complain that decompression
|
47 |
|
|
didn't complete when the stream reaches its end.
|
48 |
|
|
|
49 |
|
|
2002-12-18 David Mazur
|
50 |
|
|
2002-12-18 Mark Salter
|
51 |
|
|
|
52 |
|
|
* src/fs/e2fs.c (e2fs_get_gdesc): Fixed handling of group descriptor
|
53 |
|
|
cache misses.
|
54 |
|
|
|
55 |
|
|
2002-12-03 Gary Thomas
|
56 |
|
|
|
57 |
|
|
* src/main.c: Export version string via virtual vector table.
|
58 |
|
|
|
59 |
|
|
2002-11-05 Jonathan Larmour
|
60 |
|
|
|
61 |
|
|
* src/io.c (_rb_gets_preloaded): Null terminate when buffer full.
|
62 |
|
|
|
63 |
|
|
2002-10-24 Gary Thomas (inspired by)
|
64 |
|
|
2002-10-24 Jay Foster
|
65 |
|
|
|
66 |
|
|
* include/net/bootp.h (BP_MIN_VEND_SIZE):
|
67 |
|
|
* src/net/bootp.c (__bootp_find_local_ip): Require a minimum vendor
|
68 |
|
|
area to always be sent (to keep some servers happy).
|
69 |
|
|
|
70 |
|
|
* src/flash.c: Fix typo for "FIS DELETE"
|
71 |
|
|
|
72 |
|
|
2002-09-16 Mark Salter
|
73 |
|
|
|
74 |
|
|
* src/main.c (set_console_baud_rate): Handle CYGPKG_REDBOOT_ANY_CONSOLE.
|
75 |
|
|
(set_comm_baud_rate): New function.
|
76 |
|
|
|
77 |
|
|
2002-09-13 Mark Salter
|
78 |
|
|
|
79 |
|
|
* src/decompress.c: Move error handling back into gzip_close to
|
80 |
|
|
fix xyzmodem loads.
|
81 |
|
|
|
82 |
|
|
2002-09-12 Mark Salter
|
83 |
|
|
|
84 |
|
|
* src/decompress.c (gzip_inflate): Fix error return so that upper
|
85 |
|
|
doesn't quit on Z_STREAM_END.
|
86 |
|
|
(gzip_close): Move error handling into gzip_inflate.
|
87 |
|
|
|
88 |
|
|
* src/load.c (do_load): Fix printing of address range for raw loads.
|
89 |
|
|
|
90 |
|
|
2002-09-11 Mark Salter
|
91 |
|
|
|
92 |
|
|
* src/main.c (do_go): Turn on line flushes before jumping to function.
|
93 |
|
|
* src/net/net_io.c (net_io_control): Support flushes at end of lines.
|
94 |
|
|
|
95 |
|
|
2002-09-03 Yoshinori Sato
|
96 |
|
|
2002-09-03 Mark Salter
|
97 |
|
|
|
98 |
|
|
* include/fs/disk.h (__SWAB32): Fix incorrect masking.
|
99 |
|
|
* src/fs/e2fs.c (e2fs_inode_block): Fix endianess of block numbers.
|
100 |
|
|
|
101 |
|
|
2002-08-29 Mark Salter
|
102 |
|
|
|
103 |
|
|
* src/net/net_io.c (net_init): Initialize dns before showing addresses.
|
104 |
|
|
|
105 |
|
|
2002-08-26 Thomas Koeller
|
106 |
|
|
|
107 |
|
|
* src/flash.c: Do not warn about overwriting image data if
|
108 |
|
|
-n option is used with 'fis create'. For 'fis load',
|
109 |
|
|
perform load size check based on actual data length, not
|
110 |
|
|
image size.
|
111 |
|
|
|
112 |
|
|
2002-08-22 Mark Salter
|
113 |
|
|
|
114 |
|
|
* src/net/net_io.c (net_io_putc): Don't flush on every \n.
|
115 |
|
|
* src/syscall.c (__do_syscall): Allow fileio support to fall back
|
116 |
|
|
to non-fileio behavior if program is not being run by gdb.
|
117 |
|
|
|
118 |
|
|
2002-08-20 Thomas Koeller
|
119 |
|
|
|
120 |
|
|
* cdl/redboot.cdl:
|
121 |
|
|
* include/redboot.h:
|
122 |
|
|
* src/main.c:
|
123 |
|
|
* src/flash.c:
|
124 |
|
|
* src/decompress.c: Use a common buffer for FIS directory
|
125 |
|
|
manipulation and zlib workspace to conserve RAM.
|
126 |
|
|
|
127 |
|
|
2002-08-20 Thomas Koeller
|
128 |
|
|
|
129 |
|
|
* cdl/redboot.cdl:
|
130 |
|
|
* include/fis.h: Allow control of FIS descriptor padding.
|
131 |
|
|
|
132 |
|
|
2002-08-16 Jani Monoses
|
133 |
|
|
|
134 |
|
|
* src/io.c: Do not add empty lines to command history.
|
135 |
|
|
* src/net/http_client.c: Read all data when in CLOSE_WAIT
|
136 |
|
|
otherwise if the server closes quickly enough nothing is
|
137 |
|
|
received.
|
138 |
|
|
|
139 |
|
|
2002-08-09 Andrew Lunn
|
140 |
|
|
|
141 |
|
|
* src/crc.c: Removed. Replaced with the CRC package.
|
142 |
|
|
* src/cksum.c: Removed the posix_crc function.
|
143 |
|
|
* src/flash.c: Use the crc package crc functions.
|
144 |
|
|
* src/xyzModem.c: Ditto
|
145 |
|
|
* include/redboot.h: Use the crc package include file.
|
146 |
|
|
* cdl/redboot.cdl: removed crc.c
|
147 |
|
|
|
148 |
|
|
2002-08-09 Jani Monoses
|
149 |
|
|
|
150 |
|
|
* src/net/http_client.c: use standard HTTP GET request ('/'
|
151 |
|
|
instead of ' ' in HTTP/1.0) to work with all servers
|
152 |
|
|
|
153 |
|
|
2002-08-08 Jani Monoses
|
154 |
|
|
|
155 |
|
|
* src/flash.c: fis delete should mark the slot as reusable
|
156 |
|
|
not just delete the area of flash used by the file.
|
157 |
|
|
|
158 |
|
|
2002-08-08 Gary Thomas
|
159 |
|
|
2002-08-08 Motoya Kurotsu
|
160 |
|
|
|
161 |
|
|
* src/load.c (do_load): Make sure 'io_tab' is set before using it.
|
162 |
|
|
|
163 |
|
|
2002-08-07 Gary Thomas
|
164 |
|
|
|
165 |
|
|
* src/net/tftp_client.c:
|
166 |
|
|
* include/net/tftp.h: Make block numbers unsigned to handle files
|
167 |
|
|
larger than 16MB.
|
168 |
|
|
|
169 |
|
|
2002-08-06 Gary Thomas
|
170 |
|
|
|
171 |
|
|
* src/crc.c: POSIX crc code is now separate.
|
172 |
|
|
|
173 |
|
|
* src/mfill.c:
|
174 |
|
|
* src/mcmp.c:
|
175 |
|
|
* src/dump.c:
|
176 |
|
|
* src/cksum.c:
|
177 |
|
|
* src/caches.c: New (split out) file(s).
|
178 |
|
|
|
179 |
|
|
* src/main.c:
|
180 |
|
|
* cdl/redboot.cdl: Split major CLI functionality to separate
|
181 |
|
|
files, more easily controlled by CDL - inspired by Andrew.
|
182 |
|
|
|
183 |
|
|
2002-08-06 Andrew Lunn
|
184 |
|
|
|
185 |
|
|
* src/io.c: Fix the parsing of boot scripts to allow the use
|
186 |
|
|
of aliases. This was broken when the ability to do startup
|
187 |
|
|
type specific scripting was added.
|
188 |
|
|
|
189 |
|
|
2002-08-05 Andrew Lunn
|
190 |
|
|
|
191 |
|
|
* src/main.c: Made more of the commands conditionally compilable
|
192 |
|
|
* cdl/redboot.cdl: CDL code to control the compilation.
|
193 |
|
|
|
194 |
|
|
2002-07-30 Gary Thomas
|
195 |
|
|
|
196 |
|
|
* src/net/net_io.c: Handle broadcast/mask setup better (failed if
|
197 |
|
|
not found in FLASH). Also print on network info line.
|
198 |
|
|
|
199 |
|
|
2002-07-18 Gary Thomas
|
200 |
|
|
|
201 |
|
|
* src/net/tftp_client.c:
|
202 |
|
|
* src/net/http_client.c:
|
203 |
|
|
* src/fs/disk.c:
|
204 |
|
|
* src/xyzModem.c:
|
205 |
|
|
* src/load.c:
|
206 |
|
|
* include/redboot.h: Rework load/mode information tables so that
|
207 |
|
|
load I/O methods can detect actual mode (e.g. X-modem vs Y-modem)
|
208 |
|
|
|
209 |
|
|
2002-07-16 Hendrik Ruijter
|
210 |
|
|
2002-07-16 Mark Salter
|
211 |
|
|
|
212 |
|
|
* include/net/net.h: Add __tcp_abort prototype.
|
213 |
|
|
|
214 |
|
|
* src/net/icmp.c: The default handler can be replaced by a
|
215 |
|
|
user defined handler which handles all ICMP segments.
|
216 |
|
|
|
217 |
|
|
* src/net/ping.c
|
218 |
|
|
(handle_icmp): Only ICMP Echo Reply segments must be counted and
|
219 |
|
|
ICMP Echo Requests are handled in the user defined handler.
|
220 |
|
|
|
221 |
|
|
* src/net/tcp.c
|
222 |
|
|
(do_abort, __tcp_abort): Send an RST flag in order to abort a
|
223 |
|
|
connection. May use a delay to send the flag.
|
224 |
|
|
|
225 |
|
|
2002-07-15 Mark Salter
|
226 |
|
|
|
227 |
|
|
* src/net/net_io.c: Increase size of out_buf to 1024 bytes.
|
228 |
|
|
|
229 |
|
|
2002-07-11 Gary Thomas
|
230 |
|
|
|
231 |
|
|
* src/io.c (mon_read_char_with_timeout): Ensure interrupts are
|
232 |
|
|
disabled on all I/O channels, except for the current console.
|
233 |
|
|
This is done when selecting a console, as this process causes
|
234 |
|
|
the interrupt state to be inherited from the current console.
|
235 |
|
|
|
236 |
|
|
2002-07-09 Gary Thomas
|
237 |
|
|
2002-07-09 Grant Edwards
|
238 |
|
|
|
239 |
|
|
* src/net/udp.c:
|
240 |
|
|
* src/net/net_io.c:
|
241 |
|
|
* src/net/ip.c:
|
242 |
|
|
* src/net/bootp.c:
|
243 |
|
|
* src/net/arp.c:
|
244 |
|
|
* include/net/net.h:
|
245 |
|
|
* include/net/bootp.h:
|
246 |
|
|
* cdl/redboot.cdl: Add basic support for non-local networking
|
247 |
|
|
using a single gateway. Based on contribution from Grant Edwards.
|
248 |
|
|
|
249 |
|
|
2002-07-01 Gary Thomas
|
250 |
|
|
|
251 |
|
|
* src/net/tftp_client.c:
|
252 |
|
|
* src/net/http_client.c:
|
253 |
|
|
* src/fs/disk.c:
|
254 |
|
|
* src/xyzModem.h:
|
255 |
|
|
* src/xyzModem.c:
|
256 |
|
|
* src/load.c:
|
257 |
|
|
* include/net/tftp_support.h:
|
258 |
|
|
* include/net/http.h:
|
259 |
|
|
* include/redboot.h:
|
260 |
|
|
* cdl/redboot.cdl: Make 'load' command stream I/O table driven.
|
261 |
|
|
|
262 |
|
|
2002-05-31 Jesper Skov
|
263 |
|
|
|
264 |
|
|
* doc/redboot_installing.sgml: Updated the remaining installation
|
265 |
|
|
instructions (well, the top mode details anyway).
|
266 |
|
|
|
267 |
|
|
2002-05-29 Jesper Skov
|
268 |
|
|
|
269 |
|
|
* doc/redboot_cmds.sgml: Changed format of fis commands.
|
270 |
|
|
|
271 |
|
|
* doc/redboot_installing.sgml: Updated installation instructions
|
272 |
|
|
for all targets up to PowerPC.
|
273 |
|
|
|
274 |
|
|
2002-05-28 Gary Thomas
|
275 |
|
|
|
276 |
|
|
* src/load.c (load_elf_image): Improve loading of ELF files with
|
277 |
|
|
multiple physical segments.
|
278 |
|
|
|
279 |
|
|
2002-05-27 Jesper Skov
|
280 |
|
|
|
281 |
|
|
* doc/redboot_rebuilding.sgml: Added some guimenu tags.
|
282 |
|
|
|
283 |
|
|
* doc/redboot_installing.sgml: Updating more board instructions.
|
284 |
|
|
More updates. Changing most programlisting keywords to screen.
|
285 |
|
|
Converted remaining rebuild instructions. More mode descriptions
|
286 |
|
|
updated. iPAQ converted as well.
|
287 |
|
|
|
288 |
|
|
2002-05-24 Gary Thomas
|
289 |
|
|
|
290 |
|
|
* src/load.c (load_elf_image): Improve loading where ELF image
|
291 |
|
|
actually overlaps headers [old COFF style files].
|
292 |
|
|
|
293 |
|
|
2002-05-24 Jesper Skov
|
294 |
|
|
|
295 |
|
|
* doc/redboot_installing.sgml: Updated another 3 boards'
|
296 |
|
|
instructions.
|
297 |
|
|
|
298 |
|
|
* doc/redboot.sgml: Changes due to comments from Jifl.
|
299 |
|
|
* doc/redboot_rebuilding.sgml: Same.
|
300 |
|
|
|
301 |
|
|
* doc/redboot.sgml: Fix wording.
|
302 |
|
|
|
303 |
|
|
* doc/redboot_installing.sgml: Reordered the platform sections
|
304 |
|
|
according to CPU architecture/variant and board manufacturer.
|
305 |
|
|
|
306 |
|
|
2002-05-23 Jonathan Larmour
|
307 |
|
|
|
308 |
|
|
* src/net/dns.c (store_hent): New function. DNS package now requires
|
309 |
|
|
this instead of the cyg_thread_get_data calls.
|
310 |
|
|
(free_stored_hent): New function. Ditto.
|
311 |
|
|
|
312 |
|
|
2002-05-23 Gary Thomas
|
313 |
|
|
|
314 |
|
|
* doc/redboot_cmds.sgml: Document new HTTP download mode.
|
315 |
|
|
|
316 |
|
|
* src/net/tcp.c: Improve some interfaces. Add support for
|
317 |
|
|
outgoing (__tcp_open) connections.
|
318 |
|
|
|
319 |
|
|
* src/net/net_io.c (net_io_flush): Use improved TCP interfaces.
|
320 |
|
|
|
321 |
|
|
* src/main.c (_mon_write_char): Map '\n' => '\r\n'. This used
|
322 |
|
|
to be done by diag_printf(), but that was the wrong place for it.
|
323 |
|
|
|
324 |
|
|
* include/net/net.h: Add support for TCP outgoing connections.
|
325 |
|
|
|
326 |
|
|
* src/net/http_client.c:
|
327 |
|
|
* include/net/http.h: New file(s) - HTTP client support.
|
328 |
|
|
|
329 |
|
|
* src/load.c:
|
330 |
|
|
* cdl/redboot.cdl: Support HTTP download mode.
|
331 |
|
|
|
332 |
|
|
2002-05-23 Jesper Skov
|
333 |
|
|
|
334 |
|
|
* doc/redboot.sgml: Moved the editing and resource sections to
|
335 |
|
|
this document. Added new section on RedBoot (startup) modes.
|
336 |
|
|
* doc/redboot_cmds.sgml: Removed the editing and resource
|
337 |
|
|
sections.
|
338 |
|
|
* doc/redboot_installing.sgml: Changed a couple of platform
|
339 |
|
|
descriptions.
|
340 |
|
|
* doc/redboot_rebuilding.sgml: Make use of mode/config
|
341 |
|
|
consistent. Removed mode section.
|
342 |
|
|
|
343 |
|
|
2002-05-22 Jesper Skov
|
344 |
|
|
|
345 |
|
|
* doc/redboot_rebuilding.sgml: Added a note about redboot growing
|
346 |
|
|
beyond its slot limits.
|
347 |
|
|
Rewrote the RedBoot rebuilding documentation.
|
348 |
|
|
|
349 |
|
|
* src/flash.c (fis_create): Clarify error message. Get rid of bool
|
350 |
|
|
flag slot_found that only duplicated fis variable state.
|
351 |
|
|
|
352 |
|
|
2002-05-21 Gary Thomas
|
353 |
|
|
|
354 |
|
|
* src/xyzModem.h:
|
355 |
|
|
* src/xyzModem.c:
|
356 |
|
|
* src/load.c: Purge mention of Z-modem until it's implemented.
|
357 |
|
|
|
358 |
|
|
2002-05-21 Jesper Skov
|
359 |
|
|
|
360 |
|
|
* src/flash.c (fis_create): Removed one of the three questions to
|
361 |
|
|
verify.
|
362 |
|
|
* doc/redboot_rebuilding.sgml: Removed the query lines from the
|
363 |
|
|
docs.
|
364 |
|
|
|
365 |
|
|
* doc/redboot_installing.sgml: Removed all the free RAM related
|
366 |
|
|
resource descriptions. Left in a few timer resource descriptions.
|
367 |
|
|
* doc/redboot_cmds.sgml: Refer to platform sections for additional
|
368 |
|
|
platform-specific resource usage.
|
369 |
|
|
|
370 |
|
|
* doc/redboot_installing.sgml: Removed all platform specific
|
371 |
|
|
references to the updating section which told the user to use
|
372 |
|
|
specific flash paramemters. All this is now handled
|
373 |
|
|
automagically.
|
374 |
|
|
|
375 |
|
|
* src/alias.c (lookup_alias): FREEMEMHI is just the high address
|
376 |
|
|
masked to 1KB alignment.
|
377 |
|
|
|
378 |
|
|
* doc/redboot_cmds.sgml: Added load disk example.
|
379 |
|
|
Added section on RedBoot resources.
|
380 |
|
|
|
381 |
|
|
2002-05-18 Gary Thomas
|
382 |
|
|
|
383 |
|
|
* src/main.c (do_baud_rate): Improve safety by asking for verification
|
384 |
|
|
after actually changing the rate, before updating fconfig data. This
|
385 |
|
|
reduces the chance of making a "brick" by setting a bad baud rate.
|
386 |
|
|
|
387 |
|
|
* src/flash.c (load_flash_config): Fix set_console_baud_rate prototype.
|
388 |
|
|
|
389 |
|
|
* src/io.c (verify_action_with_timeout):
|
390 |
|
|
* include/redboot.h: New function verify_action_with_timeout().
|
391 |
|
|
Returns false if no response within XX ms (or ^C).
|
392 |
|
|
|
393 |
|
|
2002-05-17 Gary Thomas
|
394 |
|
|
|
395 |
|
|
* src/main.c (do_help):
|
396 |
|
|
* src/flash.c:
|
397 |
|
|
* include/redboot.h: Support nested command structures, like "fis",
|
398 |
|
|
better.
|
399 |
|
|
|
400 |
|
|
2002-05-17 Jesper Skov
|
401 |
|
|
|
402 |
|
|
* doc/redboot_rebuilding.sgml: Rewrote update procedure to become
|
403 |
|
|
truly generic. Some minor tweaks.
|
404 |
|
|
|
405 |
|
|
* doc/redboot_cmds.sgml: Added id to cksum command.
|
406 |
|
|
|
407 |
|
|
* src/shex.c (load_shex_image): Set entry address to be base
|
408 |
|
|
address.
|
409 |
|
|
* src/load.c (do_load): Same.
|
410 |
|
|
|
411 |
|
|
* src/flash.c (fis_create): Infer correct exec and entry
|
412 |
|
|
addresses.
|
413 |
|
|
|
414 |
|
|
* src/load.c (load_elf_image): Save load_address/end.
|
415 |
|
|
|
416 |
|
|
* src/flash.c: Made fis lock/unlock support optional image name
|
417 |
|
|
instead of addresses. Made a few places of the code use fis_lookup
|
418 |
|
|
instead of scanning the table by steam.
|
419 |
|
|
(do_flash_config): Update flash after configuration has been
|
420 |
|
|
initialized.
|
421 |
|
|
|
422 |
|
|
2002-05-16 Jesper Skov
|
423 |
|
|
|
424 |
|
|
* doc/redboot_cmds.sgml: Updated text on cksum to show the new
|
425 |
|
|
output format.
|
426 |
|
|
|
427 |
|
|
* src/xyzModem.c (xyzModem_stream_read): Fix build breakage.
|
428 |
|
|
|
429 |
|
|
* doc/redboot.sgml: Some minor tweaks.
|
430 |
|
|
|
431 |
|
|
* src/alias.c (lookup_alias): Renamed freemem aliases.
|
432 |
|
|
|
433 |
|
|
2002-05-15 Jesper Skov
|
434 |
|
|
|
435 |
|
|
* src/io.c (verify_action): Replaced 'are you sure' with
|
436 |
|
|
'continue'.
|
437 |
|
|
* doc/redboot.sgml: Same.
|
438 |
|
|
|
439 |
|
|
* src/xyzModem.c: Let Y-modem load correct length. Don't remove
|
440 |
|
|
assumed padding bytes since they may well be actual data. Don't
|
441 |
|
|
read anything after the EOF package is received.
|
442 |
|
|
Disabled the Y-modem header stuff again; it still needs the
|
443 |
|
|
padding culling code. So in the end, only the EOF-package read
|
444 |
|
|
was at fault.
|
445 |
|
|
|
446 |
|
|
* src/main.c: Tweak cksum output.
|
447 |
|
|
|
448 |
|
|
* src/flash.c (fis_create): language tweaks.
|
449 |
|
|
|
450 |
|
|
* src/main.c: Always call expand_aliases - leave it to that
|
451 |
|
|
function to look for flash aliases when appropriate.
|
452 |
|
|
|
453 |
|
|
* src/flash.c: Moved basic alias expansion into separate file.
|
454 |
|
|
* src/alias.c: New file. Always provide FREE_LOW & FREE_HIGH
|
455 |
|
|
aliases, but also call flash_lookup_alias when defined.
|
456 |
|
|
|
457 |
|
|
* include/redboot.h: Added declarations for alias functions. Added
|
458 |
|
|
getc_t and terminate_t types.
|
459 |
|
|
|
460 |
|
|
* src/load.c: Use getc_t/terminate_t types. Made raw load abort if
|
461 |
|
|
user tries to load a file too big for memory.
|
462 |
|
|
|
463 |
|
|
* cdl/redboot.cdl: Compile alias.c.
|
464 |
|
|
|
465 |
|
|
2002-05-14 Jonathan Larmour
|
466 |
|
|
|
467 |
|
|
* src/version.c: Clarify comments.
|
468 |
|
|
|
469 |
|
|
2002-05-14 Gary Thomas
|
470 |
|
|
|
471 |
|
|
* include/redboot.h:
|
472 |
|
|
* src/net/net_io.c:
|
473 |
|
|
* src/net/dns.c: Merge generic "ip" command with "dns" for
|
474 |
|
|
more homogenous interface.
|
475 |
|
|
|
476 |
|
|
2002-05-13 Gary Thomas
|
477 |
|
|
|
478 |
|
|
* cdl/redboot.cdl: Disable CYGOPT_REDBOOT_FIS_REDBOOT_BACKUP
|
479 |
|
|
by default, since its use is currently unclear.
|
480 |
|
|
|
481 |
|
|
* src/flash.c (load_flash_config): Check for adequate FIS space
|
482 |
|
|
was incorrect [when FIS directory and FCONFIG are combined].
|
483 |
|
|
(fis_lookup): Image name lookup is case insensitive.
|
484 |
|
|
|
485 |
|
|
2002-05-10 Gary Thomas
|
486 |
|
|
|
487 |
|
|
* src/flash.c: Lots of restructuring in support of combined
|
488 |
|
|
FIS and FCONFIG data.
|
489 |
|
|
|
490 |
|
|
* cdl/redboot.cdl:
|
491 |
|
|
Add new option CYGSEM_REDBOOT_FLASH_COMBINED_FIS_AND_CONFIG
|
492 |
|
|
to allow FIS directory and FCONFIG data to share the same
|
493 |
|
|
physical FLASH block.
|
494 |
|
|
|
495 |
|
|
2002-05-03 Gary Thomas
|
496 |
|
|
|
497 |
|
|
* src/flash.c (load_flash_config): Adjust fconfig database
|
498 |
|
|
address - necessary if FLASH blocks are very small.
|
499 |
|
|
|
500 |
|
|
2002-05-02 Gary Thomas
|
501 |
|
|
|
502 |
|
|
* src/load.c: Rework how decompression is done (with changes
|
503 |
|
|
noted below). Now turning on decompression works by pushing
|
504 |
|
|
the decompress code into the stream I/O.
|
505 |
|
|
|
506 |
|
|
* src/flash.c (fis_load):
|
507 |
|
|
* src/decompress.c (gzip_inflate):
|
508 |
|
|
* include/redboot.h: Make decompression code more generalized.
|
509 |
|
|
|
510 |
|
|
2002-05-01 Gary Thomas
|
511 |
|
|
|
512 |
|
|
* include/elf.h: New file.
|
513 |
|
|
|
514 |
|
|
* cdl/redboot.cdl:
|
515 |
|
|
* src/load.c (load_elf_image): Support [simple] ELF images.
|
516 |
|
|
|
517 |
|
|
2002-04-24 Yoshinori Sato
|
518 |
|
|
|
519 |
|
|
* src/xyzModem.c (xyzModem_stream_terminate): Increase time for
|
520 |
|
|
cleanup from 100ms to 250ms.
|
521 |
|
|
|
522 |
|
|
2002-04-23 Jonathan Larmour
|
523 |
|
|
|
524 |
|
|
* src/syscall.c (__do_syscall): Rename EIO to NEWLIB_EIO to
|
525 |
|
|
pre-empt any potential conflict. Add definition of
|
526 |
|
|
NEWLIB_ENOSYS and use it in place of ENOSYS.
|
527 |
|
|
|
528 |
|
|
2002-04-22 Jonathan Larmour
|
529 |
|
|
|
530 |
|
|
* doc/redboot.sgml: Document iq80321 switch settings.
|
531 |
|
|
|
532 |
|
|
* include/redboot.h: Add gettimeofday, rename, isatty and system
|
533 |
|
|
syscall numbers.
|
534 |
|
|
|
535 |
|
|
* src/syscall.c (__do_syscall): Handle above new syscalls in a
|
536 |
|
|
"default" way.
|
537 |
|
|
Take new extra signal argument.
|
538 |
|
|
When required, handle file I/O syscalls, by passing into HAL.
|
539 |
|
|
|
540 |
|
|
2002-04-21 Paul Fine
|
541 |
|
|
|
542 |
|
|
* src/flash.c (flash_get_config, load_flash_config): Save a
|
543 |
|
|
pointer to the configuration structure in FLASH. If
|
544 |
|
|
flash_get_config fails to find a config item, check to make sure
|
545 |
|
|
that the config structure in RAM has not been trashed. If it has
|
546 |
|
|
been trashed, set the pointer to the "readonly" version in FLASH
|
547 |
|
|
and try to read the config item again.
|
548 |
|
|
|
549 |
|
|
* cdl/redboot.cdl (CYGSEM_REDBOOT_FLASH_CONFIG_READONLY_FALLBACK):
|
550 |
|
|
Added this flash config option to control the readonly fallback in
|
551 |
|
|
flash.c
|
552 |
|
|
|
553 |
|
|
2002-04-16 Yoshinori Sato
|
554 |
|
|
2002-04-16 Jonathan Larmour
|
555 |
|
|
|
556 |
|
|
* src/xyzModem.c: Don't return ACKs too early.
|
557 |
|
|
|
558 |
|
|
2002-04-16 Gary Thomas
|
559 |
|
|
|
560 |
|
|
* src/net/bootp.c: Readjust timeouts - more, shorter. Better response.
|
561 |
|
|
|
562 |
|
|
2002-04-12 Gary Thomas
|
563 |
|
|
|
564 |
|
|
* src/net/bootp.c: Increase timeouts for slower networks.
|
565 |
|
|
|
566 |
|
|
2002-04-11 Nick Garnett
|
567 |
|
|
|
568 |
|
|
* doc/redboot.sgml: Changed some misplaced s into
|
569 |
|
|
s.
|
570 |
|
|
|
571 |
|
|
2002-04-08 Nick Garnett
|
572 |
|
|
|
573 |
|
|
* doc/redboot.sgml: Added full LED code desription, revised memory
|
574 |
|
|
layout and miscellaneous other fixes for 80321.
|
575 |
|
|
|
576 |
|
|
2002-04-03 Gary Thomas
|
577 |
|
|
|
578 |
|
|
* src/main.c (do_mfill):
|
579 |
|
|
(do_mcmp): New routines for fill/compare random buffers.
|
580 |
|
|
|
581 |
|
|
* cdl/redboot.cdl: CDL to control mfill, mcmp, cksum commands.
|
582 |
|
|
|
583 |
|
|
* src/net/net_io.c (do_ip_addr):
|
584 |
|
|
* doc/redboot.sgml: Add new command 'ip_addr', used to set/show the
|
585 |
|
|
local and host [server] addresses.
|
586 |
|
|
|
587 |
|
|
2002-04-02 Jesper Skov
|
588 |
|
|
|
589 |
|
|
* redboot.sgml: excalibur: Updated memory map details, added
|
590 |
|
|
information about REDBOOT startup mode.
|
591 |
|
|
|
592 |
|
|
2002-03-07 Mark Salter
|
593 |
|
|
|
594 |
|
|
* src/net/tcp.c: Fix missing acks of resent segments pointed out
|
595 |
|
|
by Hendrik Ruijter.
|
596 |
|
|
|
597 |
|
|
2002-03-06 Nick Garnett
|
598 |
|
|
|
599 |
|
|
* doc/redboot.sgml: Added Integrator details.
|
600 |
|
|
|
601 |
|
|
2002-03-06 Mark Salter
|
602 |
|
|
|
603 |
|
|
* src/net/tcp.c (__tcp_handler): Slight rework of Hendrik Ruijter's
|
604 |
|
|
fix for FIN_WAIT_1 to TIME_WAIT transition.
|
605 |
|
|
|
606 |
|
|
2002-03-06 Jesper Skov
|
607 |
|
|
|
608 |
|
|
* doc/redboot.sgml: Updated iq80310 details.
|
609 |
|
|
Updated iq80321 details.
|
610 |
|
|
Updated e7t details.
|
611 |
|
|
|
612 |
|
|
2002-03-05 Jesper Skov
|
613 |
|
|
|
614 |
|
|
* doc/redboot.sgml: Updated ebsa285 details.
|
615 |
|
|
Updated ipaq details.
|
616 |
|
|
Updated edb7312 details.
|
617 |
|
|
|
618 |
|
|
2002-03-05 Gary Thomas
|
619 |
|
|
2002-02-25 Hendrik Ruijter
|
620 |
|
|
|
621 |
|
|
* include/net/net.h: Add 'reuse' flag.
|
622 |
|
|
|
623 |
|
|
* src/net/tcp.c
|
624 |
|
|
(tcp_send): Adjust socket close time to allow for faster re-use.
|
625 |
|
|
(__tcp_handler): Statetransitions to TIME_WAIT on active close
|
626 |
|
|
when FIN,ACK receivedsimultaneously.
|
627 |
|
|
(__tcp_so_reuseaddr): New function - select fast re-use.
|
628 |
|
|
|
629 |
|
|
2002-03-05 Jesper Skov
|
630 |
|
|
|
631 |
|
|
* doc/redboot.sgml: Add something about updating RedBoot on
|
632 |
|
|
platforms using ROMRAM-startup type RedBoot. Also mention that fis
|
633 |
|
|
create can get some of its information from the fis directory.
|
634 |
|
|
Updated assabet details.
|
635 |
|
|
|
636 |
|
|
2002-03-01 Mark Salter
|
637 |
|
|
|
638 |
|
|
* redboot.sgml: Add diag docs and switch setting info for 80321.
|
639 |
|
|
|
640 |
|
|
2002-02-28 Hugo Tyson
|
641 |
|
|
|
642 |
|
|
* src/flash.c (do_flash_config): Add "-d" to the help info.
|
643 |
|
|
|
644 |
|
|
* doc/redboot.sgml: Docuement the "-d" option for dumb terminals
|
645 |
|
|
with fconfig - so you're not forced to use line editing.
|
646 |
|
|
|
647 |
|
|
2002-02-28 Jesper Skov
|
648 |
|
|
|
649 |
|
|
* src/syscall.c: Moved SYS_ value definitions to the header file.
|
650 |
|
|
* include/redboot.h: Same.
|
651 |
|
|
|
652 |
|
|
2002-02-27 David Howells
|
653 |
|
|
|
654 |
|
|
* sgml/redboot.sgml: Removed extraneous .
|
655 |
|
|
|
656 |
|
|
2002-02-26 David Howells
|
657 |
|
|
|
658 |
|
|
* doc/redboot.sgml: Updated the ASB2305 notes to be more complete
|
659 |
|
|
with respect to having two flash chips.
|
660 |
|
|
|
661 |
|
|
2002-02-19 Mark Salter
|
662 |
|
|
|
663 |
|
|
* src/net/net_io.c (net_io_init): Remove ISR installation. This
|
664 |
|
|
was wrong way to fix problem.
|
665 |
|
|
|
666 |
|
|
2002-02-15 Mark Salter
|
667 |
|
|
|
668 |
|
|
* src/net/net_io.c (net_io_init): Install default ISR for ethernet.
|
669 |
|
|
|
670 |
|
|
2002-02-14 Patrick Doyle
|
671 |
|
|
|
672 |
|
|
* src/fs/disk.c (disk_stream_read): Modified to return the number
|
673 |
|
|
of bytes read instead of -1 when such number is less than was
|
674 |
|
|
requested.
|
675 |
|
|
|
676 |
|
|
2002-02-06 Mark Salter
|
677 |
|
|
|
678 |
|
|
* src/syscall.c (sys_write): Call __flush after last __putc.
|
679 |
|
|
(__flush): New function to flush console output.
|
680 |
|
|
|
681 |
|
|
2002-02-05 Jonathan Larmour
|
682 |
|
|
|
683 |
|
|
* src/net/net_io.c (net_init): Set use_bootp and net_debug defaults
|
684 |
|
|
properly.
|
685 |
|
|
|
686 |
|
|
2002-01-31 Gary Thomas
|
687 |
|
|
|
688 |
|
|
* src/fs/ide.c (ide_packet_read_sectors): Pass errors on read.
|
689 |
|
|
(ide_init): Ignore ATAPI devices that are not CDROM (like ZIP).
|
690 |
|
|
|
691 |
|
|
2002-01-30 Hugo Tyson
|
692 |
|
|
|
693 |
|
|
* src/net/net_io.c (start_console): Pick up config items to choose
|
694 |
|
|
a console for special debug messages. If it's not set, select
|
695 |
|
|
channel 0 regardless, like it used to.
|
696 |
|
|
(info_console_force, info_console_number): New fconfig options to
|
697 |
|
|
control this channel *plus* forcing application special debug out
|
698 |
|
|
to a particular serial. This is crucial for debugging debugging
|
699 |
|
|
itself, or debugging a networked app over the network when you're
|
700 |
|
|
liable to get such messages popping out from the app as well as
|
701 |
|
|
from RedBoot.
|
702 |
|
|
|
703 |
|
|
* cdl/redboot.cdl (CYGDBG_REDBOOT_NET_DEBUG_CONSOLE_NUMBER):
|
704 |
|
|
Option deleted, because this is now controlled by fconfig items.
|
705 |
|
|
|
706 |
|
|
2002-01-25 Hugo Tyson
|
707 |
|
|
|
708 |
|
|
* src/syscall.c (sys_profile_reset): New routine - doesn't do
|
709 |
|
|
much, just NULLs the callback. Useful placeholder in case more is
|
710 |
|
|
needed in future, eg. reset the clock also.
|
711 |
|
|
(__do_syscall): Calls the reset on syscall 2003.
|
712 |
|
|
|
713 |
|
|
2002-01-21 Hugo Tyson
|
714 |
|
|
|
715 |
|
|
* src/flash.c (do_flash_config): Enable a "dumb terminal" mode for
|
716 |
|
|
fconfig, which does not pre-fill the buffer for editing, but
|
717 |
|
|
merely prompts for a new value (or RET for old, for non-string
|
718 |
|
|
values). This is because telnet/kermit-like network terminal apps
|
719 |
|
|
are not by default configured to pass all characters through.
|
720 |
|
|
|
721 |
|
|
2002-01-18 Hugo Tyson
|
722 |
|
|
|
723 |
|
|
* src/syscall.c (sys_timer_ticks): Change this to a cyg_uint64 to
|
724 |
|
|
give better range for times() sanity in case we run the hardware
|
725 |
|
|
clock ticking at a faster rate, or want to last > 8 days.
|
726 |
|
|
|
727 |
|
|
2002-01-16 Hugo Tyson
|
728 |
|
|
|
729 |
|
|
* src/syscall.c (sys_profile_frequency): Change frequency that is
|
730 |
|
|
passed around to signed, so that we can enquire using -ve values.
|
731 |
|
|
Re-order the logic a little so as to permit enquiries which do not
|
732 |
|
|
modify what's set up in the hardware. Adjust the times() counter
|
733 |
|
|
when its HZ rate changes so it tells the truth.
|
734 |
|
|
|
735 |
|
|
2002-01-15 David Woodhouse
|
736 |
|
|
|
737 |
|
|
* src/flash.c: Better default for 'fis cr' - if we're programming
|
738 |
|
|
an existing flash image, take img_size from the last-loaded image
|
739 |
|
|
but length from the one that's already on the flash.
|
740 |
|
|
|
741 |
|
|
2002-01-14 David Woodhouse
|
742 |
|
|
|
743 |
|
|
* src/main.c: Useful defaults for cksum command.
|
744 |
|
|
* src/flash.c: Useful defaults for fis create command.
|
745 |
|
|
* src/load.c: Slight cleanup of file type detection.
|
746 |
|
|
|
747 |
|
|
2002-01-14 Jesper Skov
|
748 |
|
|
|
749 |
|
|
* src/net/cksum.c: Added volatile keyword to union members to
|
750 |
|
|
prevent compiler optimization messing things up.
|
751 |
|
|
|
752 |
|
|
2002-01-10 Hugo Tyson
|
753 |
|
|
|
754 |
|
|
* src/syscall.c (sys_timer_isr): Add CYGARC_HAL_SAVE_GP(); and
|
755 |
|
|
CYGARC_HAL_RESTORE_GP(); around the callback invocation to protect
|
756 |
|
|
ourselves from whatever the app routine might do along those lines.
|
757 |
|
|
|
758 |
|
|
2002-01-10 Hugo Tyson
|
759 |
|
|
|
760 |
|
|
* src/syscall.c (sys_timer_ticks): Explicitly initialize this.
|
761 |
|
|
(sys_timer_isr): Call periodic callback function, with PC and SP
|
762 |
|
|
of interrupted context, if set.
|
763 |
|
|
(sys_profile_call_back): New routine to support
|
764 |
|
|
gprof profiling of GNUPro/newlib apps via BSP_SYSCALLS. Sets the
|
765 |
|
|
periodic callback function, returning the old value.
|
766 |
|
|
(sys_profile_frequency): Ditto, sets the frequency of the call, if
|
767 |
|
|
possible, or zero => a mere inquiry.
|
768 |
|
|
(sys_timer_init, sys_times): Be prepared for a dynamic non-default
|
769 |
|
|
clock rate.
|
770 |
|
|
(__do_syscall): Handle new case arms.
|
771 |
|
|
|
772 |
|
|
* cdl/redboot.cdl (CYGSEM_REDBOOT_BSP_SYSCALLS): Changed to a
|
773 |
|
|
component; want to add stuff in here later.
|
774 |
|
|
(CYGSEM_REDBOOT_BSP_SYSCALLS_GPROF): New option
|
775 |
|
|
to control inclusion of histogram profiling callback syscalls.
|
776 |
|
|
|
777 |
|
|
2002-01-10 Jesper Skov
|
778 |
|
|
|
779 |
|
|
* src/main.c (do_version): Added year 2002.
|
780 |
|
|
|
781 |
|
|
2002-01-07 Gary Thomas
|
782 |
|
|
|
783 |
|
|
* src/flash.c (lookup_alias): Remove warning.
|
784 |
|
|
|
785 |
|
|
2002-01-03 Gary Thomas
|
786 |
|
|
|
787 |
|
|
* src/xyzModem.c (xyzModem_stream_read): BUG 57497
|
788 |
|
|
Try and detect (and remove) ^Z characters placed at end of stream.
|
789 |
|
|
This data confuses higher processing, like the zlib decompression
|
790 |
|
|
routines.
|
791 |
|
|
|
792 |
|
|
2001-12-16 Mark Salter
|
793 |
|
|
|
794 |
|
|
* src/fs/ide.c: Add ATAPI support.
|
795 |
|
|
* include/fs/ide.h: Add ATAPI defines.
|
796 |
|
|
* src/fs/disk.c (disk_stream_open): Fix support for IDE CDROMs.
|
797 |
|
|
(disk_parse_filename): Ditto.
|
798 |
|
|
|
799 |
|
|
2001-12-12 Hugo Tyson
|
800 |
|
|
|
801 |
|
|
* cdl/redboot.cdl (CYGDBG_REDBOOT_NET_DEBUG_CONSOLE_NUMBER): New
|
802 |
|
|
option to control the console number for network debug messages.
|
803 |
|
|
For platforms where serial0 is supported (due to common variant
|
804 |
|
|
HAL code) but not connected; serial1 is all you get, say.
|
805 |
|
|
|
806 |
|
|
* src/net/net_io.c (start_console): Use it.
|
807 |
|
|
|
808 |
|
|
2001-12-10 Nick Garnett
|
809 |
|
|
|
810 |
|
|
* src/net/cksum.c (__pseudo_sum): Fixed method of adding protocol
|
811 |
|
|
field to checksum. Some compilers optimize some of this away to
|
812 |
|
|
give a bogus result.
|
813 |
|
|
|
814 |
|
|
2001-12-06 Jesper Skov
|
815 |
|
|
|
816 |
|
|
* src/load.c (do_load): Fix warning.
|
817 |
|
|
* src/main.c: Added support for dumping memory in 16 and 32 bit
|
818 |
|
|
units. Based on patch from Warren Jasper .
|
819 |
|
|
|
820 |
|
|
2001-12-05 Hugo Tyson
|
821 |
|
|
|
822 |
|
|
* src/flash.c (get_config): If we are editing an IP address, and
|
823 |
|
|
it is 0.0.0.0 (as you get at "fco -i" time) suppress using that as
|
824 |
|
|
the initial value of the string, it is unhelpful as a starting
|
825 |
|
|
point for line editing.
|
826 |
|
|
|
827 |
|
|
If we were given a value on the CLI eg. "fco bootp false" because
|
828 |
|
|
the new value was copied into the holding string, it was not
|
829 |
|
|
recognized as a change, so the flash was not updated. Bug! The
|
830 |
|
|
fix is to change the order of the strcpy()s so that holdline is
|
831 |
|
|
before line.
|
832 |
|
|
|
833 |
|
|
If the input line for a new value is completely blank, and the
|
834 |
|
|
type is not string, take this to mean don't change the value.
|
835 |
|
|
Otherwise typing in an empty line to an IP address goes off and
|
836 |
|
|
tries to DNS resolve it there and then, looks like a hang.
|
837 |
|
|
|
838 |
|
|
(do_flash_config): If we print the message "** invalid entry" do
|
839 |
|
|
not just loop; set onevalue = NULL so that the user is prompted
|
840 |
|
|
for a good value. Otherwise it loops forever trying the same
|
841 |
|
|
value if you typed "fco bootp goat" (goat being a bad boolean).
|
842 |
|
|
|
843 |
|
|
* src/parse.c (parse_bool): Check for (partial) rest of the word
|
844 |
|
|
either "true" or "false" and nothing extra. Thus we reject
|
845 |
|
|
"truefalse" as is all to easy to type in by accident. "TRU" "T"
|
846 |
|
|
"tRuE" are all OK of course.
|
847 |
|
|
|
848 |
|
|
* src/net/inet_addr.c (inet_aton): Do not accept terminating the
|
849 |
|
|
dot-quad address with a final dot. Else typing on the end of a
|
850 |
|
|
provided-for-editing string is accepted. Also reject units > 255.
|
851 |
|
|
Allow typing in either exactly one (large) number or 4 small ones;
|
852 |
|
|
reject intermediates. Thus we reject "10.16.19.1110.16.19.33" and
|
853 |
|
|
"0.0.0.010.16.19.11" as are all to easy to type in by accident,
|
854 |
|
|
and things like 10.0.0xffff which used to be accepted. 0x0a00ffff
|
855 |
|
|
is OK though. This change also prevents the pointer s running off
|
856 |
|
|
the end of the string if you just entered eg. "1".
|
857 |
|
|
|
858 |
|
|
2001-12-04 Richard Sandiford
|
859 |
|
|
|
860 |
|
|
* include/net/net.h (ETH_MAX_PKTLEN): Increase to match definition
|
861 |
|
|
of MAX_ETH_MSG.
|
862 |
|
|
|
863 |
|
|
2001-12-04 Richard Sandiford
|
864 |
|
|
|
865 |
|
|
* src/net/tcp.c (__tcp_poll): Call MS_TICKS_DELAY before __timer_poll.
|
866 |
|
|
* src/net/net_io.c (net_io_getc): Remove MS_TICKS_DELAY from here...
|
867 |
|
|
(net_io_getc_nonblock): ...and from here.
|
868 |
|
|
|
869 |
|
|
2001-11-30 Jesper Skov
|
870 |
|
|
|
871 |
|
|
* src/net/net_io.c (net_init): Print ESA for device even if bootp
|
872 |
|
|
fails.
|
873 |
|
|
|
874 |
|
|
2001-11-29 Jonathan Larmour
|
875 |
|
|
|
876 |
|
|
* src/net/dns.c: Rename index -> ptdindex to avoid conflict with BSD
|
877 |
|
|
index() function.
|
878 |
|
|
|
879 |
|
|
2001-11-29 Jesper Skov
|
880 |
|
|
|
881 |
|
|
* src/net/tftp_client.c (tftp_stream_open): Clear from_addr's
|
882 |
|
|
sin_port so multiple loads are possible.
|
883 |
|
|
|
884 |
|
|
2001-11-26 Jesper Skov
|
885 |
|
|
|
886 |
|
|
* misc/redboot_XXX.ecm: Added. Replaced the _RAM, _ROM, and
|
887 |
|
|
_ROMRAM variants.
|
888 |
|
|
|
889 |
|
|
* misc/redboot_ROM.ecm: Added configuration with all packages
|
890 |
|
|
relevant for a full RedBoot configuration. Whenever new (optional)
|
891 |
|
|
RedBoot peer packages are added, they should be added to these
|
892 |
|
|
files and not the RedBoot template.
|
893 |
|
|
* misc/redboot_ROMRAM.ecm: Same.
|
894 |
|
|
* misc/redboot_RAM.ecm: Same.
|
895 |
|
|
|
896 |
|
|
2001-11-15 Jesper Skov
|
897 |
|
|
|
898 |
|
|
* include/redboot.h: Added load_address and load_address_end
|
899 |
|
|
variables to hold bounds of a loaded image.
|
900 |
|
|
* src/load.c: Fill load_address and load_address_end after srec
|
901 |
|
|
and binary loads.
|
902 |
|
|
* src/flash.c: Same.
|
903 |
|
|
* src/main.c (do_go): removed unneeded cast.
|
904 |
|
|
|
905 |
|
|
2001-11-14 Gary Thomas
|
906 |
|
|
|
907 |
|
|
* src/io.c (_rb_gets_preloaded): More correct timeout handling.
|
908 |
|
|
n.b. in practice, this changes nothing, but it is more "correct".
|
909 |
|
|
|
910 |
|
|
2001-11-05 Gary Thomas
|
911 |
|
|
|
912 |
|
|
* src/load.c: Minor typo in help string.
|
913 |
|
|
|
914 |
|
|
* src/io.c (_rb_gets_preloaded): Clear buffer if ^C.
|
915 |
|
|
|
916 |
|
|
2001-11-02 Jesper Skov
|
917 |
|
|
|
918 |
|
|
* src/flash.c (fis_init): Fix warning.
|
919 |
|
|
|
920 |
|
|
2001-11-01 Jesper Skov
|
921 |
|
|
|
922 |
|
|
* src/flash.c (fis_init): tweaks to the SIB protection code.
|
923 |
|
|
|
924 |
|
|
2001-11-01 Gary Thomas
|
925 |
|
|
|
926 |
|
|
* src/flash.c (fis_init): Need to init block fully, otherwise old
|
927 |
|
|
images can persist after init.
|
928 |
|
|
|
929 |
|
|
2001-10-31 Jesper Skov
|
930 |
|
|
|
931 |
|
|
* include/sib.h: Contains information about ARM Boot Monitor flash
|
932 |
|
|
block information.
|
933 |
|
|
|
934 |
|
|
* cdl/redboot.cdl: Added CYGOPT_REDBOOT_FIS_DIRECTORY_ARM_SIB_ID
|
935 |
|
|
option.
|
936 |
|
|
|
937 |
|
|
* src/flash.c (fis_init): Added code to add ARM Boot Monitor
|
938 |
|
|
footer on FIS block.
|
939 |
|
|
|
940 |
|
|
2001-10-30 Jonathan Larmour
|
941 |
|
|
|
942 |
|
|
* src/flash.c (fis_delete): Prototype arm_fis_delete in correct place.
|
943 |
|
|
(fis_list): Fix compilation problem - this isn't C++!
|
944 |
|
|
|
945 |
|
|
2001-10-30 Philippe Robin
|
946 |
|
|
2001-10-30 Jonathan Larmour
|
947 |
|
|
|
948 |
|
|
* cdl/redboot.cdl: Add CYGINT_REDBOOT_ARM_FLASH_SIB_SUPPORTED and
|
949 |
|
|
CYGHWR_REDBOOT_ARM_FLASH_SIB to indicate support for, and a request
|
950 |
|
|
to provide ARM flash block structure support.
|
951 |
|
|
|
952 |
|
|
* src/flash.c (fis_list): Call out to driver for ARM block FIS listing.
|
953 |
|
|
(fis_delete): Call out to driver for ARM block FIS deletion.
|
954 |
|
|
|
955 |
|
|
2001-10-29 Gary Thomas
|
956 |
|
|
|
957 |
|
|
* src/main.c (cyg_start): New pseudo-commands, useful for scripts.
|
958 |
|
|
'# anything' - treated like a comment.
|
959 |
|
|
'= anything' - comment, but prints command line on console.
|
960 |
|
|
|
961 |
|
|
* src/flash.c (expand_aliases): Don't expand aliases which are
|
962 |
|
|
quoted, but only on the command line. This allows aliases to
|
963 |
|
|
expand into other aliases which are within quoted strings.
|
964 |
|
|
|
965 |
|
|
* include/redboot.h:
|
966 |
|
|
* src/io.c (_rb_gets_preloaded): New function which allows for a
|
967 |
|
|
buffer to be displayed and edited in place. This is extremely
|
968 |
|
|
useful for 'fconfig', now that better line editing functions are
|
969 |
|
|
supported.
|
970 |
|
|
|
971 |
|
|
* src/flash.c (get_config): Using new function _rb_gets_preloaded(),
|
972 |
|
|
which supports edit-in-place for data items.
|
973 |
|
|
|
974 |
|
|
2001-10-28 Gary Thomas
|
975 |
|
|
|
976 |
|
|
* src/main.c (cyg_start):
|
977 |
|
|
* src/io.c (_rb_gets):
|
978 |
|
|
* include/redboot.h: Add new global control 'cmd_history' which is
|
979 |
|
|
used to enable/disable command history collection. This keeps the
|
980 |
|
|
history from being cluttered with things like 'y' (answers to simple
|
981 |
|
|
questions).
|
982 |
|
|
|
983 |
|
|
2001-10-26 Gary Thomas
|
984 |
|
|
|
985 |
|
|
* src/io.c (_rb_gets): Fix ^A editing - was timing out, thus erasing
|
986 |
|
|
buffer [silently].
|
987 |
|
|
|
988 |
|
|
2001-10-25 Gary Thomas
|
989 |
|
|
|
990 |
|
|
* src/io.c:
|
991 |
|
|
* cdl/redboot.cdl: Add command line history and edit functions.
|
992 |
|
|
Controlled by CYGNUM_REDBOOT_CMD_LINE_EDITING option which defines
|
993 |
|
|
the depth of the history buffer.
|
994 |
|
|
|
995 |
|
|
2001-10-22 Jonathan Larmour
|
996 |
|
|
|
997 |
|
|
* include/redboot.h: Declare net_debug here.
|
998 |
|
|
|
999 |
|
|
2001-10-18 Jonathan Larmour
|
1000 |
|
|
|
1001 |
|
|
* src/net/net_io.c (net_init): Set cyg_io_eth_net_debug from net_debug.
|
1002 |
|
|
* include/net/net.h: Declare cyg_io_eth_net_debug.
|
1003 |
|
|
|
1004 |
|
|
2001-10-18 David Howells
|
1005 |
|
|
|
1006 |
|
|
* src/syscall.c: Added support for the times() syscall and marked
|
1007 |
|
|
the utime() syscall as being implemented incorrectly.
|
1008 |
|
|
|
1009 |
|
|
2001-10-18 Gary Thomas
|
1010 |
|
|
|
1011 |
|
|
* src/io.c (_rb_gets): Fix parsing of \" in strings.
|
1012 |
|
|
|
1013 |
|
|
2001-10-16 Jesper Skov
|
1014 |
|
|
|
1015 |
|
|
* cdl/redboot.cdl: Require ISOINFA.
|
1016 |
|
|
|
1017 |
|
|
2001-10-16 Jesper Skov
|
1018 |
|
|
|
1019 |
|
|
* src/net/dns.c (send_recv): Clear from_addr before passing it to
|
1020 |
|
|
__udp_recvfrom. Fixed return value.
|
1021 |
|
|
|
1022 |
|
|
2001-10-16 Gary Thomas
|
1023 |
|
|
|
1024 |
|
|
* src/flash.c (_do_flash_init):
|
1025 |
|
|
Add wrapper function for do_flash_init() to avoid compiler warning.
|
1026 |
|
|
|
1027 |
|
|
* src/io.c (_rb_gets):
|
1028 |
|
|
Use sub-timeouts when calling mon_read_char_with_timeout() as it
|
1029 |
|
|
was intended that this routine should timeout quickly to allow
|
1030 |
|
|
for other processing to take place if no data is available. In
|
1031 |
|
|
practice this won't make any difference unless the global "idle"
|
1032 |
|
|
timeout value is changed to be something quite large.
|
1033 |
|
|
|
1034 |
|
|
* src/decompress.c: Improve memory allocators. Also use 'init'
|
1035 |
|
|
style function so that this is the only file that knows anything
|
1036 |
|
|
of the details of the decompression process or packaging.
|
1037 |
|
|
|
1038 |
|
|
* src/main.c:
|
1039 |
|
|
* include/redboot.h:
|
1040 |
|
|
* cdl/redboot.cdl: Rework decompression to be totally encapsulated.
|
1041 |
|
|
This keeps the details of this functionality in a single file, rather
|
1042 |
|
|
than scattered throughout RedBoot.
|
1043 |
|
|
|
1044 |
|
|
2001-10-15 David Howells
|
1045 |
|
|
|
1046 |
|
|
* src/xyzModem.c: put semicolon between goto-label and close curly.
|
1047 |
|
|
|
1048 |
|
|
2001-10-15 Gary Thomas
|
1049 |
|
|
|
1050 |
|
|
* src/flash.c (_expand_aliases): Change around some ambiguous code.
|
1051 |
|
|
|
1052 |
|
|
* src/main.c:
|
1053 |
|
|
* src/decompress.c:
|
1054 |
|
|
* include/redboot.h:
|
1055 |
|
|
* cdl/redboot.cdl: Provide RedBoot specific memory allocators
|
1056 |
|
|
for ZLIB. Allows much finer control over memory map.
|
1057 |
|
|
|
1058 |
|
|
* src/main.c (do_dump): Add option "-s" to dump data as S-records.
|
1059 |
|
|
|
1060 |
|
|
2001-10-11 Gary Thomas
|
1061 |
|
|
|
1062 |
|
|
* src/net/enet.c (__enet_poll): Suppress warning messages.
|
1063 |
|
|
|
1064 |
|
|
2001-10-10 Jonathan Larmour
|
1065 |
|
|
|
1066 |
|
|
* src/flash.c (do_flash_init): Only set __flash_init when init is
|
1067 |
|
|
successful.
|
1068 |
|
|
|
1069 |
|
|
2001-10-04 Jesper Skov
|
1070 |
|
|
|
1071 |
|
|
* src/fs/disk.c: Fix ISO9660 build error.
|
1072 |
|
|
|
1073 |
|
|
* src/main.c: Added x as an alias for the dump command.
|
1074 |
|
|
|
1075 |
|
|
* src/net/dns.c: Fixed some messages (DNS -> DNS server).
|
1076 |
|
|
|
1077 |
|
|
2001-10-02 Gary Thomas
|
1078 |
|
|
|
1079 |
|
|
* src/xyzModem.h:
|
1080 |
|
|
* src/xyzModem.c (xyzModem_stream_open):
|
1081 |
|
|
* src/load.c (do_load): Add new option "-c " to let the user
|
1082 |
|
|
specify the I/O channel to use - xyModem only.
|
1083 |
|
|
|
1084 |
|
|
2001-10-01 Gary Thomas
|
1085 |
|
|
|
1086 |
|
|
* src/net/udp.c (__udp_recvfrom): Don't change server address (returned
|
1087 |
|
|
by this function) until a packet has been received with no timeout.
|
1088 |
|
|
|
1089 |
|
|
2001-09-28 Jonathan Larmour
|
1090 |
|
|
|
1091 |
|
|
* src/flash.c (fis_create): if not copying, still update directory.
|
1092 |
|
|
|
1093 |
|
|
2001-09-28 Gary Thomas
|
1094 |
|
|
|
1095 |
|
|
* src/flash.c (_expand_aliases): Properly null terminate expanded
|
1096 |
|
|
string - failed if alias was at end of line.
|
1097 |
|
|
|
1098 |
|
|
2001-09-27 Jesper Skov
|
1099 |
|
|
|
1100 |
|
|
* src/net/dns.c: Include tracing header.
|
1101 |
|
|
|
1102 |
|
|
2001-09-26 Jesper Skov
|
1103 |
|
|
|
1104 |
|
|
* src/net/dns.c: Removed errno hacks.
|
1105 |
|
|
Reduce size of string buffers. Make sure they suffice (or fail).
|
1106 |
|
|
|
1107 |
|
|
* include/redboot.h: Added DNS h_errno definitions.
|
1108 |
|
|
|
1109 |
|
|
* include/redboot.h: Fix for building on targets wo network.
|
1110 |
|
|
|
1111 |
|
|
* src/load.c (do_load): Make sure host can be reached - and print
|
1112 |
|
|
appropriate error message if not.
|
1113 |
|
|
|
1114 |
|
|
* src/net/net_io.c (net_init): Call DNS init when appropriate.
|
1115 |
|
|
|
1116 |
|
|
* src/net/inet_addr.c (inet_aton): Made s argument const.
|
1117 |
|
|
|
1118 |
|
|
* src/net/dns.c: Added UDP driven DNS support.
|
1119 |
|
|
|
1120 |
|
|
* src/net/bootp.c: Fixed warnings.
|
1121 |
|
|
|
1122 |
|
|
* src/flash.c: Replaced inet_aton with _gethostbyname.
|
1123 |
|
|
* src/load.c: Same.
|
1124 |
|
|
* src/net/ping.c: Same.
|
1125 |
|
|
|
1126 |
|
|
* include/net/net.h: Fix warning.
|
1127 |
|
|
|
1128 |
|
|
* include/redboot.h: Added DNS stuff, including some string
|
1129 |
|
|
helpers.
|
1130 |
|
|
|
1131 |
|
|
* cdl/redboot.cdl: Added DNS support options.
|
1132 |
|
|
|
1133 |
|
|
2001-09-14 Jonathan Larmour
|
1134 |
|
|
|
1135 |
|
|
* src/version.c: Simplify _CERTIFICATE handling.
|
1136 |
|
|
|
1137 |
|
|
2001-09-13 Fabrice Gautier
|
1138 |
|
|
|
1139 |
|
|
* cdl/redboot.cdl: Added configuration options to deactivate BOOTP and
|
1140 |
|
|
enable net debug.
|
1141 |
|
|
* src/net/net_io.c (net_init): Use them.
|
1142 |
|
|
|
1143 |
|
|
2001-09-13 Gary Thomas
|
1144 |
|
|
|
1145 |
|
|
* src/flash.c: Cleanups - removing some redundant code.
|
1146 |
|
|
|
1147 |
|
|
2001-09-12 Jonathan Larmour
|
1148 |
|
|
|
1149 |
|
|
* src/flash.c (do_flash_init): Only allocate fis block when
|
1150 |
|
|
CYGOPT_REDBOOT_FIS enabled.
|
1151 |
|
|
Conditionalize fis_work_block and fisdir_size.
|
1152 |
|
|
|
1153 |
|
|
2001-09-12 Gary Thomas
|
1154 |
|
|
|
1155 |
|
|
* src/flash.c (load_flash_config): Use additional space in the
|
1156 |
|
|
FLASH work area (at end of RAM) for 'fconfig' data. This reduces
|
1157 |
|
|
overall stack requirements as there is no need for 'fconfig' data
|
1158 |
|
|
to be held on the stack anymore.
|
1159 |
|
|
|
1160 |
|
|
* src/flash.c:
|
1161 |
|
|
* include/fis.h: Define flash addresses using CYG_ADDRESS which
|
1162 |
|
|
is more portable than (unsigned long).
|
1163 |
|
|
|
1164 |
|
|
2001-09-11 Jonathan Larmour
|
1165 |
|
|
|
1166 |
|
|
* cdl/redboot.cdl (CYGPKG_REDBOOT_FLASH): Be conditional on an
|
1167 |
|
|
actual flash device, not just the generic flash layer.
|
1168 |
|
|
|
1169 |
|
|
2001-09-11 Gary Thomas
|
1170 |
|
|
|
1171 |
|
|
* src/version.c (_CERTIFICATE): Add information about product
|
1172 |
|
|
certification (either Red Hat certified or not).
|
1173 |
|
|
|
1174 |
|
|
* src/flash.c (fis_delete): Deny user deleting "reserved" images.
|
1175 |
|
|
|
1176 |
|
|
2001-09-07 Andrew Lunn
|
1177 |
|
|
* src/flash.c: Extend the alias handling to allow configuration
|
1178 |
|
|
information to be access using alias. Fixed alias expansion
|
1179 |
|
|
when the alias is bigger than the replacement.
|
1180 |
|
|
* src/parse.c: A semi colon can be used to separate multiple
|
1181 |
|
|
commands on one line.
|
1182 |
|
|
|
1183 |
|
|
2001-09-06 Jonathan Larmour
|
1184 |
|
|
|
1185 |
|
|
* include/redboot.h: Include string function prototype header.
|
1186 |
|
|
|
1187 |
|
|
2001-09-06 Jesper Skov
|
1188 |
|
|
|
1189 |
|
|
* src/fs/ide.c (ide_read_sectors): Use diag_(s)printf.
|
1190 |
|
|
* src/fs/disk.c (do_disks): Same.
|
1191 |
|
|
|
1192 |
|
|
2001-08-27 Andrew Lunn
|
1193 |
|
|
* src/flash.c: Allow the flash blocks used for FIS directory and
|
1194 |
|
|
config information to be user configured. Generalise the fis_init
|
1195 |
|
|
function to deal with the blocks in any order.
|
1196 |
|
|
* cdl/redboot.cdl: Added the configury needed to specify which
|
1197 |
|
|
flash blocks to use.
|
1198 |
|
|
|
1199 |
|
|
2001-08-27 Mark Salter
|
1200 |
|
|
|
1201 |
|
|
* src/syscall.c (HZ): Should be 60 for ARM, also.
|
1202 |
|
|
|
1203 |
|
|
2001-08-24 Tim Smith
|
1204 |
|
|
* src/xyzModem.c
|
1205 |
|
|
* src/xyzModem.h
|
1206 |
|
|
Provide xyzModem_stream_terminate() function to abort/clean up
|
1207 |
|
|
XYZmodem download on normal termination or after errors.
|
1208 |
|
|
|
1209 |
|
|
* src/load.c
|
1210 |
|
|
Use aforementioned function to abort downloads on SREC errors,
|
1211 |
|
|
stop load_srec_image() from injecting stuff into the XYZmodem
|
1212 |
|
|
stream and confusing things.
|
1213 |
|
|
|
1214 |
|
|
2001-08-24 Mark Salter
|
1215 |
|
|
|
1216 |
|
|
* src/net/net_io.c: Don't close connections if there is
|
1217 |
|
|
data left to read or write.
|
1218 |
|
|
|
1219 |
|
|
* src/syscall.c: Add support for utimes syscall.
|
1220 |
|
|
|
1221 |
|
|
2001-08-22 Gary Thomas
|
1222 |
|
|
|
1223 |
|
|
* src/net/udp.c:
|
1224 |
|
|
|
1225 |
|
|
* src/net/pktbuf.c:
|
1226 |
|
|
|
1227 |
|
|
* src/net/ping.c:
|
1228 |
|
|
|
1229 |
|
|
* src/net/net_io.c:
|
1230 |
|
|
|
1231 |
|
|
* src/net/inet_addr.c:
|
1232 |
|
|
|
1233 |
|
|
* src/net/enet.c:
|
1234 |
|
|
|
1235 |
|
|
* src/fs/e2fs.c:
|
1236 |
|
|
|
1237 |
|
|
* src/xyzModem.c:
|
1238 |
|
|
* src/parse.c:
|
1239 |
|
|
* src/misc_funs.c:
|
1240 |
|
|
* src/main.c:
|
1241 |
|
|
* src/load.c:
|
1242 |
|
|
* src/io.c:
|
1243 |
|
|
* src/flash.c:
|
1244 |
|
|
* include/net/net.h:
|
1245 |
|
|
* include/redboot.h:
|
1246 |
|
|
printf() is no longer a part of RedBoot. Thus all programs
|
1247 |
|
|
must use diag_printf() and related functions instead. Also
|
1248 |
|
|
renamed the non-standard function gets() to be _rb_gets()
|
1249 |
|
|
since there was some confusion about it because of it's
|
1250 |
|
|
rather standard name.
|
1251 |
|
|
|
1252 |
|
|
* cdl/redboot.cdl: Lots of changes based on moving all printf()
|
1253 |
|
|
functionality into "infra" and only using it as diag_XXX().
|
1254 |
|
|
|
1255 |
|
|
2001-08-17 Gary Thomas
|
1256 |
|
|
|
1257 |
|
|
* src/version.c: Augment version information with startup mode.
|
1258 |
|
|
|
1259 |
|
|
* src/flash.c (fis_find_free): Fix error in size comparisons.
|
1260 |
|
|
(load_flash_config): Fix 'fconfig' alignment now that it's
|
1261 |
|
|
size is no longer fixed.
|
1262 |
|
|
|
1263 |
|
|
2001-08-16 Jesper Skov
|
1264 |
|
|
[from branch]
|
1265 |
|
|
* cdl/redboot.cdl: Also behave as ROM monitor in ROMRAM
|
1266 |
|
|
configurations.
|
1267 |
|
|
|
1268 |
|
|
* src/load.c (do_load): Fix handling of conditional options.
|
1269 |
|
|
|
1270 |
|
|
* src/flash.c (fis_load): Fix handling of conditional options.
|
1271 |
|
|
(fis_delete): Fix behavior on failure.
|
1272 |
|
|
|
1273 |
|
|
* src/flash.c (fis_write): Fix output.
|
1274 |
|
|
(fis_create): Only update directory when programming succeeded.
|
1275 |
|
|
|
1276 |
|
|
2001-08-17 Jonathan Larmour
|
1277 |
|
|
|
1278 |
|
|
* cdl/redboot.cdl (CYGSEM_REDBOOT_VARIABLE_BAUD_RATE): Default
|
1279 |
|
|
on, but only if platform supports it.
|
1280 |
|
|
|
1281 |
|
|
2001-08-15 Mark Salter
|
1282 |
|
|
|
1283 |
|
|
* src/io.c: Add support for "{...}" notation in boot scripts.
|
1284 |
|
|
|
1285 |
|
|
2001-08-14 Jonathan Larmour
|
1286 |
|
|
|
1287 |
|
|
* src/io.c (gets): Allow $'s and +'s to be escaped.
|
1288 |
|
|
|
1289 |
|
|
2001-08-10 Jesper Skov
|
1290 |
|
|
|
1291 |
|
|
* src/flash.c (do_flash_init): Print error message instead of
|
1292 |
|
|
error code on init failure.
|
1293 |
|
|
Don't print error codes where error messages are printed. Make
|
1294 |
|
|
failure reporting strings look consistent.
|
1295 |
|
|
CYGHWR_IO_FLASH_BLOCK_LOCKING flavor changed to booldata.
|
1296 |
|
|
|
1297 |
|
|
2001-08-08 Jonathan Larmour
|
1298 |
|
|
|
1299 |
|
|
* src/io.c (gets): Match $ as indicating GDB anywhere in a line.
|
1300 |
|
|
|
1301 |
|
|
2001-08-07 Julian Smart
|
1302 |
|
|
|
1303 |
|
|
* src/version.c: added commented-out CYGDAT_REDBOOT_CUSTOM_VERSION
|
1304 |
|
|
define that can be replaced using the RedBoot release script by
|
1305 |
|
|
a specific version in a customer branch.
|
1306 |
|
|
|
1307 |
|
|
2001-08-06 Jesper Skov
|
1308 |
|
|
|
1309 |
|
|
* src/fs/disk.c: Simple fix for DISK_IDE_CDROM partition type.
|
1310 |
|
|
|
1311 |
|
|
* cdl/redboot.cdl: Added (unused) CYGSEM_REDBOOT_DISK_ISO9660 option.
|
1312 |
|
|
|
1313 |
|
|
2001-08-03 David Howells
|
1314 |
|
|
|
1315 |
|
|
* src/net/net_io.c: Show the MAC address of the ethernet device
|
1316 |
|
|
amongst the boot banners.
|
1317 |
|
|
|
1318 |
|
|
2001-08-01 Mark Salter
|
1319 |
|
|
|
1320 |
|
|
* src/fs/ide.c (ide_reset): Check for bogus status and timeout. Add
|
1321 |
|
|
return value to indicate success.
|
1322 |
|
|
(ide_init): Check ide_reset() return value.
|
1323 |
|
|
|
1324 |
|
|
2001-07-31 Mark Salter
|
1325 |
|
|
|
1326 |
|
|
* src/fs/disk.c (find_dos_partitions): Fix extended partitions.
|
1327 |
|
|
* src/fs/ide.c (ide_init): Rework the test for device presence.
|
1328 |
|
|
|
1329 |
|
|
2001-07-27 Gary Thomas
|
1330 |
|
|
|
1331 |
|
|
* src/load.c (load_srec_image, do_load):
|
1332 |
|
|
* cdl/redboot.cdl: New option CYGSEM_REDBOOT_VALIDATE_USER_RAM_LOADS
|
1333 |
|
|
which can be used to disable user RAM checks in 'load' command.
|
1334 |
|
|
|
1335 |
|
|
* src/load.c: Fix build problem if no IDE support.
|
1336 |
|
|
|
1337 |
|
|
* src/net/tftp_client.c (tftp_stream_read): Only ACK data when it
|
1338 |
|
|
has been processed and we're ready for the next block. This fixes
|
1339 |
|
|
a race/timing issue which was exacerbated by the "spinner" in 'load'.
|
1340 |
|
|
|
1341 |
|
|
2001-07-27 David Howells
|
1342 |
|
|
|
1343 |
|
|
* src/xyzModem.c: Fixed an uninitialised variable warning.
|
1344 |
|
|
|
1345 |
|
|
2001-07-27 Mark Salter
|
1346 |
|
|
|
1347 |
|
|
* cdl/redboot.cdl (CYGNUM_REDBOOT_MAX_PARTITIONS): New option.
|
1348 |
|
|
Rename CYGBLD_REDBOOT_MAX_DISKS to CYGNUM_REDBOOT_MAX_DISKS.
|
1349 |
|
|
|
1350 |
|
|
* include/fs/disk.h: Exported functions declared "externC".
|
1351 |
|
|
Replace MAX_PARTITIONS with CYGNUM_REDBOOT_MAX_PARTITIONS.
|
1352 |
|
|
|
1353 |
|
|
* src/fs/disk.c: Make exported functions "externC".
|
1354 |
|
|
Rename CYGBLD_REDBOOT_MAX_DISKS to CYGNUM_REDBOOT_MAX_DISKS.
|
1355 |
|
|
Replace MAX_PARTITIONS with CYGNUM_REDBOOT_MAX_PARTITIONS.
|
1356 |
|
|
|
1357 |
|
|
* src/fs/e2fs.c: Add support for symbolic links.
|
1358 |
|
|
* include/fs/e2fs.h: Add dir filetype support.
|
1359 |
|
|
|
1360 |
|
|
2001-07-24 Mark Salter
|
1361 |
|
|
|
1362 |
|
|
* src/load.c: Add disk load support.
|
1363 |
|
|
* src/fs/disk.c: New file. RedBoot disk management.
|
1364 |
|
|
* src/fs/ide.c: New file. IDE disk I/O.
|
1365 |
|
|
* src/fs/e2fs.c: New file. Linux ext2 filesystem support.
|
1366 |
|
|
* cdl/redboot.cdl: Add options for disk/ide/filesystem support.
|
1367 |
|
|
|
1368 |
|
|
2001-07-23 Jonathan Larmour
|
1369 |
|
|
|
1370 |
|
|
* src/main.c (set_console_baud_rate): No need to query the console
|
1371 |
|
|
number if we don't care what it is.
|
1372 |
|
|
(do_baud_rate): Likewise.
|
1373 |
|
|
|
1374 |
|
|
2001-07-23 David Howells
|
1375 |
|
|
|
1376 |
|
|
* src/flash.c: Force block-alignment for flash addresses in write
|
1377 |
|
|
and erase functions.
|
1378 |
|
|
|
1379 |
|
|
2001-07-20 Jonathan Larmour
|
1380 |
|
|
|
1381 |
|
|
* src/net/net_io.c (net_init): Don't overwrite static IP
|
1382 |
|
|
address when reading flash config if configured to not use BOOTP.
|
1383 |
|
|
Set have_net if not using BOOTP and a default static IP addr is set.
|
1384 |
|
|
|
1385 |
|
|
2001-07-19 Gary Thomas
|
1386 |
|
|
|
1387 |
|
|
* src/flash.c: Be more generic with 'fconfig' layout. In
|
1388 |
|
|
particular, handle case where FLASH block size is too small
|
1389 |
|
|
to hold fconfig data.
|
1390 |
|
|
|
1391 |
|
|
* src/io.c (mon_set_read_char_timeout): Fix dangling else bug.
|
1392 |
|
|
|
1393 |
|
|
* src/flash.c (do_flash_init): Suppress printing info - this
|
1394 |
|
|
will happen when 'version' is called. Also allow flash subsystem
|
1395 |
|
|
to be initialized when there is no 'fconfig' or 'fis' command
|
1396 |
|
|
configured in (but flash support still is present).
|
1397 |
|
|
|
1398 |
|
|
* src/version.c: Display complete version information which
|
1399 |
|
|
reflects such information as the source release, etc.
|
1400 |
|
|
|
1401 |
|
|
* cdl/redboot.cdl: New option CYGDAT_REDBOOT_CUSTOM_VERSION used to
|
1402 |
|
|
allow site-specific version information. Define this via the
|
1403 |
|
|
CDL like this:
|
1404 |
|
|
cdl_option CYGDAT_REDBOOT_CUSTOM_VERSION {
|
1405 |
|
|
user_value 1 "Special test version"
|
1406 |
|
|
};
|
1407 |
|
|
|
1408 |
|
|
2001-07-18 Gary Thomas
|
1409 |
|
|
|
1410 |
|
|
* src/net/net_io.c (net_io_putc, net_io_isr):
|
1411 |
|
|
Need CYGARC_HAL_SAVE_GP()/CYGARC_HAL_RESTORE_GP() to support
|
1412 |
|
|
network debugging since different layers of eCos programs are
|
1413 |
|
|
involved.
|
1414 |
|
|
|
1415 |
|
|
2001-07-16 Gary Thomas
|
1416 |
|
|
|
1417 |
|
|
* src/main.c (do_version): Use external function _flash_info() to
|
1418 |
|
|
display information about installed FLASH.
|
1419 |
|
|
|
1420 |
|
|
* src/load.c (load_srec_image): Remove extra '\n' on out of range msg.
|
1421 |
|
|
|
1422 |
|
|
* src/flash.c (_flash_info): New function - displays information
|
1423 |
|
|
about FLASH found in system. Used by 'version' command.
|
1424 |
|
|
|
1425 |
|
|
2001-07-12 Gary Thomas
|
1426 |
|
|
2001-07-12 Fabrice Gautier
|
1427 |
|
|
|
1428 |
|
|
* cdl/redboot.cdl: Improve some descriptions of options.
|
1429 |
|
|
|
1430 |
|
|
2001-07-02 Jesper Skov
|
1431 |
|
|
|
1432 |
|
|
* src/io.c (do_channel): Fox build for !CYGPKG_REDBOOT_ANY_CONSOLE
|
1433 |
|
|
|
1434 |
|
|
2001-06-28 Jonathan Larmour
|
1435 |
|
|
|
1436 |
|
|
* cdl/redboot.cdl: Don't have a configured default IP address by
|
1437 |
|
|
default if we have fconfig.
|
1438 |
|
|
* src/net/ip.c: Provide a default ip addr if not defined.
|
1439 |
|
|
|
1440 |
|
|
2001-06-28 Jesper Skov
|
1441 |
|
|
|
1442 |
|
|
* src/load.c (do_load): Don't allow verbose to be used with serial
|
1443 |
|
|
downloads.
|
1444 |
|
|
|
1445 |
|
|
* src/main.c (do_reset): Reset via VV function.
|
1446 |
|
|
|
1447 |
|
|
2001-06-27 Hugo Tyson
|
1448 |
|
|
|
1449 |
|
|
* src/io.c: Provide proto for do_channel() to reduce warning.
|
1450 |
|
|
|
1451 |
|
|
2001-06-27 Jonathan Larmour
|
1452 |
|
|
|
1453 |
|
|
* cdl/redboot.cdl (CYGDAT_REDBOOT_DEFAULT_IP_ADDR): Provide a compiled
|
1454 |
|
|
in default IP address.
|
1455 |
|
|
* src/net/ip.c: Initialize __local_ip_addr with it.
|
1456 |
|
|
* src/net/bootp.c: Restore the previous __local_ip_addr if BOOTP fails.
|
1457 |
|
|
|
1458 |
|
|
* include/redboot.h: Fix another VARIBLE_BAUD_RATE typo. Fun this.
|
1459 |
|
|
|
1460 |
|
|
2001-06-26 Jonathan Larmour
|
1461 |
|
|
|
1462 |
|
|
* src/io.c (do_channel): New function to display/switch console
|
1463 |
|
|
channel
|
1464 |
|
|
|
1465 |
|
|
* src/main.c: Move define of CYGNUM_HAL_VIRTUAL_VECTOR_NUM_CHANNELS to
|
1466 |
|
|
* include/redboot.h: ...here
|
1467 |
|
|
|
1468 |
|
|
2001-06-26 Gary Thomas
|
1469 |
|
|
|
1470 |
|
|
* src/flash.c (load_flash_config): Fix another VARIBLE_BAUD_RATE typo.
|
1471 |
|
|
|
1472 |
|
|
* src/xyzModem.c (xyzModem_get_hdr): ACK on EOT was missing.
|
1473 |
|
|
|
1474 |
|
|
2001-06-22 Gary Thomas
|
1475 |
|
|
|
1476 |
|
|
* src/load.c (do_load): Move [static] data used by decompression
|
1477 |
|
|
code into this routine where it is used - no longer static.
|
1478 |
|
|
|
1479 |
|
|
2001-06-14 Gary Thomas
|
1480 |
|
|
|
1481 |
|
|
* src/xyzModem.c (xyzModem_get_hdr): More resilient header scan,
|
1482 |
|
|
improves error handling capability by avoiding "early" aborts.
|
1483 |
|
|
|
1484 |
|
|
* src/load.c (do_load): Only check TFTP arguments if networking.
|
1485 |
|
|
|
1486 |
|
|
* src/flash.c: Reorg to support new config option (below).
|
1487 |
|
|
|
1488 |
|
|
* cdl/redboot.cdl: New option CYGOPT_REDBOOT_FIS used to enable
|
1489 |
|
|
FIS oriented commands. Other flash commands, e.g. 'fis write',
|
1490 |
|
|
still exist even if disabled.
|
1491 |
|
|
|
1492 |
|
|
* src/main.c (do_dump): 'dump' with no arguments will now "continue"
|
1493 |
|
|
dumping from where the last command left off.
|
1494 |
|
|
|
1495 |
|
|
2001-06-13 Gary Thomas
|
1496 |
|
|
|
1497 |
|
|
* src/main.c (cyg_start):
|
1498 |
|
|
* src/io.c (gets):
|
1499 |
|
|
* cdl/redboot.cdl: Support RedBoot without GDB stubs. Later
|
1500 |
|
|
versions may also support alternate debug environments.
|
1501 |
|
|
|
1502 |
|
|
2001-06-12 Gary Thomas
|
1503 |
|
|
|
1504 |
|
|
* src/net/net_io.c (net_io_putc): Flush data on '\n'.
|
1505 |
|
|
|
1506 |
|
|
2001-06-11 Jonathan Larmour
|
1507 |
|
|
|
1508 |
|
|
* doc/redboot.ebsa285: Remove, obsolete.
|
1509 |
|
|
* doc/redboot.edb7xxx: Ditto.
|
1510 |
|
|
* doc/users_guide: Ditto.
|
1511 |
|
|
|
1512 |
|
|
2001-06-11 Gary Thomas
|
1513 |
|
|
|
1514 |
|
|
* src/flash.c (fis_create): Remove default for "-s" - too dangerous!
|
1515 |
|
|
|
1516 |
|
|
* include/net/tftp.h: Make sure packet size is valid (was one byte
|
1517 |
|
|
too long).
|
1518 |
|
|
|
1519 |
|
|
* src/net/tftp_client.c (tftp_stream_open): Fix problem when using
|
1520 |
|
|
Windows (3Com at least) servers.
|
1521 |
|
|
|
1522 |
|
|
* src/flash.c: Remove dependency on printf() via user function
|
1523 |
|
|
in flash drivers, provided at 'init' time.
|
1524 |
|
|
|
1525 |
|
|
2001-06-08 Gary Thomas
|
1526 |
|
|
|
1527 |
|
|
* src/parse.c (parse): Check for 'argv[]' overruns.
|
1528 |
|
|
|
1529 |
|
|
* src/main.c (ZLIB_COMPRESSION_OVERHEAD): Update - based on observations.
|
1530 |
|
|
|
1531 |
|
|
* src/net/tftp_client.c:
|
1532 |
|
|
* src/net/net_io.c:
|
1533 |
|
|
* src/net/enet.c:
|
1534 |
|
|
* include/redboot.h (MAX_ARGV): Minor memory reduction/tightening.
|
1535 |
|
|
|
1536 |
|
|
2001-06-08 Jonathan Larmour
|
1537 |
|
|
|
1538 |
|
|
* src/main.c (do_caches): HAL_DCACHE_IS_ENABLED is not present
|
1539 |
|
|
on all arch's, so conditionalize. Ditto HAL_ICACHE_IS_ENABLED.
|
1540 |
|
|
|
1541 |
|
|
2001-06-08 Nick Garnett
|
1542 |
|
|
|
1543 |
|
|
* src/main.c (cyg_start): Added code to disable interrupts on all
|
1544 |
|
|
comm channels before entering GDB. If this is not done then stray
|
1545 |
|
|
interrupts from an otherwise idle ethernet controller can cause
|
1546 |
|
|
mayhem in the application.
|
1547 |
|
|
|
1548 |
|
|
* src/net/net_io.c (net_io_control): Added code to set static
|
1549 |
|
|
vector number in disable case as well as enable case.
|
1550 |
|
|
(net_io_init): Added call to net_io_control() to disable network
|
1551 |
|
|
interrupts initially. Mainly to get current disable state
|
1552 |
|
|
correctly set.
|
1553 |
|
|
|
1554 |
|
|
2001-06-07 Jonathan Larmour
|
1555 |
|
|
|
1556 |
|
|
* src/load.c (do_load): Ask confirmation of RAM write addr, rather
|
1557 |
|
|
than automatically denying.
|
1558 |
|
|
(load_srec_image): Ditto.
|
1559 |
|
|
|
1560 |
|
|
* src/io.c (verify_action): Don't ask if we're executing a script.
|
1561 |
|
|
|
1562 |
|
|
2001-06-07 Gary Thomas
|
1563 |
|
|
|
1564 |
|
|
* src/flash.c (expand_aliases): Allow aliases/macros to be nested.
|
1565 |
|
|
|
1566 |
|
|
* src/main.c (set_console_baud_rate):
|
1567 |
|
|
* src/flash.c (do_alias): Force 'fconfig' updates.
|
1568 |
|
|
|
1569 |
|
|
* include/flash_config.h (flash_add_config): New signature.
|
1570 |
|
|
Parameter 'update' controls whether the Flash is updated.
|
1571 |
|
|
|
1572 |
|
|
2001-06-07
|
1573 |
|
|
|
1574 |
|
|
* src/load.c (do_load): Tidy some messages.
|
1575 |
|
|
|
1576 |
|
|
* src/flash.c (fis_load): Print image limits (memory range) when
|
1577 |
|
|
loading a compressed image.
|
1578 |
|
|
|
1579 |
|
|
2001-06-06 Mark Salter
|
1580 |
|
|
|
1581 |
|
|
* include/net/tftp_support.h (TFTP_TIMEOUT_PERIOD): Increase to 5.
|
1582 |
|
|
|
1583 |
|
|
* src/net/udp.c (__udp_recvfrom): Initialize server source port
|
1584 |
|
|
to zero.
|
1585 |
|
|
(__udp_recvfrom_handler): Validate server source port before
|
1586 |
|
|
accepting packet.
|
1587 |
|
|
|
1588 |
|
|
2001-05-29 Jesper Skov
|
1589 |
|
|
|
1590 |
|
|
* src/flash.c (fis_load): Fix compiler warning.
|
1591 |
|
|
|
1592 |
|
|
2001-05-25 Gary Thomas
|
1593 |
|
|
|
1594 |
|
|
* src/main.c (set_console_baud_rate): Couldn't restore baud
|
1595 |
|
|
rate to default value!
|
1596 |
|
|
(do_baud_rate): Update baud rate in flash config database.
|
1597 |
|
|
|
1598 |
|
|
* src/flash.c (do_flash_config): Add "-i" option to force
|
1599 |
|
|
initialization of entire configuration database.
|
1600 |
|
|
(do_alias): Improve handling of existing aliases.
|
1601 |
|
|
|
1602 |
|
|
2001-05-24 Gary Thomas
|
1603 |
|
|
|
1604 |
|
|
* src/flash.c (get_config):
|
1605 |
|
|
(do_alias): Be more careful about length of strings accepted.
|
1606 |
|
|
|
1607 |
|
|
* cdl/redboot.cdl: Make 'fconfig' data space and strings larger.
|
1608 |
|
|
|
1609 |
|
|
* src/main.c (cyg_start): Expand aliases on input commands.
|
1610 |
|
|
|
1611 |
|
|
* src/flash.c: Add support for aliases (macros). Also update
|
1612 |
|
|
support for 'fconfig' strings.
|
1613 |
|
|
|
1614 |
|
|
* include/flash_config.h (MAX_STRING_LENGTH): Infer from CDL.
|
1615 |
|
|
|
1616 |
|
|
* cdl/redboot.cdl: Add options for [FLASH based] aliases.
|
1617 |
|
|
Also, 'fconfig' now supports strings.
|
1618 |
|
|
|
1619 |
|
|
2001-05-23 Gary Thomas
|
1620 |
|
|
|
1621 |
|
|
* src/flash.c: Fixed typo as below.
|
1622 |
|
|
|
1623 |
|
|
2001-05-22 Jonathan Larmour
|
1624 |
|
|
|
1625 |
|
|
* cdl/redboot.cdl: Fix typo: CYGSEM_REDBOOT_VARIBLE_BAUD_RATE ->
|
1626 |
|
|
CYGSEM_REDBOOT_VARIABLE_BAUD_RATE
|
1627 |
|
|
* src/main.c: Ditto.
|
1628 |
|
|
|
1629 |
|
|
2001-05-17 Jonathan Larmour
|
1630 |
|
|
|
1631 |
|
|
* src/net/tftp_client.c: include redboot.h for have_net.
|
1632 |
|
|
|
1633 |
|
|
2001-05-17 Dennis Ehlin
|
1634 |
|
|
(with minor mods by jlarmour@redhat.com)
|
1635 |
|
|
|
1636 |
|
|
* cdl/redboot.cdl: Split boot script functionality into separate
|
1637 |
|
|
component. Rename some options not to be specific to FLASH.
|
1638 |
|
|
Add default boot script option.
|
1639 |
|
|
* src/main.c (cyg_start): Use default boot script if none provided
|
1640 |
|
|
in FLASH (or indeed no FLASH). Support renamed CDL options.
|
1641 |
|
|
* src/io.c (gets): Support renamed CDL options.
|
1642 |
|
|
(verify_action): Ditto.
|
1643 |
|
|
* src/flash.c: Ditto.
|
1644 |
|
|
* include/redboot.h: Ditto.
|
1645 |
|
|
|
1646 |
|
|
2001-05-17 Gary Thomas
|
1647 |
|
|
|
1648 |
|
|
* src/crc.c (crc32): Remove unused variable/warning.
|
1649 |
|
|
|
1650 |
|
|
* src/main.c (set_console_baud_rate, do_baud_rate):
|
1651 |
|
|
* src/flash.c:
|
1652 |
|
|
* include/redboot.h:
|
1653 |
|
|
* cdl/redboot.cdl: Add support for variable, settable, console
|
1654 |
|
|
baud rate.
|
1655 |
|
|
|
1656 |
|
|
* src/net/tftp_client.c (tftp_stream_open): Don't try if no network.
|
1657 |
|
|
|
1658 |
|
|
2001-05-10 Gary Thomas
|
1659 |
|
|
|
1660 |
|
|
* cdl/redboot.cdl: Can't build RedBoot without virtual vectors.
|
1661 |
|
|
|
1662 |
|
|
2001-05-09 Mark Salter
|
1663 |
|
|
|
1664 |
|
|
* src/main.c (cyg_start): Cast CYGACC_CALL_IF_DELAY_US argument
|
1665 |
|
|
to a cyg_int32. Needed when sizeof(int) < sizeof(cyg_int32).
|
1666 |
|
|
|
1667 |
|
|
2001-05-07 Gary Thomas
|
1668 |
|
|
|
1669 |
|
|
* src/net/net_io.c (net_io_isr): Interrupt acknowledgement
|
1670 |
|
|
should rightly be done by the driver 'delivery' routine, not here.
|
1671 |
|
|
|
1672 |
|
|
2001-04-26 Gary Thomas
|
1673 |
|
|
|
1674 |
|
|
* src/main.c (do_caches): Display cache state if no arguments.
|
1675 |
|
|
|
1676 |
|
|
2001-04-13 Gary Thomas
|
1677 |
|
|
|
1678 |
|
|
* src/net/ping.c (do_ping): Tidy message.
|
1679 |
|
|
|
1680 |
|
|
2001-04-12 Robin Farine
|
1681 |
|
|
2001-04-12 Jonathan Larmour
|
1682 |
|
|
|
1683 |
|
|
* src/io.c (gets): Checks for buffer overflow and returns buflen
|
1684 |
|
|
if it reaches the end of the buffer.
|
1685 |
|
|
* src/main.c (cyg_start): Cope with gets() return being the
|
1686 |
|
|
buffer length.
|
1687 |
|
|
|
1688 |
|
|
2001-04-12 Mark Salter
|
1689 |
|
|
2001-04-12 Robin Farine
|
1690 |
|
|
|
1691 |
|
|
* src/net/enet.c (__eth_install_listener): Does not accept a
|
1692 |
|
|
handler for an eth_type less than 0x800.
|
1693 |
|
|
(__enet_poll): Only scan the handlers for a frame type greater
|
1694 |
|
|
than 0x800.
|
1695 |
|
|
|
1696 |
|
|
2001-04-09 Mark Salter
|
1697 |
|
|
|
1698 |
|
|
* src/printf.c (_vprintf): Fixed some portability problems where
|
1699 |
|
|
sizeof(int) != sizeof(long).
|
1700 |
|
|
|
1701 |
|
|
2001-04-09 Hugo Tyson
|
1702 |
|
|
|
1703 |
|
|
* src/main.c (do_cksum): Reduce warning absent posix_crc32().
|
1704 |
|
|
|
1705 |
|
|
* src/main.c (cyg_start): Compare ram_end against workspace_end to
|
1706 |
|
|
see if there is *less* SDRAM than the MLT suggested, and shorten
|
1707 |
|
|
workspace et al accordingly. This is needed if some SDRAM is
|
1708 |
|
|
"stolen" for use by eg. a PCI window, and mapped far away.
|
1709 |
|
|
|
1710 |
|
|
2001-04-03 Gary Thomas
|
1711 |
|
|
|
1712 |
|
|
* src/load.c (do_load): Fix 'raw' loading to check for valid
|
1713 |
|
|
base address _before_ trying to load anything. Also, some
|
1714 |
|
|
reorg to make raw vs non-raw cleaner.
|
1715 |
|
|
|
1716 |
|
|
2001-04-02 Hugo Tyson
|
1717 |
|
|
|
1718 |
|
|
* src/flash.c (get_config): Update to support some new syntax:
|
1719 |
|
|
fco -l -n ... lists showing nicknames instead of titles.
|
1720 |
|
|
fco -l -n -f ... lists showing both nicknames and titles.
|
1721 |
|
|
fco nickname ... goes straight to editing only nickname.
|
1722 |
|
|
fco nick value ... sets nickname to value.
|
1723 |
|
|
All then follow the usual flow out, including the question
|
1724 |
|
|
Update RedBoot non-volatile configuration - are you sure (y/n)
|
1725 |
|
|
as it should be if you made a change.
|
1726 |
|
|
|
1727 |
|
|
2001-03-29 Mark Salter
|
1728 |
|
|
|
1729 |
|
|
* cdl/redboot.cdl (CYGSEM_REDBOOT_FIS_CRC_CHECK): New option to
|
1730 |
|
|
enable (default) or disable CRC checks in FIS images.
|
1731 |
|
|
* src/flash.c: Use CYGSEM_REDBOOT_FIS_CRC_CHECK to decide whether
|
1732 |
|
|
to provide CRC for flash images.
|
1733 |
|
|
|
1734 |
|
|
2001-03-28 Mark Salter
|
1735 |
|
|
|
1736 |
|
|
* src/net/tcp.c (__tcp_handler): Don't send ACK from TIME_WAIT state
|
1737 |
|
|
unless the FIN comes in again.
|
1738 |
|
|
|
1739 |
|
|
2000-03-27 Grant Edwards
|
1740 |
|
|
|
1741 |
|
|
* src/net/tcp.c (__tcp_handler): Fixed sequence number bug seen when
|
1742 |
|
|
doing an active close.
|
1743 |
|
|
|
1744 |
|
|
2001-03-23 Gary Thomas
|
1745 |
|
|
|
1746 |
|
|
* src/printf.c (_vprintf): Support %u (unsigned) descriptor.
|
1747 |
|
|
|
1748 |
|
|
* src/main.c (do_cksum): New command to compute and print a POSIX
|
1749 |
|
|
checksum on a range of memory.
|
1750 |
|
|
|
1751 |
|
|
* src/crc.c (posix_crc32): New routine - matches POSIX algorithm.
|
1752 |
|
|
|
1753 |
|
|
2001-03-21 Gary Thomas
|
1754 |
|
|
|
1755 |
|
|
* cdl/redboot.cdl: Back off previous change in number of packets.
|
1756 |
|
|
Also change minimum - below this, network debugging fails.
|
1757 |
|
|
|
1758 |
|
|
* src/flash.c (fis_write): New function - support raw writes to FLASH.
|
1759 |
|
|
|
1760 |
|
|
* src/net/enet.c (__enet_poll): Try to continue if out of packets.
|
1761 |
|
|
|
1762 |
|
|
* src/main.c:
|
1763 |
|
|
* src/load.c:
|
1764 |
|
|
* src/flash.c:
|
1765 |
|
|
* include/redboot.h: Keep track of available "user" RAM.
|
1766 |
|
|
|
1767 |
|
|
* cdl/redboot.cdl: Reduce default number of [network] packets.
|
1768 |
|
|
|
1769 |
|
|
2001-03-20 Gary Thomas
|
1770 |
|
|
|
1771 |
|
|
* src/net/net_io.c (net_io_test): Change for new calling convention.
|
1772 |
|
|
|
1773 |
|
|
* src/main.c (cyg_start): Idle processing now in I/O routines.
|
1774 |
|
|
|
1775 |
|
|
* src/io.c (gets): Move idle processing into this function.
|
1776 |
|
|
|
1777 |
|
|
* include/net/net.h (net_io_test): Needs idle parameter.
|
1778 |
|
|
|
1779 |
|
|
* include/redboot.h: Change 'idle' functions to take state (idle/not).
|
1780 |
|
|
|
1781 |
|
|
2001-03-19 Jesper Skov
|
1782 |
|
|
|
1783 |
|
|
* cdl/redboot.cdl: Put version.o file in the public lib directory
|
1784 |
|
|
so other packages can get at it and link redboot.
|
1785 |
|
|
|
1786 |
|
|
2001-03-16 Gary Thomas
|
1787 |
|
|
|
1788 |
|
|
* src/flash.c (fis_create): Preserve memory [load/exec] address
|
1789 |
|
|
when making assumptions [rewriting existing image].
|
1790 |
|
|
|
1791 |
|
|
2001-03-16 Mark Salter
|
1792 |
|
|
|
1793 |
|
|
* src/main.c (cyg_start): Restore console channel after returning
|
1794 |
|
|
from stub.
|
1795 |
|
|
|
1796 |
|
|
2001-03-15 Gary Thomas
|
1797 |
|
|
2001-03-15 Grant Edwards
|
1798 |
|
|
|
1799 |
|
|
* src/net/bootp.c (bootp_handler): Guard against buffer overflow.
|
1800 |
|
|
|
1801 |
|
|
2001-03-15 Hugo Tyson
|
1802 |
|
|
|
1803 |
|
|
* src/flash.c (fis_create): The code was installing a default for
|
1804 |
|
|
img_size from data_length of an extant record. That's zero, so,
|
1805 |
|
|
so whilst the flash was erased, no data was copied in!
|
1806 |
|
|
(fis_list): Added a -d to get the data length field displayed.
|
1807 |
|
|
|
1808 |
|
|
2001-03-15 Jesper Skov
|
1809 |
|
|
|
1810 |
|
|
* src/main.c: Make use of script variable conditional on flash.
|
1811 |
|
|
|
1812 |
|
|
* include/redboot.h: Changed type of workspace_end to silence
|
1813 |
|
|
warning.
|
1814 |
|
|
|
1815 |
|
|
* src/net/ping.c (do_ping): Fix warning.
|
1816 |
|
|
* src/net/pktbuf.c (__pktbuf_dump): Fix warnings.
|
1817 |
|
|
|
1818 |
|
|
2001-03-14 Gary Thomas
|
1819 |
|
|
|
1820 |
|
|
* src/main.c (do_go): Make timeout code consistent with other
|
1821 |
|
|
versions, e.g. script timeout. Also, allow a script to continue
|
1822 |
|
|
if it was in effect when 'go' was called and ^C was typed.
|
1823 |
|
|
|
1824 |
|
|
* src/flash.c (fis_create): Ask for additional user verification
|
1825 |
|
|
if any [important] parameters are being assumed [left out by user].
|
1826 |
|
|
This just adds a level of safety in the presence of assumptions.
|
1827 |
|
|
|
1828 |
|
|
2001-03-13 Gary Thomas
|
1829 |
|
|
|
1830 |
|
|
* src/main.c: Define 'workspace' based on MLT files, rather than
|
1831 |
|
|
simply using end of RAM area.
|
1832 |
|
|
|
1833 |
|
|
* src/flash.c: Use 'workspace' for scratch area.
|
1834 |
|
|
|
1835 |
|
|
* include/redboot.h: Define new variables 'workspace_XXX' to specify
|
1836 |
|
|
ares used by RedBoot for scratch, etc.
|
1837 |
|
|
|
1838 |
|
|
2001-03-12 Jesper Skov
|
1839 |
|
|
|
1840 |
|
|
* src/decompress.c: Removed Z_BAD_CRC hack. zlib does CRC checking
|
1841 |
|
|
now.
|
1842 |
|
|
|
1843 |
|
|
2001-03-09 Jesper Skov
|
1844 |
|
|
|
1845 |
|
|
* src/misc_funs.c: Added strncpy.
|
1846 |
|
|
* include/redboot.h: And declaration.
|
1847 |
|
|
|
1848 |
|
|
2001-03-08 Jesper Skov
|
1849 |
|
|
|
1850 |
|
|
* src/load.c (do_load): Added decompression support.
|
1851 |
|
|
* src/flash.c (fis_load): Same.
|
1852 |
|
|
|
1853 |
|
|
* src/decompress.c: Added. Interfaces the zlib API.
|
1854 |
|
|
|
1855 |
|
|
* include/redboot.h: Added some definitions used by decompression
|
1856 |
|
|
code.
|
1857 |
|
|
|
1858 |
|
|
* cdl/redboot.cdl: Added option to control size of zlib bounce
|
1859 |
|
|
buffer.
|
1860 |
|
|
|
1861 |
|
|
2001-03-05 Jesper Skov
|
1862 |
|
|
|
1863 |
|
|
* src/main.c (cyg_start): Make sure communication channels are
|
1864 |
|
|
initialized.
|
1865 |
|
|
|
1866 |
|
|
2001-03-03 Gary Thomas
|
1867 |
|
|
|
1868 |
|
|
* src/main.c (do_idle): New function - all 'idle' handling is here.
|
1869 |
|
|
|
1870 |
|
|
* src/io.c (mon_read_char_with_timeout): Improve timeout handling
|
1871 |
|
|
when scanning for a console by applying the minimum possible value
|
1872 |
|
|
(1 ms) to each channel, accumulating the total value. The previous
|
1873 |
|
|
algorithm was quite poor on systems where there is no buffering,
|
1874 |
|
|
i.e. serial channels with no FIFOs, because each channel would
|
1875 |
|
|
wait for T/N (t = total timeout, N = number channels). This might
|
1876 |
|
|
possibly have been much longer than the devices could tolerate and
|
1877 |
|
|
still return valid data.
|
1878 |
|
|
|
1879 |
|
|
2001-03-01 Gary Thomas
|
1880 |
|
|
|
1881 |
|
|
* src/version.c: Add 'bootstrap' to banner so the world can see
|
1882 |
|
|
more of what RedBoot's all about.
|
1883 |
|
|
|
1884 |
|
|
2001-02-28 Gary Thomas
|
1885 |
|
|
|
1886 |
|
|
* include/redboot.h: Fix prioritization of 'init' table entries.
|
1887 |
|
|
|
1888 |
|
|
2001-02-26 Gary Thomas
|
1889 |
|
|
|
1890 |
|
|
* include/redboot.h (RedBoot_INIT_PRIO): Slight change - avoid
|
1891 |
|
|
arithmetic which C preprocessor doesn't handle anyway. This also
|
1892 |
|
|
fixes prioritizing init entries.
|
1893 |
|
|
|
1894 |
|
|
* src/flash.c (fis_load): Only load actual data [length] when loading
|
1895 |
|
|
an image.
|
1896 |
|
|
|
1897 |
|
|
* cdl/redboot.cdl: Change build rule to always rebuild 'version.o'
|
1898 |
|
|
whenever the application is relinked. Thus the version string will
|
1899 |
|
|
always accurately reflect the actual build date/time.
|
1900 |
|
|
|
1901 |
|
|
2001-02-22 Hugo Tyson
|
1902 |
|
|
|
1903 |
|
|
* cdl/redboot.cdl: New config options to control default creation
|
1904 |
|
|
of various FIS image files. Also opt for a reserved area at the
|
1905 |
|
|
base of flash, eg. for user's POST or other pre-RedBoot code that
|
1906 |
|
|
we must not interfere with. This isn't the same as the extant
|
1907 |
|
|
boot_offset option, so the two are made to work together.
|
1908 |
|
|
Likewise an offset for the start of a POST-cooperative RedBoot
|
1909 |
|
|
image, if any; the value is of course platform dependent, not
|
1910 |
|
|
simply after the first RedBoot image, if there is one.
|
1911 |
|
|
|
1912 |
|
|
Clarification: a POST-cooperative RedBoot image is a ROM-start
|
1913 |
|
|
image that runs at a higher address in ROM, and which omits some
|
1914 |
|
|
of the hardware initialization because it's already done by
|
1915 |
|
|
whatever came before. Most targets do not have such a thing;
|
1916 |
|
|
those that do, it is created by a config export file, not by a new
|
1917 |
|
|
startup type. A POST Redboot can be tested from a plain ROM
|
1918 |
|
|
redboot by just calling its entrypoint once it is installed in
|
1919 |
|
|
flash; eg. by "go 0x50040044" at the RedBoot prompt.
|
1920 |
|
|
|
1921 |
|
|
* src/flash.c (fis_init): Create additional optional entries for
|
1922 |
|
|
o (reserved) reserved area at start, for preboot or post code.
|
1923 |
|
|
o RedBoot itself now optional
|
1924 |
|
|
o RedBoot[post]
|
1925 |
|
|
o RedBoot[backup]
|
1926 |
|
|
Also initialize their addresses, sizes, accordingly.
|
1927 |
|
|
The default behaviour is unchanged.
|
1928 |
|
|
The flash erase is moved to after the fis table init because the
|
1929 |
|
|
fis table init most conveniently calculates the high water mark of
|
1930 |
|
|
built-in default objects.
|
1931 |
|
|
(fis_create): If creating a file which already exists (most likely
|
1932 |
|
|
one of the preconfigured defaults) pick up Flash address and
|
1933 |
|
|
length (the two required parameters) from there. They're required
|
1934 |
|
|
to be the same to it's no loss of generality, and saves typing,
|
1935 |
|
|
makes the default entries far more useful and so on.
|
1936 |
|
|
(fis_delete): Skip those entries which were
|
1937 |
|
|
preconfigured; we want nobody to be able to delete these.
|
1938 |
|
|
(fis_free): Start searching for free space to list only after the
|
1939 |
|
|
reserved base area - if there is one.
|
1940 |
|
|
(fis_find_free): Start searching for free space only after the
|
1941 |
|
|
reserved base area...
|
1942 |
|
|
|
1943 |
|
|
2001-02-22 Jesper Skov
|
1944 |
|
|
|
1945 |
|
|
* src/flash.c: Added default case to switch statement.
|
1946 |
|
|
|
1947 |
|
|
2001-02-20 Gary Thomas
|
1948 |
|
|
|
1949 |
|
|
* src/load.c: Remove unnecessary \r from usage message.
|
1950 |
|
|
|
1951 |
|
|
* src/printf.c (_vprintf): Ensure CR/LF sequence, not LFCR.
|
1952 |
|
|
|
1953 |
|
|
* src/net/ping.c:
|
1954 |
|
|
* src/flash.c: Better usage messages [no naked linefeeds].
|
1955 |
|
|
|
1956 |
|
|
* src/net/ping.c: Tidy up usage message. Check for reasonable
|
1957 |
|
|
packet lengths.
|
1958 |
|
|
|
1959 |
|
|
* src/load.c: Tidy up usage message.
|
1960 |
|
|
|
1961 |
|
|
2001-02-16 Nick Garnett
|
1962 |
|
|
|
1963 |
|
|
* src/flash.c (load_flash_config): Move setting of config_ok to
|
1964 |
|
|
true to before we look for a script to run. Otherwise scripts just
|
1965 |
|
|
don't work.
|
1966 |
|
|
|
1967 |
|
|
2001-02-14 Hugo Tyson
|
1968 |
|
|
|
1969 |
|
|
* src/load.c (do_load): Wrap the help message at < 80 cols and fix
|
1970 |
|
|
a coupla warnings.
|
1971 |
|
|
|
1972 |
|
|
2001-02-13 Hugo Tyson
|
1973 |
|
|
|
1974 |
|
|
* src/flash.c: Fix token/string pasting thinko: ## operators are
|
1975 |
|
|
not needed and do confuse some compilers.
|
1976 |
|
|
|
1977 |
|
|
2001-02-12 Jesper Skov
|
1978 |
|
|
|
1979 |
|
|
* src/main.c: Use CYGNUM_HAL_VIRTUAL_VECTOR_DEBUG_CHANNEL instead
|
1980 |
|
|
of CYGNUM_HAL_VIRTUAL_VECTOR_CONSOLE_CHANNEL.
|
1981 |
|
|
|
1982 |
|
|
2001-02-11 Gary Thomas
|
1983 |
|
|
|
1984 |
|
|
* src/net/ping.c (do_ping): Accomodate new MS_TICKS scheme.
|
1985 |
|
|
|
1986 |
|
|
2001-02-09 Grant Edwards
|
1987 |
|
|
|
1988 |
|
|
* include/net/net.h (MS_TICKS_DELAY): New macro, different from
|
1989 |
|
|
MS_TICKS() so that MS_TICKS() gets the current tick count, and
|
1990 |
|
|
MS_TICKS_DELAY is used in a delay loop to actually do a delay.
|
1991 |
|
|
|
1992 |
|
|
* src/ticks.c (get_ms_ticks): New function imlementing rework of
|
1993 |
|
|
MS_TICKS
|
1994 |
|
|
|
1995 |
|
|
* src/net/net_io.c (net_io_getc): Use MS_TICKS_DELAY() instead of
|
1996 |
|
|
CYGACC_CALL_IF_DELAY_US() directly
|
1997 |
|
|
(net_io_getc_timeout): Likewise
|
1998 |
|
|
|
1999 |
|
|
* src/net/udp.c (__udp_recvfrom): MS_TICKS -> MS_TICKS_DELAY
|
2000 |
|
|
* src/net/bootp.c (__bootp_find_local_ip): Likewise
|
2001 |
|
|
|
2002 |
|
|
2001-02-09 Jonathan Larmour
|
2003 |
|
|
2001-02-09 Grant Edwards
|
2004 |
|
|
|
2005 |
|
|
* src/net/net_io.c (net_io_getc_nonblock): Silence compiler warning
|
2006 |
|
|
|
2007 |
|
|
2001-01-31 Gary Thomas
|
2008 |
|
|
|
2009 |
|
|
* include/redboot.h:
|
2010 |
|
|
* cdl/redboot.cdl:
|
2011 |
|
|
* src/flash.c: Use new CRC functions.
|
2012 |
|
|
|
2013 |
|
|
* src/crc.c: New file - supports 16 and 32 bit CRC functions.
|
2014 |
|
|
|
2015 |
|
|
2001-01-31 Grant Edwards
|
2016 |
|
|
|
2017 |
|
|
* src/net/net_io.c (net_io_test): Use new idle function to
|
2018 |
|
|
poll for incoming network connections. Removes #if requirements
|
2019 |
|
|
from the main CLI loop.
|
2020 |
|
|
|
2021 |
|
|
* src/main.c (cyg_start):
|
2022 |
|
|
* include/redboot.h (RedBoot_idle): Add new tables to support
|
2023 |
|
|
user defined functions to be called when idle (during command input).
|
2024 |
|
|
|
2025 |
|
|
2001-01-31 Gary Thomas
|
2026 |
|
|
|
2027 |
|
|
* include/redboot.h:
|
2028 |
|
|
* src/main.c (cyg_start):
|
2029 |
|
|
* src/net/net_io.c (net_io_getc_nonblock): Forgo TELNET escape
|
2030 |
|
|
processing if GDB is active (requires 8-bit clean connection).
|
2031 |
|
|
|
2032 |
|
|
2001-01-31 Nick Garnett
|
2033 |
|
|
|
2034 |
|
|
* src/syscall.c (__do_syscall):
|
2035 |
|
|
Added SYS_meminfo syscall.
|
2036 |
|
|
This is used by the MIPS3264 GNUPro runtime.
|
2037 |
|
|
|
2038 |
|
|
* src/net/net_io.c (net_io_getc_nonblock):
|
2039 |
|
|
Telnet escape processing temporarily disabled because it does not
|
2040 |
|
|
work.
|
2041 |
|
|
|
2042 |
|
|
2001-01-31 Grant Edwards
|
2043 |
|
|
|
2044 |
|
|
* include/net/net.h:
|
2045 |
|
|
* src/net/enet.c (__eth_install_listener, __eth_remove_listener):
|
2046 |
|
|
New functions - allow user registerable callout to handle
|
2047 |
|
|
non-standard ethernet packets.
|
2048 |
|
|
|
2049 |
|
|
2001-01-30 Gary Thomas
|
2050 |
|
|
|
2051 |
|
|
* src/main.c (do_reset): HAL macro name changed.
|
2052 |
|
|
|
2053 |
|
|
* src/net/ping.c (do_ping): Remove warning.
|
2054 |
|
|
|
2055 |
|
|
* src/main.c (do_help): Only display help for selected topic
|
2056 |
|
|
if provided.
|
2057 |
|
|
|
2058 |
|
|
2001-01-24 Jonathan Larmour
|
2059 |
|
|
|
2060 |
|
|
* src/main.c (cyg_start): Rework last change to use more generic
|
2061 |
|
|
HAL_MEM_REAL_REGION_TOP macro.
|
2062 |
|
|
|
2063 |
|
|
2001-01-24 Hugo Tyson
|
2064 |
|
|
|
2065 |
|
|
* src/main.c (cyg_start): Take notice of the hal_dram_size
|
2066 |
|
|
variable (only supported on ARMs) to set ram_end. The symbols
|
2067 |
|
|
given by the CYGMEM_REGION_ram symbols are minima or defaults.
|
2068 |
|
|
|
2069 |
|
|
2001-01-22 Gary Thomas
|
2070 |
|
|
|
2071 |
|
|
* src/net/inet_addr.c (inet_aton): Fix byte order on big endian
|
2072 |
|
|
systems.
|
2073 |
|
|
|
2074 |
|
|
* src/net/icmp.c (__icmp_install_listener):
|
2075 |
|
|
(__icmp_remove_listener): New functions.
|
2076 |
|
|
(__icmp_handler): Call listener for unhandled packets.
|
2077 |
|
|
|
2078 |
|
|
* include/net/net.h: Add handler for ICMP [incoming] data.
|
2079 |
|
|
|
2080 |
|
|
* cdl/redboot.cdl:
|
2081 |
|
|
* src/net/ping.c: New CLI command - ping a host.
|
2082 |
|
|
|
2083 |
|
|
2001-01-18 Gary Thomas
|
2084 |
|
|
|
2085 |
|
|
* include/net/net.h:
|
2086 |
|
|
* src/net/pktbuf.c (__pktbuf_alloc):
|
2087 |
|
|
* src/net/tcp.c (__tcp_listen): Remove obsolete code regarding
|
2088 |
|
|
'eth_hdr' stored with packet buffer.
|
2089 |
|
|
|
2090 |
|
|
2001-01-17 Hugo Tyson
|
2091 |
|
|
|
2092 |
|
|
* src/io.c (dump_buf_with_offset): Fix previous change so it
|
2093 |
|
|
compiles; variable names used not same as parm names in func.
|
2094 |
|
|
|
2095 |
|
|
2001-01-16 Gary Thomas
|
2096 |
|
|
|
2097 |
|
|
* src/xyzModem.c: Improved debug support - now allows debug
|
2098 |
|
|
trace to be kept in memory and dumped at completion.
|
2099 |
|
|
|
2100 |
|
|
* src/io.c (vdump_buf_with_offset): New function which allows
|
2101 |
|
|
dumping via any generic "print" function.
|
2102 |
|
|
|
2103 |
|
|
* include/redboot.h: Export new print/dump functions.
|
2104 |
|
|
|
2105 |
|
|
2001-01-08 Gary Thomas
|
2106 |
|
|
|
2107 |
|
|
* src/net/arp.c: Add special case handling for ARP(self).
|
2108 |
|
|
|
2109 |
|
|
2001-01-03 Gary Thomas
|
2110 |
|
|
|
2111 |
|
|
* src/main.c (do_version): Update copyright for 2001.
|
2112 |
|
|
|
2113 |
|
|
* src/io.c (gets): Use timeout provided [was hardcoded to 50ms!]
|
2114 |
|
|
|
2115 |
|
|
2000-12-21 Mark Salter
|
2116 |
|
|
|
2117 |
|
|
* src/flash.c (fis_init): Use CYGBLD_REDBOOT_FLASH_BOOT_OFFSET to
|
2118 |
|
|
decide where to create default images.
|
2119 |
|
|
|
2120 |
|
|
* cdl/redboot.cdl (CYGBLD_REDBOOT_FLASH_BOOT_OFFSET): Use this
|
2121 |
|
|
to define offset from start of FLASH to start of boot image.
|
2122 |
|
|
|
2123 |
|
|
2000-12-15 Gary Thomas
|
2124 |
|
|
|
2125 |
|
|
* src/version.c: Define GDB stubs version here as well. Also
|
2126 |
|
|
add warnings and informationabout how all of this works.
|
2127 |
|
|
|
2128 |
|
|
2000-12-13 Gary Thomas
|
2129 |
|
|
|
2130 |
|
|
* src/version.c: New file.
|
2131 |
|
|
|
2132 |
|
|
* src/main.c:
|
2133 |
|
|
* cdl/redboot.cdl: Reorg - main.c is now treated like all other
|
2134 |
|
|
files. New file 'version.c' holds the special stuff used at
|
2135 |
|
|
build time to get interesting version information into the
|
2136 |
|
|
final product.
|
2137 |
|
|
|
2138 |
|
|
2000-12-12 Gary Thomas
|
2139 |
|
|
|
2140 |
|
|
* src/flash.c (get_config): Increase size of input buffer used
|
2141 |
|
|
during 'fconfig' command.
|
2142 |
|
|
|
2143 |
|
|
2000-12-11 Gary Thomas
|
2144 |
|
|
|
2145 |
|
|
* src/main.c: Change in HAL layering - need to include proper
|
2146 |
|
|
file to get 'reset' definition.
|
2147 |
|
|
|
2148 |
|
|
2000-12-08 Jonathan Larmour
|
2149 |
|
|
|
2150 |
|
|
* cdl/redboot.cdl: Tweak CYGPKG_REDBOOT_MAX_CMD_LINE description.
|
2151 |
|
|
|
2152 |
|
|
2000-12-07 Gary Thomas
|
2153 |
|
|
|
2154 |
|
|
* src/main.c (cyg_start): Make CLI command buffer static.
|
2155 |
|
|
(do_reset): New command - reset platform from CLI.
|
2156 |
|
|
|
2157 |
|
|
* src/io.c (dump_buf_with_offset): Change signature for
|
2158 |
|
|
more generic export.
|
2159 |
|
|
|
2160 |
|
|
* include/redboot.h: Export 'dump_buf_with_offset' function.
|
2161 |
|
|
|
2162 |
|
|
* cdl/redboot.cdl: Define CLI command buffer - static with
|
2163 |
|
|
user specified length - to accomodate some environments which
|
2164 |
|
|
may want excrutiatingly long commands.
|
2165 |
|
|
|
2166 |
|
|
2000-12-07 Jesper Skov
|
2167 |
|
|
|
2168 |
|
|
* src/misc_funs.c (strlen): NULL ptr string has length 0.
|
2169 |
|
|
|
2170 |
|
|
* src/load.c (load_srec_image): Refuse to load data to a location
|
2171 |
|
|
not in RAM.
|
2172 |
|
|
|
2173 |
|
|
* src/flash.c (fis_create): Hack around another MIPS compiler bug.
|
2174 |
|
|
|
2175 |
|
|
2000-12-06 Jesper Skov
|
2176 |
|
|
|
2177 |
|
|
* src/load.c: Suppress verbosity when using xyz modem download.
|
2178 |
|
|
|
2179 |
|
|
* src/main.c: Fix warnings.
|
2180 |
|
|
* src/load.c: Fix warnings.
|
2181 |
|
|
|
2182 |
|
|
* src/parse.c (parse_num): Hack around MIPS compiler bug.
|
2183 |
|
|
|
2184 |
|
|
2000-12-01 Gary Thomas
|
2185 |
|
|
|
2186 |
|
|
* src/xyzModem.h:
|
2187 |
|
|
* src/xyzModem.c (xyzModem_stream_close): New function - tidy up
|
2188 |
|
|
and print some statistics about the download. Better handling
|
2189 |
|
|
of CAN (cancel) function.
|
2190 |
|
|
|
2191 |
|
|
* src/load.c (load_srec_image): Consume all data, not just to
|
2192 |
|
|
final record. This makes Ymodem happier. Also, call xyzModem_close().
|
2193 |
|
|
|
2194 |
|
|
2000-11-30 Gary Thomas
|
2195 |
|
|
|
2196 |
|
|
* src/flash.c (fis_create): Add new option '-n' which suppresses
|
2197 |
|
|
the copy from RAM to FLASH. Used to simply update the FIS directory.
|
2198 |
|
|
Also misc printf() changes - add 0x everywhere hex is used.
|
2199 |
|
|
|
2200 |
|
|
* src/net/net_io.c (_net_io_getc_nonblock): Abstract function.
|
2201 |
|
|
(net_io_getc_nonblock): Add minimal handling of telnet escape
|
2202 |
|
|
sequences - required to properly handle ^C.
|
2203 |
|
|
|
2204 |
|
|
* src/main.c (cyg_start): Support network connection during
|
2205 |
|
|
boot/startup script. Use new codes from 'gets()'.
|
2206 |
|
|
|
2207 |
|
|
* src/flash.c (fis_create): Cleanup to remove warnings.
|
2208 |
|
|
|
2209 |
|
|
* include/net/net.h (BSPLOG): Update for new start/end_console().
|
2210 |
|
|
|
2211 |
|
|
* src/io.c (gets):
|
2212 |
|
|
* include/redboot.h (_GETS_xxx): Define result codes from
|
2213 |
|
|
'gets()' function.
|
2214 |
|
|
|
2215 |
|
|
2000-11-28 Gary Thomas
|
2216 |
|
|
|
2217 |
|
|
* src/parse.c (parse): Support escaped quote marks inside of
|
2218 |
|
|
quoted string. "ab\"c\"" is 'ab"c"'.
|
2219 |
|
|
|
2220 |
|
|
* src/net/tftp_client.c (tftp_stream_open): Read first datum from
|
2221 |
|
|
file during open to ensure that errors are reported.
|
2222 |
|
|
|
2223 |
|
|
2000-11-27 Drew Moseley
|
2224 |
|
|
|
2225 |
|
|
* src/main.c: Switch to an application stack before running a
|
2226 |
|
|
user-downloaded app.
|
2227 |
|
|
|
2228 |
|
|
2000-11-20 Gary Thomas
|
2229 |
|
|
|
2230 |
|
|
* src/flash.c: Use CYGBLD_REDBOOT_MIN_IMAGE_SIZE.
|
2231 |
|
|
|
2232 |
|
|
* cdl/redboot.cdl(CYGBLD_REDBOOT_MIN_IMAGE_SIZE): Define this to
|
2233 |
|
|
be the minimum size allowed for FIS images.
|
2234 |
|
|
|
2235 |
|
|
* src/xyzModem.c: Tidy up debug support. Fix some synch problems
|
2236 |
|
|
so that X/Y modem protocols now work properly with Windows/Hyperterm.
|
2237 |
|
|
|
2238 |
|
|
2000-11-20 Mark Salter
|
2239 |
|
|
|
2240 |
|
|
* src/net/net_io.c (net_io_flush): Add __tcp_drain to make sure
|
2241 |
|
|
everything is successfully sent out.
|
2242 |
|
|
(net_io_control): Call net_io_flush for __COMMCTL_FLUSH_OUTPUT.
|
2243 |
|
|
|
2244 |
|
|
2000-11-19 Gary Thomas
|
2245 |
|
|
|
2246 |
|
|
* src/flash.c (fis_create): Print more info when length check fails.
|
2247 |
|
|
|
2248 |
|
|
* src/main.c: Split version display into separate command.
|
2249 |
|
|
|
2250 |
|
|
2000-11-06 Mark Salter
|
2251 |
|
|
|
2252 |
|
|
* src/syscall.c: New file. Common handling for bsp syscalls.
|
2253 |
|
|
|
2254 |
|
|
* cdl/redboot.cdl: Add CYGSEM_REDBOOT_BSP_SYSCALLS option to
|
2255 |
|
|
turn on BSP syscall support.
|
2256 |
|
|
|
2257 |
|
|
2000-11-06 Jesper Skov
|
2258 |
|
|
|
2259 |
|
|
* src/net/net_io.c (net_io_flush): Clear interrupt flag before
|
2260 |
|
|
setting breakpoint.
|
2261 |
|
|
|
2262 |
|
|
2000-10-30 Gary Thomas
|
2263 |
|
|
|
2264 |
|
|
* src/net/udp.c:
|
2265 |
|
|
* src/net/pktbuf.c:
|
2266 |
|
|
* src/net/net_io.c:
|
2267 |
|
|
* src/net/enet.c:
|
2268 |
|
|
* include/net/net.h: Minor cleanups to remove warnings.
|
2269 |
|
|
|
2270 |
|
|
* cdl/redboot.cdl: Support threads in all but RAM mode. Note:
|
2271 |
|
|
this should allow thread support in ROM and FLOPPY startup mode.
|
2272 |
|
|
|
2273 |
|
|
2000-10-27 Gary Thomas
|
2274 |
|
|
|
2275 |
|
|
* src/xyzModem.c (xyzModem_stream_open): Add extra delay during
|
2276 |
|
|
startup - to give the sender time to get started.
|
2277 |
|
|
|
2278 |
|
|
* src/flash.c (fis_load): Add "-c" option to show checksum of
|
2279 |
|
|
image after loading.
|
2280 |
|
|
(fis_list): Add "-c" to display stored checksums.
|
2281 |
|
|
|
2282 |
|
|
2000-10-26 Mark Salter
|
2283 |
|
|
|
2284 |
|
|
* src/load.c (do_load): Move some local variable declarations
|
2285 |
|
|
needed by xyzmodem support so they can be used when redboot
|
2286 |
|
|
networking not enabled.
|
2287 |
|
|
|
2288 |
|
|
2000-10-26 Gary Thomas
|
2289 |
|
|
|
2290 |
|
|
* cdl/redboot.cdl: Improve CDL so CYGSEM_HAL_ROM_MONITOR can
|
2291 |
|
|
be correctly infered (when building ROM versions).
|
2292 |
|
|
|
2293 |
|
|
* cdl/redboot.cdl:
|
2294 |
|
|
* src/load.c: Add support for xyzModem serial download.
|
2295 |
|
|
|
2296 |
|
|
* src/xyzModem.h:
|
2297 |
|
|
* src/xyzModem.c: New file(s).
|
2298 |
|
|
|
2299 |
|
|
2000-10-24 Gary Thomas
|
2300 |
|
|
|
2301 |
|
|
* src/flash.c:
|
2302 |
|
|
* cdl/redboot.cdl: Add new option which supports keeping all
|
2303 |
|
|
important RedBoot data "locked" in FLASH.
|
2304 |
|
|
|
2305 |
|
|
2000-10-23 Gary Thomas
|
2306 |
|
|
|
2307 |
|
|
* src/flash.c (fis_lookup): New exported function.
|
2308 |
|
|
(fis_load): Add memory load option. Also checksum data after copy.
|
2309 |
|
|
|
2310 |
|
|
* include/fis.h: Add 'data_length' member.
|
2311 |
|
|
Prototype for 'fis_lookup()'.
|
2312 |
|
|
|
2313 |
|
|
* src/main.c (bist): New [weak] function. Provide hook for
|
2314 |
|
|
platform specific "builtin tests". This will be overridden by
|
2315 |
|
|
platform based functions.
|
2316 |
|
|
|
2317 |
|
|
* cdl/redboot.cdl:
|
2318 |
|
|
* src/main.c (cyg_start):
|
2319 |
|
|
* src/flash.c: Script timeout now has a configurable resolution.
|
2320 |
|
|
|
2321 |
|
|
2000-10-21 Gary Thomas
|
2322 |
|
|
|
2323 |
|
|
* src/net/eth_drv.c: Removed obsolete file - now provided by
|
2324 |
|
|
standard IO/ETH package.
|
2325 |
|
|
|
2326 |
|
|
2000-10-20 Gary Thomas
|
2327 |
|
|
|
2328 |
|
|
* src/net/pktbuf.c: Diagnostc - add buffer [list] dumper.
|
2329 |
|
|
|
2330 |
|
|
* src/net/enet.c: Diagnostic - dump when run out of buffers.
|
2331 |
|
|
|
2332 |
|
|
* src/flash.c: Make sure RedBoot flash image size meets
|
2333 |
|
|
certain minimums - currently at least 128K.
|
2334 |
|
|
|
2335 |
|
|
2000-10-19 Gary Thomas
|
2336 |
|
|
|
2337 |
|
|
* cdl/redboot.cdl: Add dependency on 'vectors.o'.
|
2338 |
|
|
|
2339 |
|
|
* include/redboot.h:
|
2340 |
|
|
* src/misc_funs.c (strcpy, memcmp):
|
2341 |
|
|
Make function signature [prototype] conform to standards.
|
2342 |
|
|
(memmove, memset): Remove.
|
2343 |
|
|
|
2344 |
|
|
2000-10-18 Gary Thomas
|
2345 |
|
|
|
2346 |
|
|
* cdl/redboot.cdl: Improve dependency checking in make rules.
|
2347 |
|
|
|
2348 |
|
|
2000-10-17 Gary Thomas
|
2349 |
|
|
|
2350 |
|
|
* src/flash.c (fis_create): Add new "-s" option to support padded
|
2351 |
|
|
images (data size not the same as image size in FLASH).
|
2352 |
|
|
|
2353 |
|
|
* include/fis.h: New file - make structure available for export.
|
2354 |
|
|
|
2355 |
|
|
* src/parse.c: New file.
|
2356 |
|
|
|
2357 |
|
|
* include/redboot.h:
|
2358 |
|
|
* src/main.c:
|
2359 |
|
|
* cdl/redboot.cdl: Split command line parsing functions to separate
|
2360 |
|
|
file.
|
2361 |
|
|
|
2362 |
|
|
2000-10-05 Gary Thomas
|
2363 |
|
|
|
2364 |
|
|
* src/net/net_io.c (net_io_revert_console):
|
2365 |
|
|
(net_io_assume_console):
|
2366 |
|
|
* src/main.c (cyg_start):
|
2367 |
|
|
* src/io.c (gets):
|
2368 |
|
|
* include/redboot.h: Add notion of "console_echo" so that telnet
|
2369 |
|
|
connections don't echo doubly. Note: there is no telnet negotiation
|
2370 |
|
|
at this time, so some things are still not perfect.
|
2371 |
|
|
|
2372 |
|
|
2000-09-17 Gary Thomas
|
2373 |
|
|
|
2374 |
|
|
* src/main.c: Display platform/cpu identification strings if available.
|
2375 |
|
|
|
2376 |
|
|
* cdl/redboot.cdl: Improve CDL to include thread support if
|
2377 |
|
|
built in ROM mode. Also, better handling of network option.
|
2378 |
|
|
|
2379 |
|
|
2000-09-15 Gary Thomas
|
2380 |
|
|
|
2381 |
|
|
* src/flash.c (fis_create): Length (and flash address) must match
|
2382 |
|
|
exactly when replacing an image.
|
2383 |
|
|
Only warn of invalid memory addresses, not fail.
|
2384 |
|
|
|
2385 |
|
|
2000-09-13 Gary Thomas
|
2386 |
|
|
|
2387 |
|
|
* src/load.c: Better handling of bad data / checksum errors.
|
2388 |
|
|
|
2389 |
|
|
* src/flash.c: Handle case of replacing an image, even if no flash
|
2390 |
|
|
address was given.
|
2391 |
|
|
|
2392 |
|
|
* include/net/tftp_support.h: Modify timeouts, etc, for better response.
|
2393 |
|
|
|
2394 |
|
|
2000-09-12 Gary Thomas
|
2395 |
|
|
|
2396 |
|
|
* src/io.c (mon_read_char_with_timeout): Only "select" a console
|
2397 |
|
|
when real data (non-zero) arrives.
|
2398 |
|
|
|
2399 |
|
|
2000-09-10 Gary Thomas
|
2400 |
|
|
|
2401 |
|
|
* src/load.c:
|
2402 |
|
|
* src/flash.c: Remove warnings if built without networking.
|
2403 |
|
|
|
2404 |
|
|
2000-09-11 Jonathan Larmour
|
2405 |
|
|
|
2406 |
|
|
* include/redboot.h (_RedBoot_init): Define tables entries as structs
|
2407 |
|
|
with one member rather than just func ptrs, to enforce alignment rules
|
2408 |
|
|
* src/main.c (cyg_start): Change to use struct init_tab_entry per above
|
2409 |
|
|
|
2410 |
|
|
2000-09-07 Andrew Lunn
|
2411 |
|
|
|
2412 |
|
|
* src/load.c, include/redboot.h: renamed the getc functions to
|
2413 |
|
|
redboot_getc and made them global so custom boot loaders can use
|
2414 |
|
|
them.
|
2415 |
|
|
|
2416 |
|
|
2000-09-06 Gary Thomas
|
2417 |
|
|
|
2418 |
|
|
* doc/users_guide: Add info about region locking/unlocking.
|
2419 |
|
|
|
2420 |
|
|
2000-09-04 Jonathan Larmour
|
2421 |
|
|
|
2422 |
|
|
* include/flash_config.h (struct config_option): Apply
|
2423 |
|
|
CYG_HAL_TABLE_TYPE
|
2424 |
|
|
* include/redboot.h: Ditto for struct cmd and void_fun_ptr
|
2425 |
|
|
|
2426 |
|
|
2000-09-01 Hugo Tyson
|
2427 |
|
|
|
2428 |
|
|
* src/flash.c: CYGHWR_IO_FLASH_BLOCK_LOCKING is an interface, so
|
2429 |
|
|
it's always defined; look for > 0 instead.
|
2430 |
|
|
|
2431 |
|
|
2000-08-28 Gary Thomas
|
2432 |
|
|
|
2433 |
|
|
* src/flash.c: Support block locking if available.
|
2434 |
|
|
|
2435 |
|
|
2000-08-25 Gary Thomas
|
2436 |
|
|
|
2437 |
|
|
* src/load.c (getc): Fix edge condition when file is an exact multiple
|
2438 |
|
|
of internal buffer size (got stuck at end of file).
|
2439 |
|
|
|
2440 |
|
|
2000-08-24 Gary Thomas
|
2441 |
|
|
|
2442 |
|
|
* src/load.c: Fix some prints. Also use command line parse functions
|
2443 |
|
|
instead of ad hoc code.
|
2444 |
|
|
|
2445 |
|
|
* src/flash.c: Better configuration control.
|
2446 |
|
|
|
2447 |
|
|
2000-08-23 Gary Thomas
|
2448 |
|
|
|
2449 |
|
|
* src/load.c (do_load): Use paramterized command line parser.
|
2450 |
|
|
|
2451 |
|
|
* include/redboot.h:
|
2452 |
|
|
* src/main.c (scan_opts): Better support for simple flags.
|
2453 |
|
|
|
2454 |
|
|
* src/flash.c: Add "-l" (list only) option to 'fconfig'.
|
2455 |
|
|
|
2456 |
|
|
* src/net/net_io.c: Add handling of ^C via network connections.
|
2457 |
|
|
|
2458 |
|
|
* include/flash_config.h:
|
2459 |
|
|
|
2460 |
|
|
* include/redboot.h: Fully qualify table entries (for proper
|
2461 |
|
|
sorting and order control).
|
2462 |
|
|
|
2463 |
|
|
* cdl/redboot.cdl: Update requirements to support ^C and thread
|
2464 |
|
|
debugging.
|
2465 |
|
|
|
2466 |
|
|
2000-08-21 Gary Thomas
|
2467 |
|
|
|
2468 |
|
|
* cdl/redboot.cdl:
|
2469 |
|
|
* src/net/pktbuf.c (MAX_PKTBUF): Add CDL configury for number
|
2470 |
|
|
of network packet buffers.
|
2471 |
|
|
|
2472 |
|
|
* src/net/net_io.c: Change config param names to enforce
|
2473 |
|
|
layout (config fields are sorted by name).
|
2474 |
|
|
|
2475 |
|
|
* src/load.c: Adapt to changes in 'parse_num'.
|
2476 |
|
|
|
2477 |
|
|
* src/main.c (parse_num): Now takes additional arguments which
|
2478 |
|
|
allow a delimiter set and returning the end of number string.
|
2479 |
|
|
|
2480 |
|
|
* include/redboot.h: Augment 'parse_num' to handle strings
|
2481 |
|
|
with more than one number, delimiters, etc.
|
2482 |
|
|
|
2483 |
|
|
* src/flash.c:
|
2484 |
|
|
* include/flash_config.h: Add support for ethernet hardware
|
2485 |
|
|
addresses.
|
2486 |
|
|
|
2487 |
|
|
2000-08-20 Gary Thomas
|
2488 |
|
|
|
2489 |
|
|
* include/flash_config.h: New file - configuration data layout.
|
2490 |
|
|
|
2491 |
|
|
* src/flash.c: Restructure config data to be 100% table driven.
|
2492 |
|
|
|
2493 |
|
|
* include/redboot.h:
|
2494 |
|
|
* include/net/bootp.h:
|
2495 |
|
|
* include/net/net.h:
|
2496 |
|
|
* include/net/tftp.h:
|
2497 |
|
|
* include/net/tftp_support.h: New location.
|
2498 |
|
|
|
2499 |
|
|
* src/printf.c:
|
2500 |
|
|
* src/net/arp.c:
|
2501 |
|
|
* src/net/bootp.c:
|
2502 |
|
|
* src/net/cksum.c:
|
2503 |
|
|
* src/net/enet.c:
|
2504 |
|
|
* src/net/icmp.c:
|
2505 |
|
|
* src/net/inet_addr.c:
|
2506 |
|
|
* src/net/ip.c:
|
2507 |
|
|
* src/net/net_io.c:
|
2508 |
|
|
* src/net/pktbuf.c:
|
2509 |
|
|
* src/net/tcp.c:
|
2510 |
|
|
* src/net/tftp_client.c:
|
2511 |
|
|
* src/net/timers.c:
|
2512 |
|
|
* src/net/udp.c: Include files moved.
|
2513 |
|
|
|
2514 |
|
|
* src/redboot.h:
|
2515 |
|
|
* src/net/bootp.h:
|
2516 |
|
|
* src/net/net.h:
|
2517 |
|
|
* src/net/tftp.h:
|
2518 |
|
|
* src/net/tftp_support.h: Files moved.
|
2519 |
|
|
|
2520 |
|
|
* cdl/redboot.cdl: Move .h files to include directory.
|
2521 |
|
|
|
2522 |
|
|
2000-08-16 Gary Thomas
|
2523 |
|
|
|
2524 |
|
|
* src/io.c (dump_buf_with_offset): Clean up warnings.
|
2525 |
|
|
|
2526 |
|
|
* src/net/net_io.c: Cosmetic - clean up TCP debug code.
|
2527 |
|
|
|
2528 |
|
|
* src/main.c (cmd_search): Search for ambiguous commands was
|
2529 |
|
|
wrong since layout change (only know the limits, don't rely
|
2530 |
|
|
on "null" entry).
|
2531 |
|
|
|
2532 |
|
|
2000-08-14 Gary Thomas
|
2533 |
|
|
|
2534 |
|
|
* cdl/redboot.cdl: Support for plugin (table driven) modules.
|
2535 |
|
|
|
2536 |
|
|
* src/flash.c: Lots of warning cleanups.
|
2537 |
|
|
|
2538 |
|
|
* src/io.c: Fix some flash configury.
|
2539 |
|
|
|
2540 |
|
|
* src/load.c: Make internal buffer unsigned so 'raw' mode
|
2541 |
|
|
works properly. Also, support as a plugin command.
|
2542 |
|
|
|
2543 |
|
|
* src/main.c:
|
2544 |
|
|
* src/redboot.h: Add support for "tableized" entries. In
|
2545 |
|
|
particular, commands and platform initializations can now
|
2546 |
|
|
be handled via anonymous tables.
|
2547 |
|
|
|
2548 |
|
|
* src/net/net.h: Update for changes in network init setup.
|
2549 |
|
|
|
2550 |
|
|
* src/net/net_io.c: Move network initialization here.
|
2551 |
|
|
|
2552 |
|
|
2000-08-07 Gary Thomas
|
2553 |
|
|
|
2554 |
|
|
* src/net/net.h:
|
2555 |
|
|
* src/redboot.h:
|
2556 |
|
|
* src/main.c: Cosmetic [warnings] cleanups.
|
2557 |
|
|
|
2558 |
|
|
2000-08-03 Gary Thomas
|
2559 |
|
|
|
2560 |
|
|
* cdl/redboot.cdl: Ethernet driver now comes from common
|
2561 |
|
|
I/O package.
|
2562 |
|
|
|
2563 |
|
|
* src/io.c (verify_action): Force normal I/O (no script)
|
2564 |
|
|
to get response.
|
2565 |
|
|
|
2566 |
|
|
* src/main.c: Add script timeout to allow user to abort before
|
2567 |
|
|
script is run on boot.
|
2568 |
|
|
|
2569 |
|
|
* src/printf.c: '%p' implies zero filled long format.
|
2570 |
|
|
|
2571 |
|
|
* src/flash.c:
|
2572 |
|
|
* src/redboot.h: Add TCP socket and script timeouts.
|
2573 |
|
|
|
2574 |
|
|
* src/net/net_io.c: TCP socket for debug is now configurable
|
2575 |
|
|
and settable in FLASH. Better handling of GDB $O packets (less
|
2576 |
|
|
latency). Additional small changes to support network debug.
|
2577 |
|
|
|
2578 |
|
|
2000-07-30 Gary Thomas
|
2579 |
|
|
|
2580 |
|
|
* src/flash.c: Make config data safer with a 'key'. Also, don't
|
2581 |
|
|
erase the config data when doing a full FIS initialization.
|
2582 |
|
|
Finally, ensure that the commands which erase data are not going
|
2583 |
|
|
to erase the current code!
|
2584 |
|
|
|
2585 |
|
|
* src/io.c (gets): Treat 'delete' char like ^H.
|
2586 |
|
|
|
2587 |
|
|
2000-07-30 Gary Thomas
|
2588 |
|
|
|
2589 |
|
|
* cdl/redboot.cdl: Add option for FLASH based configuration data.
|
2590 |
|
|
|
2591 |
|
|
* src/flash.c: Lots of changes to support FLASH based configuration
|
2592 |
|
|
data, including routines to read and maintain this data.
|
2593 |
|
|
|
2594 |
|
|
* src/main.c:
|
2595 |
|
|
* src/redboot.h: Many changes for FLASH configuration data support.
|
2596 |
|
|
Also split out table driven option/parameter parsing.
|
2597 |
|
|
|
2598 |
|
|
* src/io.c: Allow ^C to abort input. Fix timeout stuff to
|
2599 |
|
|
work better while waiting for console to be discovered.
|
2600 |
|
|
Add support for boot-time script.
|
2601 |
|
|
|
2602 |
|
|
* src/load.c: Use new IP/INET address functions.
|
2603 |
|
|
|
2604 |
|
|
* src/net/bootp.c: Remove force of net_debug and result print.
|
2605 |
|
|
|
2606 |
|
|
* src/net/inet_addr.c: IP/INET address conversion routines.
|
2607 |
|
|
|
2608 |
|
|
* src/net/net.h: Make 'net_debug' be boolean. Add IP/INET
|
2609 |
|
|
address conversion routine prototypes.
|
2610 |
|
|
|
2611 |
|
|
2000-07-29 Gary Thomas
|
2612 |
|
|
|
2613 |
|
|
* src/flash.c: Misc little cleanups.
|
2614 |
|
|
|
2615 |
|
|
* src/load.c: Print address range of loaded image/file.
|
2616 |
|
|
|
2617 |
|
|
2000-07-29 Gary Thomas
|
2618 |
|
|
|
2619 |
|
|
* src/flash.c: Add 'load' command which loads an image into RAM.
|
2620 |
|
|
|
2621 |
|
|
* src/load.c: Add '-raw' switch to allow loading a file without
|
2622 |
|
|
trying to interpret it as an executable image.
|
2623 |
|
|
|
2624 |
|
|
* src/main.c:
|
2625 |
|
|
* src/redboot.h: Make command parsing functions public.
|
2626 |
|
|
|
2627 |
|
|
2000-07-29 Gary Thomas
|
2628 |
|
|
|
2629 |
|
|
* src/net/bootp.c: Turn on network debug during address discovery.
|
2630 |
|
|
(Note: this will be optional/configurable in the future).
|
2631 |
|
|
|
2632 |
|
|
* src/net/eth_drv.c: Use 'net_debug' for diagnostic dumps.
|
2633 |
|
|
|
2634 |
|
|
* src/redboot.h: Prototypes for new functions.
|
2635 |
|
|
|
2636 |
|
|
* src/printf.c (vprintf): New function.
|
2637 |
|
|
|
2638 |
|
|
* src/io.c (verify_action): New function.
|
2639 |
|
|
|
2640 |
|
|
* cdl/redboot.cdl: Make FLASH support optional.
|
2641 |
|
|
|
2642 |
|
|
* src/flash.c: New file - implements simple FLASH Image System.
|
2643 |
|
|
|
2644 |
|
|
* src/misc_funs.c (memset):
|
2645 |
|
|
(strcpy): New functions.
|
2646 |
|
|
|
2647 |
|
|
* src/main.c: Split flash functions to separate file.
|
2648 |
|
|
|
2649 |
|
|
2000-07-28 Gary Thomas
|
2650 |
|
|
|
2651 |
|
|
* src/load.c: Add "-v" switch to turn on a little 'spinner' while
|
2652 |
|
|
downloading to provide some feedback to the user.
|
2653 |
|
|
|
2654 |
|
|
* src/printf.c: Use only RedBoot I/O to allow console to "float."
|
2655 |
|
|
|
2656 |
|
|
* src/net/bootp.c: Force hardware type to be "original" ethernet.
|
2657 |
|
|
|
2658 |
|
|
* cdl/redboot.cdl:
|
2659 |
|
|
* src/redboot.h:
|
2660 |
|
|
* src/main.c:
|
2661 |
|
|
* src/io.c:
|
2662 |
|
|
* src/net/net_io.c: Support "floating" console, chosen from
|
2663 |
|
|
available serial I/O channels.
|
2664 |
|
|
|
2665 |
|
|
2000-07-26 Gary Thomas
|
2666 |
|
|
|
2667 |
|
|
* src/net/tftp_support.h:
|
2668 |
|
|
* src/net/tftp_client.c: Add new stream oriented functions.
|
2669 |
|
|
|
2670 |
|
|
* src/net/net.h: More prototypes.
|
2671 |
|
|
|
2672 |
|
|
* src/redboot.h: Move support functions here. Update interfaces.
|
2673 |
|
|
|
2674 |
|
|
* src/printf.c: Support %l (long) qualifier.
|
2675 |
|
|
|
2676 |
|
|
* src/misc_funs.c: Misc cleanups. Add case insensitive routines.
|
2677 |
|
|
|
2678 |
|
|
* src/main.c: FLASH functionality is now in it's own package.
|
2679 |
|
|
|
2680 |
|
|
* src/net/eth_drv.c:
|
2681 |
|
|
* include/eth_drv.h: Update to new interface conventions.
|
2682 |
|
|
|
2683 |
|
|
* cdl/redboot.cdl: Changes for new files(s).
|
2684 |
|
|
|
2685 |
|
|
2000-07-24 Gary Thomas
|
2686 |
|
|
|
2687 |
|
|
* src/net/inet_addr.c: New file. Support for IP address parsing.
|
2688 |
|
|
|
2689 |
|
|
* src/load.c: New file. Split out download functionality.
|
2690 |
|
|
Restructured to support download via stream (zmodem).
|
2691 |
|
|
|
2692 |
|
|
* src/misc_funs.c: Add case insensitive compare functions.
|
2693 |
|
|
|
2694 |
|
|
2000-07-22 Gary Thomas
|
2695 |
|
|
|
2696 |
|
|
* src/main.c (do_load): Add proper argument parsing.
|
2697 |
|
|
|
2698 |
|
|
2000-07-21 Gary Thomas
|
2699 |
|
|
|
2700 |
|
|
* src/io.c (gets): Treat "\n\r" and "\r\n" as exactluy "\n". This
|
2701 |
|
|
solves problems of simply ignoring "\n" on terminals which can only
|
2702 |
|
|
send that character while still working with telnet/TCP connections.
|
2703 |
|
|
|
2704 |
|
|
* src/net/net_io.c: New file. Supports local I/O via a TCP channel.
|
2705 |
|
|
Additional changes to support TCP channel for GDB debug I/O.
|
2706 |
|
|
|
2707 |
|
|
* cdl/redboot.cdl: Clean up dependencies. Extend network configuration.
|
2708 |
|
|
|
2709 |
|
|
* src/io.c (gets): Ignore blank lines which contain only '\n'.
|
2710 |
|
|
This works fine for terminal I/O since they will have '\r' and it
|
2711 |
|
|
allows reasonable handling when connected via telnet/TCP.
|
2712 |
|
|
|
2713 |
|
|
* src/main.c: Better support for network connections.
|
2714 |
|
|
Also some reworking of FLASH routines [will be moved later].
|
2715 |
|
|
More error checking and better error messages in download code.
|
2716 |
|
|
|
2717 |
|
|
* src/net/net.h: Reorder 'tcp_socket' fields to enforce proper
|
2718 |
|
|
alignment of data buffer [needs to be on dword boundary].
|
2719 |
|
|
|
2720 |
|
|
* src/net/tcp.c: Many small changes getting 'endian'-ness correct.
|
2721 |
|
|
|
2722 |
|
|
* src/net/tftp_client.c (tftp_error): New function - returns a
|
2723 |
|
|
string representing the error code [for humans].
|
2724 |
|
|
|
2725 |
|
|
2000-07-16 Gary Thomas
|
2726 |
|
|
|
2727 |
|
|
* cdl/redboot.cdl: Make network support configurable/optional.
|
2728 |
|
|
|
2729 |
|
|
* src/io.c: Add command line input function.
|
2730 |
|
|
|
2731 |
|
|
* src/main.c: Lots of new functions, command line processing, etc.
|
2732 |
|
|
|
2733 |
|
|
* src/misc_funs.c (strcmp, strncmp): New function(s).
|
2734 |
|
|
|
2735 |
|
|
* src/printf.c: Add support for "%p" (pointers).
|
2736 |
|
|
|
2737 |
|
|
* src/redboot.h: Expand, move global vars, here, etc.
|
2738 |
|
|
|
2739 |
|
|
* src/net/eth_drv.c: Make quieter, change "no interface" string.
|
2740 |
|
|
|
2741 |
|
|
* src/net/net.h (__LITTLE_ENDIAN__): Avoid redefining this on platforms
|
2742 |
|
|
where GCC does it for us.
|
2743 |
|
|
|
2744 |
|
|
2000-07-12 Gary Thomas
|
2745 |
|
|
|
2746 |
|
|
* cdl/redboot.cdl: New file(s).
|
2747 |
|
|
|
2748 |
|
|
//===========================================================================
|
2749 |
|
|
//####ECOSGPLCOPYRIGHTBEGIN####
|
2750 |
|
|
// -------------------------------------------
|
2751 |
|
|
// This file is part of eCos, the Embedded Configurable Operating System.
|
2752 |
|
|
// Copyright (C) 1998, 1999, 2000, 2001, 2002 Red Hat, Inc.
|
2753 |
|
|
//
|
2754 |
|
|
// eCos is free software; you can redistribute it and/or modify it under
|
2755 |
|
|
// the terms of the GNU General Public License as published by the Free
|
2756 |
|
|
// Software Foundation; either version 2 or (at your option) any later version.
|
2757 |
|
|
//
|
2758 |
|
|
// eCos is distributed in the hope that it will be useful, but WITHOUT ANY
|
2759 |
|
|
// WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
2760 |
|
|
// FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
2761 |
|
|
// for more details.
|
2762 |
|
|
//
|
2763 |
|
|
// You should have received a copy of the GNU General Public License along
|
2764 |
|
|
// with eCos; if not, write to the Free Software Foundation, Inc.,
|
2765 |
|
|
// 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
|
2766 |
|
|
//
|
2767 |
|
|
// As a special exception, if other files instantiate templates or use macros
|
2768 |
|
|
// or inline functions from this file, or you compile this file and link it
|
2769 |
|
|
// with other works to produce a work based on this file, this file does not
|
2770 |
|
|
// by itself cause the resulting work to be covered by the GNU General Public
|
2771 |
|
|
// License. However the source code for this file must still be made available
|
2772 |
|
|
// in accordance with section (3) of the GNU General Public License.
|
2773 |
|
|
//
|
2774 |
|
|
// This exception does not invalidate any other reasons why a work based on
|
2775 |
|
|
// this file might be covered by the GNU General Public License.
|
2776 |
|
|
//
|
2777 |
|
|
// Alternative licenses for eCos may be arranged by contacting Red Hat, Inc.
|
2778 |
|
|
// at http://sources.redhat.com/ecos/ecos-license/
|
2779 |
|
|
// -------------------------------------------
|
2780 |
|
|
//####ECOSGPLCOPYRIGHTEND####
|
2781 |
|
|
//===========================================================================
|