Closed ThomasXilinx closed 2 years ago
The xbmgmt program --revert-to-golden
and xbmgmt flash --factory_reset
commands expect the golden image of the card to be flashed at a particular memory location. If this is not the case, the command will not work.
Solution: relocate the golden image by following the instructions below.
source /opt/xilinx/xrt/setup.sh
sudo /opt/xilinx/xrt/bin/xbmgmt examine
sudo /opt/xilinx/xrt/bin/xbflash.qspi --qspips-flash --input /opt/xilinx/firmware/u30/gen3x4/base/data/BOOT_golden.BIN --offset 0x6000000 --bar-offset 0x10000 --card <BDF>
Once the golden image has been properly relocated, you can revert the card to the golden image by following the standard card recovery instructions.
Getting an error message when trying to revert the card to golden image with the following command:
The error message:
Factory reset not supported. No Golden image found on flash
The command:sudo /opt/xilinx/xrt/bin/xbmgmt program --revert-to-golden --device <BDF>