Ease tracking of gateware build option and version
Knowing which version of gateware is actually programmed on a board has always been somewhat challenging. These changes alongside complementary changes in the bitstream builder allow building gateware designs using a unique name made up of the name of YAML file configuration option name used as argument when calling the bitstream builder and the git hash of the gateware repository branch used.
The design name is now displayed as part of the HSS start-up messages. For example, the "Design Info" below is displayed for created from hash DADEB78E of the gateware used by the DEV_MIPI_CSI_BRINGUP.YAML build configuration file:
[5.263471] Design Info: Design Name: DEV_MIPI_CSI_BRING_UP_DADEB78E Design Version: 00.00.1
Please note that this only works when using the bitstream builder (which should be the only method we use to generate gateware for sharing or release). Directly using the Libero TCL script will result in a default gateware name of BVF_GATEWARE.