31 | | === Testing the installation === |
32 | | The image that was loaded, contains UHD rfnoc-devel branch installation as mentioned in the RFNoC getting started guide. |
33 | | * Run uhd_find_devices - you can see that the UHD version is shown as |
| 31 | === Find USRP X310s === |
| 32 | ORBIT grid has 8 USRP X310s in a MIMO rack ((23,1) ... (23,8)) and 4 nodes with locally connected USRP X310s ((18,1),(18,20),(3,1),(3,20)). Of these 4 nodes, (18,20) and (3,1) have a PCI express link to their local X310, where as the other 2 have 10G Ethernet links. |
| 33 | * Finding X310s in the MIMO rack |
| 34 | X310s in the MIMO rack can be accessed from any node in the grid. Their IP addresses go from 10.10.23.1 to 10.10.23.8. X310 (23,1) is accessed from node (18,1) as shown below. Since the image used has UHD rfnoc-devel branch installation, the UHD version is shown as UHD_4.0.0.rfnoc-devel-211-g2cf80a69. |
| 35 | {{{ |
| 36 | root@node18-1:~# uhd_find_devices --args="addr=10.10.23.1" |
| 37 | linux; GNU C++ version 4.8.4; Boost_105400; UHD_4.0.0.rfnoc-devel-211-g2cf80a69 |
| 38 | |
| 39 | -------------------------------------------------- |
| 40 | -- UHD Device 0 |
| 41 | -------------------------------------------------- |
| 42 | Device Address: |
| 43 | serial: 30A3570 |
| 44 | addr: 10.10.23.1 |
| 45 | fpga: HG |
| 46 | name: Mercury |
| 47 | product: X310 |
| 48 | type: x300 |
| 49 | }}} |
| 50 | * Finding local X310 (10G Ethernet) |
| 51 | Nodes (18,1) and (3,20) have 10G Ethernet links to their local X310s. To access these X310s, please make sure the interface eth0 is configured as below. |
| 52 | {{{ |
| 53 | root@node18-1:~# ifconfig eth0 192.168.10.1 netmask 255.255.255.0 mtu 9000 |
| 54 | }}} |
| 55 | Now, running uhd_find_devices with IP address 192.168.10.2 gives the following |
| 69 | type: x300 |
| 70 | }}} |
| 71 | If you do not specify an IP address in the args option, the node tries to access the X310s in the MIMO rack also. |
| 72 | {{{ |
| 73 | root@node18-1:~# uhd_find_devices |
| 74 | linux; GNU C++ version 4.8.4; Boost_105400; UHD_4.0.0.rfnoc-devel-211-g2cf80a69 |
| 75 | |
| 76 | -------------------------------------------------- |
| 77 | -- UHD Device 0 |
| 78 | -------------------------------------------------- |
| 79 | Device Address: |
| 80 | serial: 30A3570 |
| 81 | addr: 10.10.23.1 |
| 82 | fpga: HG |
| 83 | name: Mercury |
| 84 | product: X310 |
| 85 | type: x300 |
| 86 | |
| 87 | |
| 88 | -------------------------------------------------- |
| 89 | -- UHD Device 1 |
| 90 | -------------------------------------------------- |
| 91 | Device Address: |
| 92 | serial: F4E34F |
| 93 | addr: 192.168.10.2 |
| 94 | fpga: HG |
| 95 | name: |
| 96 | product: X310 |
| 97 | type: x300 |
| 98 | |
| 99 | }}} |
| 100 | * Finding local X310 (PCI express) |
| 101 | Nodes (18,20) and (3,1) have PCI express links to their local X310s. To access these X310s, run the following [https://files.ettus.com/manual/page_ni_rio_kernel.html] |
| 102 | {{{ |
| 103 | root@node3-1:~# /usr/local/bin/niusrprio_pcie start |
| 104 | Loading: NiRioSrv niusrpriok |
| 105 | Starting: niusrpriorpc |
| 106 | }}} |
| 107 | Now, running uhd_find_devices with resource RIO0 gives the following |
| 108 | {{{ |
| 109 | root@node3-1:~# uhd_find_devices --args="resource=RIO0" |
| 110 | linux; GNU C++ version 4.8.4; Boost_105400; UHD_4.0.0.rfnoc-devel-211-g2cf80a69 |
| 111 | |
| 112 | -------------------------------------------------- |
| 113 | -- UHD Device 0 |
| 114 | -------------------------------------------------- |
| 115 | Device Address: |
| 116 | serial: F4FCFF |
| 117 | fpga: HG |
| 118 | name: |
| 119 | product: X310 |
| 120 | resource: RIO0 |