fwu_mdata.rst 930 B

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