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

Christos Zoulas christos at zoulas.com
Sun Dec 18 15:00:46 UTC 2022


Committed, thanks!

christos

> On Dec 14, 2022, at 2:28 PM, Sonal Santan <sonal.santan at amd.com> wrote:
> 
> Hello,
> 
> This is v2 of the patch which adds support to recognize "xclbin"
> binary files used by AMD/Xilinx accelerators like Alveo and Kria--
> 
> https://www.xilinx.com/products/boards-and-kits/alveo.html
> https://www.xilinx.com/products/app-store/kria.html
> 
> The xclbin files are generated by Vitis tool chain and 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
> 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
> 
> -Sonal<xclbin_diff.DEFANGED-897><xclbin_testfile.DEFANGED-898><sanitizer.log>

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 235 bytes
Desc: Message signed with OpenPGP
URL: <https://mailman.astron.com/pipermail/file/attachments/20221218/be81e617/attachment.asc>


More information about the File mailing list