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