-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Medium
-
PDK
-
PDK-12634
-
PROCESSOR_SDK_08.05.00
-
PROCESSOR_SDK_09.00.00
-
j784s4-evm
Issue Description:
SBL fails to boot in LockStep mode when booting from OSPI boot mode. Other boot modes are working fine.
The control goes back to the beginning of SBL while jumping to the app. See the logs attached:
SBL Revision: 01.00.10.01 (Mar 13 2023 - 15:52:50) TIFS ver: 8.5.2--v08.05.02a (Chill Capyba SCISERVER Board Configuration header population... PASSED Sciclient_setBoardConfigHeader... PASSED Initlialzing PLLs ...done. InitlialzingClocks ...done. Initlialzing DDR ...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 0x24... Calling Sciclient_procBootRequestProcessor, ProcId 0x25... Calling Sciclient_procBootRequestProcessor, ProcId 0x26... Calling Sciclient_procBootRequestProcessor, ProcId 0x27... Calling Sciclient_procBootRequestProcessor, ProcId 0x1... Calling Sciclient_procBootRequestProcessor, ProcId 0x2... Calling Sciclient_procBootRequestProcessor, ProcId 0x6... Calling Sciclient_procBootRequestProcessor, ProcId 0x7... Calling Sciclient_procBootRequestProcessor, ProcId 0x8... Calling Sciclient_procBootRequestProcessor, ProcId 0x9... Calling Sciclient_procBootRequestProcessor, ProcId 0xa... Calling Sciclient_procBootRequestProcessor, ProcId 0xb... Calling Sciclient_procBootRequestProcessor, ProcId 0x30... Calling Sciclient_procBootRequestProcessor, ProcId 0x31... Calling Sciclient_procBootRequestProcessor, ProcId 0x32... Calling Sciclient_procBootRequestProcessor, ProcId 0x33... Calling Sciclient_procBootRequestProcessor, ProcId 0x80... OSPI RCLK running at 166666666 MHz. Ospi Read speed for 0x4 bytes from offset 0x100000 = 0 Mbytes per sec Searching for X509 certificate ...not found Ospi Read speed for 0x10 bytes from offset 0x100000 = 0 Mbytes per sec Ospi Read speed for 0x8 bytes from offset 0x100010 = 0 Mbytes per sec Ospi Read speed for 0x8 bytes from offset 0x100018 = 0 Mbytes per sec Ospi Read speed for 0x14 bytes from offset 0x100020 = 0 Mbytes per sec Detected lockstep for core_id 8, proc_id 0x1... Calling Sciclient_procBootGetProcessorState, ProcId 0x1... Sciclient_procBootSetProcessorCfg, ProcId 0x1, enabling Lockstep mode... Calling Sciclient_procBootGetProcessorState, ProcId 0x1... Enabling MCU TCMs after reset for core 8 Disabling HW-based memory init of MCU TCMs for core 8 Sciclient_procBootSetProcessorCfg update TCM enable/disable settings... Ospi Read speed for 0x14 bytes from offset 0x100034 = 0 Mbytes per sec Copying 0x40 bytes to 0x0 Ospi Read speed for 0x40 bytes from offset 0x100048 = 1 Mbytes per sec Ospi Read speed for 0x14 bytes from offset 0x100088 = 0 Mbytes per sec Copying 0x448 bytes to 0x41ce3100 Ospi Read speed for 0x448 bytes from offset 0x10009c = 18 Mbytes per sec Ospi Read speed for 0x14 bytes from offset 0x1004e4 = 0 Mbytes per sec Copying 0x318 bytes to 0x41ce3548 Ospi Read speed for 0x318 bytes from offset 0x1004f8 = 13 Mbytes per sec Ospi Read speed for 0x14 bytes from offset 0x100810 = 0 Mbytes per sec Copying 0x118 bytes to 0x41ce3860 Ospi Read speed for 0x118 bytes from offset 0x100824 = 5 Mbytes per sec Ospi Read speed for 0x14 bytes from offset 0x10093c = 0 Mbytes per sec Copying 0x29af0 bytes to 0x80000000 Ospi Read speed for 0x29af0 bytes from offset 0x100950 = 116 Mbytes per sec Ospi Read speed for 0x14 bytes from offset 0x12a440 = 0 Mbytes per sec Copying 0xd930 bytes to 0x80054180 Ospi Read speed for 0xd930 bytes from offset 0x12a454 = 93 Mbytes per sec Ospi Read speed for 0x14 bytes from offset 0x137d84 = 0 Mbytes per sec Copying 0x4f88 bytes to 0x80069ab0 Ospi Read speed for 0x4f88 bytes from offset 0x137d98 = 64 Mbytes per sec Ospi Read speed for 0x14 bytes from offset 0x13cd20 = 0 Mbytes per sec Copying 0x1604 bytes to 0x8006ea80 Ospi Read speed for 0x1604 bytes from offset 0x13cd34 = 38 Mbytes per sec Ospi Read speed for 0x14 bytes from offset 0x13e338 = 0 Mbytes per sec Copying 0x460 bytes to 0x80070088 Ospi Read speed for 0x460 bytes from offset 0x13e34c = 19 Mbytes per sec Ospi Read speed for 0x14 bytes from offset 0x13e7ac = 0 Mbytes per sec Copying 0x2780 bytes to 0x800704e8 Ospi Read speed for 0x2780 bytes from offset 0x13e7c0 = 54 Mbytes per sec Setting Lockstep entry point for MCU1 @0x0 SBL_ospiClose called Sciclient_procBootReleaseProcessor, ProcId 0x20... Sciclient_procBootReleaseProcessor, ProcId 0x21... Sciclient_procBootReleaseProcessor, ProcId 0x22... Sciclient_procBootReleaseProcessor, ProcId 0x23... Sciclient_procBootReleaseProcessor, ProcId 0x24... Sciclient_procBootReleaseProcessor, ProcId 0x25... Sciclient_procBootReleaseProcessor, ProcId 0x26... Sciclient_procBootReleaseProcessor, ProcId 0x27... Sciclient_procBootReleaseProcessor, ProcId 0x1... Sciclient_procBootReleaseProcessor, ProcId 0x2... Sciclient_procBootReleaseProcessor, ProcId 0x6... Sciclient_procBootReleaseProcessor, ProcId 0x7... Sciclient_procBootReleaseProcessor, ProcId 0x8... Sciclient_procBootReleaseProcessor, ProcId 0x9... Sciclient_procBootReleaseProcessor, ProcId 0xa... Sciclient_procBootReleaseProcessor, ProcId 0xb... Sciclient_procBootReleaseProcessor, ProcId 0x30... Sciclient_procBootReleaseProcessor, ProcId 0x31... Sciclient_procBootReleaseProcessor, ProcId 0x32... Sciclient_procBootReleaseProcessor, ProcId 0x33... Sciclient_procBootReleaseProcessor, ProcId 0x80... Calling Sciclient_procBootRequestProcessor, ProcId 0x1... Sciclient_procBootSetProcessorCfg, ProcId 0x1, EntryPoint 0x0... Sciclient_pmSetModuleClkFreq, DevId 0x15a @ 1000000000Hz... Calling Sciclient_procBootRequestProcessor, ProcId 0x2... Skipping Sciclient_procBootSetProcessorCfg for ProcId 0x2, EntryPoint 0xffffffff... Calling Sciclient_procBootRequestProcessor, ProcId 0x1... SBL Revision: 01.00.10.01 (Mar 13 2023 - 15:52:50) Board_flashOpen failed!
Resolution Description:
Since SMP core ID is not translated to core ID, ATCM addresses were not
translated to global addresses. Now fixed in the SBL implementation to translate the SMP core ID to core ID.