Commit d9fe011
[nrf noup] boot/../loader: skip downgrade prevention for s1/s0
This patch introduces skip on checking downgrade for s1/s0 upgrade
image (chain-loaded by NSIB). which is used for upgrade MCUboot
instance itself.
Reason is that sdk-mcuboot has not access to semantic version of its own
image. I also shouldn't touch HW counter used for hardware downgrade
prevention for the application image (which was the case). HW counters for
s0/s1 image are owned by NSIB because its role is to prevnt dongrades of
s0/s1 MCUboot.
Signed-off-by: Andrzej Puzdrowski <[email protected]>
(cherry picked from commit 776ee26)1 parent d639f90 commit d9fe011
1 file changed
+18
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
73 | 76 | | |
74 | 77 | | |
75 | 78 | | |
| |||
1286 | 1289 | | |
1287 | 1290 | | |
1288 | 1291 | | |
| 1292 | + | |
| 1293 | + | |
| 1294 | + | |
1289 | 1295 | | |
1290 | 1296 | | |
1291 | 1297 | | |
| |||
1342 | 1348 | | |
1343 | 1349 | | |
1344 | 1350 | | |
| 1351 | + | |
1345 | 1352 | | |
1346 | 1353 | | |
1347 | 1354 | | |
| |||
1352 | 1359 | | |
1353 | 1360 | | |
1354 | 1361 | | |
| 1362 | + | |
| 1363 | + | |
| 1364 | + | |
| 1365 | + | |
1355 | 1366 | | |
1356 | 1367 | | |
1357 | 1368 | | |
| |||
2291 | 2302 | | |
2292 | 2303 | | |
2293 | 2304 | | |
| 2305 | + | |
| 2306 | + | |
| 2307 | + | |
| 2308 | + | |
| 2309 | + | |
| 2310 | + | |
| 2311 | + | |
2294 | 2312 | | |
2295 | 2313 | | |
2296 | 2314 | | |
| |||
0 commit comments