Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error trying to flash golden image: "Factory reset not supported. No Golden image found on flash". #16

Closed
ThomasXilinx opened this issue Dec 16, 2021 · 1 comment

Comments

@ThomasXilinx
Copy link
Collaborator

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>

@ThomasXilinx
Copy link
Collaborator Author

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.

  1. Set up your environment:
source /opt/xilinx/xrt/setup.sh
  1. List the Management BDF of your devices:
sudo /opt/xilinx/xrt/bin/xbmgmt examine
  1. For each device, run the following command to flash the golden image to the expected memory location:
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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant