[Buildroot] [PATCH] configs/versal_vck190_defconfig: add hashes

Maier, Brandon L Collins Brandon.Maier at collins.com
Mon Jun 3 12:56:18 UTC 2024


Hi Neal

> I have another thought on the subject of the hashes.  All of the Xilinx hashes
> will be the same regardless of whether it is a zynq, zynqmp or versal board.
>
> However, sometimes, we may have actual patches that only apply to a single
> family, like the ATF v2.8 patches currently in the tree.
>
> In order to avoid duplicating the same .hash files 3 times, what do you think
> about creating a board/xilinx/patches directory for the hash files?  This way
> all the hashes can be common for zynq, zynqmp and versal and they can each
> still have their own board/<family>/patches directory for family specific
> patches.

I was using the ./utils/add-custom-hashes script to generate the hash files. That
script truncates and writes each hash to the last patch directory in
BR2_GLOBAL_PATCH_DIR. So, this would work if the board/Xilinx/patches
directory is last in the list, and all the boards share the same versions.

>
> Assuming you are ok with this, would you like to already submit a patch to
> migrate the zynq board hashes to the board/xilinx/patches directory?

Looks like you did :)

>
> Best regards,
> Neal Frager
> AMD

Thanks,
Brandon Maier


More information about the buildroot mailing list