Configuring the sw3 switches – Altera RTE for OpenCL User Manual

Page 47

Advertising
background image

Cyclone V SoC Development Kit Reference Platform, and then write the image onto the micro SD flash

card. The SD card image contains everything you need to start using OpenCL on the board.

Before you begin

The SD card image

linux_sd_card_image.tgz

is available in the Cyclone V SoC Development Kit Reference

Platform. Ensure that the environment variable AOCL_BOARD_PACKAGE_ROOT points to the location

of the

board_env.xml

file in the Reference Platform.

You must have sudo or root privileges.
1. To decompress the

$ALTERAOCLSDKROOT/board/c5soc/linux_sd_card_image.tgz

file, run the

tar xvfz

linux_sd_card_image.tgz

command.

2. Insert the micro SD flash card into a card reader, and connect the reader to your PC.

a. If the flash card already contains an image, partitions will exist automatically in the micro SD card.

Unmount or eject all these partitions.

3. Run the

dmesg | tail

command to verify the device name of the flash card (for example, /dev/

sde).

4. Write the SD card image onto the micro SD flash card by running the following commands:

sudo dd if=linux_sd_card_image of=/dev/sde bs=1M

sync

Attention: If the device name of your micro SD flash card is not /dev/sde, replace /dev/sde in the

above command with the device name you obtain from Step 3.

Warning:

Specifying the wrong device name might cause the SD card image to overwrite all existing

data.

5. After you write the image onto the micro SD flash card, insert the card into the micro SD card slot on

the Cyclone V SoC Development Kit.

Configuring the SW3 Switches

Configure the SW3 dual in-line package (DIP) switches on the Cyclone V SoC Development Kit. The

switch bank is located next to the SD card slot.
1. Set the SW3 DIP switches to the following positions:

Switch

Configuration

1

ON

2

OFF

3

ON

4

OFF

5

ON

6

ON

The figure below illustrates the physical configuration of the SW switches on the Cyclone V SoC

Development Kit:

4-18

Configuring the SW3 Switches

OCL005-15.0.0

2015.05.04

Altera Corporation

Getting Started with the Altera RTE for OpenCL for Altera ARMv7-A SoC

Send Feedback

Advertising