1. 21 Jan, 2021 8 commits
  2. 20 Jan, 2021 5 commits
  3. 18 Jan, 2021 2 commits
  4. 15 Jan, 2021 3 commits
  5. 12 Jan, 2021 1 commit
    • Paul Sokolovsky's avatar
      cmsis_dap: Wait CMSIS-DAP MSD remount cycle to confirm successful programming · a006d708
      Paul Sokolovsky authored
      After CMSIS-DAP MSD finished programming firmware (either successfully or
      not), it "unmounts" and "remounts" the USB MSD device (actually, issues
      MSD "media changed" notifications). We now wait for "unmount" and following
      "remount", and check for failure file, FAIL.TXT. If it's present, we dump
      it and properly fail the operation (which for example allows parent LAVA
      boot-retry action to try it again).
      
      Note the detection of MSD unmount/remount requires issues FS sync commands
      (which we now do on Python level using os.sync(), instead of calling
      external "sync" command). (Commenting os.sync() calls is a way to trigger
      failure behavior on hardware which is susceptible to it.)
      
      Finally, while this new behavior is made default, a "skip_autoremount_wait"
      option is added to revert to the old behavior (of just calling sync once and
      waiting static delay). It can be set in a device dict for boards which may
      turn out to have issues with new process.
      Signed-off-by: default avatarPaul Sokolovsky <paul.sokolovsky@linaro.org>
      a006d708
  6. 11 Jan, 2021 1 commit
  7. 08 Jan, 2021 1 commit
  8. 07 Jan, 2021 2 commits
  9. 06 Jan, 2021 1 commit
  10. 30 Dec, 2020 2 commits
  11. 29 Dec, 2020 5 commits
  12. 24 Dec, 2020 1 commit
  13. 23 Dec, 2020 2 commits
  14. 21 Dec, 2020 1 commit
  15. 18 Dec, 2020 1 commit
  16. 17 Dec, 2020 3 commits
  17. 16 Dec, 2020 1 commit