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.

AWR2944: Slow SBL QSPI Boot Time

Part Number: AWR2944

Hello,

Using the QSPI SBL from SDK v04_02_00_02, I am getting quite long boot times. The MMW demo image size is 725KB:

INFO: Bootloader_runCpu:150: CPU r4 is initialized to 200000000 Hz !!!

Starting QSPI Bootloader ...
INFO: Bootloader_runCpu:150: CPU r4 is initialized to 200000000 Hz !!!
INFO: Bootloader_runCpu:150: CPU c66ss0 is initialized to 360000000 Hz !!!
[BOOTLOADER PROFILE] System_init : 446us
[BOOTLOADER PROFILE] Drivers_open : 17us
[BOOTLOADER PROFILE] Board_driversOpen : 2722us
[BOOTLOADER PROFILE] CPU load : 770790us
[BOOTLOADER_PROFILE] SBL Total Time Taken : 1791791us

Is this expected? Are there any recommendations for acheiving faster boot times, e.g. <250ms?

Thanks,

Erik

  • Hello ERIK,

    This is the expected time, and this happens because of the SOC_rcmWaitBSSBootComplete(); that is there in the C:\ti\mmwave_mcuplus_sdk_04_02_00_03\mcu_plus_sdk_awr294x_08_02_00_25\source\drivers\bootloader\soc\awr294x\bootloader_soc.c.
    This is because the BSS boot does take a long time, and this is executed in the QSPI SBL.

    One of the changes you can make is:

    Go to the bootloader_soc.c and then make the following changes

    Then go the file C:\ti\mmwave_mcuplus_sdk_04_02_00_03\mcu_plus_sdk_awr294x_08_02_00_25\examples\drivers\boot\sbl_qspi\awr294x-evm\r5fss0-0_nortos\main.c


    Add the necessary header files if required and then rebuild the driver and then the SBL_QSPI application.
    This should reduce the time taken by the boot.

    Regards,
    Saswat Kumar



  • Saswat,

    Thank you. This change helped. The boot time was reduced by ~50% with this change.  Total time is now ~850ms. 

    It looks like the four calls to Bootloader_loadCpu() take close to 800ms combined. Is there anything that could be implemented to optimize that process? 

    Thanks,

    Erik