mcuboot icon indicating copy to clipboard operation
mcuboot copied to clipboard

porting API for architecture-native image startup address check

Open nvlsianpu opened this issue 4 years ago • 3 comments

https://github.com/mcu-tools/mcuboot/pull/1206 introduces check which is working for ARM cores

Rationale: isolate architecture specific code from mcuboot's core code, of which kind loader.c should be.

Objective: Introduce interface API which will be for check whether application startup address belongs to the primary slot flash area.

Refine check implementation for ARM. Empty implementation for others cores.

nvlsianpu avatar Nov 19 '21 12:11 nvlsianpu

I think there are multiple opportunities to do this within the code (not that we shouldn't do this one), our code has become fairly ifdef heavy, and I think there are enough of them sprinkled throughout the code that it seems like the obvious way to add a new feature. Ones to start with are ones like this, where the ifdefs are in the middle of blocks of code (the multi image stuff has a lot of these).

d3zd3z avatar Nov 19 '21 18:11 d3zd3z

This issue has been marked as stale because it has been open (more than) 60 days with no activity. Remove the stale label or add a comment saying that you would like to have the label removed otherwise this issue will automatically be closed in 14 days. Note, that you can always re-open a closed issue at any time.

github-actions[bot] avatar May 19 '22 02:05 github-actions[bot]

Removing the stale, as I think we do want to do this.

d3zd3z avatar May 19 '22 19:05 d3zd3z

This issue has been marked as stale because it has been open (more than) 60 days with no activity. Remove the stale label or add a comment saying that you would like to have the label removed otherwise this issue will automatically be closed in 14 days. Note, that you can always re-open a closed issue at any time.

github-actions[bot] avatar Nov 16 '22 02:11 github-actions[bot]