[File] [PATCH] Recognize AMD/Xilinx accelerator files
Sonal Santan
sonal.santan at amd.com
Thu Dec 1 02:37:38 UTC 2022
Hello,
This patch adds support to recognize "xclbin" binary files used by
AMD/Xilinx accelerators like Alveo--
https://www.xilinx.com/products/boards-and-kits/alveo.html
The xclbin files are defined as part of XRT source tree--
https://github.com/Xilinx/XRT/blob/master/src/runtime_src/core/include/xclbin.h
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
binary xclbin file. A diff file with changes and the snippet of binary
xclbin file are attached.
I hope this can be applied to a future version of the file utility.
-Sonal
-------------- next part --------------
A non-text attachment was scrubbed...
Name: xclbin.diff
Type: text/x-patch
Size: 1849 bytes
Desc: not available
URL: <https://mailman.astron.com/pipermail/file/attachments/20221130/f9d438f6/attachment-0001.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/20221130/f9d438f6/attachment-0001.obj>
More information about the File
mailing list