Commit 64a4660
[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 00e5d49 commit 64a4660
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 | | |
| |||
1338 | 1341 | | |
1339 | 1342 | | |
1340 | 1343 | | |
| 1344 | + | |
| 1345 | + | |
| 1346 | + | |
1341 | 1347 | | |
1342 | 1348 | | |
1343 | 1349 | | |
| |||
1394 | 1400 | | |
1395 | 1401 | | |
1396 | 1402 | | |
| 1403 | + | |
1397 | 1404 | | |
1398 | 1405 | | |
1399 | 1406 | | |
| |||
1404 | 1411 | | |
1405 | 1412 | | |
1406 | 1413 | | |
| 1414 | + | |
| 1415 | + | |
| 1416 | + | |
| 1417 | + | |
1407 | 1418 | | |
1408 | 1419 | | |
1409 | 1420 | | |
| |||
2371 | 2382 | | |
2372 | 2383 | | |
2373 | 2384 | | |
| 2385 | + | |
| 2386 | + | |
| 2387 | + | |
| 2388 | + | |
| 2389 | + | |
| 2390 | + | |
| 2391 | + | |
2374 | 2392 | | |
2375 | 2393 | | |
2376 | 2394 | | |
| |||
0 commit comments