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.

Looking at, say, the function for the samv7  family I need a few lines of assembly code - I think - to set the main and process stack pointers and do the relevant reset. But I have no clue when it comes to assembler unfortunately.

Any suggestions/ideas/whatever?

I'm thinking there might be some assembler related to the working MCUboot binary that I can use as a basis, but where might it be hiding?


Reply via email to