XCLBINUTIL(1)
π XCLBINUTIL(1) π
okay bestie, welcome to xclbinutil, a User Commands girlie from the XCLBINUTIL(1) manual π she's here to help you inspect, modify, and validate XCLBIN files, and honestly? she ate.
β¨ NAME β¨
xclbinutil β inspect, modify, and validate XCLBIN files π¦
πΈ DESCRIPTION πΈ
So basically this utility operates on a xclbin produced by v++. That's the whole vibe. No cap.
π For example:
- Reporting xclbin information
: xclbinutil --info --input binary_container_1.xclbin
- Extracting the bitstream image:
xclbinutil --dump-section BITSTREAM:RAW:bitstream.bit --input binary_container_1.xclbin - Extracting the build metadata :
xclbinutil --dump-section BUILD_METADATA:HTML:buildMetadata.json --input binary_container_1.xclbin - Removing a section :
xclbinutil --remove-section BITSTREAM --input binary_container_1.xclbin --output binary_container_modified.xclbin - Signing xclbin :
xclbinutil --private-key key.priv --certificate cert.pem --input binary_container_1.xclbin --output signed.xclbin
π OPTIONS π
Command Line Options Options: (yes it says it twice, she's quirky like that, we keep it fr fr)
--add-merge-sectionarg β Section name to add or merge. Format:<section>:<format>:<file>π«--add-pskernelarg β Helper option to add PS kernels. Format:[<mem_banks>]:[<symbol_name>]:[<instances>]:<path_to_shared_library>π§--add-replace-sectionarg β Section name to add or replace. Format:<section>:<format>:<file>--add-sectionarg β Section name to add. Format:<section>:<format>:<file>β¨--add-signaturearg β Adds a user defined signature to the given xclbin image. ποΈ--certificatearg β Certificate used in signing and validating the xclbin image.--digest-algorithmarg β Digest algorithm. Default:sha512--dump-sectionarg β Section to dump. Format:<section>:<format>:<file>π€--forceβ Forces a file overwrite. (she's pushy, respectfully π)--get-signatureβ Returns the user defined signature (if set) of the xclbin image.-h [ --help ]β Print help messages πββοΈ--info [=arg(=<console>)]β Report accelerator binary content. Including: generation and packaging data, kernel signatures, connectivity, clocks, sections, etc. Note: Optionally an output file can be specified. If none is specified, then the output will go to the console. π₯οΈ-i [ --input ]arg β Input file name. Reads xclbin into memory.--key-valuearg β Key value pairs. Format:[USER|SYS]:<key>:<value>π--list-sectionsβ List all possible section names (Stand Alone Option)--migrate-forwardβ Migrate the xclbin archive forward to the new binary format. π-o [ --output ]arg β Output file name. Writes in memory xclbin image to a file.--private-keyarg β Private key used in signing the xclbin image. π€«-q [ --quiet ]β Minimize reporting information. (shhh era π€)--remove-keyarg β Removes the given user key from the xclbin archive.--remove-sectionarg β Section name to remove.--remove-signatureβ Removes the signature from the xclbin image.--replace-sectionarg β Section to replace.--targetarg β Target flow for this image. Valid values:hw,hw_emu, andsw_emu. π―--validate-signatureβ Validates the signature for the given xclbin archive. β-v [ --verbose ]β Display verbose/debug information. π£οΈ--versionβ Version of this executable.--file-checkβ Check for Linux file command utility compliance π
π¦ Addition Syntax Information π¦
β Syntax: <section>:<format>:<file>
<section>β The section to add or dump (e.g.,BUILD_METADATA,BITSTREAM, etc.) π
Note: If a JSON format is being used, this value can be empty. If so, then
the JSON metadata will determine the section it is associated with. In addition, only sections that are found in the JSON file will be reported.
π
<format>
β The format to be used. Currently, there are three formats available:
RAW: Binary Image;JSON: JSON file format; andHTML: Browser visible.
Note: Only selected operations and sections supports these file types.
π <file>
β The name of the input/output file to use.
Used By: --add_section and --dump_section
Example: xclbinutil --add-section BITSTREAM:RAW:mybitstream.bit
Build Version Branch:
Build Version Hash:
Build Version Hash Date:
Build Version Date: Wed, 29 Oct 2025 15:29:42 -0500
π SEE ALSO π
The full documentation for xclbinutil is maintained as a Texinfo manual. If the info and xclbinutil programs are properly installed at your site, the command
info xclbinutil
should give you access to the complete manual. iykyk, go read it bestie πβ¨
cute lil sign-off π this page isxclbinutil,XRT Build Ve..., and she was born in October 2025 β XCLBINUTIL(1), periodt. ππ«Ά
π¦ where this page comes from
- ubuntu resolute: libxrt-utils 1:2.21.75+dfsg-4 Β· Apache-2.0
- ubuntu stonking: libxrt-utils 1:2.25.0-4ubuntu1 Β· Apache-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms