Release_1.2.1_Notes >> function_ov_transport_cmd 

Fuego wiki

Login or create account

function ov transport cmd

NAME [edit section]

ov_transport_cmd

SYNOPSIS [edit section]

  • ov_transport_cmd <command and args>

DESCRIPTION [edit section]

ov_transport_cmd is used to execute a command on the target.

It used information from the board file to select the correct method to use to transfer files to the target. Currently supported transports are:

  • ssh
  • serial
  • ttc

EXAMPLES [edit section]

ENVIRONMENT and ARGUMENTS [edit section]

The following environment variables are used by ov_transport_put:
  • $TRANSPORT - specifies the type of transport used to communication with the board. This should be one of "ssh", "serial", "ttc".
  • $LOGIN
  • $PASSWORD

If $TRANSPORT is "ssh":

  • $DEVICE - the network name of the target device

If $TRANSPORT is "serial":

  • $SERIAL
  • $BAUD
  • $IO_TIME_SERIAL

If $TRANSPORT is "ttc":

  • $TTC_TARGET

For details about the meaning of the environment variables used here, see the TRANSPORT parameters section on the page Adding a board

The arguments are passed unchanged to the particular transport function selected by $TRANSPORT (e.g. ssh, serial)

RETURN [edit section]

Returns non-zero on error

SOURCE [edit section]

Located in overlays/base/base-board.fuegoclass

SEE ALSO [edit section]

TBWiki engine 1.8.3 by Tim Bird