diff options
author | Nick Foster <nick@nerdnetworks.org> | 2010-10-07 18:09:53 -0700 |
---|---|---|
committer | Nick Foster <nick@nerdnetworks.org> | 2010-10-07 18:09:53 -0700 |
commit | c205cd329b37f24060ff20c23bc91249969502a1 (patch) | |
tree | ac22251643a2ad98f5ebc92414d9334365d10348 /firmware/microblaze/usrp2p/udp_fw_update.c | |
parent | b6dae16e5bbddf1fcb9bc77a526f912a15cabbae (diff) | |
download | uhd-c205cd329b37f24060ff20c23bc91249969502a1.tar.gz uhd-c205cd329b37f24060ff20c23bc91249969502a1.tar.bz2 uhd-c205cd329b37f24060ff20c23bc91249969502a1.zip |
U2P: Bootloader/ICAP updates. 2-stage bootloader works. Uses EEPROM for state info.
Diffstat (limited to 'firmware/microblaze/usrp2p/udp_fw_update.c')
-rw-r--r-- | firmware/microblaze/usrp2p/udp_fw_update.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/firmware/microblaze/usrp2p/udp_fw_update.c b/firmware/microblaze/usrp2p/udp_fw_update.c index 9242242e7..55c206b1b 100644 --- a/firmware/microblaze/usrp2p/udp_fw_update.c +++ b/firmware/microblaze/usrp2p/udp_fw_update.c @@ -26,6 +26,7 @@ #include <string.h> #include "ethernet.h" #include "udp_fw_update.h" +#include "xilinx_s3_icap.h" //Firmware update packet handler void handle_udp_fw_update_packet(struct socket_address src, struct socket_address dst, @@ -94,6 +95,7 @@ void handle_udp_fw_update_packet(struct socket_address src, struct socket_addres //should reset via icap_reload_fpga(uint32_t flash_address); update_data_out.id = USRP2_FW_UPDATE_ID_RESETTIN_TEH_COMPUTORZ_OMG; //you should note that if you get a reply packet to this the reset has obviously failed + icap_reload_fpga(0); break; // case USRP2_FW_UPDATE_ID_KTHXBAI: //see ya |