[File] [PATCH] [v2] Add support for AMD/Xilinx accelerator xclbin binary files

Sonal Santan sonal.santan at amd.com
Wed Dec 14 19:28:02 UTC 2022


This is v2 of the patch which adds support to recognize "xclbin"
binary files used by AMD/Xilinx accelerators like Alveo and Kria--


The xclbin files are generated by Vitis tool chain and are defined as
part of XRT source tree--


The patch updates magic/Magdir/xilinx to recognize xclbin files. A test
has been added to the tests directory which includes a 512B snippet of
a sample xclbin binary file.

I hope this can be applied to a future version of the file utility.

Changes since v1:
- Fixed formatting of xclbin specific rules in magic/Magdir/xilinx

-------------- next part --------------
A non-text attachment was scrubbed...
Name: xclbin.diff
Type: text/x-patch
Size: 1971 bytes
Desc: not available
URL: <https://mailman.astron.com/pipermail/file/attachments/20221214/3254d26d/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: xclbin.testfile
Type: application/octet-stream
Size: 512 bytes
Desc: not available
URL: <https://mailman.astron.com/pipermail/file/attachments/20221214/3254d26d/attachment.obj>

More information about the File mailing list