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

cancel
Showing results for 
Search instead for 
Did you mean: 
363 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

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/tools/2019/how-do-i-install-the-windows--subsystem-for-linux---wsl--on-wind.html

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-eclipse/td-p/690293?profile.language=zh-TW

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/tools/2020/error--execution-of-command----quartusinstallation--nios2eds-nio.html

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/embedded/2020/why-i-cannot-run-nios--ii-software-build-tools--sbt--eclipse-in-.html

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/tools/2020/why-do-i-get-error-when-creating-a-new-project-with-nios-ii-ecli.html

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/embedded/2019/why-does-eclipse-crash-and-cause-a-segmentation-fault-.html

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/tools/2019/why-does-the-nios--ii-not-installed-after-full-installation-of-t.html

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/solutions/rd03252015_881.html

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/embedded/2020/why-my-nios-ii-design-with-pio-edge-capture-interrupt-is-not-wor.html

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/embedded/2020/why-my-nios-ii-simple-socket-server-design-example-fails-to-auto.html

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/embedded/2020/severe--elf2flash--read-error--file-not-found---mnt-c-intelfpgap.html

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/tools/2019/why-does-nios--ii-command-shell-fail-to-launch-on-windows--.html

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/tools/2019/why-does-nios-build-flow-produce-incorrect--elf-file-size-on-win.html

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/tools/2019/why-does-nios-build-flow-report-unable-to-determine-program-size.html

wslpath: <path to Nios II Command Shell script>

https://www.intel.com/content/altera-www/global/en_us/index/support/support-resources/knowledge-base/tools/2019/wslpath---path-to-nios-ii-command-shell-script-.html

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/embedded/2020/nios2-elf-gcc-exe--error--createprocess--no-such-file-or-directo.html

 

 

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