Sughosh Ganu | 0f951fd | 2022-10-21 18:16:04 +0530 | [diff] [blame] | 1 | .. SPDX-License-Identifier: GPL-2.0+ |
| 2 | |
Heinrich Schuchardt | 1b0c316 | 2024-01-14 14:53:13 +0100 | [diff] [blame] | 3 | .. index:: |
| 4 | single: fwu_mdata_read (command) |
| 5 | |
Sughosh Ganu | 0f951fd | 2022-10-21 18:16:04 +0530 | [diff] [blame] | 6 | fwu_mdata_read command |
| 7 | ====================== |
| 8 | |
| 9 | Synopsis |
| 10 | -------- |
| 11 | |
| 12 | :: |
| 13 | |
| 14 | fwu_mdata_read |
| 15 | |
| 16 | Description |
| 17 | ----------- |
| 18 | |
| 19 | The fwu_mdata_read command is used to read the FWU metadata |
| 20 | structure. The command prints out information about the current active |
| 21 | bank, the previous active bank, image GUIDs, image acceptance etc. |
| 22 | |
| 23 | The output may look like: |
| 24 | |
| 25 | :: |
| 26 | |
| 27 | => fwu_mdata_read |
| 28 | FWU Metadata |
| 29 | crc32: 0xec4fb997 |
| 30 | version: 0x1 |
| 31 | active_index: 0x0 |
| 32 | previous_active_index: 0x1 |
| 33 | Image Info |
| 34 | |
| 35 | Image Type Guid: 19D5DF83-11B0-457B-BE2C-7559C13142A5 |
| 36 | Location Guid: 49272BEB-8DD8-46DF-8D75-356C65EFF417 |
| 37 | Image Guid: D57428CC-BB9A-42E0-AA36-3F5A132059C7 |
| 38 | Image Acceptance: yes |
| 39 | Image Guid: 2BE37D6D-8281-4938-BD7B-9A5BBF80869F |
| 40 | Image Acceptance: yes |
| 41 | |
| 42 | Configuration |
| 43 | ------------- |
| 44 | |
| 45 | To use the fwu_mdata_read command, CONFIG_CMD_FWU_METADATA needs to be |
| 46 | enabled. |