Forum Discussion

feb-kh's avatar
feb-kh
Icon for New Contributor rankNew Contributor
2 months ago

NIOS2 filesystem support

We have a system running on NIOS 2 processor with Cyclone5 FPGA and ecos RTOS. We are planning to remove the OS dependency and convert the application to baremetal. Already JFFS filesystem and FIS filesystem are being used in the application. Is there any filesystem libraries that can be used in baremetal? Files are having read and write access. Any specifc links to some examples of the usage of the same in NIOS 2 processor?

4 Replies

  • Hello, thank you for reaching out. Libraries for file system support are available from the Zephyr project, as separate libraries, such as FatFS and LittleFS. Altera does not provide support for specific filesystems such as JFFS2.

  • feb-kh's avatar
    feb-kh
    Icon for New Contributor rankNew Contributor

    Would those libraries be RTOS dependent? Is there any other baremetal supported filesystem libraries?

    • YvesV-Altera's avatar
      YvesV-Altera
      Icon for New Contributor rankNew Contributor

      Nothing that a Google search would turn up. Such a library would assume an interface to a flash/block device driver. Perhaps CMSIS is an option to explore.

    • BoonBengT_Altera's avatar
      BoonBengT_Altera
      Icon for Moderator rankModerator

      Hi feb-kh,

       

      I hope you’re doing well. I wanted to follow up and check if there are any remaining questions or concerns regarding this matter. Please let us know if anything still needs clarification — we’re happy to assist further.

      Thank you for your time, and we look forward to your feedback.

       

      Best Wishes

      BB