Vector table init at rpi2 - Raspberry Pi Forums
hi! have troubles printing info occurred exception. mentioned in subj target rpi2 i.e. bcm2836 , cortex a-7 followed kind of setup https://github.com/dwelch67/raspberrypi/tree/master/mmu how vectors initialized , copied zeroth address code: select all .globl _start _start: ldr pc,add_handler_00 ldr pc,add_handler_04 ldr pc,add_handler_08 ldr pc,add_handler_0c ldr pc,add_handler_10 ldr pc,add_handler_14 ldr pc,add_handler_18 ldr pc,add_handler_1c add_handler_00: .word reset add_handler_04: .word handler_04 add_handler_08: .word handler_08 add_handler_0c: .word handler_0c add_handler_10: .word handler_10 add_handler_14: .word handler_14 add_handler_18: .word handler_18 add_handler_1c: .word handler_1c // entry point uart bootloader reset: mov r0,#0x8000 mov r1,#0x0000 // setup vectors ldmia r0!,{r2,r3,r4,r5,r6,r7,r8,r9} stmia r1!,{r2,r3,r4,r5,r6,r7,r8,r9} ldmia r0!,{r2,r3,