LSI 9361-8i initiallization only on iMR firmware

Notice: Page may contain affiliate links for which we may earn a small commission through services like Amazon Affiliates or Skimlinks.

JFO

New Member
May 3, 2020
15
4
3
Hello! Have some problem with LSI MR 9361-8i raid controller.
For some reason MR 9361-8i can boot only on iMR firmware.

When I flash on controller MR firmware from LSI FW_16MB.rom or latest MR_4MB.rom it stuck on boot.

UART output with MR firmware only.
Code:
LSI Logic Boot loader V3.02.00.00-0001
Built : May 24 2014:@13:04:16
IMR FW: From: fc000000 to fdfe0000 step 20000 :Not Found!!!
Any image: From: fc000000 to fdfe0000 step 20000 :@0xfc800000
BIOS  : From: fc000000 to fdfe0000 step 20000 :@0xfc000000
resetting core 1
so controller at first search iMR image, not MR. MR image also finded, but not go to next step with initialization.

Controller not initiallized and system can recognize it only when lock sbr and clean firmware with megarec3.

When I flash firmware from SMC (it also contains iMR firmware) controller boot, but show error "Firmware did not find valid firmware image wich matches NVDATA settings on the controller.", not show controller name and memory show as 0 mb.

UART output with MR & iMR firmware
Code:
AVAGO Technologies Boot loader V3.07.00.00-0004
Built : Aug 19 2019:mad:16:08:35
IMR FW: From: fc000000 to fdfe0000 step 20000 :mad:0xfc800000
BIOS  : From: fc000000 to fdfe0000 step 20000 :mad:0xfc000000

AVAGO ROC initialization code
VID 1000 DID 5d SSVID 1000 SSID 9361 Rev 02
SysRstSns  ad294319 PceMiscCfg 00021000 PceCfgValid 00000001
SysPllCtrl 8167eb9d MemPllCtrl 8100e339
CCR0 = 40308000, CCR1 = 1000, CCR2=0
Extended tag support disabled on this controller
Orig POM1 high=70 low=c8000000 size=fe0000
New POM1 high=70 low=0 size=fe0000
loadBios: Images found=3 start=c0000000 size=1ae00
loadBios: plb address=c0000000, biosStart=c0000000,i=20000
release PCIe : after 576 ms
CCR_RST_STATUS(offset 0xE0C3) : 0xfe1
Initializing Primary L2 Cache...
PCNR Value: 69, L2 Revision: 200
L2 Configuration: L2 Size 80000 bytes, PlbClkRatio: 1-1, TSnoop 7, MasterId 0, CacheStateMode MESI+MU+SL+T,

ForceTrueCollision FALSE
Disabling background L2 fill for Primary core, value of L2_WAC_CFG register 4
Initializing L3 Cache...
L3 Revision: 0
L3 Size 200000 bytes
L3 CFG: PlbBusOrder 0, Mode OCM, TrueL3CQuiesce 0, ErrorBufferLinger 0
Testing memory [addr=0xc0400000, 2 MB]: Done
scrubApplicationMemory : need to be modified
scrubApplicationMemory : need to be modified
LOAD section: src=c0aa18c4, size=2802, dst=c0263908, mode=1...done
LOAD section: src=c0aa40cf, size=2d3bc, dst=c0200000, mode=1...done
LOAD section: src=c0ad1494, size=217, dst=c00b0fc4, mode=1...done
LOAD section: src=c0ad16b4, size=1a4, dst=c0790000, mode=1...done
LOAD section: src=c0ad1861, size=5a, dst=c3000000, mode=1...done
useL3AsOCM:1 gPlbAddrMemoryQHighL3Uncached:0
sramsizebytes:600000 sramsizebytesmask:7fffff
stack is c00afc00
Time upto completing Init = 713 mS
Not waiting for secondary unzip
_esram_initial_code:c0229a34 _io_path_code_start:c0238074 _io_path_code_end:c0263894
T0: C0:Flash Size = 16 MB
T0: C0:initializeFlashTmo: maxMarginProgTmo=6144 maxMarginEraseTmo=6144
T0: C0:TtyInit: FlashLog @ 0xfc480000 Size = 0x200000
T0: C0:TtyInit: FlashTty @ 0xfc680000 Size = 0x80000

T0: C0:AVAGO ROC firmware
T0: C0:Copyright(C) AVAGO Technologies, 2014
T0: C0:Firmware version 4.680.01-8518 built on Jan 16 2020 at 02:21:48

