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.

TDA4VM: How to launch uboot on NorFlash

Part Number: TDA4VM

Hi team,

Here's an issue from the customer may need your help:

The customer want to start A core with R core and they're wondering if the method below is possible:

RTOS is deployed on flash with U-boot, RTOS boots first and then lets the a-core load U-boot through the application of RTOS. U-boot then boots Kernel on SD card to run Linux.

If so, what about the Layout of RTOS and U-boot on Uboot?  And what modifications do U-boot need to do? 

Could you help check this case? Thanks.

Best Regards,

Cherry

  • Cherry,

    Could you please confirm the sequence of images that are running in this custom boot flow?

    SBL(MCU_R5) --> ATF(A72) --> U-Boot(A72) --> Linux (A72)

    Can you try something like below:

    fatload mmc 1 ${loadaddr} sbl_ospi_img_hlos_mcu1_0_release.tiimage;
    sf update $loadaddr 0x0 $filesize;

    fatload mmc 1 ${loadaddr} combined.appimage;
    sf update $loadaddr 0x100000 $filesize;

    fatload mmc 1 ${loadaddr} tifs.bin;
    sf update $loadaddr 0x80000 $filesize;

    fatload mmc 1 ${loadaddr} u-boot.img;
    sf update $loadaddr 0x280000 $filesize;

    - Keerthy

  • Hello Keerthy,

    Thanks for your support.

    Is ATF (A72) tiboot3.bin vs. tispl.bin? I noticed you don't have ATF stuff at the time of the SF update.

    Also, is it necessary to start the a core and load the u-boot address content in combined.appimage?

    Thanks and regards,

    Cherry

  • Is ATF (A72) tiboot3.bin vs. tispl.bin?

    ATF is packed in tispl.bin.

    Also, is it necessary to start the a core and load the u-boot address content in combined.appimage?

    We can jump from ATF to Linux. It is not mandatory to have U-Boot in the flow. Depends on your use case.

    - Keerthy

  • Hi Keerthy,

    Replacing combined.appimage and the log is as follows: 

    SBL Revision: 01.00.10.01 (Mar 23 2022 - 12:34:15)
    TIFS  ver: 22.1.1--v2022.01 (Terrific Llam
    Starting Sciserver..... PASSED

    MCU R5F App started at 0 usecs

    Dose this indicate the MCU start-up normally? But U-boot should not be running since the serial port does not have any log output. 

    Thanks and regards,

    Cherry

  • Dose this indicate the MCU start-up normally? But U-boot should not be running since the serial port does not have any log output. 

    It looks yes. Are you having anything running on A72?

    - Keerthy