Building firmware » History » Revision 5
Revision 4 (Anonymous, 02/19/2016 10:52 PM) → Revision 5/6 (Anonymous, 02/19/2016 10:52 PM)
h1. = 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":http://people.osmocom.org/ipse/umtrx-v2/current/. [http://people.osmocom.org/ipse/umtrx-v2/current/ people.osmocom.org]. These instructions are for if you want to _participate_ ''participate'' in ZPU/FPGA development. h2. == 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: <pre> {{{ mkdir <UHD-dir>/firmware/zpu_build cd <UHD-dir>/firmware/zpu_build export PATH=$PATH:<path-to-zpu-elf-gcc> cmake ../zpu make </pre> h2. }}} == Building the FPGA == 1. Setup Xilinx tools environment: <pre> {{{ . /opt/Xilinx/14.2/ISE_DS/settings64.sh </pre> }}} 2. Update the ZPU bootloader: <pre> {{{ cp <UHD-dir>/firmware/zpu_build/usrp2p/bootloader/bootloader.rmi <UHD-path>/fpga/usrp2/top/N2x0/bootloader_umtrx.rmi </pre> }}} 3. Go to the FPGA part of UHD and build: <pre> {{{ cd <UHD-path>/fpga/usrp2/top/N2x0 make [[UmTRX]] UmTRX </pre> h2. }}} == Flashing images == Once the build is completed images can be "flashed [http://umtrx.org/hardware/flashing/ flashed to [[UmTRX]]":http://umtrx.org/hardware/flashing/. UmTRX].