Issue building bladeRF FPGA (missing Nios II GNU toolchain / nios2-elf-gcc)

Discussions related to embedded firmware, driver, and user mode application software development
Post Reply
aspx42
Posts: 3
Joined: Mon Sep 01, 2025 9:31 pm

Issue building bladeRF FPGA (missing Nios II GNU toolchain / nios2-elf-gcc)

Post by aspx42 »

I’m attempting to build the bladeRF FPGA image for bladeRF-micro A4 hosted using:

Code: Select all

./build_bladerf.sh -b bladeRF-micro -r hosted -s A4
Environment:
• Quartus Prime Lite 20.1 on Ubuntu (VM)
• SoC EDS 20.1 installed under intelFPGA_lite/20.1/nios2eds

The build initializes correctly, generates Qsys systems and PLLs, but fails at the BSP step with:

Code: Select all

nios2-elf-gcc: No such file or directory
make: *** [Makefile:566: obj/HAL/src/alt_alarm_start.o] Error 127
It looks like Quartus/SoC EDS no longer ships the Nios II GNU toolchain (nios2-elf-gcc). Intel’s old nios2-gnu-toolchain-2020.05-linux.tar.gz links are gone, and I can’t locate a current mirror.

What’s the recommended approach in 2025 to resolve this? Is there an updated/prebuilt Nios II GNU toolchain available for Linux?
Post Reply