Building firmware » History » Revision 2
Revision 1 (Anonymous, 02/19/2016 10:52 PM) → Revision 2/6 (Anonymous, 02/19/2016 10:52 PM)
= Building FPGA and ZPU images = It's generally Normally you do not necessary need to build FPGA and ZPU images, as you could download stable builds can be downloaded from [http://people.osmocom.org/ipse/umtrx-v2/current/ people.osmocom.org]. These instructions are for you only if you want to participate in ZPU/FPGA part 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 == When you're done with build, you could flash your images to UmTRX flash. For the process see [wiki:FlashingUmTRX].