Skip to content
GeMRTOS
GeMRTOS

The Generic eMbedded Multiprocessor RTOS

  • Home
  • Download Now!
  • GeMRTOS
    • License
    • Download
    • GeMRTOS Documentation
      • Documentation Browser
      • GeMRTOS Manuals
    • GeMRTOS repository
  • Log in
  • Contact us
Search
GeMRTOS
GeMRTOS

The Generic eMbedded Multiprocessor RTOS

  • Download Now!!!
  • GeMRTOS
    • License
    • Download now!
    • GeMRTOS documentation
    • GeMRTOS repository
  • Login
  • Contact us
  • FPGA Laboratory ACCESS
  • Cursos de FPGA (en español)
  • Challenges
GeMRTOS
GeMRTOS

The Generic eMbedded Multiprocessor RTOS

  • Home
  • Download Now!
  • GeMRTOS
    • License
    • Download
    • GeMRTOS Documentation
      • Documentation Browser
      • GeMRTOS Manuals
    • GeMRTOS repository
  • Log in
  • Contact us
Search
GeMRTOS
GeMRTOS

The Generic eMbedded Multiprocessor RTOS

  • Download Now!!!
  • GeMRTOS
    • License
    • Download now!
    • GeMRTOS documentation
    • GeMRTOS repository
  • Login
  • Contact us
  • FPGA Laboratory ACCESS
  • Cursos de FPGA (en español)
  • Challenges

GeMRTOS - Getting started

  • Introduction to GeMRTOS
  • Getting Started with GeMRTOS: Multiprocessor RTOS for Altera FPGA (Nios II & Nios V)
  • API references
  • Platform Designer Flow for GeMRTOS Nios V FPGA Development
  • GeMRTOS RTOS Task Periods: Infinite Loop vs Periodic Tasks
  • Install Quartus Prime and WSL for GeMRTOS Nios V on Windows

GeMRTOS - Features

  • GeMRTOS Mutex and Critical Sections in Multiprocessor RTOS
  • GeMRTOS Signals: Runtime Exception Handling for Nios V RTOS
  • GeMRTOS System Architecture – Multiprocessor Design with Altera Nios V Processors
  • Hybrid Partition Scheduling in GeMRTOS, Multiprocessor RTOS for Altera FPGA
  • GeMRTOS Scheduling Lists: EDF and Fixed Priority RTOS Guide
  • GeMRTOS Tasks: Types, Creation, and Scheduling for Nios V
  • GeMRTOS Trigger Resources: Event Handling Beyond Interrupts
  • GeMRTOS Controller: Complete FPGA RTOS Hardware Guide
  • Data Structures in GeMRTOS: Control Blocks and Linked Lists
  • GeMRTOS Semaphores: Binary and Counting API for Nios V RTOS

General

  • Error (16031): Current Internal Configuration mode does not support memory initialization or ROM. Select Internal Configuration mode with ERAM.
  • newlib Thread Safety in GeMRTOS Nios V Multiprocessor RTOS
  • Set Up Questa-Intel FPGA Edition License for GeMRTOS Nios V
  • Installing Nios II Software Built Tools (SBT) for Eclipse in Quartus Prime starting from version 19.1
  • Fix Quartus Prime 23.1 Fatal Error When Creating ALTPLL IP
  • Fix Missing SDRAM Controller IP in Quartus Prime for GeMRTOS
  • GeMRTOS Nios: Fix 256MB Compile Boundary with -relax-all
  • Questa Simulation Setup for GeMRTOS Nios V: Two Common Fixes
  • Quartus Warning 113015: mem_init.hex Width Mismatch BSP Fix
  • GeMRTOS Secondary Processors Not Booting: nios2-download Fix
  • Fix Quartus Prime System Console: jvm.dll and awt.dll Errors
  • Eclipse does not start after full Quartus Prime instalation
  • Home
  • GeMRTOS KnowledgeBase
  • GeMRTOS
  • Install Quartus Prime and WSL for GeMRTOS Nios V on Windows

Install Quartus Prime and WSL for GeMRTOS Nios V on Windows

The GeMRTOS design flow for Nios V FPGA development uses command-line tools that require a Linux-compatible environment on Windows. Versions of Quartus Prime above v22.0 use the Windows Subsystem for Linux (WSL) instead of the legacy Cygwin environment. This guide covers the complete installation of Quartus Prime v22.0 and WSL on Windows 10 64-bit, including the Ubuntu 18.04 distribution and all build tools required for the GeMRTOS design flow.

Step 1: Download and Install Quartus Prime #

From the intel.com website, download Quartus Prime v22.0 (or later) with Questa — Intel Starter Edition. Select the desired FPGA device families during installation and follow all installation instructions to completion.

Step 2: Install and Configure WSL #

Run PowerShell as Administrator and execute the following steps in order.

  1. Install WSL:

    wsl --install

    In Windows Features, ensure the Windows Subsystem for Linux option is enabled.

    Windows Features dialog showing the Windows Subsystem for Linux option enabled
  2. Restart WSL to apply changes:

    wsl --shutdown
  3. Install Ubuntu 18.04 (username and password required):

    wsl --install -d Ubuntu-18.04    (username and password is required)

    To check available distributions before installing:

    wsl --list --online
    Note: in virtual machines, error 0x80370102 may occur. It is solved by executing:
        wsl --update
        wsl --set-default-version 1
        wsl --shutdown
    and then trying again
        wsl --install -d Ubuntu-18.04
  4. Configure the WSL environment for GeMRTOS (confirm all prompts):

    sudo apt update
    sudo apt install wsl
    sudo apt install dos2unix
    sudo apt install make
    sudo apt install build-essential

Key Takeaways #

  • Quartus Prime versions above v22.0 use WSL for GeMRTOS command-line design flow on Windows — Cygwin is only required for older versions.
  • WSL must be installed and restarted (wsl --shutdown) before adding a Linux distribution; skipping the restart is a common cause of installation failures.
  • The GeMRTOS design flow requires Ubuntu 18.04 plus four packages: wsl, dos2unix, make, and build-essential.
  • On virtual machines, error 0x80370102 can be resolved with wsl --update and wsl --set-default-version 1 before retrying the Ubuntu installation.
  • Once installed, use gemrtos_build.sh within the WSL environment to execute the full GeMRTOS Nios V build and programming flow.

Reference: [1] “2.3.1. Installing Windows* Subsystem for Linux* (WSL) on Windows*,” Intel. https://www.intel.com/content/www/us/en/docs/programmable/683472/22-1/installing-windows-subsystem-for-linux.html

Avalon MM, GeMRTOS, Nios 2, Nios V, RISC-V
Share This Article :
  • Facebook
  • Twitter
  • LinkedIn
  • Pinterest
Still stuck? How can we help?

How can we help?

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Table of Contents
  • Step 1: Download and Install Quartus Prime
  • Step 2: Install and Configure WSL
  • Key Takeaways

Copyright © 2026 - contact us - Dorrego 287 - B8000FLE - Bahía Blanca - Argentina - +542914311867  GeMRTOS

Nios II, Nios V, Quartus Prime, ModelsSim are property of their respective companies.
GeMRTOS is property of R. Cayssials.
**All contact forms on this site are protected by reCAPTCHA. Google Privacy

GeMRTOS joins Intel Partner Alliance as Gold member.