aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2010-08-17 18:40:17 -0700
committerJosh Blum <josh@joshknows.com>2010-08-17 18:40:17 -0700
commit0f2bf7bf709f417e0ef5a0860e18b190f740fd1b (patch)
tree8ca715d099cef19defc3a218d0c9b6454b65e44c
parentea86054d7203ab4d2b55d88fb22afeeb421f4f9d (diff)
downloaduhd-0f2bf7bf709f417e0ef5a0860e18b190f740fd1b.tar.gz
uhd-0f2bf7bf709f417e0ef5a0860e18b190f740fd1b.tar.bz2
uhd-0f2bf7bf709f417e0ef5a0860e18b190f740fd1b.zip
usrp1: added firmware to images makefile and prebuilt fpga images
-rw-r--r--images/Makefile24
1 files changed, 24 insertions, 0 deletions
diff --git a/images/Makefile b/images/Makefile
index 6ab54e6ac..0a829a296 100644
--- a/images/Makefile
+++ b/images/Makefile
@@ -31,6 +31,30 @@ CMAKE_BUILD_DIR = $(TOP_DIR)/build
IMAGES_LIST =
########################################################################
+# USRP1 firmware
+########################################################################
+_usrp1_fw_dir = $(TOP_FW_DIR)/fx2
+_usrp1_fw_ihx = $(BUILT_IMAGES_DIR)/usrp1_fw.ihx
+IMAGES_LIST += $(_usrp1_fw_ihx)
+
+$(_usrp1_fw_ihx):
+ cd $(_usrp1_fw_dir) && ./bootstrap
+ cd $(_usrp1_fw_dir) && ./configure
+ make -C $(_usrp1_fw_dir) clean
+ make -C $(_usrp1_fw_dir) all
+ cp $(_usrp1_fw_dir)/src/usrp1/std.ihx $@
+
+########################################################################
+# USRP1 fpga
+########################################################################
+_usrp1_fpga_dir = $(TOP_FPGA_DIR)/usrp1/rbf/rev4
+_usrp1_fpga_rbf = $(BUILT_IMAGES_DIR)/usrp1_fpga.rbf
+IMAGES_LIST += $(_usrp1_fpga_rbf)
+
+$(_usrp1_fpga_rbf):
+ cp $(_usrp1_fpga_dir)/std_2rxhb_2tx.rbf $@
+
+########################################################################
# USRP2 firmware
########################################################################
_usrp2_fw_dir = $(TOP_FW_DIR)/microblaze