Changes between Version 10 and Version 11 of Resources/Notes/Krypton Usage


Ignore:
Timestamp:
Jun 5, 2020, 12:50:13 AM (4 years ago)
Author:
prasanthi
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Resources/Notes/Krypton Usage

    v10 v11  
    77From the COSMOS console, load an image that has a compatible UHD & kernel driver already installed. The image baseline-uhd.ndz or similar can be used.
    88{{{#!shell-session
    9 console:~# omf load -i baseline-uhd.ndz  -t sdr2-lg1.sb1.cosmos-lab.org
    10 console:~# omf tell -a on -t sdr2-lg1.sb1.cosmos-lab.org
     9console:~# omf load -i baseline-uhd.ndz  -t sdr2-s1-lg1.sb1.cosmos-lab.org
     10console:~# omf tell -a on -t sdr2-s1-lg1.sb1.cosmos-lab.org
    1111}}}
    1212
    1313Now ssh into the Krypton host and verify it is able to detect the radio on the PCIe bus. Use ''lspci'' to list all the devices that are detected.
    1414{{{#!shell-session
    15 root@sdr2-lg1:~# lspci
     15root@sdr2-s1-lg1:~# lspci
    1616}}}
    1717
    1818In the output of lspci, search for ''Signal processing controller: National Instruments PXIe/PCIe Device''. This means the host computer's PCIe controller sees the Krypton radio. Now download and install the PCIe driver so the UHD applications access the radio. Complete details on this driver is [https://files.ettus.com/manual/page_ni_rio_kernel.html here].
    1919{{{#!shell-session
    20 root@sdr2-lg1:~# wget http://files.ettus.com/binaries/niusrprio/niusrprio-installer-18.0.0.tar.gz
    21 root@sdr2-lg1:~# tar -zxf niusrprio-installer-18.0.0.tar.gz
    22 root@sdr2-lg1:~# sudo niusrprio_installer/INSTALL
     20root@sdr2-s1-lg1:~# wget http://files.ettus.com/binaries/niusrprio/niusrprio-installer-18.0.0.tar.gz
     21root@sdr2-s1-lg1:~# tar -zxf niusrprio-installer-18.0.0.tar.gz
     22root@sdr2-s1-lg1:~# sudo niusrprio_installer/INSTALL
    2323}}}
    2424
    2525After the installation is complete start the driver by loading it into the kernel modules.
    2626{{{#!shell-session
    27 root@sdr2-lg1:~# /usr/local/bin/niusrprio_pcie start
     27root@sdr2-s1-lg1:~# /usr/local/bin/niusrprio_pcie start
    2828Making sure drivers are up to date...
    2929Module nikal is up-to-date
     
    3838At this point use ''uhd_find_devices'' and ''uhd_usrp_probe'' query the radio.
    3939{{{#!shell-session
    40 root@sdr2-lg1:~# uhd_find_devices --args="type=x300"
     40root@sdr2-s1-lg1:~# uhd_find_devices --args="type=x300"
    4141[INFO] [UHD] linux; GNU C++ version 7.4.0; Boost_106501; UHD_3.14.0.HEAD-0-g6875d061
    4242--------------------------------------------------
     
    6868To update the FPGA following these steps.
    6969{{{#!shell-session
    70 root@sdr2-lg1:~#  /usr/local/lib/uhd/utils/uhd_images_downloader.py
    71 root@sdr2-lg1:~# uhd_image_loader --args "type=x300"
    72 root@sdr2-lg1:~# restart
     70root@sdr2-s1-lg1:~#  /usr/local/lib/uhd/utils/uhd_images_downloader.py
     71root@sdr2-s1-lg1:~# uhd_image_loader --args "type=x300"
     72root@sdr2-s1-lg1:~# restart
    7373}}}
    7474