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

capi-flash : if one card is unknown to psl-device, the following cards can't be programmed #42

Open
acastellane opened this issue Oct 17, 2018 · 0 comments

Comments

@acastellane
Copy link
Contributor

acastellane commented Oct 17, 2018

Say you have 2 cards in your system, both listed in /sys/class/cxl/card*
If for some reason, one card has an unknown fpga_type (taken from psl-device list, like 0x601), or the card failed and is not reckonized anymore, then the script doesn't look for the second card and issues "Card not listed in psl-devices!".
This is correct for first card, but if you try to work on the second one, it doesn't tell you there was another one and doesn't provide access to the flash of interest.
Suggestions :

  • report which card is not listed
  • continue explore the following ones if the one we consider has no error.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants