This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hi TI expert,
We tried to boot mcu1_1 through sbl, but found that mcu1_1 could not be started successfully if the entry point was set to ATCM, BTCM or DDR. Only if the entry point was set in MSMC (such as 0x70012000), it could be started successfully. Is this a normal phenomenon?
Best regards !
QuanLi
Hi Quan,
No, you should be able to boot with entry point in ATCM without any issues.
Can you please share more details? Which SDK version are you using? What example are you trying to load?
Also, did you try running IPC echo test on MCU1_1? I believe that places entry point in TCMs.
Regards,
Parth
Hi Parth,
SDK:8.6
The test firmware is compiled with make sbl_boot_test BOARD=j784s4_evm CORE=mcu1_1.
The code change point is:
--- boot/sbl/example/k3MulticoreApp/j784s4/mcuAmplinker.lds (revision 438697) +++ boot/sbl/example/k3MulticoreApp/j784s4/mcuAmplinker.lds (working copy) @@ -12,7 +12,7 @@ MEMORY { MSMC3_MCU1_CPU0 : origin=0x70010000 length=0x2000 /* 8KB */ - MSMC3_MCU1_CPU1 : origin=0x70012000 length=0x2000 /* 8KB */ + MSMC3_MCU1_CPU1 : origin=0x41410000 length=0x2000 /* 8KB */ MSMC3_MCU2_CPU0 : origin=0x70014000 length=0x2000 /* 8KB */ MSMC3_MCU2_CPU1 : origin=0x70016000 length=0x2000 /* 8KB */ MSMC3_MCU3_CPU0 : origin=0x70018000 length=0x2000 /* 8KB */ --- boot/sbl/sbl_component.mk (revision 438697) +++ boot/sbl/sbl_component.mk (working copy) @@ -1219,7 +1219,7 @@ # SBL log level # no logs = 0, only errors =1, normal logs = 2, all logs = 3 -SBL_CFLAGS += -DSBL_LOG_LEVEL=2 +SBL_CFLAGS += -DSBL_LOG_LEVEL=3 SBL_CFLAGS += -DSBL_ENABLE_PLL SBL_CFLAGS += -DSBL_ENABLE_CLOCKS
Entry point 0x70012000(MSMC), the SBL logs are as follows:
SBL Revision: 01.00.10.01 (Aug 23 2023 - 15:11:55) TIFS ver: 8.6.3--v08.06.03 (Chill Capybar SCISERVER Board Configuration header population... PASSED Sciclient_setBoardConfigHeader... PASSED Initlialzing PLLs ...done. InitlialzingClocks ...done. Initlialzing DDR ...done. Initializing GTC ...Board_control failed to configure MUX2 A <-> B2 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... Searching for X509 certificate ...not found Switching core id 8, proc_id 0x1 to split mode... Calling Sciclient_procBootGetProcessorState, ProcId 0x1... Sciclient_procBootSetProcessorCfg, ProcId 0x1, enabling split 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... Copying 0x40 bytes to 0x0 Copying 0x4f88 bytes to 0x41010100 Copying 0x2658 bytes to 0x41015088 Copying 0x19cf0 bytes to 0x41c82000 Copying 0x100 bytes to 0x41c9bcf0 Copying 0x8e60 bytes to 0x41cc2600 Copying 0x1680 bytes to 0x41ccf480 Copying 0x460 bytes to 0x41cd1b00 Copying 0x448 bytes to 0x41cd1f60 Copying 0x318 bytes to 0x41cd23a8 Setting entry point for core 8 @0x0 Switching core id 8, proc_id 0x1 to split mode... Calling Sciclient_procBootGetProcessorState, ProcId 0x1... Sciclient_procBootSetProcessorCfg, ProcId 0x1, enabling split mode... Sciclient_pmSetModuleState Off, DevId 0x15b... Calling Sciclient_procBootGetProcessorState, ProcId 0x2... Enabling MCU TCMs after reset for core 9 Sciclient_procBootSetProcessorCfg update TCM enable/disable settings... Setting HALT for ProcId 0x2... Sciclient_pmSetModuleState On, DevId 0x15b... Clearing core_id 9 (lock-step) ATCM @ 0x41400000 Clearing core_id 9 (lock-step) BTCM @ 0x41410000 Copying 0x358 bytes to 0x70012000 Copying 0xc8 bytes to 0x70012358 Copying 0x48 bytes to 0x70012420 Setting entry point for core 9 @0x70012000 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... Sciclient_procBootSetProcessorCfg, ProcId 0x2, EntryPoint 0x70012000... Sciclient_pmSetModuleClkFreq, DevId 0x15b @ 1000000000Hz... Copying first 128 bytes from app to MCU ATCM @ 0x41400000 for core 9 Calling Sciclient_procBootRequestProcessor, ProcId 0x1... Sciserver Testapp Built On: Feb 1 2023 16:31:30 Sciserver Version: v2022.01.1.0-REL.CORESDK.08.06.00.09-14-ge559a+ RM_PM_HAL Version: REL.CORESDK.08.06.00.09-7-g4da19 Starting Sciserver..... PASSED MCU1_1 running
Entry point 0x41400000(ATCM), the SBL logs are as follows:
SBL Revision: 01.00.10.01 (Aug 23 2023 - 15:11:55) TIFS ver: 8.6.3--v08.06.03 (Chill Capybar SCISERVER Board Configuration header population... PASSED Sciclient_setBoardConfigHeader... PASSED Initlialzing PLLs ...done. InitlialzingClocks ...done. Initlialzing DDR ...done. Initializing GTC ...Board_control failed to configure MUX2 A <-> B2 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... Searching for X509 certificate ...not found Switching core id 8, proc_id 0x1 to split mode... Calling Sciclient_procBootGetProcessorState, ProcId 0x1... Sciclient_procBootSetProcessorCfg, ProcId 0x1, enabling split 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... Copying 0x40 bytes to 0x0 Copying 0x4f88 bytes to 0x41010100 Copying 0x2658 bytes to 0x41015088 Copying 0x19cf0 bytes to 0x41c82000 Copying 0x100 bytes to 0x41c9bcf0 Copying 0x8e60 bytes to 0x41cc2600 Copying 0x1680 bytes to 0x41ccf480 Copying 0x460 bytes to 0x41cd1b00 Copying 0x448 bytes to 0x41cd1f60 Copying 0x318 bytes to 0x41cd23a8 Setting entry point for core 8 @0x0 Switching core id 8, proc_id 0x1 to split mode... Calling Sciclient_procBootGetProcessorState, ProcId 0x1... Sciclient_procBootSetProcessorCfg, ProcId 0x1, enabling split mode... Sciclient_pmSetModuleState Off, DevId 0x15b... Calling Sciclient_procBootGetProcessorState, ProcId 0x2... Enabling MCU TCMs after reset for core 9 Sciclient_procBootSetProcessorCfg update TCM enable/disable settings... Setting HALT for ProcId 0x2... Sciclient_pmSetModuleState On, DevId 0x15b... Clearing core_id 9 (lock-step) ATCM @ 0x41400000 Clearing core_id 9 (lock-step) BTCM @ 0x41410000 Copying 0x358 bytes to 0x41400000 Copying 0xc8 bytes to 0x41400358 Copying 0x48 bytes to 0x41400420 Setting entry point for core 9 @0x41400000 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... Sciclient_procBootSetProcessorCfg, ProcId 0x2, EntryPoint 0x41400000... Sciclient_pmSetModuleClkFreq, DevId 0x15b @ 1000000000Hz... Copying first 128 bytes from app to MCU ATCM @ 0x41400000 for core 9 Calling Sciclient_procBootRequestProcessor, ProcId 0x1... Sciserver Testapp Built On: Feb 1 2023 16:31:30 Sciserver Version: v2022.01.1.0-REL.CORESDK.08.06.00.09-14-ge559a+ RM_PM_HAL Version: REL.CORESDK.08.06.00.09-7-g4da19 Starting Sciserver..... PASSED
MCU1_1 running print is missing ,compared to entry point 0x70012000.
Entry point 0x41410000(BTCM), the SBL logs are as follows:
SBL Revision: 01.00.10.01 (Aug 23 2023 - 15:11:55) TIFS ver: 8.6.3--v08.06.03 (Chill Capybar SCISERVER Board Configuration header population... PASSED Sciclient_setBoardConfigHeader... PASSED Initlialzing PLLs ...done. InitlialzingClocks ...done. Initlialzing DDR ...done. Initializing GTC ...Board_control failed to configure MUX2 A <-> B2 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... Searching for X509 certificate ...not found Switching core id 8, proc_id 0x1 to split mode... Calling Sciclient_procBootGetProcessorState, ProcId 0x1... Sciclient_procBootSetProcessorCfg, ProcId 0x1, enabling split 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... Copying 0x40 bytes to 0x0 Copying 0x4f88 bytes to 0x41010100 Copying 0x2658 bytes to 0x41015088 Copying 0x19cf0 bytes to 0x41c82000 Copying 0x100 bytes to 0x41c9bcf0 Copying 0x8e60 bytes to 0x41cc2600 Copying 0x1680 bytes to 0x41ccf480 Copying 0x460 bytes to 0x41cd1b00 Copying 0x448 bytes to 0x41cd1f60 Copying 0x318 bytes to 0x41cd23a8 Setting entry point for core 8 @0x0 Switching core id 8, proc_id 0x1 to split mode... Calling Sciclient_procBootGetProcessorState, ProcId 0x1... Sciclient_procBootSetProcessorCfg, ProcId 0x1, enabling split mode... Sciclient_pmSetModuleState Off, DevId 0x15b... Calling Sciclient_procBootGetProcessorState, ProcId 0x2... Enabling MCU TCMs after reset for core 9 Sciclient_procBootSetProcessorCfg update TCM enable/disable settings... Setting HALT for ProcId 0x2... Sciclient_pmSetModuleState On, DevId 0x15b... Clearing core_id 9 (lock-step) ATCM @ 0x41400000 Clearing core_id 9 (lock-step) BTCM @ 0x41410000 Copying 0x358 bytes to 0x41410000 Copying 0xc8 bytes to 0x41410358 Copying 0x48 bytes to 0x41410420 Setting entry point for core 9 @0x41410000 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... Sciclient_procBootSetProcessorCfg, ProcId 0x2, EntryPoint 0x41410000... Sciclient_pmSetModuleClkFreq, DevId 0x15b @ 1000000000Hz... Copying first 128 bytes from app to MCU ATCM @ 0x41400000 for core 9 Calling Sciclient_procBootRequestProcessor, ProcId 0x1... Sciserver Testapp Built On: Feb 1 2023 16:31:30 Sciserver Version: v2022.01.1.0-REL.CORESDK.08.06.00.09-14-ge559a+ RM_PM_HAL Version: REL.CORESDK.08.06.00.09-7-g4da19 Starting Sciserver..... PASSED
MCU1_1 running print is missing ,compared to entry point 0x70012000.
Regards,
QuanLi
Hi Quan,
Apologies for delay on this.
Is the support still required on this topic? Can you please share the current state of the issue?
Regards,
Parth