1 <!-- Copyright (C) 2003 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. -->
13 ><meta name="MSSmartTagsPreventParsing" content="TRUE">
16 CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
19 TITLE="eCos Reference Manual"
20 HREF="ecos-ref.html"><LINK
22 TITLE="Common Commands"
23 HREF="common-commands.html"><LINK
26 HREF="ip-address-command.html"><LINK
29 HREF="mcmp-command.html"></HEAD
40 SUMMARY="Header navigation table"
49 >eCos Reference Manual</TH
57 HREF="ip-address-command.html"
71 HREF="mcmp-command.html"
82 NAME="DOWNLOAD-COMMAND">load</H1
90 >load -- Download programs or data to the RedBoot platform</DIV
92 CLASS="REFSYNOPSISDIV"
100 > [-v ] [-d ] [-r ] [-m
101 [[xmodem | ymodem] | tftp | disk]
105 > server_IP_address</I
132 CLASS="INFORMALTABLE"
179 >Display a small spinner (indicator)
180 while the download is in progress. This is just for feedback, especially
181 during long loads. Note that the option has no effect when using a
182 serial download method since it would interfere with the protocol.</TD
210 >Decompress data stream (gzip data)</TD
219 >non-compressed data</I
238 >Raw (or binary) data</TD
247 >formatted (S-records, ELF image, etc)</I
266 >Transfer data via the network using <SPAN
294 >Transfer data via the network using <SPAN
322 >Transfer data using <SPAN
353 >Transfer data using <SPAN
384 >Transfer data from a local disk.</TD
402 >server_IP_address</I
409 >Numeric IP or DNS name</TD
414 >The IP address of the <SPAN
450 >Address in memory to load the data. Formatted data streams will have
451 an implied load address which this option may override.</TD
460 >Depends on data format</I
484 >Specify which I/O channel to
485 use for download. This option is only supported when using either
486 xmodem or ymodem protocol.</TD
495 >Depends on data format</I
519 >The name of the file on the <SPAN
526 server or the local disk. Details of how this is specified for <SPAN
530 host-specific. For local disk files, the name must be in <SPAN
543 > format. The disk portion must match one of the disk
544 names listed by the <B
577 > command is used to download
578 data into the target system. Data can be loaded via a network connection,
579 using either the <SPAN
585 > protocols, or the console serial connection using the
586 X/Y modem protocol. Files may also be loaded directly from local filesystems
587 on disk. Files to be downloaded may either be executable images in
588 ELF executable program format,
589 Motorola S-record (SREC)
601 >Download a Motorola S-record (or ELF) image, using <SPAN
617 >load redboot.ROM -b 0x8c400000</B
620 Address offset = 0x0c400000
621 Entry point: 0x80000000, address range: 0x80000000-0x8000fe80</PRE
628 >Download a Motorola S-record (or ELF) image, using <SPAN
632 host [server] address.
644 >load /redboot.ROM -m HTTP -h 192.168.1.104</B
647 Address offset = 0x0c400000
648 Entry point: 0x80000000, address range: 0x80000000-0x8000fe80</PRE
655 >Load an ELF file from /dev/hda1 which should be an EXT2 partition:
667 >load -mode disk hda1:hello.elf</B
670 Entry point: 0x00020000, address range: 0x00020000-0x0002fd70</PRE
682 SUMMARY="Footer navigation table"
693 HREF="ip-address-command.html"
711 HREF="mcmp-command.html"
727 HREF="common-commands.html"