Skip to main content
Visitor II
June 16, 2021
Question

Secondary SSBL partition on eMMC / trusted mode

  • June 16, 2021
  • 1 reply
  • 843 views

We would like to implement a dual partitioning system and I am trying to find out if it is possible to have a secondary SSBL (u-boot) partition in trusted mode (eMMC).

I don't see any problems for bootfs, vendorfs, rootfs and userfs. FSBL is already redundant, but I could not find anything about having a secondary SSBL partition. Is that possible? Also, if it is possible to have a secondary SSBL partition, how can I tell FSBL to use a determined SSBL partition? From what I could see in the TF-A code, that is not possible, just want a confirmation.

For context, all this is for updating a set of partitions when updating a device and switch to this set of partitions in the next boot.

Thanks.

    This topic has been closed for replies.

    1 reply

    ST Employee
    June 21, 2021

    Hi @Community member​ ,

    It is possible, but you will have to implement the mechanism to select the SSBL inside the FSBL.

    I suppose you can use EXT_CSD from eMMC to select the FSBL, and the bootcount can be managed through a Backup registers (see TAMP_BKP21R).

    BR,

    Christophe