Visible to Intel only — GUID: hwo1482303523823
Ixiasoft
Advantages of Partial Reconfiguration
Scope of This Document
Prerequisites for Using This Document
Partial Reconfiguration Tools and Methods
Arria 10 SoC Partial Reconfiguration Workflow
Partial Reconfiguration Limitations
Creating the PR Example Design
Generating the Example Software Image
Loading Partial Reconfiguration Designs Using Linux
Important Partial Reconfiguration Terminology
Revision History
Qsys Partial Reconfiguration Freeze Logic
Importing the GHRD Project
Add a Partial Reconfiguration Region to the GHRD
Building the Base Revision with the Reconfigurable Design Partition
Synthesizing an Alternate Persona
Implementing the Alternate Persona
Generating the RBF FPGA Image Files
Design Handoff to Software Developer
Visible to Intel only — GUID: hwo1482303523823
Ixiasoft
Loading and Unloading the Device Tree Overlays
- Boot the SoC Development Kit using the updated SD card.
- From the /boot/ directory, run the following commands to load the base static region device tree overlay. This creates the device tree node that can be modified to load and unload the example PR region personas.
root@arria10:~# dtbt -a base_static.dtbo -p /boot Set dtbo search path to /boot Applying dtbo: base_static.dtbo
- Check the list of applied overlays using the following command.
root@arria10:~# dtbt -l 1 fpga_static_region.dtbo applied /sys/kernel/config/device-tree/overlays/1-base_static.dtbo
- Load the default PR region persona using the following command.
root@arria10:~# dtbt -a pr_region_default.dtbo -p /boot Set dtbo search path to /boot Applying dtbo: pr_region_default.dtbo [ 78.934742] fpga_manager fpga0: writing pr_region_default.rbf to SoCFPGA Arria10 FPGA Manager
- Check the system ID value using the following command.
root@arria10:~# cat /sys/bus/platform/drivers/altera_sysid/ \ ff200800.sysid/sysid/id
- Unload the default PR region persona and load the alternate persona using the following commands.
root@arria10:~# dtbt -r pr_region_default.dtbo -p /boot Set dtbo search path to /boot Removing dtbo: 2-pr_region_default.dtbo root@arria10:~# dtbt -a pr_region_alt.dtbo -p /boot Set dtbo search path to /boot Applying dtbo: pr_region_alt.dtbo [ 437.905424] fpga_manager fpga0: writing pr_region_alt.rbf to SoCFPGA Arria10 FPGA Manager
- Check the system ID value of the newly loaded alternate persona with the following command.
root@arria10:~# cat \ /sys/bus/platform/drivers/altera_sysid/ff200a00.sysid/sysid/id
- Finally, remove the PR region alternate persona using the following command.
root@arria10:~# dtbt -r pr_region_alt.dtbo -p /boot Set dtbo search path to /boot Removing dtbo: 2-pr_region_alt.dtbo
Related Information