Selecting a File System with an SD Interface - 2021.1 English

Xilinx Standalone Library Documentation OS and Libraries Document Collection (UG643)

Document ID
Release Date
2021.1 English

To select a file system with an SD interface:

  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. Select the xilffs library from the list of Supported Libraries.
  15. Expand the Overview tree and select xilffs. The configuration options for xilffs are listed.
  16. Configure the xilffs by setting the fs_interface = 1 to select the SD/eMMC. This is the default value. Ensure that the SD/eMMC interface is available, prior to selecting the fs_interface = 1 option.
  17. Build the bsp and the application to use the file system with SD/eMMC. SD or eMMC will be recognized by the low level driver.