blob: f1bf08fde1d40fc8b04c46563b956b1e761afdec [file] [log] [blame]
Sughosh Ganu0f951fd2022-10-21 18:16:04 +05301.. SPDX-License-Identifier: GPL-2.0+
2
Heinrich Schuchardt1b0c3162024-01-14 14:53:13 +01003.. index::
4 single: fwu_mdata_read (command)
5
Sughosh Ganu0f951fd2022-10-21 18:16:04 +05306fwu_mdata_read command
7======================
8
9Synopsis
10--------
11
12::
13
14 fwu_mdata_read
15
16Description
17-----------
18
19The fwu_mdata_read command is used to read the FWU metadata
20structure. The command prints out information about the current active
21bank, the previous active bank, image GUIDs, image acceptance etc.
22
23The 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
42Configuration
43-------------
44
45To use the fwu_mdata_read command, CONFIG_CMD_FWU_METADATA needs to be
46enabled.