Selecting a RAM Based File System - 2022.1 English

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

Document ID
UG643
Release Date
2022-04-21
Version
2022.1 English

To select a RAM based file system:

  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 = 2 to select the RAM.
  17. As this project is used by LWIP based application, select lwip library and configure according to your requirements. For more information, see the LwIP Library API Reference documentation.
  18. Use any lwip application that requires a RAM based file system - TCP/UDP performance test apps or tftp or webserver examples.
  19. Build the bsp and the application to use the RAM based file system.