Skip to content

Support NVMe in Windows #1

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

Open
jackeichen opened this issue Dec 7, 2022 · 5 comments
Open

Support NVMe in Windows #1

jackeichen opened this issue Dec 7, 2022 · 5 comments
Labels
enhancement New feature or request

Comments

@jackeichen
Copy link
Owner

pydiskcmd plan to support NVMe in windows.

@jackeichen jackeichen added the enhancement New feature or request label Dec 7, 2022
@jackeichen
Copy link
Owner Author

jackeichen commented Feb 16, 2023

After working on: https://learn.microsoft.com/en-us/windows/win32/fileio/working-with-nvme-devices

It is more complex to do development in windows than in Linux:

  1. Only vendor spec commands can use NVMe pass-through command STORAGE_PROTOCOL_COMMAND;
  2. STORAGE_PROTOCOL_COMMAND need Command Effects log(nvme version >= 1.2);
  3. The general commands use different data structure in IOCTL.
  4. The IOCTL_STORAGE_PROTOCOL_COMMAND is introduced in Windows 10.

@jackeichen
Copy link
Owner Author

Note that the main work is always in Linux, not Windows.

No schedule in support NVMe in Windows.

@jackeichen
Copy link
Owner Author

jackeichen commented Apr 5, 2023

Limited command support now!

  1. get-feature command
  2. get-log command
  3. some of idenfity command

@jackeichen
Copy link
Owner Author

jackeichen commented Mar 28, 2024

Windows self-test is done!

Note: 10 minutes delay is recommanded between two self-test commands , or command may fail in the second one.

@jackeichen
Copy link
Owner Author

Firmware commit command for Windows is ready from 3de1e58. But there is a limitation here:

  • You cannot choose the action and need specify a valid fimware slot(slot 0 is not included here).

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

No branches or pull requests

1 participant