Using ssh and scp – Altera SDK for OpenCL Cyclone V SoC User Manual

Page 19

Advertising
background image

To reboot the CPU, press the Warm reset button next to the four hard processor system (HPS) LEDs

on the board.

3. If you are unable to acquire the IP address, ensure that the Ethernet cable is in good working condition

and the Ethernet port on your network is enabled.

Using SSH and SCP

Instead of connecting the Cyclone V SoC Development Kit to the host system using UART over USB and

transferring files using a network drive, you can initiate a Secure Shell (SSH) connection and transfer files

using a Secure Copy (SCP) program.

1. To establish a connection between the Cyclone V SoC Development Kit and the host system via SSH,

invoke the

ssh root@<board_ip_address>

command from your development machine.

For instructions on how to identify <board_ip_address>, refer to the Ensuring IP Address Acquisition

section.

2. To transfer files, one at a time, from the host system to the board via SCP, invoke the

scp

<source_filename> root@<board_ip_address>:<target_filename>

command

from your development machine.

Related Information

Ensuring IP Address Acquisition

on page 2-9

Creating the Hardware Configuration File of an OpenCL Kernel for SoC

The hardware configuration file of an OpenCL kernel is called an Altera Offline Compiler Executable file

(

.aocx

). To create the

.aocx

file for the hello_world example OpenCL application, you must download the

example design from the OpenCL Design Examples page on the Altera website. Extract the downloaded

source files, and then compile the kernel using the Altera Offline Compiler (AOC).
After you successfully install your FPGA board, you can create a

.aocx

file that executes on the device. The

steps below describe the process of creating a

.aocx

file from the hello_world example design. For more

information on the OpenCL design examples, refer to the OpenCL Design Examples page on the Altera

website.
Important: Before you program your Cyclone V SoC with the hardware image, ensure that your SoC

contains an image created using the current version of the AOCL.

The figure below summarizes the steps you perform to program your Cyclone V SoC.

2-10

Using SSH and SCP

OCL006-15.0.0

2015.05.04

Altera Corporation

Setting Up the Altera SDK for OpenCL, SoC EDS, and the Cyclone V SoC Development Kit for Windows

Send Feedback

Advertising