On Tue, 28 Jan 2025 at 13:30, Tim Hardisty <timhardist...@gmail.com> wrote:
> Hi all, > > I am trying to get MCUboot to work on my custom board with a SAMA5D2 > (Arm V7A) and after a lot of battles am nearly there. > > I can boot into MCUboot stored in flash, and I can also download/debug it. > > MCUboot is happy enough with my firmware images to call my board's > "board_boot-image" function - but no SAMA5 boards in the repo have this > function for me to refer to. > > I have never used MCUboot. What happens if you jump into _vector_start at the beginning of the SAMA5 image? I presume that both your bootloader and nuttx are running XIP from NOR flash. The entry is _vector_start here -> arch/arm/src/arm/arm_vectortab.S ... and it jumps into __start here ->arch/arm/src/arm/arm_head.S Is this what you are looking for?