Problems at building Bootloader (U-Boot) for Arria 10


i am working with the manual Building Bootloader for Cyclone V and Arria 10.

In the step Arria 10 SoC - Boot from SD Card: A. Setup i get the error:

gzip: stdin: not in gzip format

When i try to run the make generate_from_tcl command:

Console Output
lf@lf-VirtualBox:~/Code/a10_example.sdmmc/a10_soc_devkit_ghrd$ ~/intelFPGA_pro/22.2/nios2eds/ \
> make generate_from_tcl
Folder intel_custom_ip does not exist.
Proceed to copy for link
if `curl -o "intel_custom_ip_20210323_04233.tar.gz" -m 90 ""intel_custom_ip_20210323_04233.tar.gz""`; then echo "Success"; else echo "Failed to download "intel_custom_ip_20210323_04233.tar.gz"" && exit 1; fi
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   162  100   162    0     0    272      0 --:--:-- --:--:-- --:--:--   272
intel_custom_ip_20210323_04233.tar.gz copied
tar -xzf "intel_custom_ip_20210323_04233.tar.gz"

gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error is not recoverable: exiting now
make: *** [Makefile:332: intel_custom_ip-] Fehler 2

I downloaded the .tar.gz file and unpacked it to intel_custom_ip folder, after which the command works.

But when i try to execute the command make rbf the following error ocurs at the Assembler stage:

Internal Error: Sub-system: PGMDEV, File: /quartus/pgm/pgmdev/pgmdev_dev_info_manager.cpp, Line: 492

Console Output
Info: Command: quartus_asm --read_settings_files=on --write_settings_files=off ghrd_10as066n2 -c ghrd_10as066n2
Info (16677): Loading final database.
Info (16734): Loading "final" snapshot for partition "root_partition".
Info (16734): Loading "final" snapshot for partition "auto_fab_0".
Info (16678): Successfully loaded final database: elapsed time is 00:00:08.
Internal Error: Sub-system: PGMDEV, File: /quartus/pgm/pgmdev/pgmdev_dev_info_manager.cpp, Line: 492
FIO_FILE_SYSTEM::exists(device_file.fullpath().c_str()) && FIO_FILE_SYSTEM::status(device_file.fullpath().c_str(), &stat_info)
Stack Trace:
  Quartus          0x43caf: PGMDEV_DEV_INFO_MANAGER::initialize_device_database(FIO_PATH) + 0x1c7 (pgm_dev)
  Quartus          0x44397: PGMDEV_DEV_INFO_MANAGER::PGMDEV_DEV_INFO_MANAGER(bool, unsigned int) + 0x247 (pgm_dev)
  Quartus         0x51e94b: PGMIO_DEVICE_MANAGER::pgmio_process_parts_file(FIO_PATH, bool) + 0x25b (pgm_pgmio)
  Quartus         0x51fec1: PGMIO_DEVICE_MANAGER::PGMIO_DEVICE_MANAGER() + 0x191 (pgm_pgmio)
  Quartus         0x520055: PGMIO_DEVICE_MANAGER::get_device_mgr() + 0x45 (pgm_pgmio)
  Quartus         0x5205d7: PGM_DEVICE_INDEX::lookup_device(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool*) + 0x557 (pgm_pgmio)
  Quartus         0x6e84fd: PGMIO_POF2_IO::write_sof_data(PGMIO_IPOF2_LISTENER*, PGMIO_IPOF2_METADATA const&, PGMIO_IPOF2_DATA const&, PGMIO_IPOF2_LEGACY const*) + 0x37d (pgm_pgmio)
  Quartus         0x6ee472: PGMIO_POF2_IO::write_sof(FIO_PATH const&, PGMIO_IPOF2_METADATA const&, PGMIO_IPOF2_DATA const&, PGMIO_IPOF2_LEGACY const*) + 0x532 (pgm_pgmio)
  Quartus          0x38886: ASM2_DEVICE::write_sof(FIO_PATH const&) const + 0x2a (comp_asm2)
  Quartus          0x67410: ASM2_STATE::write_sof(int, char const*) + 0x5c (comp_asm2)
  Quartus          0xae886: asm_assemble_asmm(CMP_FACADE*, CDB_CHIP_DB_ENTRY*, ASM_OPTIONS*, ASM_PGM_OPTION_DATA*, unsigned int, DEV_FAMILY_ENUM, DEV_FAMILY_ENUM, DEV_PART_MANAGER*) + 0x1344 (comp_asm)
  Quartus          0x3d79f: asm_assemble(CMP_FACADE*, unsigned int, bool&, FIO_PATH const&) + 0x70b (comp_asm)
  Quartus         0x40d963: QASM_FRAMEWORK::execute() + 0x16b (quartus_asm)
  Quartus          0x3461a: qexe_standard_main(QEXE_FRAMEWORK*, QEXE_OPTION_DEFINITION const**, int, char const**) + 0xf52 (comp_qexe)
  Quartus         0x40c6c6: qasm_main(int, char const**) + 0x98 (quartus_asm)
  Quartus          0x4de26: msg_main_thread(void*) + 0x10 (ccl_msg)
  Quartus          0x4f44e: msg_thread_wrapper(void* (*)(void*), void*) + 0x8c (ccl_msg)
  Quartus          0x1f198: mem_thread_wrapper(void* (*)(void*), void*) + 0x98 (ccl_mem)
  Quartus           0xfb0a: err_thread_wrapper(void* (*)(void*), void*) + 0x1e (ccl_err)
  Quartus           0xb7d5: thr_thread_wrapper + 0x15 (ccl_thr)
  Quartus          0x4f36e: msg_exe_main(int, char const**, int (*)(int, char const**)) + 0xd8 (ccl_msg)
  Quartus         0x40c8b6: main + 0x26 (quartus_asm)
  System           0x24083: __libc_start_main + 0xf3 (c)
  Quartus         0x409179: _start + 0x29 (quartus_asm)


Error: Flow compile (for project /home/lf/Code/a10_example.sdmmc/a10_soc_devkit_ghrd/ghrd_10as066n2) was not successful
Error: run_flow flow:run1 finished: 0 Internal Error
Error (23031): Evaluation of Tcl script /home/lf/intelFPGA_pro/22.2/quartus/common/tcl/internal/qsh_flowengine.tcl unsuccessful
Error: Quartus Prime Shell was unsuccessful. 3 errors, 60 warnings
    Error: Peak virtual memory: 1034 megabytes
    Error: Processing ended: Wed Sep  7 13:28:47 2022
    Error: Elapsed time: 00:14:15
    Error: System process ID: 11735
make: *** [Makefile:465: stamp/] Fehler 3

What is wrong here? It seems that the design is compiled and there is a ghrd_10as066n2.sof file in the output_directory but no .rbf files.

Problem was solved by complete remove and reinstallation of the Quartus Suite. The installation was broken.