Visible to Intel only — GUID: lrv1550620142460
Ixiasoft
1. Intel® FPGA SDK for OpenCL™ Intel® Arria® 10 SoC Development Kit Reference Platform Porting Guide
2. Developing an Intel Arria 10 SoC Custom Platform
3. Building the Software and SD Card Image for the Intel® Arria® 10 SoC Development Kit Reference Platform
4. Intel® FPGA SDK for OpenCL™ Intel® Arria® 10 SoC Development Kit Reference Platform Porting Guide Archives
5. Document Revision History for Intel® FPGA SDK for OpenCL™ : Intel® Arria® 10 SoC Development Kit Reference Platform Porting Guide
1.1. Intel Arria 10 SoC Development Kit Reference Platform: Prerequisites
1.2. Features of the Intel Arria 10 SoC Development Kit Reference Platform
1.3. Intel Arria 10 SoC Development Kit Reference Platform Board Variants
1.4. Contents of the Intel Arria 10 SoC Development Kit Reference Platform
1.5. Changes in Intel Arria 10 SoC Development Kit Reference Platform from 17.0 to 17.1
1.6. Changes in Intel Arria 10 SoC Development Kit Reference Platform from 17.1.2 to 18.0
2.1. Initializing an Intel Arria 10 SoC Custom Platform
2.2. Modifying Your Intel Arria 10 SoC Custom Platform
2.3. Integrating Your Intel Arria 10 SoC Custom Platform with the Intel® FPGA SDK for OpenCL™
2.4. Changing the Device Part Number
2.5. Modifying the Kernel PLL Reference Clock
2.6. Modifying the Hard Processor System
2.7. Guaranteeing Timing Closure in the Intel Arria 10 SoC Custom Platform
2.8. Generating the base.qar Post-Fit Netlist for Your Intel Arria 10 SoC FPGA Custom Platform
Visible to Intel only — GUID: lrv1550620142460
Ixiasoft
3.5.2.2. Creating Partition 2 of the SD Card Image
To create partition 2 of the SD card image:
- Mount partition 2 in the sdimage.img file as a loop-back device.
To mount a partition:
- Determine the byte start of the partition within the image by invoking the /sbin/fdisk -lu image_file command.
- Identify a free loop device (for example, /dev/loop0) by typing the losetup -f command.
- Assign your flash card image to the loop block device by invoking the losetup command.
For example, if /dev/loop0 is the free loop device, issue the following command:
losetup /dev/loop0 image_file -o <byte offset>
- Mount the loop device.
For example, if /dev/loop0 is the loop device and the mount point is media/disk2, issue the following command:Within the image file, media/disk2 is now mounted.
mount /dev/loop0 media/disk2
- From the Intel® Download Center for FPGAs, download and unpack the Intel® FPGA Runtime Environment for OpenCL* Linux Cyclone® V SoC TGZ file:
To download and unpack the file:
- Go the Intel® Download Center for FPGAs page for the Intel® FPGA SDK for OpenCL™ at the following URL: http://fpgasoftware.intel.com/opencl/?edition=pro.
- Click the RTE tab, select Intel FPGA Runtime Environment for OpenCL Linux SoC TGZ, and click Download to download the file.
- Unpack the downloaded file (aocl-rte-<version>.arm32.tgz) to a directory that you own.
- Place the unpacked aocl-rte-<version>.arm32 directory into the /home/root/opencl_arm32_rte directory on partition 2 of the image file.
- Copy aclsoc_drv.ko to the /home/root/opencl_arm32_rte/board/a10soc/arm32/driver/ directory on partition 2 of the image file.
- Create the init_opencl.sh file in the /home/root directory with the following content:
export INTELFPGAOCLSDKROOT=/home/root/opencl_arm32_rte export AOCL_BOARD_PACKAGE_ROOT=$INTELFPGAOCLSDKROOT/board/a10soc export PATH=$INTELFPGAOCLSDKROOT/bin:$PATH export LD_LIBRARY_PATH=$INTELFPGAOCLSDKROOT/host/arm32/lib:$LD_LIBRARY_PATH insmod $AOCL_BOARD_PACKAGE_ROOT/arm32/driver/aclsoc_drv.ko
The SDK user runs a source ./init_opencl.sh command to load the environment variables and the OpenCL* Linux kernel driver.
- After you store all the necessary files onto the flash card image, run the following commands:
sync umount media/disk2 losetup -d /dev/loop0