Skip to content

Latest commit

 

History

History
66 lines (61 loc) · 3.98 KB

code-update-diagrams.md

File metadata and controls

66 lines (61 loc) · 3.98 KB

Code Update Diagrams

  1. [High-Level Overview](#High-Level Overview)

High-Level Overview

┌──────────────┐            ┌─────────────┐       ┌────────────┐
│User Interface│            │Image Manager│       │Item Updater│
└──────┬───────┘            └──────┬──────┘       └──────┬─────┘
       │          Upload           │                     │
       │         Firmware          │                     │
       │       Image to BMC        │                     │
       ├──────────────────────────▶│                     │
       │                           │                     │
       │                           │  Extract            │
       │                           │   image             │
       │                           │ contents            │
       │                           │     │               │
       │                           ├─────┘               │
       │                           ▼                     │
       │                           │                     │
       │                           │    Create           │
       │                           │Software D-Bus       │
       │                           │  object[1]          │
       │                           │       │             │
       │                           ├───────┘             │
       │                           ▼                     │
       │                           │                     │
       │         Request to        ●                     │
       │          Activate                               │
       │          Software                               │
       │        D-Bus Object                             │
       ├────────────────────────────────────────────────▶│
       │                                                 │   Verify
       │                                                 │  digital
       │                                                 │ signatures
       │                                                 │      │
       │                                                 ├──────┘
       │                                                 ▼
       │                                                 │
       │                                                 │   Write
       │                                                 │ image to
       │                                                 │  flash[*]
       │                                                 │     │
       │                                                 ├─────┘
       │                                                 ▼
       │                                                 │
       │                                     Success     │
       │◀────────────────────────────────────────────────┤
       │                                                 │
       │                                                 ●
       ▼
   BMC Reboot is
 required to boot
 from the updated
       image

  • [1] Software D-Bus Object
  • [*] In a static layout configuration, the images are stored in RAM and the content is written to flash during BMC reboot. Reference the update and shutdown scripts provided by initrdscripts