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 do I know which partition I should enable before enabling the boot partition to switch to the boot partition I want to boot?

Part Number: TDA4VM

Hi,

    Based on the TDA4VM SBL_0806 version of the SDK, I want to implement the SBL enable boot partition before enabling the partition I want to boot based on the configuration file stored on emmc. However, the source logic of 0806 SBL currently conflicts with the function I want to implement. Is there any way to solve this problem?

    The following is the source code for SBL:

     

    We have a configuration file stored in emmc, which records the current boot partition number and the partition number where the wrong APP image is located. I will read this configuration information before enabling the boot partition and avoid the wrong partition number where the boot APP is located when enabling the boot partition. However, the emmc had not been initialized before the partition was enabled, so I could not read the configuration information on the emmc.