Revision 8740197d host/docs/usrp2.rst
| b/host/docs/usrp2.rst | ||
|---|---|---|
| 5 | 5 |
.. contents:: Table of Contents |
| 6 | 6 |
|
| 7 | 7 |
------------------------------------------------------------------------ |
| 8 |
Building firmware and FPGA images |
|
| 9 |
------------------------------------------------------------------------ |
|
| 10 |
|
|
| 11 |
^^^^^^^^^^^^^^^^^^ |
|
| 12 |
FPGA Image |
|
| 13 |
^^^^^^^^^^^^^^^^^^ |
|
| 14 |
Xilinx ISE 10.1 and up is required to build the FPGA image for the USRP2. |
|
| 15 |
The build requires that you have a unix-like environment with make. |
|
| 16 |
Make sure that xtclsh from the Xilinx ISE bin directory is in your $PATH. |
|
| 17 |
|
|
| 18 |
Run the following commands: |
|
| 19 |
:: |
|
| 20 |
|
|
| 21 |
cd <uhd-repo-path>/fpga/usrp2/top/u2_rev3 |
|
| 22 |
make -f Makefile.udp bin |
|
| 23 |
|
|
| 24 |
*The image file will be ./build/u2_rev3.bin* |
|
| 25 |
|
|
| 26 |
^^^^^^^^^^^^^^^^^^ |
|
| 27 |
Firmware Image |
|
| 28 |
^^^^^^^^^^^^^^^^^^ |
|
| 29 |
The Microblaze GCC compiler from the Xilinx EDK is required to build the firmware. |
|
| 30 |
The build requires that you have a unix-like environment with autotools and make. |
|
| 31 |
Make sure that mb-gcc from the Xilinx EDK/microblaze directory is in your $PATH. |
|
| 32 |
|
|
| 33 |
Run the following commands: |
|
| 34 |
:: |
|
| 35 |
|
|
| 36 |
cd <uhd-repo-path>/firmware/microblaze |
|
| 37 |
./boostrap |
|
| 38 |
./configure --host=mb |
|
| 39 |
make |
|
| 40 |
|
|
| 41 |
*The image file will be ./usrp2/usrp2_txrx_uhd.bin* |
|
| 42 |
|
|
| 43 |
------------------------------------------------------------------------ |
|
| 44 | 8 |
Load the images onto the SD card |
| 45 | 9 |
------------------------------------------------------------------------ |
| 46 | 10 |
**Warning!** |
Also available in: Unified diff