Statistics
| Branch: | Tag: | Revision:

root / host / docs / images.rst @ cda81f58

History | View | Annotate | Download (3.56 KB)

1
========================================================================
2
UHD - Firmware and FPGA Image Application Notes
3
========================================================================
4

    
5
.. contents:: Table of Contents
6

    
7
------------------------------------------------------------------------
8
Images Overview
9
------------------------------------------------------------------------
10
Every USRP device must be loaded with special firmware and FPGA images.
11
The methods of loading images into the device varies among devices:
12

    
13
* **USRP1:** The host code will automatically load the firmware and FPGA at runtime.
14
* **USRP2:** The user must manually write the images onto the USRP2 SD card.
15
* **USRP-N Series:** The user must manually transfer the images over ethernet.
16
* **USRP-E Series:** The host code will automatically load the FPGA at runtime.
17
* **USRP-B Series:** The host code will automatically load the FPGA at runtime.
18

    
19
------------------------------------------------------------------------
20
Pre-built images
21
------------------------------------------------------------------------
22

    
23
Pre-built images are available for download.
24
See the UHD wiki for the download link.
25

    
26
The pre-built images come in two forms:
27

    
28
* bundled with UHD in a platform-specific installer
29
* stand-alone platform-independent archive files
30

    
31
^^^^^^^^^^^^^^^^^^^^^^
32
Platform installers
33
^^^^^^^^^^^^^^^^^^^^^^
34
The UNIX-based installers will install the images into /usr/share/uhd/images.
35
On windows, the images will be installed to <install-path>/share/uhd/images.
36

    
37
^^^^^^^^^^^^^^^^^^^^^^
38
Archive install
39
^^^^^^^^^^^^^^^^^^^^^^
40
When installing images from an archive, there are two options:
41

    
42
**Option 1:**
43

    
44
Unpack the archive into the UHD installation prefix.
45
The UHD will always search <install-path>/share/uhd/images for image files.
46
Where <install-path> was set by the CMAKE_INSTALL_PREFIX at configure-time.
47

    
48
**Option 2:**
49

    
50
Unpack the archive anywhere and set the UHD_IMAGE_PATH environment variable.
51
The UHD_IMAGE_PATH may contain a list of directories to search for image files.
52

    
53
------------------------------------------------------------------------
54
Building images
55
------------------------------------------------------------------------
56

    
57
The UHD source repository comes with the source code necessary to build
58
both firmware and FPGA images for all supported devices.
59
The build commands for a particular image can be found in <uhd-repo-path>/images/Makefile.
60

    
61
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
62
Xilinx FPGA builds
63
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
64
Xilinx ISE 12.x and up is required to build the Xilinx FPGA images.
65
The build requires that you have a unix-like environment with make.
66
Make sure that xtclsh from the Xilinx ISE bin directory is in your $PATH.
67

    
68
See <uhd-repo-path>/fpga/usrp2/top/*
69

    
70
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
71
ZPU firmware builds
72
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
73
The ZPU GCC compiler is required to build the ZPU firmware images.
74
The build requires that you have a unix-like environment with cmake and make.
75
Make sure that zpu-elf-gcc is in your $PATH.
76

    
77
See <uhd-repo-path>/firmware/zpu
78

    
79
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
80
Altera FPGA builds
81
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
82
Quartus is required to build the Altera FPGA images.
83
Pre-built images can also be found in <uhd-repo-path>/fpga/usrp1/rbf
84

    
85
See <uhd-repo-path>/fpga/usrp1/toplevel/*
86

    
87
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
88
FX2 firmware builds
89
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
90
The sdcc compiler is required to build the FX2 firmware images.
91
The build requires that you have a unix-like environment with cmake and make.
92

    
93
See <uhd-repo-path>/firmware/fx2