Intel® Quartus® Prime Software
Intel® Quartus® Prime Design Software, Design Entry, Synthesis, Simulation, Verification, Timing Analysis, System Design (Platform Designer, formerly Qsys)
16604 Discussions

Error: s0: Cannot find sequencer/sequencer.elf

ssigala
Beginner
2,396 Views

Hello,

After a recent Windows 10 update we are unable to regenerate a Platform Designer system. First errors printed are:

Error: s0: Error during execution of "{C:/intelfpga_lite/19.1/quartus/../nios2eds/Nios II Command Shell.bat} make all 2>> stderr.txt": child process exited abnormally
Error: s0: Execution of command "{C:/intelfpga_lite/19.1/quartus/../nios2eds/Nios II Command Shell.bat} make all 2>> stderr.txt" failed
Error: s0: child process exited abnormally
Error: s0: Cannot find sequencer/sequencer.elf
Error: s0: An error occurred
while executing
"error "An error occurred""
(procedure "_error" line
invoked from within
"_error "Cannot find $seq_file""
("if" then script line 2)
invoked from within
"if {[file exists $seq_file] == 0} {
_error "Cannot find $seq_file"
}"
(procedure "alt_mem_if::util::seq_mem_size::get_max_memory_usage" line 14)
invoked from within
"alt_mem_if::util::seq_mem_size::get_max_memory_usage [file join "sequencer" "sequencer.elf""
invoked from within
"set calc_mem_size [alt_mem_if::util::seq_mem_size::get_max_memory_usage [file join "sequencer" "sequencer.elf"]]"
("if" then script line 2)
invoked from within
"if { !$do_only_rw_mgr_mc && !($bfm_mode || $hps_mode)} {
set calc_mem_size [alt_mem_if::util::seq_mem_size::get_max_memory_usage [file join "sequenc..."
(procedure "generate_qsys_sequencer_sw" line 943)
invoked from within
"generate_qsys_sequencer_sw $prepend_str $protocol $pre_compile_dir $fileset $inhdl_dir $rdimm $lrdimm 0 0 $nios_hex_file_name $ac_rom_init_file_name ..."
invoked from within
"set seq_mem_size_list [generate_qsys_sequencer_sw $prepend_str $protocol $pre_compile_dir $fileset $inhdl_dir $rdimm $lrdimm 0 0 $nios_hex_file_name ..."
("if" else script line 2)
invoked from within
"if {[::alt_mem_if::util::qini::qini_value alt_mem_if_seq_size_request 0] > 0} {
set seq_mem_size [::alt_mem_if::util::qini::qini_value alt_mem_if_se..."
(procedure "alt_mem_if::gen::uniphy_gen::generate_qsys_sequencer" line 238)
invoked from within
"alt_mem_if::gen::uniphy_gen::generate_qsys_sequencer "${name}" $protocol $tmpdir $fileset {}"
invoked from within
"set qsys_sequencer_files_list [alt_mem_if::gen::uniphy_gen::generate_qsys_sequencer "${name}" $protocol $tmpdir $fileset {}]"
(procedure "alt_mem_if::gen::uniphy_gen::generate_sequencer_files" line 3)
invoked from within
"alt_mem_if::gen::uniphy_gen::generate_sequencer_files $name "DDR3" $tmpdir QUARTUS_SYNTH"
invoked from within
"foreach generated_file [alt_mem_if::gen::uniphy_gen::generate_sequencer_files $name "DDR3" $tmpdir QUARTUS_SYNTH] {
set file_name [file tail $genera..."
(procedure "generate_synth" line
invoked from within
"generate_synth MAIN_NIOS_ddr3_s0"

 

Same happens with versions 18.1.1 / 19.1.0 / 20.1.1

 

Is there a patch / workaround?

 

Regards,

Sergio

 

 

0 Kudos
6 Replies
ssigala
Beginner
2,384 Views

Update: we were able to regenerate the Platform Designer system with version 20.1.1 after installing WSL (Windows Subsystem for Linux)  version 1 according to:

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

Install Windows Subsystem for Linux (WSL) on Windows 10 | Microsoft Docs

 

Any ideas on how to fix the issue for versions 18.1.1 / 19.1.0 ?

 

 

Regards,

Sergio

 

0 Kudos
BoonBengT_Intel
Moderator
2,348 Views

Hi @ssigala,

Thank you for posting in Intel community forum and hope this message find you well.
This seems to be a known issues, please do refer to the following link here to try out the fixes.
Please do let us know if that works.

Warm regards.
BB

0 Kudos
BoonBengT_Intel
Moderator
2,323 Views

Hi @ssigala,

Hope this message find you well, by any chances did you managed to try out the mention workaround and does it work?
Please do let us know if it is still not working.
 
Warm Regards
BB

0 Kudos
BoonBengT_Intel
Moderator
2,306 Views

Hi @ssigala,

Good day, as we do not receive any response from you to the previous clarification that we have provided. Please post a response in the next 15 days to allow me to continue to support you. After 15 days, this thread will be transitioned to community support. The community users will be able to help you with your follow-up questions. 

 

Warm Regards

BB

0 Kudos
sergvdm
Beginner
2,221 Views

Hello!

Same issue with fresh installed Quartus Prime Lite 20.1.1 on Windows 10 Pro (with latest updates).

WSL Ubuntu 18.04 is installed, updated as well as required packages (wsl, dos2unix, make), uname -r
returns: 4.4.0-19041-Microsoft

Still unable to generate DDR3 UniPHY controller due to error:

Error: Error during execution of "{C:/intelfpga_lite/20.1/quartus//../nios2eds/Nios II Command Shell.bat} make all 2>> stderr.txt": child process exited abnormally
Error: Execution of command "{C:/intelfpga_lite/20.1/quartus//../nios2eds/Nios II Command Shell.bat} make all 2>> stderr.txt" failed
Error: The system cannot find the path specified.
Error: child process exited abnormally
Error: Cannot find sequencer/sequencer.elf
<html>Error: An error occurred<br> while executing<br>"error "An error occurred""<br> (procedure "_error" line 8)<br> invoked from within<br>"_error "Cannot find $seq_file""<br> ("if" then script line 2)<br> invoked from within<br>"if {[file exists $seq_file] == 0} {<br> _error "Cannot find $seq_file"<br> }"<br> (procedure "alt_mem_if::util::seq_mem_size::get_max_memory_usage" line

... etc

Please help.

0 Kudos
MFran66
Beginner
2,193 Views

Hi,

we are seeing the exact same issue as sergvdm.

Beside from ubuntu 18.04 and wsl1 we also tried ubuntu 20.04 with wsl2 but no luck either.

It's failing to compile the sequencer.elf because of:

Error: s0: Compiling alt_dcache_flush_all.c...
Error: s0: nios2-elf-gcc.exe -xc -MP -MMD -c -I./HAL/inc -I. -I./drivers/inc -pipe -D__hal__ -DALT_NO_C_PLUS_PLUS -DALT_NO_CLEAN_EXIT -D'exit(a)=_exit(a)' -DALT_NO_EXIT -DALT_USE_DIRECT_DRIVERS -DALT_NO_INSTRUCTION_EMULATION -DALT_USE_SMALL_DRIVERS -DSMALL_C_LIB -DALT_SINGLE_THREADED -Os -g -Wall -mno-hw-div -mno-hw-mul -mno-hw-mulx -mgpopt=global -o obj/HAL/src/alt_dcache_flush_all.o HAL/src/alt_dcache_flush_all.c
Error: s0: Makefile:539: recipe for target 'obj/HAL/src/alt_dcache_flush_all.o' failed

I want to look at the generated code for the sequencer, but sadly the temp folders get deleted after failing.

WSL is now mandatory, right?

So why do you still  call windows binaries (nios2-elf-gcc.exe) instead of linux elfs in the wsl?

Please help us.

I can't stay much longer on 18.01 and disabled wsl.

 

regards Michael Frank

0 Kudos
Reply