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.

TDA4AL-Q1: j721s2 SBL boot

Part Number: TDA4AL-Q1


Hi  TI: 

make sbl_lib_mmcsd_hlos_clean BOARD=j721s2_evm
make sbl_mmcsd_img_hlos_clean BOARD=j721s2_evm
make sbl_lib_mmcsd_hlos BOARD=j721s2_evm

I use SBLmmcsd_hlos   linux system not boot, but I use SBL_mmcsd the linux system can boot  why? 

  • Hello,

    Are you using combined app image to build the "app" ? May i know the steps whatever you performed ?

    Regards

    Tarun Mukesh

  • make sbl_bootimage -j32
    make -s bootapp_sd -j32

    I see my log halt at :  

    int32_t BootApp_MMCBootImageInit()
    {
    int32_t retVal = E_PASS;
    MMCSD_v2_HwAttrs hwAttrsConfig;
    UART_printf("\nBootApp_MMCBootImageInit start....\r\n");
    if (MMCSD_socGetInitCfg(FATFS_initCfg[0].drvInst,&hwAttrsConfig) != 0)
    {
    UART_printf("\nUnable to get config.Exiting. TEST FAILED.\r\n");
    retVal = E_FAIL;
    }
    UART_printf("\nMMCSD_socGetInitCfg start....\r\n");
    hwAttrsConfig.enableInterrupt = ((uint32_t)(0U));
    hwAttrsConfig.configSocIntrPath=NULL;

    if (MMCSD_socSetInitCfg(FATFS_initCfg[0].drvInst,&hwAttrsConfig) != 0)
    {
    UART_printf("\nUnable to set config.Exiting. TEST FAILED.\r\n");
    retVal = E_FAIL;
    }
    UART_printf("\nMMCSD_socSetInitCfg start....\r\n");
    /* Initialization of the driver. */
    FATFS_init();
    UART_printf("\nFATFS_init start....\r\n");
    /* MMCSD FATFS initialization */
    UART_printf("\nFATFS_open start....\r\n");
    FATFS_open(0U, NULL, &sbl_fatfsHandle);
    UART_printf("\nFATFS_open end....\r\n");
    return (retVal);
    }

    FATFS_open  is not log and halt here.

  • Calling Sciclient_procBootRequestProcessor, ProcId 0x1...
    Starting Sciserver..... PASSED

    ****MCU R5F App started at 0 usecs

    ****BootApp_TaskFxn start

    ****Boot_App start

    ****BootApp_MMCBootImageInit start

    BootApp_MMCBootImageInit start....

    MMCSD_socGetInitCfg start....

    MMCSD_socSetInitCfg start....

    FATFS_init start....

    FATFS_open start....
    Initlialzing PLLs ...done.
    InitlialzingClocks ...done.
    Initlialzing DDR ...done.
    Initializing GTC ...Begin parsing user application
    *****SBL_BootImage**********
    Calling Sciclient_procBootRequestProcessor, ProcId 0x20...
    Calling Sciclient_procBootRequestProcessor, ProcId 0x21...
    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 0x30...
    Calling Sciclient_procBootRequestProcessor, ProcId 0x31...
    Calling Sciclient_procBootRequestProcessor, ProcId 0x80...
    *****SBL_MMCBootImage**********
    *****SBL_MMCBootImage start**********

    SBL_ENABLE_HLOS_BOOT start
    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 0x255d0 bytes to 0x41c82000
    Copying 0xa628 bytes to 0x41cb3c00
    Copying 0x41b8 bytes to 0x41cc6228
    Copying 0x1904 bytes to 0x41cca400
    Copying 0x460 bytes to 0x41ccbd08
    Copying 0x448 bytes to 0x41ccc168
    Copying 0x318 bytes to 0x41ccc5b0
    Copying 0x100 bytes to 0x41ccc8c8
    Copying 0x22d8 bytes to 0x41ccc9c8
    Setting entry point for core 8 @0x0
    Sciclient_procBootReleaseProcessor, ProcId 0x20...
    Sciclient_procBootReleaseProcessor, ProcId 0x21...
    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 0x30...
    Sciclient_procBootReleaseProcessor, ProcId 0x31...
    Sciclient_procBootReleaseProcessor, ProcId 0x80...
    Calling Sciclient_procBootRequestProcessor, ProcId 0x1...
    Sciclient_procBootSetProcessorCfg, ProcId 0x1, EntryPoint 0x0...
    Sciclient_pmSetModuleClkFreq, DevId 0x11c @ 1000000000Hz...
    Calling Sciclient_procBootRequestProcessor, ProcId 0x2...
    Skipping Sciclient_procBootSetProcessorCfg for ProcId 0x2, EntryPoint 0xfffffffe...
    Calling Sciclient_procBootRequestProcessor, ProcId 0x1...
    Starting Sciserver..... PASSED

    ****MCU R5F App started at 0 usecs

    ****BootApp_TaskFxn start

    ****Boot_App start

    ****BootApp_MMCBootImageInit start

    BootApp_MMCBootImageInit start....

    MMCSD_socGetInitCfg start....

    MMCSD_socSetInitCfg start....

    FATFS_init start....

    FATFS_open start....

  • Hello,

    Thanks for sharing the log.

    make -s bootapp_sd -j32

    since you are using Boot App but not combined app image ,you should not use SBLmmcsd_hlos instead you have to use SBLmmcsd without HLOS since boot app boots the cores.

    Regards

    Tarun Mukesh