MSTFWRESET(1)

πŸ“¦
version 4.37.0_1.1 Β· 3 versions
, in centos-stream 10, centos-stream 9, debian trixie, fedora 43, fedora 44, nixos 26.05, nixpkgs unstable, ubuntu noble, ubuntu questing, ubuntu resolute, ubuntu stonking

πŸ’– MSTFWRESET, but make it make sense πŸ’–

okay so bestie, you've wandered into mstfwreset(1) β€” it lives in the User Commands section of the man pages (iykyk, section 1 is where all the tools hang out). It's part of the mstflint crew, and it's the one you call when you need to ask a device what kind of reset it can do and then actually do it. Let's get into it. ✨


🌸 NAME 🌸

mstfwreset β€” Query and perform reset operation on the device πŸ’…


πŸ¦‹ DESCRIPTION πŸ¦‹

Here's the shape of the thing, no cap:

usage: mstfwreset --device DEVICE [--level {0,3,4,5}] [--type {0,1}]
[--yes]

       [--skip_driver] [--mst_flags MST_FLAGS] [--version] [--help]
       [--skip_fsm_sync] {q,query,r,reset,reset_fsm_register}

mstfwreset : the tool provides the following functionality in order to load new firmware, and it's giving two-step queen energy:

  1. Query the device for the supported reset-level and reset-type πŸ‘€
  2. Perform reset operation on the device πŸ”₯

✨ OPTIONS ✨

  • --device DEVICE, -d DEVICE β€” Device to work with 🫢
  • --level {0,3,4,5}, -l {0,3,4,5} β€” Run reset with the specified reset-level ⭐
  • --type {0,1}, -t {0,1} β€” Run reset with the specified reset-type 🌈
  • --yes, -y β€” answer "yes" on prompt πŸ™ˆ
  • --skip_driver, -s β€” Skip driver start/stop stage (driver must be stopped manually) πŸ’€
  • --mst_flags MST_FLAGS, -m MST_FLAGS β€” Provide mst flags to be used when invoking mst restart step. For example: --mst_flags="--with_fpga" πŸŽ€
  • --version, -v β€” Print tool version πŸ‘‘
  • --help, -h β€” show this help message and exit 🌸
  • --skip_fsm_sync β€” Skip fsm syncing 🧚

πŸŽ€ Commands πŸŽ€

the command menu, bestie, pick one:

  • {q,query,r,reset,reset_fsm_register}
  • query: Query reset Level.
  • reset: Execute reset.
  • reset_fsm_register: Reset the fsm register.

πŸ’œ Reset levels πŸ’œ

  • 0: Driver, PCI link, network link will remain up ("live-Patch") 🌈
  • 3: Driver restart and PCI reset
  • 4: Warm Reboot
  • 5: Cold Reboot

πŸ“ Reset types πŸ“

  • 0: Full chip reset
  • 1: Phy-less reset ("port-alive" - network link will remain up) ✨

πŸ‘‘ SEE ALSO πŸ‘‘


okay that's the whole page, you ate it πŸ’… no notes, periodt. this lil gem is mstflint, March 2020, and yeah the page is literally called MSTFWRESET(1) β€” now go reset something responsibly, bestie πŸ«ΆπŸ’–βœ¨

πŸ“¦ where this page comes from