1 | <!-- Copyright (C) 2007 Red Hat, Inc. --> |
---|
2 | <!-- This material may be distributed only subject to the terms --> |
---|
3 | <!-- and conditions set forth in the Open Publication License, v1.0 --> |
---|
4 | <!-- or later (the latest version is presently available at --> |
---|
5 | <!-- http://www.opencontent.org/openpub/). --> |
---|
6 | <!-- Distribution of the work or derivative of the work in any --> |
---|
7 | <!-- standard (paper) book form is prohibited unless prior --> |
---|
8 | <!-- permission is obtained from the copyright holder. --> |
---|
9 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> |
---|
10 | <HTML |
---|
11 | ><HEAD |
---|
12 | ><TITLE |
---|
13 | >Persistent State Flash-based Configuration and Control</TITLE |
---|
14 | ><meta name="MSSmartTagsPreventParsing" content="TRUE"> |
---|
15 | <META |
---|
16 | NAME="GENERATOR" |
---|
17 | CONTENT="Modular DocBook HTML Stylesheet Version 1.79"><LINK |
---|
18 | REL="HOME" |
---|
19 | TITLE="RedBoot™ User's Guide" |
---|
20 | HREF="redboot.html"><LINK |
---|
21 | REL="UP" |
---|
22 | TITLE="RedBoot Commands and Examples" |
---|
23 | HREF="redboot-commands-and-examples.html"><LINK |
---|
24 | REL="PREVIOUS" |
---|
25 | TITLE="Flash Image System (FIS)" |
---|
26 | HREF="flash-image-system.html"><LINK |
---|
27 | REL="NEXT" |
---|
28 | TITLE="Executing Programs from RedBoot" |
---|
29 | HREF="executing-programs.html"></HEAD |
---|
30 | ><BODY |
---|
31 | CLASS="SECT1" |
---|
32 | BGCOLOR="#FFFFFF" |
---|
33 | TEXT="#000000" |
---|
34 | LINK="#0000FF" |
---|
35 | VLINK="#840084" |
---|
36 | ALINK="#0000FF" |
---|
37 | ><DIV |
---|
38 | CLASS="NAVHEADER" |
---|
39 | ><TABLE |
---|
40 | SUMMARY="Header navigation table" |
---|
41 | WIDTH="100%" |
---|
42 | BORDER="0" |
---|
43 | CELLPADDING="0" |
---|
44 | CELLSPACING="0" |
---|
45 | ><TR |
---|
46 | ><TH |
---|
47 | COLSPAN="3" |
---|
48 | ALIGN="center" |
---|
49 | >RedBoot™ User's Guide: Document Version 2.04, February 2007</TH |
---|
50 | ></TR |
---|
51 | ><TR |
---|
52 | ><TD |
---|
53 | WIDTH="10%" |
---|
54 | ALIGN="left" |
---|
55 | VALIGN="bottom" |
---|
56 | ><A |
---|
57 | HREF="flash-image-system.html" |
---|
58 | ACCESSKEY="P" |
---|
59 | >Prev</A |
---|
60 | ></TD |
---|
61 | ><TD |
---|
62 | WIDTH="80%" |
---|
63 | ALIGN="center" |
---|
64 | VALIGN="bottom" |
---|
65 | >Chapter 2. RedBoot Commands and Examples</TD |
---|
66 | ><TD |
---|
67 | WIDTH="10%" |
---|
68 | ALIGN="right" |
---|
69 | VALIGN="bottom" |
---|
70 | ><A |
---|
71 | HREF="executing-programs.html" |
---|
72 | ACCESSKEY="N" |
---|
73 | >Next</A |
---|
74 | ></TD |
---|
75 | ></TR |
---|
76 | ></TABLE |
---|
77 | ><HR |
---|
78 | ALIGN="LEFT" |
---|
79 | WIDTH="100%"></DIV |
---|
80 | ><DIV |
---|
81 | CLASS="SECT1" |
---|
82 | ><H1 |
---|
83 | CLASS="SECT1" |
---|
84 | ><A |
---|
85 | NAME="PERSISTENT-STATE-FLASH" |
---|
86 | >Persistent State Flash-based Configuration and Control</A |
---|
87 | ></H1 |
---|
88 | ><P |
---|
89 | ></P |
---|
90 | ><P |
---|
91 | >RedBoot provides flash management support for storage in the flash memory |
---|
92 | of multiple executable images and of non-volatile information such as IP addresses |
---|
93 | and other network information.</P |
---|
94 | ><P |
---|
95 | >RedBoot on platforms that support flash based configuration information |
---|
96 | will report the following message the first time that RedBoot is booted on |
---|
97 | the target:</P |
---|
98 | ><TABLE |
---|
99 | BORDER="5" |
---|
100 | BGCOLOR="#E0E0F0" |
---|
101 | WIDTH="70%" |
---|
102 | ><TR |
---|
103 | ><TD |
---|
104 | ><PRE |
---|
105 | CLASS="SCREEN" |
---|
106 | >flash configuration checksum error or invalid key</PRE |
---|
107 | ></TD |
---|
108 | ></TR |
---|
109 | ></TABLE |
---|
110 | ><P |
---|
111 | >This error can be ignored if no flash based configuration is desired, |
---|
112 | or can be silenced by running the <B |
---|
113 | CLASS="COMMAND" |
---|
114 | >fconfig</B |
---|
115 | > |
---|
116 | command as described below. At this point you may also wish to run the <B |
---|
117 | CLASS="COMMAND" |
---|
118 | >fis init</B |
---|
119 | > command. See other fis commands in <A |
---|
120 | HREF="flash-image-system.html" |
---|
121 | >the Section called <I |
---|
122 | >Flash Image System (FIS)</I |
---|
123 | ></A |
---|
124 | >.</P |
---|
125 | ><P |
---|
126 | >Certain control and configuration information used by RedBoot can be |
---|
127 | stored in flash. </P |
---|
128 | ><P |
---|
129 | >The details of what information is maintained in flash differ, based |
---|
130 | on the platform and the configuration. However, the basic operation used to |
---|
131 | maintain this information is the same. Using the <B |
---|
132 | CLASS="COMMAND" |
---|
133 | >fconfig -l</B |
---|
134 | > command, the information may be displayed and/or changed.</P |
---|
135 | ><P |
---|
136 | >If the optional flag <SAMP |
---|
137 | CLASS="COMPUTEROUTPUT" |
---|
138 | >-i</SAMP |
---|
139 | > is specified, |
---|
140 | then the configuration database will be reset to its default |
---|
141 | state. This is also needed the first time RedBoot is installed on the |
---|
142 | target, or when updating to a newer RedBoot with different |
---|
143 | configuration keys.</P |
---|
144 | ><P |
---|
145 | >If the optional flag <SAMP |
---|
146 | CLASS="COMPUTEROUTPUT" |
---|
147 | >-l</SAMP |
---|
148 | > is specified, |
---|
149 | the configuration data is simply listed. Otherwise, each configuration parameter |
---|
150 | will be displayed and you are given a chance to change it. The entire value |
---|
151 | must be typed - typing just carriage return will leave a value unchanged. |
---|
152 | Boolean values may be entered using the first letter (<SAMP |
---|
153 | CLASS="COMPUTEROUTPUT" |
---|
154 | >t</SAMP |
---|
155 | > |
---|
156 | for true, <SAMP |
---|
157 | CLASS="COMPUTEROUTPUT" |
---|
158 | >f</SAMP |
---|
159 | > for false). At any time the editing |
---|
160 | process may be stopped simply by entering a period (.) on the line. Entering |
---|
161 | the caret (^) moves the editing back to the previous item. See “RedBoot |
---|
162 | Editing Commands”, <A |
---|
163 | HREF="redboot-editing-commands.html" |
---|
164 | >the Section called <I |
---|
165 | >RedBoot Editing Commands</I |
---|
166 | ></A |
---|
167 | >. </P |
---|
168 | ><P |
---|
169 | >If any changes are made in the configuration, then the updated data |
---|
170 | will be written back to flash after getting acknowledgement from the user.</P |
---|
171 | ><P |
---|
172 | >If the optional flag <SAMP |
---|
173 | CLASS="COMPUTEROUTPUT" |
---|
174 | >-n</SAMP |
---|
175 | > is specified |
---|
176 | (with or without <SAMP |
---|
177 | CLASS="COMPUTEROUTPUT" |
---|
178 | >-l</SAMP |
---|
179 | >) then “nicknames” |
---|
180 | of the entries are used. These are shorter and less descriptive than |
---|
181 | “full” names. The full name may also be displayed by adding the |
---|
182 | <SAMP |
---|
183 | CLASS="COMPUTEROUTPUT" |
---|
184 | >-f</SAMP |
---|
185 | > flag.</P |
---|
186 | ><P |
---|
187 | >The reason for telling you nicknames is that a quick way to set a single |
---|
188 | entry is provided, using the format |
---|
189 | <TABLE |
---|
190 | BORDER="5" |
---|
191 | BGCOLOR="#E0E0F0" |
---|
192 | WIDTH="70%" |
---|
193 | ><TR |
---|
194 | ><TD |
---|
195 | ><PRE |
---|
196 | CLASS="SCREEN" |
---|
197 | > RedBoot> <KBD |
---|
198 | CLASS="USERINPUT" |
---|
199 | >fconfig <TT |
---|
200 | CLASS="REPLACEABLE" |
---|
201 | ><I |
---|
202 | >nickname</I |
---|
203 | ></TT |
---|
204 | > <TT |
---|
205 | CLASS="REPLACEABLE" |
---|
206 | ><I |
---|
207 | >value</I |
---|
208 | ></TT |
---|
209 | ></KBD |
---|
210 | ></PRE |
---|
211 | ></TD |
---|
212 | ></TR |
---|
213 | ></TABLE |
---|
214 | > |
---|
215 | If no |
---|
216 | value is supplied, the command will list and prompt for only that entry. |
---|
217 | If a value is supplied, then the entry will be set to that value. You will |
---|
218 | be prompted whether to write the new information into flash if any change |
---|
219 | was made. For example |
---|
220 | <TABLE |
---|
221 | BORDER="5" |
---|
222 | BGCOLOR="#E0E0F0" |
---|
223 | WIDTH="70%" |
---|
224 | ><TR |
---|
225 | ><TD |
---|
226 | ><PRE |
---|
227 | CLASS="SCREEN" |
---|
228 | > RedBoot> <KBD |
---|
229 | CLASS="USERINPUT" |
---|
230 | >fconfig -l -n</KBD |
---|
231 | > |
---|
232 | boot_script: false |
---|
233 | bootp: false |
---|
234 | bootp_my_ip: 10.16.19.176 |
---|
235 | bootp_server_ip: 10.16.19.66 |
---|
236 | dns_ip: 10.16.19.1 |
---|
237 | gdb_port: 9000 |
---|
238 | net_debug: false |
---|
239 | RedBoot> <KBD |
---|
240 | CLASS="USERINPUT" |
---|
241 | >fconfig bootp_my_ip 10.16.19.177</KBD |
---|
242 | > |
---|
243 | bootp_my_ip: 10.16.19.176 Setting to 10.16.19.177 |
---|
244 | Update RedBoot non-volatile configuration - are you sure (y/n)? <KBD |
---|
245 | CLASS="USERINPUT" |
---|
246 | >y</KBD |
---|
247 | > |
---|
248 | ... Unlock from 0x507c0000-0x507e0000: . |
---|
249 | ... Erase from 0x507c0000-0x507e0000: . |
---|
250 | ... Program from 0x0000a8d0-0x0000acd0 at 0x507c0000: . |
---|
251 | ... Lock from 0x507c0000-0x507e0000: . |
---|
252 | RedBoot></PRE |
---|
253 | ></TD |
---|
254 | ></TR |
---|
255 | ></TABLE |
---|
256 | ></P |
---|
257 | ><P |
---|
258 | >Additionally, nicknames can be used like aliases via the format %{nickname}. |
---|
259 | This allows the values stored by <KBD |
---|
260 | CLASS="USERINPUT" |
---|
261 | >fconfig</KBD |
---|
262 | > to be used |
---|
263 | directly by scripts and commands.</P |
---|
264 | ><P |
---|
265 | >Depending on how your terminal program is connected and its |
---|
266 | capabilities, you might find that you are unable to use line-editing to |
---|
267 | delete the ‘old’ value when using the default behaviour of |
---|
268 | <B |
---|
269 | CLASS="COMMAND" |
---|
270 | >fconfig <TT |
---|
271 | CLASS="REPLACEABLE" |
---|
272 | ><I |
---|
273 | >nickname</I |
---|
274 | ></TT |
---|
275 | ></B |
---|
276 | > or just |
---|
277 | plain <B |
---|
278 | CLASS="COMMAND" |
---|
279 | >fconfig</B |
---|
280 | >, as shown in this example: |
---|
281 | <TABLE |
---|
282 | BORDER="5" |
---|
283 | BGCOLOR="#E0E0F0" |
---|
284 | WIDTH="70%" |
---|
285 | ><TR |
---|
286 | ><TD |
---|
287 | ><PRE |
---|
288 | CLASS="SCREEN" |
---|
289 | >RedBoot> <KBD |
---|
290 | CLASS="USERINPUT" |
---|
291 | >fco bootp</KBD |
---|
292 | > |
---|
293 | bootp: false_</PRE |
---|
294 | ></TD |
---|
295 | ></TR |
---|
296 | ></TABLE |
---|
297 | > |
---|
298 | The user deletes the word “false;” and enters “true” |
---|
299 | so the display looks like this: |
---|
300 | <TABLE |
---|
301 | BORDER="5" |
---|
302 | BGCOLOR="#E0E0F0" |
---|
303 | WIDTH="70%" |
---|
304 | ><TR |
---|
305 | ><TD |
---|
306 | ><PRE |
---|
307 | CLASS="SCREEN" |
---|
308 | >RedBoot> <KBD |
---|
309 | CLASS="USERINPUT" |
---|
310 | >fco bootp</KBD |
---|
311 | > |
---|
312 | bootp: <KBD |
---|
313 | CLASS="USERINPUT" |
---|
314 | >true</KBD |
---|
315 | > |
---|
316 | Update RedBoot non-volatile configuration - are you sure (y/n)? y |
---|
317 | ... Unlock from ... |
---|
318 | RedBoot> _</PRE |
---|
319 | ></TD |
---|
320 | ></TR |
---|
321 | ></TABLE |
---|
322 | ></P |
---|
323 | ><P |
---|
324 | >To edit when you cannot backspace, use the optional flag |
---|
325 | <SAMP |
---|
326 | CLASS="COMPUTEROUTPUT" |
---|
327 | >-d</SAMP |
---|
328 | > (for “dumb terminal”) |
---|
329 | to provide a simpler interface thus: |
---|
330 | <TABLE |
---|
331 | BORDER="5" |
---|
332 | BGCOLOR="#E0E0F0" |
---|
333 | WIDTH="70%" |
---|
334 | ><TR |
---|
335 | ><TD |
---|
336 | ><PRE |
---|
337 | CLASS="SCREEN" |
---|
338 | >RedBoot> <KBD |
---|
339 | CLASS="USERINPUT" |
---|
340 | >fco -d bootp</KBD |
---|
341 | > |
---|
342 | bootp: false ? _</PRE |
---|
343 | ></TD |
---|
344 | ></TR |
---|
345 | ></TABLE |
---|
346 | > |
---|
347 | and you enter the value in the obvious manner thus: |
---|
348 | <TABLE |
---|
349 | BORDER="5" |
---|
350 | BGCOLOR="#E0E0F0" |
---|
351 | WIDTH="70%" |
---|
352 | ><TR |
---|
353 | ><TD |
---|
354 | ><PRE |
---|
355 | CLASS="SCREEN" |
---|
356 | >RedBoot> <KBD |
---|
357 | CLASS="USERINPUT" |
---|
358 | >fco -d bootp</KBD |
---|
359 | > |
---|
360 | bootp: false ? <KBD |
---|
361 | CLASS="USERINPUT" |
---|
362 | >true</KBD |
---|
363 | > |
---|
364 | Update RedBoot non-volatile configuration - are you sure (y/n)? y |
---|
365 | ... Unlock from ... |
---|
366 | RedBoot> _</PRE |
---|
367 | ></TD |
---|
368 | ></TR |
---|
369 | ></TABLE |
---|
370 | ></P |
---|
371 | ><P |
---|
372 | >One item which is always present in the configuration data is the ability |
---|
373 | to execute a script at boot time. A sequence of RedBoot commands can be entered |
---|
374 | which will be executed when the system starts up. Optionally, a time-out period |
---|
375 | can be provided which allows the user to abort the startup script and proceed |
---|
376 | with normal command processing from the console. </P |
---|
377 | ><P |
---|
378 | ><TABLE |
---|
379 | BORDER="5" |
---|
380 | BGCOLOR="#E0E0F0" |
---|
381 | WIDTH="70%" |
---|
382 | ><TR |
---|
383 | ><TD |
---|
384 | ><PRE |
---|
385 | CLASS="PROGRAMLISTING" |
---|
386 | >RedBoot> <KBD |
---|
387 | CLASS="USERINPUT" |
---|
388 | >fconfig -l</KBD |
---|
389 | > |
---|
390 | Run script at boot: false |
---|
391 | Use BOOTP for network configuration: false |
---|
392 | Local IP address: 192.168.1.29 |
---|
393 | Default server IP address: 192.168.1.101 |
---|
394 | DNS server IP address: 192.168.1.1 |
---|
395 | GDB connection port: 9000 |
---|
396 | Network debug at boot time: false</PRE |
---|
397 | ></TD |
---|
398 | ></TR |
---|
399 | ></TABLE |
---|
400 | ></P |
---|
401 | ><P |
---|
402 | >The following example sets a boot script and then shows it running. |
---|
403 | </P |
---|
404 | ><P |
---|
405 | ><TABLE |
---|
406 | BORDER="5" |
---|
407 | BGCOLOR="#E0E0F0" |
---|
408 | WIDTH="70%" |
---|
409 | ><TR |
---|
410 | ><TD |
---|
411 | ><PRE |
---|
412 | CLASS="PROGRAMLISTING" |
---|
413 | >RedBoot> <KBD |
---|
414 | CLASS="USERINPUT" |
---|
415 | >fconfig</KBD |
---|
416 | > |
---|
417 | Run script at boot: false <KBD |
---|
418 | CLASS="USERINPUT" |
---|
419 | >t</KBD |
---|
420 | > |
---|
421 | Boot script: |
---|
422 | Enter script, terminate with empty line |
---|
423 | >> <KBD |
---|
424 | CLASS="USERINPUT" |
---|
425 | >fi li</KBD |
---|
426 | > |
---|
427 | Boot script timeout: 0 <KBD |
---|
428 | CLASS="USERINPUT" |
---|
429 | >10</KBD |
---|
430 | > |
---|
431 | Use BOOTP for network configuration: false . |
---|
432 | Update RedBoot non-volatile configuration - are you sure (y/n)? <KBD |
---|
433 | CLASS="USERINPUT" |
---|
434 | >y</KBD |
---|
435 | > |
---|
436 | ... Erase from 0xa0fc0000-0xa0fe0000: . |
---|
437 | ... Program from 0x8c021f60-0x8c022360 at 0xa0fc0000: . |
---|
438 | RedBoot> |
---|
439 | RedBoot(tm) debug environment - built 08:22:24, Aug 23 2000 |
---|
440 | Copyright (C) 2000, Red Hat, Inc. |
---|
441 | |
---|
442 | |
---|
443 | RAM: 0x8c000000-0x8c800000 |
---|
444 | flash: 0xa0000000 - 0xa1000000, 128 blocks of 0x00020000 bytes ea. |
---|
445 | Socket Communications, Inc: Low Power Ethernet CF Revision C \ |
---|
446 | 5V/3.3V 08/27/98 IP: 192.168.1.29, Default server: 192.168.1.101 \ |
---|
447 | == Executing boot script in 10 seconds - enter ^C to abort |
---|
448 | RedBoot> <KBD |
---|
449 | CLASS="USERINPUT" |
---|
450 | >fi li</KBD |
---|
451 | > |
---|
452 | Name flash addr Mem addr Length Entry point |
---|
453 | RedBoot 0xA0000000 0xA0000000 0x020000 0x80000000 |
---|
454 | RedBoot[backup] 0xA0020000 0x8C010000 0x020000 0x8C010000 |
---|
455 | RedBoot config 0xA0FC0000 0xA0FC0000 0x020000 0x00000000 |
---|
456 | FIS directory 0xA0FE0000 0xA0FE0000 0x020000 0x00000000 |
---|
457 | RedBoot></PRE |
---|
458 | ></TD |
---|
459 | ></TR |
---|
460 | ></TABLE |
---|
461 | ></P |
---|
462 | ><DIV |
---|
463 | CLASS="NOTE" |
---|
464 | ><BLOCKQUOTE |
---|
465 | CLASS="NOTE" |
---|
466 | ><P |
---|
467 | ><B |
---|
468 | >NOTE: </B |
---|
469 | >The bold characters above indicate where something was entered on the |
---|
470 | console. As you can see, the <B |
---|
471 | CLASS="COMMAND" |
---|
472 | >fi li</B |
---|
473 | > command |
---|
474 | at the end came from the script, |
---|
475 | not the console. Once the script is executed, command processing reverts to |
---|
476 | the console. </P |
---|
477 | ></BLOCKQUOTE |
---|
478 | ></DIV |
---|
479 | ><P |
---|
480 | ><DIV |
---|
481 | CLASS="NOTE" |
---|
482 | ><BLOCKQUOTE |
---|
483 | CLASS="NOTE" |
---|
484 | ><P |
---|
485 | ><B |
---|
486 | >NOTE: </B |
---|
487 | >RedBoot supports the notion of a boot script timeout, i.e. a period of |
---|
488 | time that RedBoot waits before executing the boot time script. This period |
---|
489 | is primarily to allow the possibility of cancelling the script. Since |
---|
490 | a timeout value of zero (0) seconds would never allow the script to |
---|
491 | be aborted or cancelled, this value is not allowed. If the timeout |
---|
492 | value is zero, then RedBoot will abort the script execution immediately.</P |
---|
493 | ></BLOCKQUOTE |
---|
494 | ></DIV |
---|
495 | > |
---|
496 | On many targets, RedBoot may be configured to run from ROM or it may be |
---|
497 | configured to run from RAM. Other configurations are also possible. All |
---|
498 | RedBoot configurations will execute the boot script, but in certain cases |
---|
499 | it may be desirable to limit the execution of certain script commands to |
---|
500 | one RedBoot configuration or the other. This can be accomplished by |
---|
501 | prepending <SAMP |
---|
502 | CLASS="COMPUTEROUTPUT" |
---|
503 | >{<startup type>}</SAMP |
---|
504 | > to the |
---|
505 | commands which should be executed only by the RedBoot configured for the |
---|
506 | specified startup type. The following boot script illustrates this concept |
---|
507 | by having the ROM based RedBoot load and run the RAM based RedBoot. The RAM |
---|
508 | based RedBoot will then list flash images.</P |
---|
509 | ><P |
---|
510 | ><TABLE |
---|
511 | BORDER="5" |
---|
512 | BGCOLOR="#E0E0F0" |
---|
513 | WIDTH="70%" |
---|
514 | ><TR |
---|
515 | ><TD |
---|
516 | ><PRE |
---|
517 | CLASS="PROGRAMLISTING" |
---|
518 | >RedBoot> <KBD |
---|
519 | CLASS="USERINPUT" |
---|
520 | >fco</KBD |
---|
521 | > |
---|
522 | Run script at boot: false <KBD |
---|
523 | CLASS="USERINPUT" |
---|
524 | >t</KBD |
---|
525 | > |
---|
526 | Boot script: |
---|
527 | Enter script, terminate with empty line |
---|
528 | >> <KBD |
---|
529 | CLASS="USERINPUT" |
---|
530 | >{ROM}fis load RedBoot[backup]</KBD |
---|
531 | > |
---|
532 | >> <KBD |
---|
533 | CLASS="USERINPUT" |
---|
534 | >{ROM}go</KBD |
---|
535 | > |
---|
536 | >> <KBD |
---|
537 | CLASS="USERINPUT" |
---|
538 | >{RAM}fis li</KBD |
---|
539 | > |
---|
540 | >> |
---|
541 | Boot script timeout (1000ms resolution): <KBD |
---|
542 | CLASS="USERINPUT" |
---|
543 | >2</KBD |
---|
544 | > |
---|
545 | Use BOOTP for network configuration: <KBD |
---|
546 | CLASS="USERINPUT" |
---|
547 | >false</KBD |
---|
548 | > |
---|
549 | ... |
---|
550 | Update RedBoot non-volatile configuration - are you sure (y/n)? <KBD |
---|
551 | CLASS="USERINPUT" |
---|
552 | >y</KBD |
---|
553 | > |
---|
554 | ... Unlock from 0x007c0000-0x007e0000: . |
---|
555 | ... Erase from 0x007c0000-0x007e0000: . |
---|
556 | ... Program from 0xa0015030-0xa0016030 at 0x007df000: . |
---|
557 | ... Lock from 0x007c0000-0x007e0000: . |
---|
558 | RedBoot> <KBD |
---|
559 | CLASS="USERINPUT" |
---|
560 | >reset</KBD |
---|
561 | > |
---|
562 | ... Resetting. |
---|
563 | +Ethernet eth0: MAC address 00:80:4d:46:01:05 |
---|
564 | IP: 192.168.1.153, Default server: 192.168.1.10 |
---|
565 | |
---|
566 | RedBoot(tm) bootstrap and debug environment [ROM] |
---|
567 | Red Hat certified release, version R1.xx - built 17:37:36, Aug 14 2001 |
---|
568 | |
---|
569 | Platform: IQ80310 (XScale) |
---|
570 | Copyright (C) 2000, 2001, Red Hat, Inc. |
---|
571 | |
---|
572 | RAM: 0xa0000000-0xa2000000, 0xa001b088-0xa1fdf000 available |
---|
573 | FLASH: 0x00000000 - 0x00800000, 64 blocks of 0x00020000 bytes each. |
---|
574 | == Executing boot script in 2.000 seconds - enter ^C to abort |
---|
575 | RedBoot> <KBD |
---|
576 | CLASS="USERINPUT" |
---|
577 | >fis load RedBoot[backup]</KBD |
---|
578 | > |
---|
579 | RedBoot> <KBD |
---|
580 | CLASS="USERINPUT" |
---|
581 | >go</KBD |
---|
582 | > |
---|
583 | +Ethernet eth0: MAC address 00:80:4d:46:01:05 |
---|
584 | IP: 192.168.1.153, Default server: 192.168.1.10 |
---|
585 | |
---|
586 | RedBoot(tm) bootstrap and debug environment [RAM] |
---|
587 | Red Hat certified release, version R1.xx - built 13:03:47, Aug 14 2001 |
---|
588 | |
---|
589 | Platform: IQ80310 (XScale) |
---|
590 | Copyright (C) 2000, 2001, Red Hat, Inc. |
---|
591 | |
---|
592 | RAM: 0xa0000000-0xa2000000, 0xa0057fe8-0xa1fdf000 available |
---|
593 | FLASH: 0x00000000 - 0x00800000, 64 blocks of 0x00020000 bytes each. |
---|
594 | == Executing boot script in 2.000 seconds - enter ^C to abort |
---|
595 | RedBoot> <KBD |
---|
596 | CLASS="USERINPUT" |
---|
597 | >fis li</KBD |
---|
598 | > |
---|
599 | Name FLASH addr Mem addr Length Entry point |
---|
600 | RedBoot 0x00000000 0x00000000 0x00040000 0x00002000 |
---|
601 | RedBoot[backup] 0x00040000 0xA0020000 0x00040000 0xA0020040 |
---|
602 | RedBoot config 0x007DF000 0x007DF000 0x00001000 0x00000000 |
---|
603 | FIS directory 0x007E0000 0x007E0000 0x00020000 0x00000000 |
---|
604 | RedBoot></PRE |
---|
605 | ></TD |
---|
606 | ></TR |
---|
607 | ></TABLE |
---|
608 | ></P |
---|
609 | ></DIV |
---|
610 | ><DIV |
---|
611 | CLASS="NAVFOOTER" |
---|
612 | ><HR |
---|
613 | ALIGN="LEFT" |
---|
614 | WIDTH="100%"><TABLE |
---|
615 | SUMMARY="Footer navigation table" |
---|
616 | WIDTH="100%" |
---|
617 | BORDER="0" |
---|
618 | CELLPADDING="0" |
---|
619 | CELLSPACING="0" |
---|
620 | ><TR |
---|
621 | ><TD |
---|
622 | WIDTH="33%" |
---|
623 | ALIGN="left" |
---|
624 | VALIGN="top" |
---|
625 | ><A |
---|
626 | HREF="flash-image-system.html" |
---|
627 | ACCESSKEY="P" |
---|
628 | >Prev</A |
---|
629 | ></TD |
---|
630 | ><TD |
---|
631 | WIDTH="34%" |
---|
632 | ALIGN="center" |
---|
633 | VALIGN="top" |
---|
634 | ><A |
---|
635 | HREF="redboot.html" |
---|
636 | ACCESSKEY="H" |
---|
637 | >Home</A |
---|
638 | ></TD |
---|
639 | ><TD |
---|
640 | WIDTH="33%" |
---|
641 | ALIGN="right" |
---|
642 | VALIGN="top" |
---|
643 | ><A |
---|
644 | HREF="executing-programs.html" |
---|
645 | ACCESSKEY="N" |
---|
646 | >Next</A |
---|
647 | ></TD |
---|
648 | ></TR |
---|
649 | ><TR |
---|
650 | ><TD |
---|
651 | WIDTH="33%" |
---|
652 | ALIGN="left" |
---|
653 | VALIGN="top" |
---|
654 | >Flash Image System (FIS)</TD |
---|
655 | ><TD |
---|
656 | WIDTH="34%" |
---|
657 | ALIGN="center" |
---|
658 | VALIGN="top" |
---|
659 | ><A |
---|
660 | HREF="redboot-commands-and-examples.html" |
---|
661 | ACCESSKEY="U" |
---|
662 | >Up</A |
---|
663 | ></TD |
---|
664 | ><TD |
---|
665 | WIDTH="33%" |
---|
666 | ALIGN="right" |
---|
667 | VALIGN="top" |
---|
668 | >Executing Programs from RedBoot</TD |
---|
669 | ></TR |
---|
670 | ></TABLE |
---|
671 | ></DIV |
---|
672 | ></BODY |
---|
673 | ></HTML |
---|
674 | > |
---|