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

Bootloader downgrade (0.5.x) #1417

Merged
merged 1 commit into from Nov 1, 2017

Conversation

@sergeuz
Copy link
Member

commented Oct 27, 2017

Problem

When downgrading from 0.7.0 to 0.5.x firmware, the bootloader needs to be downgraded along with other system modules (see Release notes). This PR simplifies the procedure by making the system automatically downgrade the bootloader if necessary.

Steps to Test

Flash 0.7.0 firmware binaries (including bootloader) to a device, and ensure that the system can be downgraded to 0.5.x following the regular downgrade procedure.

References

  • [CH8765]

Completeness

  • User is totes amazing for contributing!
  • Contributor has signed CLA (Info here)
  • Problem and Solution clearly stated
  • Run unit/integration/application tests on device
  • Added documentation
  • Added to CHANGELOG.md after merging (add links to docs and issues)

@sergeuz sergeuz added the enhancement label Oct 27, 2017

@sergeuz sergeuz requested a review from m-mcgowan Oct 27, 2017

@m-mcgowan m-mcgowan merged commit 8828b7f into release/v0.5.5 Nov 1, 2017

2 checks passed

continuous-integration/travis-ci/pr The Travis CI build passed
Details
continuous-integration/travis-ci/push The Travis CI build passed
Details

@m-mcgowan m-mcgowan deleted the feature/bootloader_downgrade_0.5.x branch Nov 1, 2017

@m-mcgowan

This comment has been minimized.

Copy link
Contributor

commented Nov 1, 2017

Testing:

Test bootloader downgrade

[x] - cd firmware/user/src && particle flash <device> . --target 0.7.0-rc.1 to get first released bootloader installed
[x] - wait for SMH to upgrade, and check versions with particle serial inspect . The bootloader should be version 100, and system modules version 200
[x] - perform an app downgrade by flashing tinker particle flash <device> tinker followed by a manual downgrade by flashing system-part2 and system-part1 from the 0.5.5 local release folder
[x] - use particle inspect to verify the bootloader is at version 7 and the system modules at version 23.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.