Intel® FPGA SDK for OpenCL™: Intel® Arria® 10 SoC Development Kit Reference Platform Porting Guide
ID
683788
Date
10/08/2019
Public
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
3.5.2.1. Creating Partition 1 of the SD Card Image
To create partition 1 of the SD card image:
- Mount the FAT32 partition (partition 1) in the sdimage.img file as a loop-back device.
To mount a partition:
- Determine the byte start of the partition within the image with the /sbin/fdisk -lu image_file command.
For example, partition number 1 of type W95 FAT has a block offset of 2121728. With 512 bytes per block, the byte offset is 512 bytes x 2121728 = 1086324736 bytes.
- 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/disk1, issue the following command:Within the image file, /media/disk1 is now a mounted FAT32 partition.
mount /dev/loop0 /media/disk1
- Determine the byte start of the partition within the image with the /sbin/fdisk -lu image_file command.
- Remove all files from the mounted directory, and copy socfpga_arria10_socdk_sdmmc.dtb, socfpga.rbf and zImage to the partition.
- After you store all the necessary files onto the flash card image, run the following commands:
sync umount /media/disk1 losetup -d /dev/loop0