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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [rtos/] [ecos-2.0/] [doc/] [html/] [ref/] [download-command.html] - Diff between revs 28 and 174

Only display areas with differences | Details | Blame | View Log

Rev 28 Rev 174
<!-- Copyright (C) 2003 Red Hat, Inc.                                -->
<!-- Copyright (C) 2003 Red Hat, Inc.                                -->
<!-- This material may be distributed only subject to the terms      -->
<!-- This material may be distributed only subject to the terms      -->
<!-- and conditions set forth in the Open Publication License, v1.0  -->
<!-- and conditions set forth in the Open Publication License, v1.0  -->
<!-- or later (the latest version is presently available at          -->
<!-- or later (the latest version is presently available at          -->
<!-- http://www.opencontent.org/openpub/).                           -->
<!-- http://www.opencontent.org/openpub/).                           -->
<!-- Distribution of the work or derivative of the work in any       -->
<!-- Distribution of the work or derivative of the work in any       -->
<!-- standard (paper) book form is prohibited unless prior           -->
<!-- standard (paper) book form is prohibited unless prior           -->
<!-- permission is obtained from the copyright holder.               -->
<!-- permission is obtained from the copyright holder.               -->
<HTML
<HTML
><HEAD
><HEAD
><TITLE
><TITLE
>load</TITLE
>load</TITLE
><meta name="MSSmartTagsPreventParsing" content="TRUE">
><meta name="MSSmartTagsPreventParsing" content="TRUE">
<META
<META
NAME="GENERATOR"
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
"><LINK
"><LINK
REL="HOME"
REL="HOME"
TITLE="eCos Reference Manual"
TITLE="eCos Reference Manual"
HREF="ecos-ref.html"><LINK
HREF="ecos-ref.html"><LINK
REL="UP"
REL="UP"
TITLE="Common Commands"
TITLE="Common Commands"
HREF="common-commands.html"><LINK
HREF="common-commands.html"><LINK
REL="PREVIOUS"
REL="PREVIOUS"
TITLE="ip_address"
TITLE="ip_address"
HREF="ip-address-command.html"><LINK
HREF="ip-address-command.html"><LINK
REL="NEXT"
REL="NEXT"
TITLE="mcmp"
TITLE="mcmp"
HREF="mcmp-command.html"></HEAD
HREF="mcmp-command.html"></HEAD
><BODY
><BODY
CLASS="REFENTRY"
CLASS="REFENTRY"
BGCOLOR="#FFFFFF"
BGCOLOR="#FFFFFF"
TEXT="#000000"
TEXT="#000000"
LINK="#0000FF"
LINK="#0000FF"
VLINK="#840084"
VLINK="#840084"
ALINK="#0000FF"
ALINK="#0000FF"
><DIV
><DIV
CLASS="NAVHEADER"
CLASS="NAVHEADER"
><TABLE
><TABLE
SUMMARY="Header navigation table"
SUMMARY="Header navigation table"
WIDTH="100%"
WIDTH="100%"
BORDER="0"
BORDER="0"
CELLPADDING="0"
CELLPADDING="0"
CELLSPACING="0"
CELLSPACING="0"
><TR
><TR
><TH
><TH
COLSPAN="3"
COLSPAN="3"
ALIGN="center"
ALIGN="center"
>eCos Reference Manual</TH
>eCos Reference Manual</TH
></TR
></TR
><TR
><TR
><TD
><TD
WIDTH="10%"
WIDTH="10%"
ALIGN="left"
ALIGN="left"
VALIGN="bottom"
VALIGN="bottom"
><A
><A
HREF="ip-address-command.html"
HREF="ip-address-command.html"
ACCESSKEY="P"
ACCESSKEY="P"
>Prev</A
>Prev</A
></TD
></TD
><TD
><TD
WIDTH="80%"
WIDTH="80%"
ALIGN="center"
ALIGN="center"
VALIGN="bottom"
VALIGN="bottom"
></TD
></TD
><TD
><TD
WIDTH="10%"
WIDTH="10%"
ALIGN="right"
ALIGN="right"
VALIGN="bottom"
VALIGN="bottom"
><A
><A
HREF="mcmp-command.html"
HREF="mcmp-command.html"
ACCESSKEY="N"
ACCESSKEY="N"
>Next</A
>Next</A
></TD
></TD
></TR
></TR
></TABLE
></TABLE
><HR
><HR
ALIGN="LEFT"
ALIGN="LEFT"
WIDTH="100%"></DIV
WIDTH="100%"></DIV
><H1
><H1
><A
><A
NAME="DOWNLOAD-COMMAND">load</H1
NAME="DOWNLOAD-COMMAND">load</H1
><DIV
><DIV
CLASS="REFNAMEDIV"
CLASS="REFNAMEDIV"
><A
><A
NAME="AEN3433"
NAME="AEN3433"
></A
></A
><H2
><H2
>Name</H2
>Name</H2
>load&nbsp;--&nbsp;Download programs or data to the RedBoot platform</DIV
>load&nbsp;--&nbsp;Download programs or data to the RedBoot platform</DIV
><DIV
><DIV
CLASS="REFSYNOPSISDIV"
CLASS="REFSYNOPSISDIV"
><A
><A
NAME="AEN3436"><H2
NAME="AEN3436"><H2
>Synopsis</H2
>Synopsis</H2
><P
><P
><B
><B
CLASS="COMMAND"
CLASS="COMMAND"
>load</B
>load</B
>  [-v ] [-d ] [-r ] [-m
>  [-v ] [-d ] [-r ] [-m
           [[xmodem | ymodem] | tftp | disk]
           [[xmodem | ymodem] | tftp | disk]
        ] [-h <TT
        ] [-h <TT
CLASS="REPLACEABLE"
CLASS="REPLACEABLE"
><I
><I
> server_IP_address</I
> server_IP_address</I
></TT
></TT
>] [-b <TT
>] [-b <TT
CLASS="REPLACEABLE"
CLASS="REPLACEABLE"
><I
><I
> location</I
> location</I
></TT
></TT
>] [-c <TT
>] [-c <TT
CLASS="REPLACEABLE"
CLASS="REPLACEABLE"
><I
><I
> channel</I
> channel</I
></TT
></TT
>] [<TT
>] [<TT
CLASS="REPLACEABLE"
CLASS="REPLACEABLE"
><I
><I
>file_name</I
>file_name</I
></TT
></TT
>]</P
>]</P
></DIV
></DIV
><DIV
><DIV
CLASS="REFSECT1"
CLASS="REFSECT1"
><A
><A
NAME="AEN3458"
NAME="AEN3458"
></A
></A
><H2
><H2
>Arguments</H2
>Arguments</H2
><DIV
><DIV
CLASS="INFORMALTABLE"
CLASS="INFORMALTABLE"
><A
><A
NAME="AEN3460"><P
NAME="AEN3460"><P
></P
></P
><TABLE
><TABLE
BORDER="1"
BORDER="1"
CLASS="CALSTABLE"
CLASS="CALSTABLE"
><THEAD
><THEAD
><TR
><TR
><TH
><TH
WIDTH="25%"
WIDTH="25%"
ALIGN="LEFT"
ALIGN="LEFT"
VALIGN="TOP"
VALIGN="TOP"
>Name</TH
>Name</TH
><TH
><TH
WIDTH="25%"
WIDTH="25%"
ALIGN="LEFT"
ALIGN="LEFT"
VALIGN="TOP"
VALIGN="TOP"
>Type</TH
>Type</TH
><TH
><TH
WIDTH="25%"
WIDTH="25%"
ALIGN="LEFT"
ALIGN="LEFT"
VALIGN="TOP"
VALIGN="TOP"
>Description</TH
>Description</TH
><TH
><TH
WIDTH="25%"
WIDTH="25%"
ALIGN="LEFT"
ALIGN="LEFT"
VALIGN="TOP"
VALIGN="TOP"
>Default</TH
>Default</TH
></TR
></TR
></THEAD
></THEAD
><TBODY
><TBODY
><TR
><TR
><TD
><TD
WIDTH="25%"
WIDTH="25%"
ALIGN="LEFT"
ALIGN="LEFT"
VALIGN="TOP"
VALIGN="TOP"
>-v</TD
>-v</TD
><TD
><TD
WIDTH="25%"
WIDTH="25%"
ALIGN="LEFT"
ALIGN="LEFT"
VALIGN="TOP"
VALIGN="TOP"
>Boolean</TD
>Boolean</TD
><TD
><TD
WIDTH="25%"
WIDTH="25%"
ALIGN="LEFT"
ALIGN="LEFT"
VALIGN="TOP"
VALIGN="TOP"
>Display a small spinner (indicator)
>Display a small spinner (indicator)
while the download is in  progress. This is just for feedback, especially
while the download is in  progress. This is just for feedback, especially
during long loads. Note that the option has no effect when using a
during long loads. Note that the option has no effect when using a
serial download method since it would interfere with the protocol.</TD
serial download method since it would interfere with the protocol.</TD
><TD
><TD
WIDTH="25%"
WIDTH="25%"
ALIGN="LEFT"
ALIGN="LEFT"
VALIGN="TOP"
VALIGN="TOP"
><SPAN
><SPAN
CLASS="emphasis"
CLASS="emphasis"
><I
><I
CLASS="EMPHASIS"
CLASS="EMPHASIS"
>quiet</I
>quiet</I
></SPAN
></SPAN
></TD
></TD
></TR
></TR
><TR
><TR
><TD
><TD
WIDTH="25%"
WIDTH="25%"
ALIGN="LEFT"
ALIGN="LEFT"
VALIGN="TOP"
VALIGN="TOP"
>-d</TD
>-d</TD
><TD
><TD
WIDTH="25%"
WIDTH="25%"
ALIGN="LEFT"
ALIGN="LEFT"
VALIGN="TOP"
VALIGN="TOP"
>Boolean</TD
>Boolean</TD
><TD
><TD
WIDTH="25%"
WIDTH="25%"
ALIGN="LEFT"
ALIGN="LEFT"
VALIGN="TOP"
VALIGN="TOP"
>Decompress data stream (gzip data)</TD
>Decompress data stream (gzip data)</TD
><TD
><TD
WIDTH="25%"
WIDTH="25%"
ALIGN="LEFT"
ALIGN="LEFT"
VALIGN="TOP"
VALIGN="TOP"
><SPAN
><SPAN
CLASS="emphasis"
CLASS="emphasis"
><I
><I
CLASS="EMPHASIS"
CLASS="EMPHASIS"
>non-compressed data</I
>non-compressed data</I
></SPAN
></SPAN
></TD
></TD
></TR
></TR
><TR
><TR
><TD
><TD
WIDTH="25%"
WIDTH="25%"
ALIGN="LEFT"
ALIGN="LEFT"
VALIGN="TOP"
VALIGN="TOP"
>-r</TD
>-r</TD
><TD
><TD
WIDTH="25%"
WIDTH="25%"
ALIGN="LEFT"
ALIGN="LEFT"
VALIGN="TOP"
VALIGN="TOP"
>Boolean</TD
>Boolean</TD
><TD
><TD
WIDTH="25%"
WIDTH="25%"
ALIGN="LEFT"
ALIGN="LEFT"
VALIGN="TOP"
VALIGN="TOP"
>Raw (or binary) data</TD
>Raw (or binary) data</TD
><TD
><TD
WIDTH="25%"
WIDTH="25%"
ALIGN="LEFT"
ALIGN="LEFT"
VALIGN="TOP"
VALIGN="TOP"
><SPAN
><SPAN
CLASS="emphasis"
CLASS="emphasis"
><I
><I
CLASS="EMPHASIS"
CLASS="EMPHASIS"
>formatted (S-records, ELF image, etc)</I
>formatted (S-records, ELF image, etc)</I
></SPAN
></SPAN
></TD
></TD
></TR
></TR
><TR
><TR
><TD
><TD
WIDTH="25%"
WIDTH="25%"
ALIGN="LEFT"
ALIGN="LEFT"
VALIGN="TOP"
VALIGN="TOP"
>-m tftp</TD
>-m tftp</TD
><TD
><TD
WIDTH="25%"
WIDTH="25%"
ALIGN="LEFT"
ALIGN="LEFT"
VALIGN="TOP"
VALIGN="TOP"
>&nbsp;</TD
>&nbsp;</TD
><TD
><TD
WIDTH="25%"
WIDTH="25%"
ALIGN="LEFT"
ALIGN="LEFT"
VALIGN="TOP"
VALIGN="TOP"
>Transfer data via the network using <SPAN
>Transfer data via the network using <SPAN
CLASS="ACRONYM"
CLASS="ACRONYM"
>TFTP</SPAN
>TFTP</SPAN
> protocol.</TD
> protocol.</TD
><TD
><TD
WIDTH="25%"
WIDTH="25%"
ALIGN="LEFT"
ALIGN="LEFT"
VALIGN="TOP"
VALIGN="TOP"
><SPAN
><SPAN
CLASS="ACRONYM"
CLASS="ACRONYM"
>TFTP</SPAN
>TFTP</SPAN
></TD
></TD
></TR
></TR
><TR
><TR
><TD
><TD
WIDTH="25%"
WIDTH="25%"
ALIGN="LEFT"
ALIGN="LEFT"
VALIGN="TOP"
VALIGN="TOP"
>-m http</TD
>-m http</TD
><TD
><TD
WIDTH="25%"
WIDTH="25%"
ALIGN="LEFT"
ALIGN="LEFT"
VALIGN="TOP"
VALIGN="TOP"
>&nbsp;</TD
>&nbsp;</TD
><TD
><TD
WIDTH="25%"
WIDTH="25%"
ALIGN="LEFT"
ALIGN="LEFT"
VALIGN="TOP"
VALIGN="TOP"
>Transfer data via the network using <SPAN
>Transfer data via the network using <SPAN
CLASS="ACRONYM"
CLASS="ACRONYM"
>HTTP</SPAN
>HTTP</SPAN
> protocol.</TD
> protocol.</TD
><TD
><TD
WIDTH="25%"
WIDTH="25%"
ALIGN="LEFT"
ALIGN="LEFT"
VALIGN="TOP"
VALIGN="TOP"
><SPAN
><SPAN
CLASS="ACRONYM"
CLASS="ACRONYM"
>TFTP</SPAN
>TFTP</SPAN
></TD
></TD
></TR
></TR
><TR
><TR
><TD
><TD
WIDTH="25%"
WIDTH="25%"
ALIGN="LEFT"
ALIGN="LEFT"
VALIGN="TOP"
VALIGN="TOP"
>-m xmodem</TD
>-m xmodem</TD
><TD
><TD
WIDTH="25%"
WIDTH="25%"
ALIGN="LEFT"
ALIGN="LEFT"
VALIGN="TOP"
VALIGN="TOP"
>&nbsp;</TD
>&nbsp;</TD
><TD
><TD
WIDTH="25%"
WIDTH="25%"
ALIGN="LEFT"
ALIGN="LEFT"
VALIGN="TOP"
VALIGN="TOP"
>Transfer data using <SPAN
>Transfer data using <SPAN
CLASS="emphasis"
CLASS="emphasis"
><I
><I
CLASS="EMPHASIS"
CLASS="EMPHASIS"
>X-modem</I
>X-modem</I
></SPAN
></SPAN
> protocol.</TD
> protocol.</TD
><TD
><TD
WIDTH="25%"
WIDTH="25%"
ALIGN="LEFT"
ALIGN="LEFT"
VALIGN="TOP"
VALIGN="TOP"
><SPAN
><SPAN
CLASS="ACRONYM"
CLASS="ACRONYM"
>TFTP</SPAN
>TFTP</SPAN
></TD
></TD
></TR
></TR
><TR
><TR
><TD
><TD
WIDTH="25%"
WIDTH="25%"
ALIGN="LEFT"
ALIGN="LEFT"
VALIGN="TOP"
VALIGN="TOP"
>-m ymodem</TD
>-m ymodem</TD
><TD
><TD
WIDTH="25%"
WIDTH="25%"
ALIGN="LEFT"
ALIGN="LEFT"
VALIGN="TOP"
VALIGN="TOP"
>&nbsp;</TD
>&nbsp;</TD
><TD
><TD
WIDTH="25%"
WIDTH="25%"
ALIGN="LEFT"
ALIGN="LEFT"
VALIGN="TOP"
VALIGN="TOP"
>Transfer data using <SPAN
>Transfer data using <SPAN
CLASS="emphasis"
CLASS="emphasis"
><I
><I
CLASS="EMPHASIS"
CLASS="EMPHASIS"
>Y-modem</I
>Y-modem</I
></SPAN
></SPAN
> protocol.</TD
> protocol.</TD
><TD
><TD
WIDTH="25%"
WIDTH="25%"
ALIGN="LEFT"
ALIGN="LEFT"
VALIGN="TOP"
VALIGN="TOP"
><SPAN
><SPAN
CLASS="ACRONYM"
CLASS="ACRONYM"
>TFTP</SPAN
>TFTP</SPAN
></TD
></TD
></TR
></TR
><TR
><TR
><TD
><TD
WIDTH="25%"
WIDTH="25%"
ALIGN="LEFT"
ALIGN="LEFT"
VALIGN="TOP"
VALIGN="TOP"
>-m disk</TD
>-m disk</TD
><TD
><TD
WIDTH="25%"
WIDTH="25%"
ALIGN="LEFT"
ALIGN="LEFT"
VALIGN="TOP"
VALIGN="TOP"
>&nbsp;</TD
>&nbsp;</TD
><TD
><TD
WIDTH="25%"
WIDTH="25%"
ALIGN="LEFT"
ALIGN="LEFT"
VALIGN="TOP"
VALIGN="TOP"
>Transfer data from a local disk.</TD
>Transfer data from a local disk.</TD
><TD
><TD
WIDTH="25%"
WIDTH="25%"
ALIGN="LEFT"
ALIGN="LEFT"
VALIGN="TOP"
VALIGN="TOP"
><SPAN
><SPAN
CLASS="ACRONYM"
CLASS="ACRONYM"
>TFTP</SPAN
>TFTP</SPAN
></TD
></TD
></TR
></TR
><TR
><TR
><TD
><TD
WIDTH="25%"
WIDTH="25%"
ALIGN="LEFT"
ALIGN="LEFT"
VALIGN="TOP"
VALIGN="TOP"
>-h <TT
>-h <TT
CLASS="REPLACEABLE"
CLASS="REPLACEABLE"
><I
><I
>server_IP_address</I
>server_IP_address</I
></TT
></TT
></TD
></TD
><TD
><TD
WIDTH="25%"
WIDTH="25%"
ALIGN="LEFT"
ALIGN="LEFT"
VALIGN="TOP"
VALIGN="TOP"
>Numeric IP or DNS name</TD
>Numeric IP or DNS name</TD
><TD
><TD
WIDTH="25%"
WIDTH="25%"
ALIGN="LEFT"
ALIGN="LEFT"
VALIGN="TOP"
VALIGN="TOP"
>The IP address of the <SPAN
>The IP address of the <SPAN
CLASS="ACRONYM"
CLASS="ACRONYM"
>TFTP</SPAN
>TFTP</SPAN
> or <SPAN
> or <SPAN
CLASS="ACRONYM"
CLASS="ACRONYM"
>HTTP</SPAN
>HTTP</SPAN
> server.</TD
> server.</TD
><TD
><TD
WIDTH="25%"
WIDTH="25%"
ALIGN="LEFT"
ALIGN="LEFT"
VALIGN="TOP"
VALIGN="TOP"
>Value set by <B
>Value set by <B
CLASS="COMMAND"
CLASS="COMMAND"
>ip_address</B
>ip_address</B
></TD
></TD
></TR
></TR
><TR
><TR
><TD
><TD
WIDTH="25%"
WIDTH="25%"
ALIGN="LEFT"
ALIGN="LEFT"
VALIGN="TOP"
VALIGN="TOP"
>-b <TT
>-b <TT
CLASS="REPLACEABLE"
CLASS="REPLACEABLE"
><I
><I
>location</I
>location</I
></TT
></TT
></TD
></TD
><TD
><TD
WIDTH="25%"
WIDTH="25%"
ALIGN="LEFT"
ALIGN="LEFT"
VALIGN="TOP"
VALIGN="TOP"
>Number</TD
>Number</TD
><TD
><TD
WIDTH="25%"
WIDTH="25%"
ALIGN="LEFT"
ALIGN="LEFT"
VALIGN="TOP"
VALIGN="TOP"
>Address in memory to load the data.  Formatted data streams will have
>Address in memory to load the data.  Formatted data streams will have
an implied load address which this option may override.</TD
an implied load address which this option may override.</TD
><TD
><TD
WIDTH="25%"
WIDTH="25%"
ALIGN="LEFT"
ALIGN="LEFT"
VALIGN="TOP"
VALIGN="TOP"
><SPAN
><SPAN
CLASS="emphasis"
CLASS="emphasis"
><I
><I
CLASS="EMPHASIS"
CLASS="EMPHASIS"
>Depends on data format</I
>Depends on data format</I
></SPAN
></SPAN
></TD
></TD
></TR
></TR
><TR
><TR
><TD
><TD
WIDTH="25%"
WIDTH="25%"
ALIGN="LEFT"
ALIGN="LEFT"
VALIGN="TOP"
VALIGN="TOP"
>-c <TT
>-c <TT
CLASS="REPLACEABLE"
CLASS="REPLACEABLE"
><I
><I
>channel</I
>channel</I
></TT
></TT
></TD
></TD
><TD
><TD
WIDTH="25%"
WIDTH="25%"
ALIGN="LEFT"
ALIGN="LEFT"
VALIGN="TOP"
VALIGN="TOP"
>Number</TD
>Number</TD
><TD
><TD
WIDTH="25%"
WIDTH="25%"
ALIGN="LEFT"
ALIGN="LEFT"
VALIGN="TOP"
VALIGN="TOP"
>Specify which I/O channel to
>Specify which I/O channel to
use for download.  This option is only supported when using either
use for download.  This option is only supported when using either
xmodem or ymodem protocol.</TD
xmodem or ymodem protocol.</TD
><TD
><TD
WIDTH="25%"
WIDTH="25%"
ALIGN="LEFT"
ALIGN="LEFT"
VALIGN="TOP"
VALIGN="TOP"
><SPAN
><SPAN
CLASS="emphasis"
CLASS="emphasis"
><I
><I
CLASS="EMPHASIS"
CLASS="EMPHASIS"
>Depends on data format</I
>Depends on data format</I
></SPAN
></SPAN
></TD
></TD
></TR
></TR
><TR
><TR
><TD
><TD
WIDTH="25%"
WIDTH="25%"
ALIGN="LEFT"
ALIGN="LEFT"
VALIGN="TOP"
VALIGN="TOP"
><TT
><TT
CLASS="REPLACEABLE"
CLASS="REPLACEABLE"
><I
><I
>file_name</I
>file_name</I
></TT
></TT
></TD
></TD
><TD
><TD
WIDTH="25%"
WIDTH="25%"
ALIGN="LEFT"
ALIGN="LEFT"
VALIGN="TOP"
VALIGN="TOP"
>String</TD
>String</TD
><TD
><TD
WIDTH="25%"
WIDTH="25%"
ALIGN="LEFT"
ALIGN="LEFT"
VALIGN="TOP"
VALIGN="TOP"
>The name of the file on the <SPAN
>The name of the file on the <SPAN
CLASS="ACRONYM"
CLASS="ACRONYM"
>TFTP</SPAN
>TFTP</SPAN
> or <SPAN
> or <SPAN
CLASS="ACRONYM"
CLASS="ACRONYM"
>HTTP</SPAN
>HTTP</SPAN
>
>
server or the local disk. Details of how this is specified for <SPAN
server or the local disk. Details of how this is specified for <SPAN
CLASS="ACRONYM"
CLASS="ACRONYM"
>TFTP</SPAN
>TFTP</SPAN
> are
> are
host-specific. For local disk files, the name must be in <SPAN
host-specific. For local disk files, the name must be in <SPAN
CLASS="emphasis"
CLASS="emphasis"
><I
><I
CLASS="EMPHASIS"
CLASS="EMPHASIS"
>disk</I
>disk</I
></SPAN
></SPAN
>:
>:
<SPAN
<SPAN
CLASS="emphasis"
CLASS="emphasis"
><I
><I
CLASS="EMPHASIS"
CLASS="EMPHASIS"
>filename</I
>filename</I
></SPAN
></SPAN
> format. The disk portion must match one of the disk
> format. The disk portion must match one of the disk
names listed by the <B
names listed by the <B
CLASS="COMMAND"
CLASS="COMMAND"
>disks</B
>disks</B
> command.</TD
> command.</TD
><TD
><TD
WIDTH="25%"
WIDTH="25%"
ALIGN="LEFT"
ALIGN="LEFT"
VALIGN="TOP"
VALIGN="TOP"
><SPAN
><SPAN
CLASS="emphasis"
CLASS="emphasis"
><I
><I
CLASS="EMPHASIS"
CLASS="EMPHASIS"
>None</I
>None</I
></SPAN
></SPAN
></TD
></TD
></TR
></TR
></TBODY
></TBODY
></TABLE
></TABLE
><P
><P
></P
></P
></DIV
></DIV
></DIV
></DIV
><DIV
><DIV
CLASS="REFSECT1"
CLASS="REFSECT1"
><A
><A
NAME="AEN3561"
NAME="AEN3561"
></A
></A
><H2
><H2
>Description</H2
>Description</H2
><P
><P
>The <B
>The <B
CLASS="COMMAND"
CLASS="COMMAND"
>load</B
>load</B
> command is used to download
> command is used to download
data into the target system. Data can be loaded via a network connection,
data into the target system. Data can be loaded via a network connection,
using either the <SPAN
using either the <SPAN
CLASS="ACRONYM"
CLASS="ACRONYM"
>TFTP</SPAN
>TFTP</SPAN
> or <SPAN
> or <SPAN
CLASS="ACRONYM"
CLASS="ACRONYM"
>HTTP</SPAN
>HTTP</SPAN
> protocols, or the console serial connection using the
> protocols, or the console serial connection using the
X/Y modem protocol. Files may also be loaded directly from local filesystems
X/Y modem protocol. Files may also be loaded directly from local filesystems
on disk. Files to be downloaded may either be executable images in
on disk. Files to be downloaded may either be executable images in
ELF executable program format,
ELF executable program format,
Motorola S-record (SREC)
Motorola S-record (SREC)
format or raw data.
format or raw data.
      </P
      </P
></DIV
></DIV
><DIV
><DIV
CLASS="REFSECT1"
CLASS="REFSECT1"
><A
><A
NAME="AEN3567"
NAME="AEN3567"
></A
></A
><H2
><H2
>Examples</H2
>Examples</H2
><P
><P
>Download a Motorola S-record (or ELF) image, using <SPAN
>Download a Motorola S-record (or ELF) image, using <SPAN
CLASS="ACRONYM"
CLASS="ACRONYM"
>TFTP</SPAN
>TFTP</SPAN
>, specifying the
>, specifying the
base memory address.
base memory address.
<TABLE
<TABLE
BORDER="5"
BORDER="5"
BGCOLOR="#E0E0F0"
BGCOLOR="#E0E0F0"
WIDTH="70%"
WIDTH="70%"
><TR
><TR
><TD
><TD
><PRE
><PRE
CLASS="SCREEN"
CLASS="SCREEN"
>RedBoot&#62; <TT
>RedBoot&#62; <TT
CLASS="USERINPUT"
CLASS="USERINPUT"
><B
><B
>load redboot.ROM -b 0x8c400000</B
>load redboot.ROM -b 0x8c400000</B
></TT
></TT
>
>
Address offset = 0x0c400000
Address offset = 0x0c400000
Entry point: 0x80000000, address range: 0x80000000-0x8000fe80</PRE
Entry point: 0x80000000, address range: 0x80000000-0x8000fe80</PRE
></TD
></TD
></TR
></TR
></TABLE
></TABLE
>
>
      </P
      </P
><P
><P
>Download a Motorola S-record (or ELF) image, using <SPAN
>Download a Motorola S-record (or ELF) image, using <SPAN
CLASS="ACRONYM"
CLASS="ACRONYM"
>HTTP</SPAN
>HTTP</SPAN
>, specifying the
>, specifying the
host [server] address.
host [server] address.
<TABLE
<TABLE
BORDER="5"
BORDER="5"
BGCOLOR="#E0E0F0"
BGCOLOR="#E0E0F0"
WIDTH="70%"
WIDTH="70%"
><TR
><TR
><TD
><TD
><PRE
><PRE
CLASS="SCREEN"
CLASS="SCREEN"
>RedBoot&#62; <TT
>RedBoot&#62; <TT
CLASS="USERINPUT"
CLASS="USERINPUT"
><B
><B
>load /redboot.ROM -m HTTP -h 192.168.1.104</B
>load /redboot.ROM -m HTTP -h 192.168.1.104</B
></TT
></TT
>
>
Address offset = 0x0c400000
Address offset = 0x0c400000
Entry point: 0x80000000, address range: 0x80000000-0x8000fe80</PRE
Entry point: 0x80000000, address range: 0x80000000-0x8000fe80</PRE
></TD
></TD
></TR
></TR
></TABLE
></TABLE
>
>
      </P
      </P
><P
><P
>Load an ELF file from /dev/hda1 which should be an EXT2 partition:
>Load an ELF file from /dev/hda1 which should be an EXT2 partition:
<TABLE
<TABLE
BORDER="5"
BORDER="5"
BGCOLOR="#E0E0F0"
BGCOLOR="#E0E0F0"
WIDTH="70%"
WIDTH="70%"
><TR
><TR
><TD
><TD
><PRE
><PRE
CLASS="SCREEN"
CLASS="SCREEN"
>RedBoot&#62; <TT
>RedBoot&#62; <TT
CLASS="USERINPUT"
CLASS="USERINPUT"
><B
><B
>load -mode disk hda1:hello.elf</B
>load -mode disk hda1:hello.elf</B
></TT
></TT
>
>
Entry point: 0x00020000, address range: 0x00020000-0x0002fd70</PRE
Entry point: 0x00020000, address range: 0x00020000-0x0002fd70</PRE
></TD
></TD
></TR
></TR
></TABLE
></TABLE
>
>
      </P
      </P
></DIV
></DIV
><DIV
><DIV
CLASS="NAVFOOTER"
CLASS="NAVFOOTER"
><HR
><HR
ALIGN="LEFT"
ALIGN="LEFT"
WIDTH="100%"><TABLE
WIDTH="100%"><TABLE
SUMMARY="Footer navigation table"
SUMMARY="Footer navigation table"
WIDTH="100%"
WIDTH="100%"
BORDER="0"
BORDER="0"
CELLPADDING="0"
CELLPADDING="0"
CELLSPACING="0"
CELLSPACING="0"
><TR
><TR
><TD
><TD
WIDTH="33%"
WIDTH="33%"
ALIGN="left"
ALIGN="left"
VALIGN="top"
VALIGN="top"
><A
><A
HREF="ip-address-command.html"
HREF="ip-address-command.html"
ACCESSKEY="P"
ACCESSKEY="P"
>Prev</A
>Prev</A
></TD
></TD
><TD
><TD
WIDTH="34%"
WIDTH="34%"
ALIGN="center"
ALIGN="center"
VALIGN="top"
VALIGN="top"
><A
><A
HREF="ecos-ref.html"
HREF="ecos-ref.html"
ACCESSKEY="H"
ACCESSKEY="H"
>Home</A
>Home</A
></TD
></TD
><TD
><TD
WIDTH="33%"
WIDTH="33%"
ALIGN="right"
ALIGN="right"
VALIGN="top"
VALIGN="top"
><A
><A
HREF="mcmp-command.html"
HREF="mcmp-command.html"
ACCESSKEY="N"
ACCESSKEY="N"
>Next</A
>Next</A
></TD
></TD
></TR
></TR
><TR
><TR
><TD
><TD
WIDTH="33%"
WIDTH="33%"
ALIGN="left"
ALIGN="left"
VALIGN="top"
VALIGN="top"
>ip_address</TD
>ip_address</TD
><TD
><TD
WIDTH="34%"
WIDTH="34%"
ALIGN="center"
ALIGN="center"
VALIGN="top"
VALIGN="top"
><A
><A
HREF="common-commands.html"
HREF="common-commands.html"
ACCESSKEY="U"
ACCESSKEY="U"
>Up</A
>Up</A
></TD
></TD
><TD
><TD
WIDTH="33%"
WIDTH="33%"
ALIGN="right"
ALIGN="right"
VALIGN="top"
VALIGN="top"
>mcmp</TD
>mcmp</TD
></TR
></TR
></TABLE
></TABLE
></DIV
></DIV
></BODY
></BODY
></HTML
></HTML
 
 

powered by: WebSVN 2.1.0

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