blob: 5e61c615eadb2e87903ac653eae9017efb57a5a7 [file] [log] [blame]
Masami Hiramatsufdd56bf2023-05-31 00:29:24 -05001.\" SPDX-License-Identifier: GPL-2.0-or-later
2.\" Copyright (C) 2023 Jassi Brar <jaswinder.singh@linaro.org>
3.TH MKFWUMDATA 1 2023-04-10 U-Boot
4.SH NAME
5mkfwumdata \- create FWU metadata image
6.
7.SH SYNOPSIS
8.SY mkfwumdata
Sughosh Ganudf42d682024-03-22 16:27:28 +05309.OP \-v version
Masami Hiramatsufdd56bf2023-05-31 00:29:24 -050010.OP \-a activeidx
11.OP \-p previousidx
12.OP \-g
13.BI \-i\~ imagecount
14.BI \-b\~ bankcount
15.I UUIDs
16.I outputimage
17.YS
18.SY mkfwumdata
19.B \-h
20.YS
21.
22.SH DESCRIPTION
23.B mkfwumdata
24creates metadata info to be used with FWU.
25.
26.SH OPTIONS
27.TP
28.B \-h
29Print usage information and exit.
30.
31.TP
Sughosh Ganudf42d682024-03-22 16:27:28 +053032.B \-v
33Set
34.IR version
35as the metadata version to generate. Valid values 1 or 2.
36.
37.TP
Masami Hiramatsufdd56bf2023-05-31 00:29:24 -050038.B \-a
39Set
40.IR activeidx
41as the currently active Bank. Default is 0.
42.
43.TP
44.B \-p
45Set
46.IR previousidx
47as the previous active Bank. Default is
48.IR activeidx "-1"
49or
50.IR bankcount "-1,"
51whichever is non-negative.
52.
53.TP
54.B \-g
55Convert the
56.IR UUIDs
57as GUIDs before use.
58.
59.TP
60.B \-i
61Specify there are
62.IR imagecount
63images in each bank.
64.
65.TP
66.B \-b
67Specify there are a total of
68.IR bankcount
69banks.
70.
71.TP
72.IR UUIDs
73Comma-separated list of UUIDs required to create the metadata :-
74location_uuid,image_type_uuid,<images per bank uuid list of all banks>
75.
76.TP
77.IR outputimage
78Specify the name of the metadata image file to be created.
79.
80.SH BUGS
81Please report bugs to the
82.UR https://\:source\:.denx\:.de/\:u-boot/\:u-boot/\:issues
83U-Boot bug tracker
84.UE .
85.SH EXAMPLES
86Create a metadata image with 2 banks and 1 image/bank, BankAct=0, BankPrev=1:
87.PP
88.EX
89.in +4
90$ \c
Sughosh Ganudf42d682024-03-22 16:27:28 +053091.B mkfwumdata \-v 2 \-a 0 \-p 1 \-b 2 \-i 1 \\\\\&
Masami Hiramatsufdd56bf2023-05-31 00:29:24 -050092.in +6
93.B 17e86d77-41f9-4fd7-87ec-a55df9842de5,\\\\\&
94.B 10c36d7d-ca52-b843-b7b9-f9d6c501d108,\\\\\&
95.B 5a66a702-99fd-4fef-a392-c26e261a2828,a8f868a1-6e5c-4757-878d-ce63375ef2c0 \\\\\&
96.B fwu-mdata.img