Package1: Difference between revisions
No edit summary |
|||
Line 56: | Line 56: | ||
=== Main === | === Main === | ||
The bootloader poisons the exception vectors, cleans up memory (.bss and init_array), sets up hardware devices (including the security engine and fuses), does all the necessary checks, generates keys and finally decrypts and executes the next stage. | |||
<syntaxhighlight lang="c"> | <syntaxhighlight lang="c"> | ||
Line 149: | Line 149: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
[6.2.0+] The bootloader maintains most of its design, but passes execution to a [[TSEC]] payload and is left in an infinite loop. | |||
<syntaxhighlight lang="c"> | <syntaxhighlight lang="c"> |