Repository navigation
Commit 3255cd2
committed
services: Add the OCP Recovery Agent sequence
RecoverySequence runs the Recovery Agent steps around the push of 1
image through ImagePush. Both RECOVERY_CTRL writes carry the CMS of the
push in byte 0 and image selection 0x1 in byte 1, because the OCP
Recovery code on the caliptra-mcu-sw main-2.1 branch refuses an
activation with image selection 0x0. A failed RECOVERY_CTRL write with
the activation ends the sequence, because the device may have taken the
activation before the transport failed.
Signed-off-by: Christina Quast <christina.quast@9elements.com>
Assisted-by: Claude Fable 5.21 parent fabccf4 commit 3255cd2
5 files changed
Lines changed: 1114 additions & 48 deletions
File tree
- services/ocp-recovery/agent/src
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
460 | 460 | | |
461 | 461 | | |
462 | 462 | | |
463 | | - | |
| 463 | + | |
464 | 464 | | |
465 | 465 | | |
466 | 466 | | |
467 | 467 | | |
468 | | - | |
| 468 | + | |
| 469 | + | |
| 470 | + | |
469 | 471 | | |
470 | 472 | | |
471 | 473 | | |
472 | 474 | | |
473 | 475 | | |
474 | 476 | | |
475 | 477 | | |
476 | | - | |
477 | | - | |
478 | | - | |
479 | 478 | | |
480 | 479 | | |
481 | 480 | | |
| |||
486 | 485 | | |
487 | 486 | | |
488 | 487 | | |
489 | | - | |
490 | | - | |
| 488 | + | |
491 | 489 | | |
492 | | - | |
493 | | - | |
494 | | - | |
495 | | - | |
496 | | - | |
497 | | - | |
498 | | - | |
499 | | - | |
500 | | - | |
501 | | - | |
502 | | - | |
503 | | - | |
504 | | - | |
505 | | - | |
506 | | - | |
| 490 | + | |
507 | 491 | | |
508 | 492 | | |
509 | 493 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
13 | 15 | | |
14 | 16 | | |
15 | 17 | | |
16 | 18 | | |
17 | 19 | | |
18 | 20 | | |
19 | 21 | | |
| 22 | + | |
20 | 23 | | |
21 | 24 | | |
22 | 25 | | |
23 | 26 | | |
24 | 27 | | |
25 | 28 | | |
26 | 29 | | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
27 | 33 | | |
28 | 34 | | |
0 commit comments