Hello,
i have two SX6018 switches: one boots just fine, second one stops in a different mode: Switch-B(4)> and MLNX-OS commands are not available. Could anyone help me to figure out what is wrong? How to boot into normal MLNX-OS mode?
Thank you in advance!
Here are the logs from good and bad switches:
GOOD switch:
U-Boot 2009.01 SX_PPC_M460EX SX_3.2.0330-82 ppc (Dec 20 2012 - 17:53:54)
CPU: AMCC PowerPC 460EX Rev. B at 1000 MHz (PLB=166, OPB=83, EBC=83 MHz)
Security/Kasumi support
Bootstrap Option H - Boot ROM Location I2C (Addr 0x52)
Internal PCI arbiter disabled
32 kB I-Cache 32 kB D-Cache
Board: Mellanox PPC460EX Board
FDEF: No
I2C: ready
DRAM: Auto calibration -/
U-Boot 2009.01 SX_PPC_M460EX SX_3.2.0330-82 ppc (Dec 20 2012 - 17:53:54)
CPU: AMCC PowerPC 460EX Rev. B at 1000 MHz (PLB=166, OPB=83, EBC=83 MHz)
Security/Kasumi support
Bootstrap Option H - Boot ROM Location I2C (Addr 0x52)
Internal PCI arbiter disabled
32 kB I-Cache 32 kB D-Cache
Board: Mellanox PPC460EX Board
FDEF: No
I2C: ready
DRAM: 2 GB (ECC enabled, 333 MHz, CL3)
FLASH: 16 MB
NAND: 1024 MiB
PCI: Bus Dev VenId DevId Class Int
PCIE0: link is not up.
PCIE1: successfully set as root-complex
01 00 15b3 c738 0c06 00
Net: ppc_4xx_eth0, ppc_4xx_eth1
Reading image settings from EEPROM
Mellanox MLNX-OS
Default image: 'SX_PPC_M460EX SX_3.3.3000 2013-02-26 21:57:35 ppc'
Press Enter to boot this image, or 'Ctrl B' for boot menu
Booting default image in: 0
Booting location 1: 'SX_PPC_M460EX SX_3.3.3000 2013-02-26 21:57:35 ppc'
INIT: version 2.86 booting
Starting: SX_PPC_M460EX SX_3.3.3000 2013-02-26 21:57:35 ppc
Starting udev: [ OK ]
Setting clock (utc): Tue Oct 21 15:15:25 UTC 2014 [ OK ]
Setting hostname localhost: [ OK ]
Checking filesystems
Checking all file systems.
[ OK ]
Remounting root filesystem in read-write mode: [ OK ]
Mounting local filesystems: [ OK ]
Running vpart script: [ OK ]
Applying file system skeletons: base_var base_config .
Enabling /etc/fstab swaps: [ OK ]
INIT: Entering runlevel: 3
Starting system services
Starting sx_low_level_if: Starting sx_low_level_if:
Loading glue logic low level - Success
Loading mellaggra module - Success
Loading cpld handler - Success
Loading sx i2c module - Success
[ OK ]
Starting openibd: IPoIB configuration for embedded system
Loading SX driver:[ OK ]
Loading Extended Port 0 driver and Access Layer:[ OK ]
Setting up InfiniBand network interfaces:
Setting up service network . . .[ done ]
Reloading udev:
[ OK ]
Starting system logger: [ OK ]
Starting kernel logger: [ OK ]
Running renaming interfaces
Renaming: MAC: 00:02:C9:63:8E:5A ifindex: 2 name: mgmt0
Renaming: MAC: 00:02:C9:63:8E:5B ifindex: 3 name: mgmt1
Checking for unexpected shutdown
Probing for HRNG module
Starting rngd: [ OK ]
Running system image: SX_PPC_M460EX SX_3.3.3000 2013-02-26 21:57:35 ppc
Applying initial configuration:
Starting internal_startup: [ OK ]
Starting clean_issnvram: Deleting issnvram.txt
[ OK ]
Starting intr_hndl: Starting :
Loading int handler module - Success
[ OK ]
Starting iss-nvram-mac: [ OK ]
Starting sx_pra: Starting proxy arp management:
Loading proxy arp management module - Success
[ OK ]
Starting udevd: Reloading udev...
[ OK ]
Starting pm: [ OK ]
Starting oops_dump_reg: Starting kernel reg dump:
Loading kernel reg dump module - Success
[ OK ]
Starting mst: Starting MST (Mellanox Software Tools) driver set
Loading MST PCI module - Success
Loading MST PCI configuration module - Success
Create devices
[ OK ]
Mellanox MLNX-OS Switch Management
switch-638e5a login: admin
Password:
Last login: Tue Oct 21 14:32:51 on ttyS0
Mellanox Switch
lines 1-23
System is initializing!
This may take a few minutes
Modules are being configured
switch-638e5a [standalone: master] > en
switch-638e5a [standalone: master] # ?
aaa Configure Authentication, Authorization, and
Accounting
boot Configure system boot parameters
clear Reset certain statistics or clear caches
cli Configure CLI shell options
configure Enter configuration mode
crypto Configure cryptographic settings
debug Debugging commands
disable Leave enable mode
lines 18-40/40 (END)
email Configure email and event notification via email
exit Log out of the CLI
fabric Manage fabric diagnostics
file Manipulate files on disk
health Health daemon configuration
help View description of the interactive help system
ib Manage InfiniBand
image Manipulate system software images
interface Configure network interfaces
job Configure scheduled jobs
logging Configure event logging
no Negate or clear certain configuration options
ntpdate Set system clock once from a remote server using
NTP
ping Send ICMP echo requests to a specified host
ping6 Send ICMP6 echo requests to a specified IPv6
host
reload Reboot or shut down the system
show Display system configuration or status
slogin Log into another system securely using ssh
snmp-server Configure SNMP server options
ssh Configure SSH settings
stats Configure statistics and alarms
tcpdump Display packets on a network
telnet Log into another system using telnet
terminal Set terminal parameters
test Diagnostics
traceroute Trace the route packets take to a destination
usb Remove USB Disk on key
web Configure the Web-based management console
write Save or display the running configuration
switch-638e5a [standalone: master] #
switch-638e5a [standalone: master] # sh ve
Product name: SX_PPC_M460EX
Product release: SX_3.3.3000
Build ID: #1-dev
Build date: 2013-02-26 21:57:35
Target arch: ppc
Target hw: m460ex
Built by: doront@fit-dhcp192
Version summary: SX_PPC_M460EX SX_3.3.3000 2013-02-26 21:57:35 ppc
Product model: ppc
Host ID: 0002C9638E5A
Uptime: 4m 56.430s
CPU load averages: 0.00 / 0.00 / 0.00
Number of CPUs: 1
System memory: 120 MB used / 1907 MB free / 2027 MB total
Swap: 0 MB used / 0 MB free / 0 MB total
switch-638e5a [standalone: master] # sh int
Interface ib0 status:
Comment:
Admin up: yes
Link up: yes
DHCP running: no
IP address:
Netmask:
IPv6 enabled: yes
Autoconf enabled: no
Autoconf route: yes
Autoconf privacy: no
DHCPv6 running: no
IPv6 addresses: 1
IPv6 address: fe80::202:c903:8b:9600/64
lines 23-45
Speed: 10 Gb/sec (4X)
Duplex: full
Interface type: ib
Interface source: physical
MTU: 2044
HW address: 00:00:00:02:fe:80:00:00:00:00:00:00:00:02:c9:03:00:8b:96:00
RX bytes: 0 TX bytes: 456
RX packets: 0 TX packets: 6
RX mcast packets: 0 TX discards: 0
RX discards: 0 TX errors: 0
RX errors: 0 TX overruns: 0
RX overruns: 0 TX carrier: 0
RX frame: 0 TX collisions: 0
TX queue len: 1024
Interface lo status:
Comment:
Admin up: yes
Link up: yes
DHCP running: no
IP address: 127.0.0.1
Netmask: 255.0.0.0
IPv6 enabled: yes
Autoconf enabled: yes
Autoconf route: yes
Autoconf privacy: no
DHCPv6 running: no
IPv6 addresses: 1
IPv6 address: ::1/128
Speed: N/A
Duplex: N/A
Interface type: loopback
Interface source: loopback
MTU: 16436
HW address: N/A
RX bytes: 193999 TX bytes: 193999
RX packets: 1439 TX packets: 1439
RX mcast packets: 0 TX discards: 0
RX discards: 0 TX errors: 0
RX errors: 0 TX overruns: 0
RX overruns: 0 TX carrier: 0
RX frame: 0 TX collisions: 0
TX queue len: 0
Interface mgmt1 status:
Comment:
Admin up: yes
Link up: no
DHCP running: yes (but no valid lease)
IP address:
Netmask:
IPv6 enabled: yes
Autoconf enabled: no
Autoconf route: yes
Autoconf privacy: no
DHCPv6 running: no
Speed: 10Mb/s (auto)
Duplex: half (auto)
Interface type: ethernet
Interface source: physical
MTU: 1500
HW address: 00:02:C9:63:8E:5B
lines 115-137
RX bytes: 0 TX bytes: 0
RX packets: 0 TX packets: 0
RX mcast packets: 0 TX discards: 0
RX discards: 0 TX errors: 0
RX errors: 0 TX overruns: 0
RX overruns: 0 TX carrier: 0
RX frame: 0 TX collisions: 0
TX queue len: 1000
Slot 1 port 1 state
Logical port state : Down
Physical port state : Polling
Current line rate : 10.0 Gbps
Supported speeds : 2.5, 5.0, 10.0(QDR) or 10.0(FDR10) Gbps rate
Speed : 2.5 Gbps rate only
Supported widths : 1X, 4X
Width : 4X
Max supported MTUs : 4096
MTU : 4096
VL capabilities : VL0 - VL7
Operational VLs : VL0 - VL7
Description :
lines 138-160
Phy-profile : high-speed-ber
RX bytes : 0
RX packets : 0
RX errors : 0
Symbol errors : 0
VL15 dropped packets : 0
TX bytes : 0
TX packets : 0
TX wait : 0
TX discarded packets : 0
Slot 1 port 2 state
Logical port state : Down
Physical port state : Polling
Current line rate : 10.0 Gbps
Supported speeds : 2.5, 5.0, 10.0(QDR) or 10.0(FDR10) Gbps rate
Speed : 2.5 Gbps rate only
Supported widths : 1X, 4X
Width : 4X
Max supported MTUs : 4096
MTU : 4096
lines 161-183
VL capabilities : VL0 - VL7
Operational VLs : VL0 - VL7
Description :
Phy-profile : high-speed-ber
RX bytes : 0
RX packets : 0
RX errors : 0
Symbol errors : 0
VL15 dropped packets : 0
TX bytes : 0
TX packets : 0
TX wait : 0
TX discarded packets : 0
......................................................
OUTPUT OMITTED
......................................................
Slot 1 port 18 state
Logical port state : Down
Physical port state : Polling
Current line rate : 10.0 Gbps
Supported speeds : 2.5, 5.0, 10.0(QDR) or 10.0(FDR10) Gbps rate
Speed : 2.5 Gbps rate only
Supported widths : 1X, 4X
Width : 4X
Max supported MTUs : 4096
MTU : 4096
VL capabilities : VL0 - VL7
Operational VLs : VL0 - VL7
Description :
Phy-profile : high-speed-ber
RX bytes : 0
RX packets : 0
RX errors : 0
Symbol errors : 0
VL15 dropped packets : 0
TX bytes : 0
TX packets : 0
TX wait : 0
TX discarded packets : 0
switch-638e5a [standalone: master] # sh bootvar
Installed images:
Partition 1:
SX_PPC_M460EX SX_3.3.3000 2013-02-26 21:57:35 ppc
Partition 2:
SX_PPC_M460EX SX_3.3.3000 2013-02-26 21:57:35 ppc
Last boot partition: 1
Next boot partition: 1
Boot manager password is set.
No image install currently in progress.
Image signing: trusted signature always required
Admin require signed images: yes
Settings for next boot only:
Fallback reboot on configuration failure: yes (default)
switch-638e5a [standalone: master] # sh config
##
## Active saved database "initial"
## Generated at 2014/10/21 15:23:44 +0000
## Hostname: switch-638e5a
##
##
## Running-config temporary prefix mode setting
##
no cli default prefix-modes enable
##
## Network interface configuration
##
lines 24-45
no interface mgmt0 dhcp
interface mgmt0 ip address 192.168.176.232 /24
##
lines 28-49/49 (END)
## AAA remote server configuration
##
# ldap bind-password ********
# radius-server key ********
# tacacs-server key ********
##
## Network management configuration
##
# web proxy auth basic password ********
##
## IB nodename to GUID mapping
##
ib smnode switch-638e5a create
ib smnode switch-638e5a enable
ib smnode switch-638e5a sm-priority 0
##
## X.509 certificates configuration
##
#
# Certificate name system-self-signed, ID 0c0726c97d3af7a759497ebc5815e6781e67a2dd
# (public-cert config omitted since private-key config is hidden)
##
## Persistent prefix mode setting
##
cli default prefix-modes enable
switch-638e5a [standalone: master] # sh images
No image files are available to be installed.
Installed images:
Partition 1:
SX_PPC_M460EX SX_3.3.3000 2013-02-26 21:57:35 ppc
Partition 2:
SX_PPC_M460EX SX_3.3.3000 2013-02-26 21:57:35 ppc
Last boot partition: 1
Next boot partition: 1
Boot manager password is set.
No image install currently in progress.
Image signing: trusted signature always required
Admin require signed images: yes
Settings for next boot only:
Fallback reboot on configuration failure: yes (default)
switch-638e5a [standalone: master] # sh inventory
===================================================================================
Module Type Part number Serial Number Asic revision
===================================================================================
CHASSIS SX6018 MSX6018T-1SFS MT1306X00940 N/A
MGMT SX6018 MSX6018T-1SFS MT1306X00940 2
FAN SXX0XX_FAN MSX60-FF MT1305X01113 N/A
PS1 SXX0XX_PS 071-000-588 MT1325X00486 N/A
CPU CPU SA002203 MT1249X06128 N/A
BAD switch:
U-Boot 2009.01 SX_PPC_M460EX SX_3.2.0330-82-EMC ppc (Feb 27 2013 - 12:13:42)
CPU: AMCC PowerPC 460EX Rev. B at 1000 MHz (PLB=166, OPB=83, EBC=83 MHz)
Security/Kasumi support
Bootstrap Option H - Boot ROM Location I2C (Addr 0x52)
Internal PCI arbiter disabled
32 kB I-Cache 32 kB D-Cache
Board: Mellanox PPC460EX Board
FDEF: No
I2C: ready
DRAM: 2 GB (ECC enabled, 333 MHz, CL3)
FLASH: 16 MB
NAND: 1024 MiB
PCI: Bus Dev VenId DevId Class Int
PCIE0: link is not up.
PCIE1: successfully set as root-complex
01 00 15b3 c738 0c06 00
Net: ppc_4xx_eth0, ppc_4xx_eth1
Hit any key to stop autoboot: 0
Waiting for PHY auto negotiation to complete...... TIMEOUT !
done
ENET Speed is 10 Mbps - HALF duplex connection (EMAC0)
Using ppc_4xx_eth0 device
ping failed; host 172.17.255.252 is not alive
Loading Kernel Image ... OK
ABCDE
kernel_pre_init: ISR subsystem initialized, initializing data.
kernel_pre_init: Data initialized, initializing non-driver subsystems.
kernel_pre_init: trace_init done
kernel_pre_init: sh_sheap_init done
kernel_pre_init: locks&sem _init done
kernel_pre_init: profile_init done
Fdrv_table_install: syslog at 0x0003511c with minor 0 (DRV_SETUP) (DRV_INIT)
drv_table_install: isrlog at 0x0003511c with minor 1 (DRV_INIT)
drv_table_install: userinterface at 0x00004db0 with minor 0 (DRV_SETUP) (DRV_INIT)
drv_table_install: stty0 at 0x00070c30 with minor 0 (DRV_SETUP) (DRV_INIT)
drv_table_install: eth0 at 0x000715e4 with minor 0 (DRV_SETUP) (DRV_INIT)
drv_table_install: i2c0 at 0x0007d2ac with minor 0 (DRV_SETUP) (DRV_INIT)
drv_table_install: i2c1 at 0x0007d2ac with minor 1 (DRV_INIT)
drv_table_install: itcpip at 0x0003df70 with minor 0tcpipInit: Starting internal TCP/IP stack.
(DRV_SETUP) (DRV_INIT)
kernel_main: Drivers installed, installing INIT process with stack size = 8192.
sk_init_main: Started @ 0:43:14 9/30/2015
nor_flash_ini_setup: big_flash_lock created
sk_init_main: Starting process based initialization - 8791.
02:60:48:10:ff:78 UDP socket 3 created
TCP socket 4 created
sk_init_main: Process based initialization complete - 8791.
sk_init_main: Installing task table.
task_table_install: console at 0x00016208 stack 0x00512410/26624 : 4
task_table_install: inetd at 0x00036d90 stack 0x00534c10/8192 : 5
task_table_install: poll_cqs at 0x000b52f8 stack 0x00518c10/8192 : 6
task_table_install: poll_ports at 0x000b5660 stack 0x0051ac10/16384 : 7
task_table_install: env_mon at 0x000877bc stack 0x00520c10/8192 : 8
task_table_install: env_bin_api at 0x000148d0 stack 0x00522c10/8192 : 9
task_table_install: incoming_fw_files at 0x00014334 stack 0x00524c10/8192 : 10
task_table_install: incoming_fw_files at 0x00014334 stack 0x00526c10/8192 : 11
task_table_install: wdog at 0x00021cd0 stack 0x00536c10/4096 : 12
sk_init_main: Task table installed. Starting tasks and exiting.
sk_init_main: Enable WatchDog
----------------------------- Board Info -----------------------------
* Chasis Type : STINGRAY
* Number of Ports : 18
* U-Boot Revision :U-Boot 2009.01 SX_PPC_M460EX SX_3.2.0330-82-EMC ppc (Feb 27 2013 - 12:13:42)
* Firmware Revision : 9.9.1260
* INI file Revision : 0x21010016
----------------------------------------------------------------------
BUILD INFO UTILITY
GET_PROJECT_CVS_COMMIT_LEVEL..=1.383
GET_BUILD_BASE................=
GET_BUILD_SIGNATURE...........=0025b50070be,2014-05-23,10:04:05,34176
GET_BUILD_PATH................=/emc/tdowning/ppc460_release/may_23_2014
00:43:23 09/30/2015
Switch-B(4)>
Switch-B(4)> help
Command Description Syntax
-------------- ------------------------- ------
sched sched sched
piecnt piecnt piecnt
alarm alarm alarm
ps list processes ps
pdump pdump pdump <pid>
stack_trace stack trace stack_trace <pid>
lastrun Task/ISR/sched last run h lastrun <enable|disable|status|clear|dump> [task|isr|idle|sched|event]
syslog syslog display syslog
isrlog isrlog display isrlog
spinlocks spinlocks display spinlocks
log user log display log
rwlocks rwlocks display rwlocks
genstackerr generate a 93FF genstackerr
generrtasks save err tasks info generrtasks
findstack find proc from stack findstack
setblockedticks set max blocked ticks setblockedticks
region Time entreg/lvreg calls region <n repetitions>
lock Time getlock/releselock c lock <n repetitions>
sema Time sempend/sempost call sema <n repetitions>
kill signal thread kill
exit exit exit
help help help
start start start
tracef tracef tracef
trace trace trace
dump dump memory dump <addr> [length]
dm dump memory dm <addr> [length]
poke poke memory poke <size> <addr> <value>
pm patch memory pm
sems sems sems
fds Show active file descript fds
ipcq ipcq ipcq
cycles cycles cycles
eihdlrs eihdlrs eihdlrs
profile profile profile
proc proc proc
uptime uptime uptime
ttytest ttytest ttytest
baud baud baud
sread open and read device sread [flush]
lsreset long slice reset lsreset [pid]
drivers Show installed drivers drivers
reload Do reboot reload
reboot Do reboot reboot FORCE
hreset Do hard reset hreset FORCE
pci_conf Do PCI Config pci_conf <cmd>
pci_probe Do PCI Probe for device pci_probe vendor device startslot
trypcie try PCI Config trypcie
tryrwbar try RW Bar tryrwbar
searchfw search firmware searchfw
tlbs show tlbs tlbs
mung mung tlb mung tlb
mcds Machine Check Disable Machine Check Disable
mcen Machine Check Enable Machine Check Enable
getdcr Get DCR Get DCR <dcr#>
setdcr Set DCR Set DCR <dcr#> <val>
queryboard Query Board Info queryboard
i2c0 i2c0 commands i2c0
i2c1 i2c1 commands i2c1
adm adm commands adm
env env commands env
uicread uicread uicread
ienable ienable ienable
macread macread macread
macrestore macrestore macrestore
checkpci Check PCI Availability checkpci
rxtest rxtest rxtest
drxtest drxtest drxtest
txtest txtest txtest
dtxtest dtxtest dtxtest
rcvmacon rcvmacon rcvmacon
telnet telnet telnet
netstat netstat netstat
ping ping ping
arp arp arp
ifconfig ifconfig ifconfig
ifconfig ifconfig ifconfig
route route route
getimg getimg getimg
ibfl IB Flash Uitlity ibfl
baz Baz Switch Commands baz
norf NOR Flash Utility norf
build Build Info Utility build
board Board Info Utility board
info Board Info Utility board
crc32 Display CRC32 crc32 addr length [seed]
chkimg Check validity of SymmK O chkimg [addr]
testsyslog testsyslog testsyslog
testibsw testibsw testibsw
testmacaddr testmacaddr testmacaddr
setnewip setnewip setnewip
sheapmem sheapmem sheapmem
rtcdate rtcdate rtcdate HrMnSc MmDdYr (in BCD)
date date Displays current time and date
doubledate doubledate Displays current time and date
showif showif showif
incoming_fw check/restart incming fir incoming_fw [start]
_ibswbinapi check/restart env bin api _ibswbinapi [start]
burnbazfw burnbazfw [auto] auto will do getimg and burn baz fw
burnswitchos burnswitchos [auto] auto will do getimg and burn switchos
tcpdump tcpdump tcpdump
eint eint <clear> Dump number of vector interrupts we have received
ib_tunnel ib_tunnel IB Tunnel statistics and debugging control
set_all_arp set_all_arp set_all_arp
repeat repeat repeat
wdog test wdog interrupt wdog
dumpwdog dump info from wdog inter dumpwdog
Switch-B(4)> reload
Switch-B(4)> Failed to read switch init status!
U-Boot 2009.01 SX_PPC_M460EX SX_3.2.0330-82-EMC ppc (Feb 27 2013 - 12:13:42)
CPU: AMCC PowerPC 460EX Rev. B at 1000 MHz (PLB=166, OPB=83, EBC=83 MHz)
Security/Kasumi support
Bootstrap Option H - Boot ROM Location I2C (Addr 0x52)
Internal PCI arbiter disabled
32 kB I-Cache 32 kB D-Cache
Board: Mellanox PPC460EX Board
FDEF: No
I2C: ready
DRAM: 2 GB (ECC enabled, 333 MHz, CL3)
FLASH: 16 MB
NAND: 1024 MiB
PCI: Bus Dev VenId DevId Class Int
PCIE0: link is not up.
PCIE1: successfully set as root-complex
01 00 15b3 c738 0c06 00
Net: ppc_4xx_eth0, ppc_4xx_eth1
Hit any key to stop autoboot: 0
=> ?
? - alias for 'help'
askenv - get environment variables from stdin
autoscr - run script from memory
base - print or set address offset
bdinfo - print Board Info structure
boot - boot default, i.e., run 'bootcmd'
bootd - boot default, i.e., run 'bootcmd'
bootelf - Boot from an ELF image in memory
bootm - boot application image from memory
bootp - boot image via network using BOOTP/TFTP protocol
bootstrap - program the I2C bootstrap EEPROM
bootvx - Boot vxWorks from an ELF image
cmp - memory compare
coninfo - print console devices and information
cp - memory copy
crc32 - checksum calculation
dcache - enable or disable data cache
dhcp - boot image via network using DHCP/TFTP protocol
echo - echo args to console
eeprom - EEPROM sub-system
envreset- Reset the environment to the defaults
erase - erase FLASH memory
exit - exit script
ext2load- load binary file from a Ext2 filesystem
ext2ls - list files in a directory (default /)
fatinfo - print information about filesystem
fatload - load binary file from a dos filesystem
fatls - list files in a directory (default /)
fdt - flattened device tree utility commands
flinfo - print FLASH memory information
getdcr - Get an AMCC PPC 4xx DCR's value
getidcr - Get a register value via indirect DCR addressing
go - start application at address 'addr'
help - print online help
icache - enable or disable instruction cache
icrc32 - checksum calculation
iloop - infinite loop on address range
imd - i2c memory display
iminfo - print header information for application image
imls - list all images found in flash
imm - i2c memory modify (auto-incrementing)
imw - memory write (fill)
imxtract- extract a part of a multi-image
inm - memory modify (constant address)
interrupts - enable or disable interrupts
iprobe - probe to discover valid I2C chip addresses
irqinfo - print information about IRQs
itest - return true/false on integer compare
loadb - load binary file over serial line (kermit mode)
loads - load S-Record file over serial line
loady - load binary file over serial line (ymodem mode)
loop - infinite loop on address range
loopw - infinite write loop on address range
md - memory display
mdc - memory display cyclic
mii - MII utility commands
mm - memory modify (auto-incrementing)
mtest - simple RAM test
mw - memory write (fill)
mwc - memory write cyclic
nand - NAND sub-system
nboot - boot from NAND device
nfs - boot image via network using NFS protocol
nm - memory modify (constant address)
pci - list and access PCI Configuration Space
ping - send ICMP ECHO_REQUEST to network host
printenv- print environment variables
protect - enable or disable FLASH write protection
rarpboot- boot image via network using RARP/TFTP protocol
reginfo - print register information
reset - Perform RESET of the CPU
run - run commands in an environment variable
saveenv - save environment variables to persistent storage
setdcr - Set an AMCC PPC 4xx DCR's value
setenv - set environment variables
setexpr - set environment variable as the result of eval expression
setidcr - Set a register value via indirect DCR addressing
showvar- print local hushshell variables
sleep - delay execution for some time
test - minimal test like /bin/sh
tftpboot- boot image via network using TFTP protocol
usb - USB sub-system
usbboot - boot from USB device
version - print monitor version
=> bdinfo
memstart = 0x00000000
memsize = 0x80000000
flashstart = 0xFF000000
flashsize = 0x01000000
flashoffset = 0x00000000
sramstart = 0x00000000
sramsize = 0x00000000
bootflags = 0xFFFE0218
intfreq = 1000 MHz
busfreq = 166.667 MHz
ethaddr = 00:02:C9:63:CF:18
eth1addr = 00:02:C9:63:CF:19
IP addr = 172.17.255.120
baudrate = 9600 bps