Showing results for 
Search instead for 
Did you mean: 
836 Discussions

Setting up a new CentOS Hyper-V VM for Linux NIOSII EDS development on a Windows PC

Setting up a new CentOS Hyper-V VM for Linux NIOSII EDS development on a Windows PC


This article is dedicated to Quartus NIOSII EDS users that may be struggling to run NIOSII EDS and Eclipse in a Windows OS environment.  Cygwin was removed from Quartus starting in version 19.1 and some users have had trouble mixing earlier versions of Quartus supporting Cygwin with more recent versions of Quartus that require a separate WSL installation.  The information below will help users setup a Linux virtual machine on their Windows PC.  Using the Linux virtual machine for NIOSII EDS development will decouple a user from potential conflicts between multiple Quartus versions, file permissions issues, WSL, and WSL2.

The attached document describes the process to do the following:

- Enabling Hyper-V on your Windows PC

- Installing a CentOS virtual machine (VM)

- Setting up CentOS

- Setting up Hyper-V on the Windows PC

- Install and configure WinSCP for file transfer between Windows OS and CentOS

- Downloading Quartus tools for Linux

- Installing CentOS development tools

- Setting up a JTAG server in the Quartus programmer on the Windows PC

- Connecting to the remote JTAG server in CentOS

Links to existing KDBs related to NIOSII EDS issues:

How to install the Windows* Subsystem for Linux* (WSL) on Windows* OS?

If you get:
E: Unable to locate package wsl
Make sure you also do the following:
sudo apt install wsl

Unable to generate bsp project from eclipse.

Error: Execution of command "{<quartus_installation>/nios2eds/Nios II Command Shell.bat} make all 2>> stderr.txt" failed

Why can't I run Nios® II Software Build Tools (SBT) Eclipse in Intel® Quartus® Prime Pro Edition 20.1?

Why do I get error when creating a new project with Nios II Software Build Tools for Eclipse ?

Why does Nios® II Embedded Design Suite (EDS) - Eclipse crash and cause a segmentation fault?

Is the Nios® II Software Build Tools (SBT) for Eclipse included in the full installation of the Intel® Quartus® Prime Pro Edition software starting from version 19.1?

Warning (113015): Width of data items in <mem_init>.hex is greater than the memory width

Why my Nios® II design with PIO edge capture interrupt is not working?

Why my Nios® II Simple Socket Server design example fails to auto-negotiate at 1G speed

SEVERE: elf2flash: Read error: File not found: /mnt/c/intelFPGA_pro/19.2/nios2eds/components/altera_nios2/boot_loader_cfi.srec

Why does Nios® II Command Shell fail to launch on Windows*?

Why does the Nios® II build flow produce incorrect .elf file size on Windows WSL?

Why does the Nios® II build flow report Unable to determine program-size on Windows WSL?

wslpath: <path to Nios II Command Shell script>

nios2-elf-gcc.exe: error: CreateProcess: No such file or directory



Version history
Last update:
‎11-03-2020 12:41 PM
Updated by: