SOC
Print internal Driver control information
- SOC
Print the SDK driver’s internal control information for the unit, or for each unit number given: the attach state, DMA channel and interrupt settings and other driver bookkeeping. Read-only. The built-in help says this works only in debug builds; in this build the full dump is available.
Hardware-validated
drivshell> soc Unit 0 Driver Control Structure: Chip=BCM56870_A0 Rev=0x01 Driver=BCM56870_A0 Flags=0x48103: attached initialized mem-clear-use-dma; board type 0x0 CM: Base=0x7fe873800000 Disabled: reg_flags=0x100 mem_flags=0x0 SchanOps=1835219172 MMUdbg=0 LinkPause=0 Counter: int=1000000us per=1128208us dmaBuf=0x7fe871830280 EvictInvalidPoolIdCount=0 BulkDmaErrorCount=0 CounterDmaDurationUsec=15663 CounterErrorRestartCount=0 Timeout: Schan=0(300000us) MIIM=0(1000000us) SchanMemRead=0 SchanMemWrite=0 SchanRegRead=0 SchanRegWrite=0 SchanTblInsert=0 SchanTblDelete=0 SchanTblLookup=0 Intr: Total=18547853 Sc=0 ScErr=0 MMU/ARLErr=0 LinkStat=0 PCIfatal=0 PCIparity=0 ARLdrop=0 ARLmbuf=0 ARLxfer=0 ARLcnt0=0 TableDMA=18577868 TSLAM-DMA=401 CCM-DMA=0 SW=0 MemCmd[BSE]=0 MemCmd[CSE]=0 MemCmd[HSE]=0 ChipFunc[0]=0 ChipFunc[1]=0 ChipFunc[2]=0 ChipFunc[3]=0 ChipFunc[4]=0 FifoDma[0]=40 FifoDma[1]=0 FifoDma[2]=0 FifoDma[3]=0 I2C=0 MII=0 StatsDMA=0 Desc=0 Chain=0 PciTimeOut=0 DmaAddrDecodeErr=0 SbusDmaSwTimeout=0 Error: SDRAM=0 CFAP=0 Fcell=0 MmuSR=0 l2FifoDMA=0 M0: msg=3 resp=3 intr=0 Uc sw programmable total intr=0 M0 sw programmable intr: u0=0 u1=0 u2=0 u3=0 SBUS DMA err_intr_res=0 ...
Built-in help
Parameters: [<unit #>] ... Print internal SOC driver control information IF compiled as a debug version. If not compiled as a debug version, a warning is printed and the command completes successfully with no further outputFurther reading
OpenBCM sdk-6.5.27/rc: rc.soc, config.bcm, td3_sanity.soc, cmd_td3_tr514_lr.soc, tr51/tr517_bcm56870_a0.soc, bcm_diag_info.soc …, SDK-6.5.20..6.5.27 Resolved-Issues-Improvements.xlsx (7 files), scripts/generate_dump (show techsupport collector), FBOSS: BcmSwitch gatherSdkState/rcload, validated shell commands, diag shell stress test, vendor-diag-shell skill, debugging doc.