Nbm-robo, Nbm-cpld, Nbm-relay – ADLINK aTCA-N700 User Manual

Page 63: Nbm-mdio, Nbm-util

Advertising
background image

aTCA-N700 SW Users Guide

57

tib_1=tftp $loadaddr $bootfile;tftp $fdtaddr $fdtfile; tftp $ramdiskaddr
$ramdiskfile


9.2. nbm-robo


The base switch is connected via SPI interface to the LMP. nbm-robo provides utilities
to configure the base switch. Refer to section 8.3.12 for the details.

9.3. nbm-cpld


This is a tool to read/write CPLD registers.
CPLD read/write tool
Usage: nbm-cpld <addr> : read CPLD register
nbm-cpld <addr> <value> : write CPLD register
* addr : 0, 1, 2, 3 ...
* value : 0x0000 ~ 0xFF00



9.4. nbm-relay

nbm-relay transfers a command line to bcm.user.


Usage : nbm-relay [OPTION...] Command [ARGS...]
-f, --out-file set a file name for output
-s, --set-sep set seperator string(ex: "BCM.0> ")
-p, --listen set listen address(default: 9895)
-n, --npcmd set NP telnet type
-h, --help show usage


** Check the port information.


root@aTCA-N700:~# nbm-relay ps xe0-xe3
ena/ speed/ link auto STP lrn inter max loop
port link duplex scan neg? state pause discrd ops face frame back
xe0 up 10G FD SW No Forward TX RX None FA SFI 16356
xe1 up 10G FD SW No Forward TX RX None FA SFI 16356
xe2 down 10G FD SW No Forward TX RX None FA SFI 16356
xe3 down 10G FD SW No Forward TX RX None FA SFI 16356


9.5. nbm-mdio


nbm-mdio provides read/write utilities for MDC/MDIO devices.

Usage: nbm-mdio <busno> <devid> <regno>
nbm-mdio <busno> <devid> <regno> <value>

**Check register 0 of the management Ethernet port PHY device.


root@p3041ds:~# nbm-mdio 0 0x18 0
MDIO[0] DEVICE[0x18] REG[0x0] => 0x1140


9.6. nbm-util


nbm-util sets I2C devices for RTM and convert fabric switch configuration.

Advertising