XCLBINUTIL(1)

πŸ“¦ version 2.25.0, in ubuntu resolute, ubuntu stonking

πŸ’– 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:

  1. Reporting xclbin information
: xclbinutil --info --input binary_container_1.xclbin
  1. Extracting the bitstream image: xclbinutil --dump-section BITSTREAM:RAW:bitstream.bit --input binary_container_1.xclbin
  2. Extracting the build metadata : xclbinutil --dump-section BUILD_METADATA:HTML:buildMetadata.json --input binary_container_1.xclbin
  3. Removing a section : xclbinutil --remove-section BITSTREAM --input binary_container_1.xclbin --output binary_container_modified.xclbin
  4. 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-section arg β€” Section name to add or merge. Format: <section>:<format>:<file> πŸ’«
  • --add-pskernel arg β€” Helper option to add PS kernels. Format: [<mem_banks>]:[<symbol_name>]:[<instances>]:<path_to_shared_library> 🧚
  • --add-replace-section arg β€” Section name to add or replace. Format: <section>:<format>:<file>
  • --add-section arg β€” Section name to add. Format: <section>:<format>:<file> ✨
  • --add-signature arg β€” Adds a user defined signature to the given xclbin image. πŸ–ŠοΈ
  • --certificate arg β€” Certificate used in signing and validating the xclbin image.
  • --digest-algorithm arg β€” Digest algorithm. Default: sha512
  • --dump-section arg β€” 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-value arg β€” 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-key arg β€” Private key used in signing the xclbin image. 🀫
  • -q [ --quiet ] β€” Minimize reporting information. (shhh era 🀐)
  • --remove-key arg β€” Removes the given user key from the xclbin archive.
  • --remove-section arg β€” Section name to remove.
  • --remove-signature β€” Removes the signature from the xclbin image.
  • --replace-section arg β€” Section to replace.
  • --target arg β€” Target flow for this image. Valid values: hw, hw_emu, and sw_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; and
  • HTML: 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 is xclbinutil, XRT Build Ve..., and she was born in October 2025 β€” XCLBINUTIL(1), periodt. πŸŽ€πŸ«Ά
πŸ“¦ where this page comes from