Enabling Security - 2023.1 English

Standalone Library Documentation: BSP and Libraries Document Collection (UG643)

Document ID
UG643
Release Date
2023-05-16
Version
2023.1 English

To support encrypted and/or authenticated bitstream loading, you must enable security in PMUFW.

  1. Click File > New > Platform Project.
  2. Click Specify to create a new Hardware Platform Specification.
  3. Provide a new name for the domain in the Project name field if you wish to override the default value.
  4. Select the location for the board support project files. To use the default location, as displayed in the Location field, leave the Use default location check box selected. Otherwise, deselect the checkbox and then type or browse to the directory location.
  5. From the Hardware Platform drop-down choose the appropriate platform for your application or click the New button to browse to an existing Hardware Platform.
  6. Select the target CPU from the drop-down list.
  7. From the Board Support Package OS list box, select the type of board support package to create. A description of the platform types displays in the box below the drop-down list.
  8. Click Finish. The wizard creates a new software platform and displays it in the Vitis Navigator pane.
  9. Select Project > Build Automatically to automatically build the board support package. The Board Support Package Settings dialog box opens. Here you can customize the settings for the domain.
  10. Click OK to accept the settings, build the platform, and close the dialog box.
  11. From the Explorer, double-click platform.spr file and select the appropriate domain/board support package. The overview page opens.
  12. In the overview page, click Modify BSP Settings.
  13. Using the Board Support Package Settings page, you can select the OS Version and which of the Supported Libraries are to be enabled in this domain/BSP.
  14. Expand the Overview tree and select Standalone.
  15. Select a supported hardware platform.
  16. Select psu_pmu_0 from the Processor drop-down list.
  17. Click Next. The Templates page appears.
  18. Select ZynqMP PMU Firmware from the Available Templates list.
  19. Click Finish. A PMUFW application project is created with the required BSPs.
  20. Double-click the system.mss file to open it in the Editor view.
  21. Click the Modify this BSP's Settings button. The Board Support Package Settings dialog box appears.
  22. Select xilfpga. Various settings related to the library appears.
  23. Select secure_mode and modify its value to true .
  24. Click OK to save the configuration.
Note: By default the secure mode is enabled. To disable modify the secure_mode value to false.