Nios® V/II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® V/II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++

nios2_command_shell fails

MarkFanara
Beginner
1,155 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
1,147 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

0 Kudos
3 Replies
MarkFanara
Beginner
1,148 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)

0 Kudos
SyafieqS
Moderator
1,143 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.



0 Kudos
SyafieqS
Moderator
1,128 Views

Mark,


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


0 Kudos
Reply