Forum Discussion

antoineb's avatar
antoineb
Icon for New Contributor rankNew Contributor
1 month ago

NiosV µC/OS-II

Hello,

I try to design a NiosV program with TCP/IP based on this example design:

    Arria® 10 FPGA – Simple Socket Server for the Nios® V/m Processor Design Example

I understand that uC-TCP-IP library needs µC/OS-II but this option is not available in bsp editor GUI (only hal and freertos are available). When I try to execute the command from the project README, I have the following error :

$ niosv-bsp -c sw/bsp/settings.bsp -qpf=hw/top.qpf -qsys=hw/sys.qsys --type=ucosii --cmd="enable_sw_package uc_tcp_ip" ...
2026.03.11.18:36:31 Warning: Environment variable SOPC_KIT_NIOS2 not set
2026.03.11.18:36:38 Info: Searching for BSP components with category: os_software_element
2026.03.11.18:36:41 Error: BSP type "ucosii" is not valid. Valid types are:
 * freertos
 * hal

I'm using Quartus Version 23.4.0 Build 79 11/22/2023 Patches 0.70 SC Pro Edition

Thank you for your help.

7 Replies

  • Hello,

    Glad to know the Quartus 25.1.0 resolved the issue. The other issue you reported seams like installation issue for missing package. But i have referred this issue to internal team to get proper response. We will get back to you soon.

    Thanks

    • antoineb's avatar
      antoineb
      Icon for New Contributor rankNew Contributor

      Hello,

      Ok, this is working using Quartus Version 25.1.0 Build 129 03/26/2025 Patches 0.36 SC Pro Edition.

      Does it mean I have a problem with the Quartus 23 installation?

      I also have this message many times during compilation:

      /usr/bin/cmake: /home/intelFPGA_pro/25.1/quartus/linux64/libcurl.so.4: no version information available (required by /usr/bin/cmake)

      Thanks

      • LiangYuG_Altera's avatar
        LiangYuG_Altera
        Icon for Occasional Contributor rankOccasional Contributor

        Hi antoineb​ 

        Ok, this is working using Quartus Version 25.1.0 Build 129 03/26/2025 Patches 0.36 SC Pro Edition.
        Does it mean I have a problem with the Quartus 23 installation?

        I believe you are facing similar issue explained in this KDB.
        Nevertheless, the rule of thumb is always installed the latest Quartus software.

        Why do I get ERROR: SOPC_KIT_NIOS environment variable not set? | Altera Community - 341170 

        I also have this message many times during compilation:
        /usr/bin/cmake: /home/intelFPGA_pro/25.1/quartus/linux64/libcurl.so.4: no version information available (required by /usr/bin/cmake)

        I believe it is benign.
        But as commented by tehjingy_Altera​, it is recommended to "run the cmake from niosv-shell".
        This is because the Nios V Command Shell re-establish $PATH to use the cmake in RiscFree IDE, which helps our customer to get the same environment as our system here.

        Since your case is related to /usr/bin/cmake, you are using the default cmake from OS.
        Unfortunately, we have no visibility on how your OS's cmake may behave or affect your compiled binaries.

        Regards,
        Liang Yu