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