Building FPGA and ZPU images

It's generally not necessary to build FPGA and ZPU images, as stable builds can be downloaded from

These instructions are for if you want to participate in ZPU/FPGA development.

Building ZPU firmware and bootloader

1. Get the latest stable version of ZPU toolchain:
2. Build the firmware and the bootloader:

mkdir <UHD-dir>/firmware/zpu_build
cd <UHD-dir>/firmware/zpu_build
export PATH=$PATH:<path-to-zpu-elf-gcc>
cmake ../zpu

Building the FPGA

1. Setup Xilinx tools environment:

. /opt/Xilinx/14.2/ISE_DS/

2. Update the ZPU bootloader:
cp <UHD-dir>/firmware/zpu_build/usrp2p/bootloader/bootloader.rmi <UHD-path>/fpga/usrp2/top/N2x0/bootloader_umtrx.rmi

3. Go to the FPGA part of UHD and build:
cd <UHD-path>/fpga/usrp2/top/N2x0
make [[UmTRX]]

Flashing images

Once the build is completed images can be flashed to UmTRX.