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

overwrite vart.conf if downloading custom xclbin #111

Merged
merged 1 commit into from
Dec 9, 2023

Conversation

skalade
Copy link
Collaborator

@skalade skalade commented Dec 9, 2023

This PR should address the issue raised in #104.

Downloading custom overlays is supported and we do this by always loading the xclbin into /usr/lib, however the /etc/vart.conf file is always pointing to /usr/lib/dpu.xclbin. If the name of the xclbin that is passed different to "dpu.xclbin" it will cause a firmware/hardware mismatch.

With the new write_config() helper function we overwrite the config in the same step as we re-download a new xclbin.

@skalade skalade merged commit 68139ec into Xilinx:dev_3.0.0 Dec 9, 2023
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

Successfully merging this pull request may close these issues.

1 participant