Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • F firmware
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 74
    • Issues 74
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 29
    • Merge requests 29
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • External wiki
    • External wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • card10
  • firmware
  • Merge requests
  • !203

Reboot to bootloader

  • Review changes

  • Download
  • Email patches
  • Plain diff
Open Nikolay Amiantov requested to merge abbradar/firmware:reboot-to-bootloader into master Aug 22, 2019
  • Overview 8
  • Commits 5
  • Pipelines 7
  • Changes 23

This implements rebooting to bootloader via os.reset(True). To do that we modify the bootloader so that it checks for a special file named .mscmode and if it's there it removes it and runs msc(). On Python side we declare .mscmode as a restricted file and create it before rebooting if needed.

This also improves update-bootloader.bin building because I didn't get a debugger :D It now automatically uses the latest bootloader, so you can grab update-bootloader.bin.

Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: reboot-to-bootloader