Recompiling the linux kernel driver, Installing the rte onto the soc board, Recompiling the linux kernel driver -15 – Altera RTE for OpenCL User Manual

Page 44: Installing the rte onto the soc board -15

Advertising
background image

a. Create a backup copy of the provided license file.

b. Save the new license file on your local hard drive.

c. Append the

<path_to_license_file>/<license_filename>

file to the LM_LICENSE_FILE environment

variable.

5. If you have a floating licence, append the

<path_to_license_file>/<license_filename>

file to the

LM_LICENSE_FILE environment variable in the following manner:
a. Obtain the port number and host name from the network or system administrator. Alternatively,

the information is in the license file line

SERVER <hostname> <8 to 12 character host or NIC

ID> <port>

.

The license location for the user is <port>@<hostname>. If a port is not listed in the license file,

specify @<hostname>.

b. Modify the license file to update the port number and host name.

c. Append the

<path_to_license_file>/<license_filename>

file to the LM_LICENSE_FILE environment

variable.

Related Information

Altera Licensing page on the Altera website

Altera Software Installation and Licensing

Altera website

Recompiling the Linux Kernel Driver

Attention: If you download and install the Altera SDK for OpenCL, the Cyclone V SoC Development Kit

Reference Platform (

ALTERAOCLSDKROOT/board/c5soc

) includes an SD card image (

linux_sd_

card_image.tgz

) that contains the recompiled Linux kernel driver.

If you need to rebuild the Linux kernel driver, recompile the

aclsoc

Linux kernel driver to the exact version

of the Linux kernel running on the SoC.
Important: You must recompile the

aclsoc

Linux kernel driver on your Linux development machine.

1. Unpack the

aocl-rte-<version>.arm32.tgz

tarball to a temporary directory on your development machine

by typing the

tar -xvfz aocl-rte-<version>.arm32.tgz

command.

2. Navigate to the

ALTERAOCLSDKROOT/board/c5soc/driver

subdirectory of the unpacked

aclrte-arm32

package.

3. Perform the tasks outlined in the Recompiling the Linux Kernel and the OpenCL Linux Kernel Driver

section of the Altera Cyclone V SoC Development Kit Reference Platform Porting Guide.

Related Information

Recompiling the Linux Kernel and the OpenCL Linux Kernel Driver

Installing the RTE onto the SoC Board

The Altera Runtime Environment (RTE) for OpenCL installation package for Altera SoCs with 32-bit

ARM processor is available in tar format. To install the software, you must install it in a directory that you

own, and set all the necessary environment variables.

OCL005-15.0.0

2015.05.04

Recompiling the Linux Kernel Driver

4-15

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

Altera Corporation

Send Feedback

Advertising