.syntax unified .cpu cortex-a7 .thumb @ Banner stub for SBL1 logger call at 0x802f690 (patched to bl here). @ r0 = string. Print raw bytes via UARTDM until NUL (cap 256). @ The original callee is noreturn (b.n self follows the call), so @ jump on to 0x802f694 (post-banner init) instead of returning. .text .global banner_stub banner_stub: push {r4, lr} movw r3, #0xf000 movt r3, #0x78a bn_loop: ldrb r1, [r0], #1 cbz r1, bn_done str r1, [r3, #0x70] b bn_loop bn_done: ldr pc, =0x802f694