$ sudo /usr/lib/uhd/utils/uhd_images_downloader.py
[INFO] Using base URL: https://files.ettus.com/binaries/cache/
[INFO] Images destination: /usr/share/uhd/images
[INFO] No inventory file found at /usr/share/uhd/images/inventory.json. Creating an empty one.
[ERROR] Downloader raised an unhandled exception: HTTPSConnectionPool(host='files.ettus.com', port=443): Max retries exceeded with url: /binaries/cache/x3xx/fpga-dc738a7/x3xx_x310_fpga_default-gdc738a7.zip (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fc41733c550>: Failed to establish a new connection: [Errno 110] Connection timed out',))
You can run this again with the '--verbose' flag to see more information
If the problem persists, please email the output to: support@ettus.com
$ uhd_find_devices
[INFO] [UHD] linux; GNU C++ version 7.5.0; Boost_106501; UHD_4.0.0.0-804-gb2527716
$ uhd_images_downloader --url-only --list-targets
[INFO] Using base URL: https://files.ettus.com/binaries/cache/
[INFO] Images destination: /usr/share/uhd/images
https://files.ettus.com/binaries/cache/x3xx/fpga-dc738a7/x3xx_x310_fpga_default-gdc738a7.zip
https://files.ettus.com/binaries/cache/x3xx/fpga-dc738a7/x3xx_x300_fpga_default-gdc738a7.zip
https://files.ettus.com/binaries/cache/e3xx/fpga-ad55f21/e3xx_e310_sg1_fpga_default-gad55f21.zip
https://files.ettus.com/binaries/cache/e3xx/fpga-ad55f21/e3xx_e310_sg3_fpga_default-gad55f21.zip
https://files.ettus.com/binaries/cache/e3xx/fpga-dc738a7/e3xx_e320_fpga_default-gdc738a7.zip
https://files.ettus.com/binaries/cache/e3xx/meta-ettus-v3.15.0.0/e3xx_e310_sdk_default-v3.15.0.0.zip
https://files.ettus.com/binaries/cache/e3xx/meta-ettus-v3.15.0.0/e3xx_e310_sg1_mender_default-v3.15.0.0.zip
https://files.ettus.com/binaries/cache/e3xx/meta-ettus-v3.15.0.0/e3xx_e310_sg1_sdimg_default-v3.15.0.0.zip
https://files.ettus.com/binaries/cache/e3xx/meta-ettus-v3.15.0.0/e3xx_e310_sg3_mender_default-v3.15.0.0.zip
https://files.ettus.com/binaries/cache/e3xx/meta-ettus-v3.15.0.0/e3xx_e310_sg3_sdimg_default-v3.15.0.0.zip
https://files.ettus.com/binaries/cache/e3xx/meta-ettus-v3.15.0.0/e3xx_e320_sdk_default-v3.15.0.0.zip
https://files.ettus.com/binaries/cache/e3xx/meta-ettus-v3.15.0.0/e3xx_e320_mender_default-v3.15.0.0.zip
https://files.ettus.com/binaries/cache/e3xx/meta-ettus-v3.15.0.0/e3xx_e320_sdimg_default-v3.15.0.0.zip
https://files.ettus.com/binaries/cache/n3xx/fpga-dc738a7/n3xx_n310_fpga_default-gdc738a7.zip
https://files.ettus.com/binaries/cache/n3xx/fpga-dc738a7/n3xx_n300_fpga_default-gdc738a7.zip
https://files.ettus.com/binaries/cache/n3xx/fpga-dc738a7/n3xx_n320_fpga_default-gdc738a7.zip
https://files.ettus.com/binaries/cache/n3xx/fpga-6bea23d/n3xx_n310_cpld_default-g6bea23d.zip
https://files.ettus.com/binaries/cache/n3xx/fpga-4bc2c6f/n3xx_n320_cpld_default-g4bc2c6f.zip
https://files.ettus.com/binaries/cache/n3xx/meta-ettus-v3.15.0.0/n3xx_common_sdk_default-v3.15.0.0.zip
https://files.ettus.com/binaries/cache/n3xx/meta-ettus-v3.15.0.0/n3xx_common_mender_default-v3.15.0.0.zip
https://files.ettus.com/binaries/cache/n3xx/meta-ettus-v3.15.0.0/n3xx_common_sdimg_default-v3.15.0.0.zip
https://files.ettus.com/binaries/cache/b2xx/fpga-dc738a7/b2xx_b200_fpga_default-gdc738a7.zip
https://files.ettus.com/binaries/cache/b2xx/fpga-dc738a7/b2xx_b200mini_fpga_default-gdc738a7.zip
https://files.ettus.com/binaries/cache/b2xx/fpga-dc738a7/b2xx_b210_fpga_default-gdc738a7.zip
https://files.ettus.com/binaries/cache/b2xx/fpga-dc738a7/b2xx_b205mini_fpga_default-gdc738a7.zip
https://files.ettus.com/binaries/cache/b2xx/uhd-2bdad498/b2xx_common_fw_default-g2bdad498.zip
https://files.ettus.com/binaries/cache/usrp2/fpga-6bea23d/usrp2_usrp2_fw_default-g6bea23d.zip
https://files.ettus.com/binaries/cache/usrp2/fpga-6bea23d/usrp2_usrp2_fpga_default-g6bea23d.zip
https://files.ettus.com/binaries/cache/usrp2/fpga-6bea23d/usrp2_n200_fpga_default-g6bea23d.zip
https://files.ettus.com/binaries/cache/usrp2/fpga-6bea23d/usrp2_n200_fw_default-g6bea23d.zip
https://files.ettus.com/binaries/cache/usrp2/fpga-6bea23d/usrp2_n210_fpga_default-g6bea23d.zip
https://files.ettus.com/binaries/cache/usrp2/fpga-6bea23d/usrp2_n210_fw_default-g6bea23d.zip
https://files.ettus.com/binaries/cache/n230/fpga-e57dfe0/n230_n230_fpga_default-ge57dfe0.zip
https://files.ettus.com/binaries/cache/usrp1/fpga-6bea23d/usrp1_usrp1_fpga_default-g6bea23d.zip
https://files.ettus.com/binaries/cache/usrp1/fpga-6bea23d/usrp1_b100_fpga_default-g6bea23d.zip
https://files.ettus.com/binaries/cache/usrp1/fpga-6bea23d/usrp1_b100_fw_default-g6bea23d.zip
https://files.ettus.com/binaries/cache/octoclock/uhd-14000041/octoclock_octoclock_fw_default-g14000041.zip
https://files.ettus.com/binaries/cache/usb/uhd-14000041/usb_common_windrv_default-g14000041.zip
每个文件单独下载:
可在win10下下载完成后,拷贝到ubuntu下
方法一:先解压再拷贝到相应位置
下载之后解压到同一个文件夹下:
mkdir ~/images #最后解压完的文件都在这里
cd fpga_images
unzip -o '*.zip' -d ~/images
接下来,在UHD安装前缀中创建images/文件夹。
cd /usr/share/uhd/images # 注意这里的路径安需安排
mkdir images
cd images
将上面解压缩的FPGA映像复制到对应的位置。
sudo cp -v ~/images/* .
解压之后还有两个文件夹无法转移,同理,创建对应的文件夹转移。
方法二: 直接解压缩到对应位置
sudo unzip -o '*.zip' -d /usr/share/uhd/images/
/usr/share/uhd/images/
是要解压缩的位置
解压缩后出现USB权限
cd /usr/lib/uhd/utils/
sudo cp uhd-usrp.rules /etc/udev/rules.d/
sudo udevadm control --reload-rules
sudo udevadm trigger