Skip to content

how the RP2350 verifies the BL2 image? #41

@xiaotailang

Description

@xiaotailang

Hello, I hope you can help me with a question! After carefully studying the BL2 code for RP2350 in the TF-M 2.2.x source code, I’ve noticed something that’s confusing me: the boot ROM doesn’t seem to verify the BL2 image at this stage (even though the corresponding root of trust (RoT) fields exist in OTP). From what I can tell, if I were to replace the BL2 image, the subsequent security chain would be completely compromised.
So I’m really puzzled and wondering: Has the implementation of using the boot ROM as the sole root of trust anchor not been finished in TF-M 2.2.x yet? Or has it already been implemented (i.e., using the boot ROM as the sole root of trust anchor) but I missed some parts of the code and thus misunderstood how it works?
I’d really appreciate any guidance or clarification you can provide!

Metadata

Metadata

Assignees

No one assigned

    Labels

    platformMarks issues which are platform specificquestionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions