I use sdk 08_05_00 for TDA4VH,then run the demo of boot_app_mcu_rtos,boot_app load C71X image successed.I use the debugger watch the C71x running status.I find the 4 C71X core not run and address stay at 0x00000000.
I try to run sdk8.2 ,It runs OK.I found a hack in the code ,then I merge the code in SDK8.5 but It's not effective.
/* This is a HACK to POWER ON DRU's local to C7x */
#if defined SOC_J784S4
Board_SetPSCState(BOLT_PD_ANA0,LPSC_DRU_0, PSC_PD_ON, PSC_ENABLE);
Board_SetPSCState(BOLT_PD_ANA1,LPSC_DRU_1, PSC_PD_ON, PSC_ENABLE);
Board_SetPSCState(BOLT_PD_ANA2,LPSC_DRU_2, PSC_PD_ON, PSC_ENABLE);
Board_SetPSCState(BOLT_PD_ANA3,LPSC_DRU_3, PSC_PD_ON, PSC_ENABLE);
#endif
app boot log:
Called SBL_MulticoreImageParse, status = 0
BootImage completed, status = 0
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...
SBL_SlaveCoreBoot completed for Core ID#12, Entry point is 0x0
SBL_SlaveCoreBoot completed for Core ID#13, Entry point is 0x0
SBL_SlaveCoreBoot completed for Core ID#18, Entry point is 0xb4200000
SBL_SlaveCoreBoot completed for Core ID#19, Entry point is 0xb7600000
SBL_SlaveCoreBoot completed for Core ID#20, Entry point is 0xbaa00000
SBL_SlaveCoreBoot completed for Core ID#21, Entry point is 0xbde00000
Calling Sciclient_procBootRequestProcessor, ProcId 0x20...
Loading BootImage
MMCBootImageLate: fp 0x 0x41cbb800, fileName is 0:/atf_optee.appimage
Called SBL_MulticoreImageParse, status = 0
MMCBootImageLate: fp 0x 0x41cbb800, fileName is 0:/tikernelimage_linux.appimage
Called SBL_MulticoreImageParse, status = 0
MMCBootImageLate: fp 0x 0x41cbb800, fileName is 0:/tidtb_linux.appimage
Called SBL_MulticoreImageParse, status = 0
BootImage completed, status = 0
Sciclient_procBootReleaseProcessor, ProcId 0x20...
SBL_SlaveCoreBoot completed for Core ID#0, Entry point is 0x70000000
Boot App: Started at 3250 usec
Boot App: Total Num booted cores = 9
Boot App: Booted Core ID #10 at 827966 usecs
Boot App: Booted Core ID #11 at 828520 usecs
Boot App: Booted Core ID #12 at 13442944 usecs
Boot App: Booted Core ID #13 at 13443719 usecs
Boot App: Booted Core ID #18 at 13444873 usecs
Boot App: Booted Core ID #19 at 13445491 usecs
Boot App: Booted Core ID #20 at 13446101 usecs
Boot App: Booted Core ID #21 at 13446707 usecs
Boot App: Booted Core ID #0 at 22694117 usecs