wiki:Building_firmware

Building FPGA and ZPU images

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

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: http://opensource.zylin.com/zpudownload.html
  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
    make
    

Building the FPGA

  1. Setup Xilinx tools environment:
    . /opt/Xilinx/14.2/ISE_DS/settings64.sh
    
  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.

Last modified 4 years ago Last modified on Oct 28, 2013, 2:00:10 PM