Main Content

Command Line Session with Intel Device

You can configure and open a command-line session with the hardware.

Operating in the command line, you can:

  • View the standard output while the hardware boots.

  • Get or set the IP address of the device.

If you have multiple Intel® SoC devices connected to your development computer, disconnect those you are not using.

Identify COM Port

Determine the COM port number assigned to the USB UART connection of the Intel SoC device by the development computer:

  1. In Windows®, open Devices and Printers.

  2. Locate the USB device that connects to the Intel SoC platform, such as FT232R USB UART.

    Devices and Printers window showing the connected USB devices

  3. Open FT232R USB UART. To see the COM port number of the USB Serial Port, select the Hardware tab.

    Hardware settings in the FT232R USB UART Properties window

Open Serial Connection

Open a serial connection to the device using a terminal software, such as PuTTy:

  1. Configure the PuTTy for Serial connection.

    PuTTy Configuration window, with the Serial category selected and highlighted

  2. Enter the following values:

    • Serial line to connect to: Enter the COM port number.

    • Speed: 115200

    • Flow control: None

  3. In the PuTTy Configuration window, select the Session category.

    PuTTy Configuration window, with the Session category selected and highlighted

  4. For Connection type, select Serial.

  5. For Saved Sessions, enter a new name, such as “Serial”.

  6. Click Save, and then click Open.

  7. When a terminal window opens, press the Enter key on your keyboard. The terminal window displays a Linux® command prompt.

    Terminal window showing the Linux command prompt

Get Device IP Address

Get the hardware IP address from the Linux command line:

  1. At the Linux command line, enter: ifconfig

  2. Locate the eth0 device, and get the value of inet addr from the command-line output.

    Command-line output, with the value of inet addr for the eth0 device highlighted

  3. To confirm the connection to the device, see Sending PING Request to Intel SoC Device.

  4. Close the terminal session. Leaving the terminal session open prevents the build process from connecting to the Intel SoC device and produces a build error.

Open SSH Connection

Open an SSH connection to the device using a terminal software, such as PuTTy:

  1. To configure the PuTTy for SSH connection, select Session.

    PuTTy Configuration window, with the Session category selected and highlighted

  2. Enter the following values:

    • Host Name (or IP address): Enter the inet addr of the device.

    • Port: 22

  3. For Saved Sessions, enter a new name, such as SSH.

  4. Click Save, then Open.

  5. When a terminal window opens, login as the user root with password cyclonevsoc. The terminal window displays a Linux terminal.

    Terminal window showing the Linux command prompt

  6. Close the terminal session. Leaving the terminal session open prevents the build process from connecting to the Intel SoC device and produces a build error.

See Also

External Websites