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

a. Create a backup copy of the provided license file.
b. Save the new license file on your local hard drive.
c. Append the
file to the LM_LICENSE_FILE environment
variable.
5. If you have a floating licence, append the
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
ID>
.
The license location for the user is
specify @
b. Modify the license file to update the port number and host name.
c. Append the
file to the LM_LICENSE_FILE environment
variable.
Related Information
•
•
•
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-
tarball to a temporary directory on your development machine
by typing the
tar -xvfz aocl-rte-
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
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