openbcm

Git mirror of https://github.com/Broadcom-Network-Switching-Software/OpenBCM
git clone git://git.finwo.net/mirror/broadcom/openbcm
Log | Files | Refs | README

bcm_diag_info.soc (1656B)


      1 # 
      2 # This license is set out in https://raw.githubusercontent.com/Broadcom-Network-Switching-Software/OpenBCM/master/Legal/LICENSE file.
      3 # 
      4 # Copyright 2007-2019 Broadcom Inc. All rights reserved.
      5 #
      6 # Script to get the standardized and critical information about the chip
      7 
      8 local done 'echo "   Done"'
      9 
     10 #Show the current list of attached devices
     11 echo "List of attached devices"
     12 a 
     13 $done
     14 
     15 #Show current firmware version and build status
     16 echo "Current firmware version and build status"
     17 version 
     18 $done
     19 
     20 #Show the current config variables
     21 echo "Current config variables"
     22 config show 
     23 $done
     24 
     25 #Display the counter values
     26 echo "Counter values"
     27 show counters 
     28 $done
     29 
     30 #Displays the linkscan status for all ports.
     31 echo "Linkscan status"
     32 linkscan 
     33 $done
     34 
     35 #Display  about info about port status
     36 echo "Port status info"
     37 ps 
     38 $done
     39 
     40 #Show the tree for the LLS port
     41 echo "LLS tree info"
     42 lls 
     43 $done
     44 
     45 #Show the tree for the HSP port
     46 echo "HSP tree info"
     47 hsp 
     48 $done
     49 
     50 #Print internal SOC driver control information
     51 echo "SOC driver information"
     52 soc 
     53 $done
     54 
     55 #Display the Field Processor information
     56 echo "FP information"
     57 fp show 
     58 $done
     59 
     60 #Show the port mapping information
     61 echo "Port map information"
     62 show pmap 
     63 $done
     64 
     65 #Show the PHY information of the ports
     66 echo "PHY information"
     67 phy info 
     68 $done
     69 
     70 #Show the Chip parameters
     71 echo "Chip parameters"
     72 show params 
     73 $done
     74 
     75 #Show enabled features for the unit
     76 echo "Features enabled on the unit"
     77 show features 
     78 $done
     79 
     80 #Dump the PCI Config space
     81 echo "Dumping the  PCI config to the file"
     82 dump file=pcic.dump pcic 
     83 $done
     84 
     85 #Dump the CMIC PCI registers
     86 #echo "Dumping the CMIC PCI registers to the file"
     87 #dump file=pcim.dump pcim 
     88 #$done