MKFWUMDATA(1)
β¨ MKFWUMDATA(1) β the FWU metadata maker β¨
okay bestie, welcome to mkfwumdata (that's section 1 of the General Commands Manual, iykyk) β the little icon that builds your FWU metadata image π
π SYNOPSIS π
mkfwumdata [-v version] [-a activeidx] [-p previousidx] [-g] [-V vendor-
file] -i imagecount -b bankcount UUIDs outputimage
mkfwumdata -h
yep, that's the whole shape of it β flags, a big ol' pile of UUIDs, and the output file at the end. no cap. π¦
πΈ DESCRIPTION πΈ
mkfwumdata creates the metadata info that gets used with FWU. that's it, that's the job, and it does it flawlessly π
π OPTIONS π
-hβ prints usage info and then dips out. exit stage left, periodt.-vβ setsversionas the metadata version to generate. the valid values are1or2β those are the only two icons in the building, don't try anything else π-aβ setsactiveidxas the currently active Bank. the default is0.-pβ setspreviousidxas the previous active Bank. default isactiveidx-1orbankcount-1, whichever one is non-negative π (yes, the manpage really just tells you "whichever is non-negative" and moves on β she said figure it out bestie)-gβ converts the UUIDs into GUIDs before they get used. a little glow-up on the way in β¨-Vβ passvendor-fileto append vendor data onto the metadata. supported only with version 2 β so don't come at it with-v 1, it's not gonna happen π-iβ says there areimagecountimages in each bank.-bβ says there are a total ofbankcountbanks.UUIDsβ a comma-separated list of UUIDs, required to create the metadata, and here's the lineup, exactly as written:
location_uuid,image_type_uuid,<images per bank uuid list of all banks>
so: location uuid, then image type uuid, then the per-bank image uuid list for all the banks. keep the commas, keep the order, slay π«Ά
outputimageβ the name of the metadata image file that's gonna get created. name her something cute π
π BUGS π
found a bug? please report bugs to the U-Boot bug tracker. do NOT suffer in silence, that's not the vibe πΈ
β EXAMPLES β
here's the main character example β create a metadata image with 2 banks and 1 image/bank, BankAct=0, BankPrev=1:
$ mkfwumdata -v 2 -a 0 -p 1 -b 2 -i 1 \
17e86d77-41f9-4fd7-87ec-a55df9842de5,\
10c36d7d-ca52-b843-b7b9-f9d6c501d108,\
5a66a702-99fd-4fef-a392-c26e261a2828,a8f868a1-6e5c-4757-878d-ce63375ef2c0 \
fwu-mdata.img
look at those UUIDs go π₯ copy it exactly, backslashes and all, and you're golden.
and that's the page, bestie π§ this one's brought to you by U-Boot, dated 2023-04-10 β go forth and make metadata, you absolute icon ππ
π¦ where this page comes from
- nixos 26.05: uboot-tools-only_defconfig 2026.04
- nixpkgs unstable: uboot-tools-only_defconfig 2026.10
- π the page's license: GPL-2.0-or-later
- Copyright (C) 2023 Jassi Brar <jaswinder.singh@linaro.org>
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms