Emerson ATCA-9305 Manuel D’Utilisation

Page de 184
Management Processor Monitor:
 Other Commands
9-24
phy eTSEC2 w 0x1a 0
ping
The ping command sends a ping over Ethernet to check if the host can be reached. The port 
used is defined by the ethport environment variable. If all is selected for ethport, the ping 
process cycles through each port until a connection is found or all ports have failed.
Definition:
ping host
reset
The reset command performs a hard reset of the CPU by writing to the reset register on the 
board. Without any arguments, the ATCA-9305 CPU is reset.
Definition:
reset
run
The run command runs the commands in an environment variable var.
Definition:
run var [ … ]
Use $ for variable substitution; the syntax “$(variable_name)” should be used for variable 
expansion.
Example:
=> setenv cons_opts console=tty0 console=ttyS0,\$(baudrate)
=> printenv cons_opts cons_opts=console=tty0 console=ttyS0,$(baudrate)
Use the \ character to escape execution of the $ as seen in the setenv command above. In 
this example, the value for baudrate will be inserted when cons_opts is executed.
script
The script command runs a list of monitor commands out of memory. The list is an ASCII 
string of commands separated by the
 ; 
character and terminated with the
 ;; 
charac-
ters. <script address> is the starting location of the script.
Note:
A script is limited to 1000 characters.
Definition:
script <script address>
showmac
The showmac command displays the Processor MAC addresses assigned to each Ethernet 
port.
Definition:
showmac
showpci
The showpci command scans the PCI bus and lists the base address of the devices.