Eurotech ZEUS Manual de usuario Pagina 58

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 72
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 57
Arcom Embedded Linux Technical Manual RedBoot
These parameters are explained in the following table:
Parameter Action
-r
Loads a raw image. The default is to load an SREC format image.
-m <method>
Specifies the transfer method. This can be http, tftp, file,
xmodem or ymodem.
-h <host>
Specifies the TFTP or HTTP server address, if you are using one
of these methods. The server address given to the ip_address
command, the address supplied by the BOOTP server or the
server address in the Flash configuration block is used (in that
order).
-b <base address>
Specifies the address to load the image to. This option is required
when you use the –r (raw image) option.
<filename>
The name of the file to load, if you are loading via TFTP or HTTP
or from a file on a JFFS2 file system.
In almost every situation you can use the –r and –b parameters to load a raw image to
a specific address. The exception to this is when loading an ELF formatted file, as these
already contain details of their load address. Loading an SREC format image is beyond
the scope of this manual and is described in the eCos Reference Manual.
For example, the following command loads the raw file application.img from the default
TFTP server to address 0x200000:
RedBoot> load -r -b 0x200000 -m tftp application.img
The following loads an ELF image to the correct address:
RedBoot> load –m tftp redboot-ram.elf
Download via serial connection
Images are downloaded over the serial line using the X- or Y-modem protocols. You can
initiate a transfer by entering the following command:
RedBoot> load –r –b %{FREEMEMLO} –m ymodem
Once you have done this, you must start a Y-modem upload from within your serial
terminal emulation program. Under minicom, this is done by pressing Ctrl-A followed by
S.
© 2006 Arcom Issue G 58
Vista de pagina 57
1 2 ... 53 54 55 56 57 58 59 60 61 62 63 ... 71 72

Comentarios a estos manuales

Sin comentarios