T0: C0:supported dgbflags:
T0: C0:    biosDisable: 0
T0: C0:    ddrDisable: 0
T0: C0: *** HW Encryption Disabled : dcrReg=ad294319
T0: C0:Reading Detroit Cache enable at DCR cache config register: 0x0
T0: C0:Reading Detroit Cache init at DCR cache control/status register: 0x0
T0: C0:TreeVelleInit Complete (Velle Config register 103ff)
T0: C0:RegionLockMaroInit Complete (Maro config register c00103ff
T0: C0:SRAM_LOCAL_BASE: c0000000
T0: C0:MEM_FIXED_SIZE: 200000
T0: C0:MEM_POOL_BASE: c03fbf14
T0: C0:MEM_POOL_SIZE=1940ec
T0: C0:_memPool=c03fbf14
T0: C0: mb=c03fbf20, memPoolSize=1940e0 memPoolEnd =c0590000
T0: C0:Initializing memory pool size=001940EC bytes
T0: C0:I2Chandle obtained for MUX [0]0x0
T0: C0:I2Chandle obtained for MUX [1]0x10
T0: C0:I2Chandle obtained for MUX [5]0x50
T0: C0:I2Chandle obtained for MUX [2]0x20
T0: C0:I2Chandle obtained for MUX [3]0x30
T0: C0:I2Chandle obtained for MUX [4]0x40
T0: C0:pCIE Link Status/Ctrl 10420001 Speeds: max=8.0 Gb/s neg=5.0 Gb/s, Widths: max=8 neg=4
T0: C0:CCR_RST_STATUS   fe1
T0: C0:doing POWERON RESET 0
T0: C0:doing SYSTEM RESET 1
T0: C0:MonSetAllowChipReset: MonAllowResetChip 1
T0: C0:SBR: I2Chandle obtained for SBR 51
T0: C0:SBR HW Primary(0000):
00000000: 55 e7 b9 03 71 e0 31 00 - 00 00 01 79 e0 21 31 18
00000010: df 92 00 10 5d 00 00 04 - 01 00 10 61 93 00 00 00
00000020: 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00
00000030: 00 00 00 00 00 cc 38 c0 - 8c 03 cc 48 00 71 6e 03
00000040: 40 00 02 84 00 00 0b 00 - a5 94 ff 07 70 49 00 10
00000050: 08 cf ff 19 c2 0e 21 84 - 90 27 49 12 00 00 00 ff
00000060: 00 03 40 00 0a c0 00 00 - 0a 80 01 28 12 86 01 01
00000070: 00 10 00 00 00 00 00 00 - 00 00 00 00 90 30 0c 00
00000080: 48 0a 0a 12 55 55 55 55 - 00 00 00 00 00 00 00 00
00000090: 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00
000000a0: 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00
000000b0: 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00
000000c0: 00 00 00 00 00 00 00 00 - 64 00 64 00 01 00 00 00
000000d0: 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 de
T4: C0:searchOneWireDevices - One Wire Device detected 93000000a5d1624f - UpgradeKeyNotPresent!!!!
T4: C0:EepromInit: Family=4f, SN=62d1a5000000
T4: C0:searchOneWireDevices - One Wire Device detected 93000000a5d1624f - UpgradeKeyNotPresent!!!!
T4: C0:searchOneWireDevices - One Wire Device detected 93000000a5d1624f - UpgradeKeyNotPresent!!!!
T4: C0:searchOneWireDevices - One Wire Device detected 93000000a5d1624f - UpgradeKeyNotPresent!!!!
T4: C0:Authenticating RAID key: Done!
T5: C0:FlashFind: Searching for APP  :Not Found:0xc0263908
T5: C0:FlashFind: Searching for APP  :Found @:0xc0263908(App:0x1)
T5: C0:MR_CheckForDowngrade: ctlrtype=1, bootImageiMR=0, bootMsgBadDDR = 0
T5: C0:FlashFind: Searching for APP  :Not Found:0xc0263908
T6: C0:FlashFind: Searching for APP  :Found @:0xc0263908(App:0x1)
T6: C0:Check_iMRToMR_Upgrade: Key: 0 ctrltype: 1 bootMsgBadDDR: 0
T6: C0:Check_iMRToMR_Upgrade: Upgrade key (iButton)not detected continue iMR...
T6: C0:CFGI firmware version 1.0.0.0
T6: C0:DM_Cfg_InitConfigPages: NVRAM subDeviceId = 0
T6: C0:FlashFind: Searching for NVDT :Found @:0xfcf00000(App:0x1)
T6: C0:Nvdata version 3.1705.01-0013 built on Aug 19 2019 at 14:57:59

T6: C0:Dm_Cfg_InitConfigPages: Compressed NVDATA image being used; compImgAddr = fff00128
T6: C0:LOAD section: src=fff00128, size=2644, dst=0, mode=1...InflateNvdata: pDestStart = c04faf30, buf = c0582f40, len = =8000
T6: C0:InflateNvdata: pDestStart = c0502f30, buf = c0582f40, len = =8000
T6: C0:InflateNvdata: pDestStart = c050af30, buf = c0582f40, len = =8000
T6: C0:InflateNvdata: pDestStart = c0512f30, buf = c0582f40, len = =8000
T6: C0:InflateNvdata: pDestStart = c051af30, buf = c0582f40, len = =8000
T6: C0:InflateNvdata: pDestStart = c0522f30, buf = c0582f40, len = =8000
T6: C0:InflateNvdata: pDestStart = c052af30, buf = c0582f40, len = =8000
T6: C0:InflateNvdata: pDestStart = c0532f30, buf = c0582f40, len = =8000
T6: C0:InflateNvdata: pDestStart = c053af30, buf = c0582f40, len = =8000
T6: C0:InflateNvdata: pDestStart = c0542f30, buf = c0582f40, len = =8000
T6: C0:InflateNvdata: pDestStart = c054af30, buf = c0582f40, len = =1f4
T6: C0:done
T6: C0:Uncompressed nvdata image used 501f4 bytes out of a buffer size of 80000 bytes
T6: C0:Dm_Cfg_InitConfigPages: searchVendorId = 1000 searchDeviceId = 5d searchSubVendorId = 1000 searchSubDeviceId = 9361
T6: C0:DM_Cfg_InitConfigPages: Searching for NVDATA using MFC PNPIds
T6: C0:Dm_Cfg_InitConfigPages: searchVendorId = 1000 searchDeviceId = 5d searchSubVendorId = 1000 searchSubDeviceId = 9361
T6: C0:DM_Cfg_InitConfigPages: Count of binaries parsed: countNVDATA=244
T6: C0:SRAM beginning and end for DM is xc0127800 - xc0200000
T6: C0:FRAME POOL INFO: localMsgFrames=c0127800, plFrames=c0164800, plFramesCore1=c017a800, plNonCritFrames=c017a800, plCritFrames=c017c800
T6: C0:Total memory allocated for all frames on core 0 is : 57000
T6: C0:LMID #0: msgNm=00000000, addr=c0127800
T6: C0:Address of dmIoCtx :: xc03d4280
T6: C0:DM_Cfg_ReadVPDFromMfgPage1: Failed to read page x1(type x9) status x1
T6: C0:DM_Cfg_ReadMfgPage1: Failed to read pageType xf0 pageNumber 01
T6: C0:DM_Cfg_UpdateMFCDFromMRParamsPage: Failed to read pageType x09 pageNumber 08
T6: C0:size of MFC Defaults structure in Bytes = 80
T6: C0:EVT#00061-T6:   0=Firmware initialization started (PCI ID 005d/1000/9361/1000)
T6: C0:EVT#00062-T6:   1=Firmware version 4.680.01-8518
T6: C0:Initializing the Temperature Monitor
T7: C0:I2Chandle obtained for MUX [4]0x40
T7: C0:DRAM SIZE=0 MB
T7: C0:Core0: Top: c00afc00 Bottom: c00a0000, *Bottom: deadbeef
T7: C0:DM_Cfg_GetFlashNvTime: Failed to read pageType x09 pageNumber 11
T7: C0:Error Reading config page 11 : status c058ff40
T7: C0:DM_Cfg_GetNcqStatus: Failed to read pageType x00 pageNumber 01
T7: C0:Error in reading the NCQ status from MPI2_CONFIG_PAGE_IO_UNIT_1
T7: C0:DM_Cfg_GetConnectorInfo: Failed to read pageType xf0 pageNumber 00
T7: C0:phy intIndex extIndex

T7: C0:Environment data:
T7: C0:eek:nlineUpdateVersion=0000
T7: C0:ldbbmExtSupported=1
T7: C0:supportExtQueueDepth=1
T7: C0:languageAttribChange=1
T7: C0:supportExtIOSize=1
T7: C0:ExpSDSEnhQD=1
T7: C0:JBODLargeQD=1
T7: C0:OFUDisableForUpgrade=00000000
T7: C0:OFUDisableForDowngrade=00000000
T7: C0:featureDowngradeDisable=00000001
T7: C0:VERSIONS=BIOS_6.36.00.3_4.19.08.00_0x06180203,HIIM_03.25.05.12,APP_4.680.00-8519,NVDT_3.1705.00-0021,CTLR_5.19-0603,PCLI_01.07-05:#%0000,APP_4.680.01-8518,NVDT_3.1705.01-0013,BTBL_3.07.00.00-0004
T7: C0:VALIDATION=GCA_01/19/20_20:09:35
T7: C0:pACKAGE=24.21.0-0126
=========================

As seen in output controller have flashed MR (APP_4.680.00-8519,NVDT_3.1705.00-0021) and iMR (APP_4.680.01-8518,NVDT_3.1705.01-0013) firmware.

Can someone tell why controller boot only from iMR firmware, this is some problem with firmware/configuration or hardware?