The BOOT2 elf stub loader sets up a stack, calculates its own address, and switches to THUMB mode. Then it does the following: | The BOOT2 elf stub loader sets up a stack, calculates its own address, and switches to THUMB mode. Then it does the following: |