Nios® II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++
Announcements
The Intel sign-in experience is changing in February to support enhanced security controls. If you sign in, click here for more information.

nios2_command_shell fails

MarkFanara
Beginner
447 Views

Running old Quartus Prime 18.0 on Windows 10

 

On some Windows 10 machines, I observe the following:

 

From the Nios II Eclipse environment, launching Nios II Command Shell fails. Also fails when launching from Dos window. The error messages "c:/intellFPGA_lite/18.0/nios2eds/nios2_command_shell.sh: line 41: /bin/dirname: Bad address

 

While on other Windows 10 machines, there is no problem

0 Kudos
1 Solution
MarkFanara
Beginner
439 Views

I determined that one particular line in the script C:\intelFPGA_lite\18.0\nios2eds\nios2_command_shell.sh works on one Windows 10 PC but not another.

 

If I split the following line into two statements, then the problem goes away. 

 

_ACDS_ROOT=$(dirname $(dirname ${_this_nios2_command_shell_script}))

 

Solution:

_R1=$(dirname ${_this_nios2_command_shell_script})
_ACDS_ROOT=$(dirname $_R1)

View solution in original post

3 Replies
MarkFanara
Beginner
440 Views

I determined that one particular line in the script C:\intelFPGA_lite\18.0\nios2eds\nios2_command_shell.sh works on one Windows 10 PC but not another.

 

If I split the following line into two statements, then the problem goes away. 

 

_ACDS_ROOT=$(dirname $(dirname ${_this_nios2_command_shell_script}))

 

Solution:

_R1=$(dirname ${_this_nios2_command_shell_script})
_ACDS_ROOT=$(dirname $_R1)

SyafieqS
Moderator
435 Views

Hi Mark,


Does the other machine has exact same env? In this case seem more to OS/env issue rather than Quartus. Could be during installation, there is some path messed up and causing the issue.



SyafieqS
Moderator
420 Views

Mark,


May I know if you are able to work on this?


Reply