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

xbflash: allow users to flash on unknown devices if programming mode is specified #138

Closed
rradjabi opened this issue Jul 27, 2018 · 1 comment
Assignees

Comments

@rradjabi
Copy link
Contributor

https://github.com/Xilinx/XRT/blob/master/src/runtime_src/driver/xclng/tools/xbflash/flasher.h has a lookup table to determine programming mode from VBNVname in Feature ROM. This lookup table has to be updated in order for new devices to be programmed with xbflash. We should override this check if the user specifies a programming mode (don't call getProgrammingTypeFromDeviceName() ).

const std::vector<std::pair<std::string, E_FlasherType>> flashPairs = { std::make_pair( "7v3", BPI ), std::make_pair( "8k5", BPI ), std::make_pair( "ku3", BPI ), std::make_pair( "vu9p", SPI ), std::make_pair( "ku115", SPI ), std::make_pair( "kcu1500", SPI ), std::make_pair( "vcu1525", SPI ), std::make_pair( "vcu1526", SPI ), std::make_pair( "vcu1550", SPI ), std::make_pair( "vcu1551", SPI ), std::make_pair( "vega-4000", SPI ), std::make_pair( "xbb200", SPI ), std::make_pair( "xbb250", SPI ) };

@maxzhen maxzhen assigned houlz0507 and unassigned maxzhen Aug 8, 2018
@houlz0507
Copy link
Collaborator

fixed by: #207

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

3 participants