Project

General

Profile

Building firmware » History » Version 1

Anonymous, 02/19/2016 10:52 PM

1 1
= Building FPGA and ZPU images =
2
3
Normally you do not need to build FPGA and ZPU images, as you could download stable builds 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.
4
5
== Building ZPU firmware and bootloader ==
6
7
 # Get the latest stable version of ZPU toolchain: http://opensource.zylin.com/zpudownload.html
8
 # Build the firmware and the bootloader:
9
{{{
10
mkdir <UHD-dir>/firmware/zpu_build
11
cd <UHD-dir>/firmware/zpu_build
12
export PATH=$PATH:<path-to-zpu-elf-gcc>
13
cmake ../zpu
14
make
15
}}}
16
17
18
== Building FPGA ==
19
20
 # Setup Xilinx tools environment:
21
{{{
22
. /opt/Xilinx/14.2/ISE_DS/settings64.sh
23
}}}
24
 # Update the ZPU bootloader:
25
{{{
26
cp <UHD-dir>/firmware/zpu_build/usrp2p/bootloader/bootloader.rmi <UHD-path>/fpga/usrp2/top/N2x0/bootloader_umtrx.rmi
27
}}}
28
 # Go to the FPGA part of UHD and build:
29
{{{
30
cd <UHD-path>/fpga/usrp2/top/N2x0
31
make UmTRX
32
}}}
33
34
35
== Flashing images ==
36
37
When you're done with build, you could flash your images to UmTRX flash. For the process see [wiki:FlashingUmTRX].
Add picture from clipboard (Maximum size: 48.8 MB)