2.7 Configuring an RSE connection to work with an ARM® Linux target

Describes how to use an RSE connection to work with an ARM Linux target.

On some targets you can use a Secure SHell (SSH) connection with the Remote System Explorer (RSE) provided with DS-5™.

Procedure

  1. In the Remote Systems view, click on Define a connection to remote system in the Remote Systems view toolbar.
  2. In the Select Remote System Type dialog box, expand the General group and select Linux.

    Figure 2-1 Selecting a connection type

    Selecting a connection type

  3. Click Next.
  4. In the Remote Linux System Connection, enter the remote target IP address or name in the Host name field.

    Figure 2-2 Defining the connection information

    Defining the connection information

  5. Click Next.
  6. Select SSH protocol file access.

    Figure 2-3 Defining the file system

    Defining the file system

  7. Click Next.
  8. Select the shell processes for Linux systems.

    Figure 2-4 Defining the processes

    Defining the processes

  9. Click Next.
  10. Select SSH shells.

    Figure 2-5 Defining the shell services

    Defining the shell services

  11. Click Next.
  12. Select SSH terminals.

    Figure 2-6 Defining the terminal services

    Defining the terminal services

  13. Click Finish.
  14. In the Remote Systems view:
    1. Right-click on the Linux target and select Connect from the context menu.
    2. In the Enter Password dialog box, enter a UserID and Password if required.
    3. Click OK to close the dialog box.
    4. Copy the required from the local file system on to the target file system. You can do this by dragging and dropping the relevant files in the Remote Systems view. This example uses Gnometris which requires copying the stripped version of the Gnometris application, gnometris,and the libgames-support.so library.
    5. Ensure that the files on the target have execute permissions. To do this, right-click on each file, select Properties from the context menu and select the checkboxes as required.

      Figure 2-7 Modifying file properties from the Remote Systems view

      Modifying file properties from the Remote Systems view

  15. Open a terminal shell that is connected to the target and launch gdbserver with the application:
    1. In the Remote Systems view, right-click on Ssh Terminals.
    2. Select Launch Terminal to open a terminal shell.
    3. In the terminal shell, navigate to the directory where you copied the application, then execute the required commands.

      For example, to launch Gnometris:

      export DISPLAY=ip:0.0
      gdbserver :port gnometris

      where:

      ip

      is the IP address of the host to display the Gnometris game

      port

      is the connection port between gdbserver and the application, for example 5000.

      Note

      If the target has a display connected to it then you do not need to use the export DISPLAY command.

It contains the following sections:

Related tasks
Importing the example projects into Eclipse
Building the Gnometris project from Eclipse
Building the Gnometris project from the command-line
Loading the Gnometris application on a Real-Time System Model (RTSM)
Loading the Gnometris application on to an ARM® Linux target
Connecting to the Gnometris application that is already running on a ARM® Linux target
Debugging Gnometris
Related reference
Examples provided with DS-5™
Related information
Debug Configurations - Connection tab
Debug Configurations - Files tab
Debug Configurations - Debugger tab
Debug Configurations - Environment tab
Target management terminal for serial and SSH connections
Remote Systems view
Non-ConfidentialPDF file icon PDF versionARM DUI0478N
Copyright © 2010-2013 ARM. All rights reserved.