cancel
Showing results for 
Search instead for 
Did you mean: 

Updating Process Secure-Boot (TF-A->OP-TEE->U-Boot)

ajava
Associate II

Hello,

i use STM32mpu1-dk2 and want to implement an update over the air mechanism.

For that i would duplicate all partitions from fsbl to u-boot, that means

fsbl, teeh, teed, teep, u-boot.

Now i would like to know how one can tell TF-A which partion should be choosen for the next boot stage. That means, imagine we have 2 partioitns for OP-Tee and we have updated Op-TEE (teeh, teed teep), now we want fsbl to starts from the new updatetd OP-Tee partition.

Any Idea how can this goal be achieved using TF-A?

Thanks

1 REPLY 1
Christophe Guibout
ST Employee

Hi @ajava​ ,

A proposition would to store at a dedicated address the value to use Op-tee A or B version.

You can create 6 partitions : teeh1, teed1, teep1, teeh2, teed2 and teep2.

According with the value that can also be updated by linux , tf-a will boot on A or B op-tee partitions.

BR,

Christophe

In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.