Community
cancel
Showing results for 
Search instead for 
Did you mean: 

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

Description

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?

https://www.intel.com/content/altera-www/global/en_us/index/support/support-resources/knowledge-base...

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.

https://community.intel.com/t5/Intel-Quartus-Prime-Software/Unable-to-generate-bsp-project-from-ecli...

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

https://www.intel.com/content/altera-www/global/en_us/index/support/support-resources/knowledge-base...

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

https://www.intel.com/content/altera-www/global/en_us/index/support/support-resources/knowledge-base...

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

https://www.intel.com/content/altera-www/global/en_us/index/support/support-resources/knowledge-base...

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

https://www.intel.com/content/altera-www/global/en_us/index/support/support-resources/knowledge-base...

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?

https://www.intel.com/content/altera-www/global/en_us/index/support/support-resources/knowledge-base...

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

https://www.intel.com/content/altera-www/global/en_us/index/support/support-resources/knowledge-base...

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

https://www.intel.com/content/altera-www/global/en_us/index/support/support-resources/knowledge-base...

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

https://www.intel.com/content/altera-www/global/en_us/index/support/support-resources/knowledge-base...

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

https://www.intel.com/content/altera-www/global/en_us/index/support/support-resources/knowledge-base...

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

https://www.intel.com/content/altera-www/global/en_us/index/support/support-resources/knowledge-base...

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

https://www.intel.com/content/altera-www/global/en_us/index/support/support-resources/knowledge-base...

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

https://www.intel.com/content/altera-www/global/en_us/index/support/support-resources/knowledge-base...

wslpath: <path to Nios II Command Shell script>

https://www.intel.com/content/altera-www/global/en_us/index/support/support-resources/knowledge-base...

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

https://www.intel.com/content/altera-www/global/en_us/index/support/support-resources/knowledge-base...

 

 

Attachments
Version history
Revision #:
7 of 7
Last update:
‎11-03-2020 12:41 PM
Updated by:
 
Contributors