Use the .early_stack section to allocate the temporary. In such way, all data used during bootstrap are local to the same known memory area, and could be inited to 0 before handing over the physical memory to the application.
Add the Thumb_Mode bit to the label address with a ORR.
A few things are wrong with that code:
.early_stack
section to allocate the temporary. In such way, all data used during bootstrap are local to the same known memory area, and could be inited to 0 before handing over the physical memory to the application.ORR
.