agentCfg - Configure Agent

Added in version PLT-OS: v2.0

To facilitate SBC interaction during production, include an x86-64 PC or an additional SBC in the test fixture.

Interaction is configured based on the system’s connection:

  • USB: Configure UART (USB-CDC) for an SBC running an image based PPC Yocto Layer, optionally transferring files to its RAMDISK.

  • Ethernet: Configures a PLT agent for allowing from a PLT over Ethernet, optionally transferring files.

Usage:

- command: agentCfg <handle> [<uartPort>]
  [retry: <retryCount>]
  [id: <usbDeviceID | macAddress>]
  [path: <usbDevicePath>]
  [extractKey: <key>]
  [with:
    [- <fileName>]
    ...]

Argument

Description

handle

Used to refer to this agent in further commands.

retryCount

Optional: Number of times to retry the test step

fileName

Optional: Name of file to write to the SBC.

key

Optional: Key in which to store the UART port

usbDeviceID

Optional: USB device identifiers: VID:PID.

usbDevicePath

Optional: USB device path: port. .port.

usbDeviceInterface

Optional: USB device interface: interface_number.

macAddress

Optional: Ethernet MAC address: XX:XX:XX:XX:XX:XX.

Examples

Note

For Ethernet-based control, the PLT agent package should be installed on the Agent PC.

References