Skip to content
CDB-v1.0.2

This release includes significant upgrades to the image management and
verification facilities of the IPMC.

The "A" and "B" partitions have been replaced with "primary" and "backup"
partitions containing the most recent, and second most recent image
applied.  This design prevents confusion with regard to whether A or B
is current, and allows updates to be done in a uniform manner without
assuming (possibly incorrectly) the partition configuration of the card.

Updates automatically program the next image slot, and boottarget can be
used to undo an update.

In addition to this change, images are now validated by reading the ZYNQ
part out of the bitstream, as well as the ZYNQ device ID register to
ensure that an IPMC based on a 7z020 part will not accept e.g. a 7z014s
based image.

Images are now also validated by confirming that the git tag in the
embedded version information matches the expected git tag, if
configured, to limit exposure to instances of confusion where an IPMC
running on one type of carrier board is programmed with an image for a
different type of carrier board which is not electrically safe for it.

Images are also validated when switching boot target as well as at
upload time, so it is not possible to accidentally select an
unprogrammed or invalid boot target.