Trying to bring up a new board, Using SysFW 1.0, board initializes DDR4 memory, and can come up running on the MCU processor, modified one of the test apps to actually do a memory test, and runs through the 2gig of memory with no issues.
Then if I try the run on any MPU program the system stops at "Sciclient_pmSetModuleState On, DevId 0xc6...", sometimes I get a 'D' and the end for "Done" i Think. (Note added the extra debug on the Initializing DDR)
Now, if I try to run the sysFW 2.1 version, system stops at "Initlialzing DDR", it seems to be waiting in the PHY_Init() routing, after issuing the
HW_WR_DDRPHY_REG32(CSL_EMIF_PHYCFG_PIR, 0x73); and doing the
while ((HW_RD_DDRPHY_REG32(CSL_EMIF_PHYCFG_PGSR0) & 0x1U) != 0x1U) ;
I am not sure what to look for, Possible upper 2Gig of memory not working correct? Not sure how to test it.
Thanks
Robert
--- Little of the debug log, running sysFW 1.0 ---------------
SBL_SocLateInit()
Setting up AVS ...
Common rail: Slave:0x0, Res:0x0 @ 0mV
Initlialzing PLLs ...done.
InitlialzingClocks ...done.
Initlialzing DDR ...PHY_Init()...SDRAM_Init()...WriteLeveling_Training()...DQSGate_Training()...WriteLevelAdjustment()...Training2()...VREF_Training()...Cleanup_Training()...DDR INIT OK...done.
Initializing GTC ...Begin parsing user application
Calling Sciclient_procBootRequestProcessor, ProcId 0x20...
Calling Sciclient_procBootRequestProcessor, ProcId 0x21...
Calling Sciclient_procBootRequestProcessor, ProcId 0x22...
Calling Sciclient_procBootRequestProcessor, ProcId 0x23...
Calling Sciclient_procBootRequestProcessor, ProcId 0x1...
Calling Sciclient_procBootRequestProcessor, ProcId 0x2...
Searching for X509 certificate ...found @0x41c3db44, size = 1845 bytes
SBL reserved memory Found: Start = @ 0xb8000000, Size = 0x4000000
Copying 1848 bytes from app to 0xb8000003
Found seq @ 0xb80003b7
image length = 6932 bytes
Copying 6936 bytes from offset 0x734 to 0xb8000737...Cert @ 0xb8000003 ...Ignored on GP...done
SBL_VerifyMulticoreImage()--Done
Handling Core 0
Sciclient_pmSetModuleState On, DevId 0xc6...
---------------------------------------------------------------
--- Little of the debug log, running sysFW 2.1 ---------------
SBL Revision: 01.00.10.01 (Mar 29 2024 - 10:49:22)
SBL_SciClientInit()
SBL_ReadSysfwImage(&sysfw_ptr, 270336)
MMCSD_socGetInitCfg: 0:/sysfw.bin
MMCSD_socSetInitCfg(0,&hwAttrsConfig)
FATFS_Init()
FATFS_open(0U, NULL, &sbl_fatfsHandle)
f_open(&fp, 0:/sysfw.bin, ((BYTE)FA_READ)
SYSFW ver: 22.1.1--v2022.01 (Terrific Llam
Sciclient_setBoardConfigHeader... PASSED
Board_init(BOARD_INIT_PINMUX_CONFIG)
is SOC PG1 ? NO
is SOC PG1 ? NO
SBL_SocLateInit()
Setting up AVS ...
Common rail: Slave:0x0, Res:0x0 @ 0mV
Initlialzing PLLs ...done.
InitlialzingClocks ...done.
Initlialzing DDR ...PHY_Init()...
--------------------------------------------------------------------------------------