Visible to Intel only — GUID: ewa1456769854182
Ixiasoft
1.1. Overview of the Cyclone V SoC Development Kit Reference Platform
1.2. Porting the Reference Platform to Your SoC FPGA Board
1.3. Software Support for Shared Memory
1.4. FPGA Reconfiguration
1.5. Building an SD Flash Card Image
1.6. Compiling the Linux Kernel for Cyclone V SoC FPGA
1.7. Known Issues
1.8. Document Revision History
Visible to Intel only — GUID: ewa1456769854182
Ixiasoft
1.5.1. Modifying an Existing SD Flash Card Image
Intel® recommends that you simply modify the image available with the Cyclone V SoC Development Kit Reference Platform. You also have the option to create a new SD flash card image.
The c5soc linux_sd_card_image.tgz image file is available in the INTELFPGAOCLSDKROOT/board/c5soc directory, where INTELFPGAOCLSDKROOT points to the path of the Intel® FPGA SDK for OpenCL™ 's installation directory.
Attention: To modify the SD flash card image, you must have root or sudo privileges.
- To decompress the $INTELFPGAOCLSDKROOT/board/c5soc/linux_sd_card_image.tgz file, run the tar xvfz linux_sd_card_image.tgz command.
- Compile the hello_world OpenCL example design using your Custom Platform support. Rename the .rbf file that the Intel® FPGA SDK for OpenCL™ Offline Compiler generates as opencl.rbf, and place it on the fat32 partition within the SD flash card image.
You can download the hello_world example design from the OpenCL Design Examples page on the Altera website.
- Place the .rbf file into the fat32 partition of the flash card image.
Attention: The fat32 partition must contain both the zImage file and the .rbf file. Without a .rbf file, a fatal error will occur when you insert the driver.
- After you create the SD card image, write it to a micro SD card by invoking the following command:
sudo dd if=/path/to/sdcard/image.bin of=/dev/sdcard
- To test your SD flash card image, perform the following tasks:
- Insert the micro SD flash card into the SoC FPGA board.
- Power up the board.
- Invoke the aocl diagnose utility command.