Bootloader update tool for wasp-os
Find a file
GaryM0101 821296156d update-reloader-factory
Update with a newer version of the InifiniTime bootloader (v1.0.1) since this
is needed for the reloader to properly support the BY25Q32 SPINOR in newer
PineTime devices.

The resulting wasp reloader_factory.zip was successfully tested on the Pinetime
with the new BY25Q32 memory chip. We also tested it on the original SPI chip
on the older Pinetime devices.

Fixes: https://github.com/wasp-os/wasp-os/issues/519
Signed-off-by: GaryM0101 <gary@geekslounge.com>
Signed-off-by: Daniel Thompson <daniel@redfelineninja.org.uk>
2025-02-02 20:54:01 +00:00
lib mcuboot: Integrate autommatic image creation 2020-10-31 16:00:05 +00:00
src update-reloader-factory 2025-02-02 20:54:01 +00:00
.gitignore Add code to wake spinor. 2020-11-07 09:26:59 +00:00
.gitmodules mcuboot: Integrate autommatic image creation 2020-10-31 16:00:05 +00:00
COPYING reloader: Initial commit 2020-04-26 14:01:30 +01:00
COPYING.LGPL reloader: Initial commit 2020-04-26 14:01:30 +01:00
Makefile Makefile: More aggressive dependency tracking 2021-06-03 17:06:36 +01:00
README.md mcuboot: Integrate autommatic image creation 2020-10-31 16:00:05 +00:00

wasp-reloader: Re-flash utility for wasp-os

Introduction

wasp-reloader is a tool that is used to update to the latest version of the wasp-bootloader.

It is a application payload that, when executed, will replace the softdevice and bootloader with an updated version and then reboot into the new bootloader ready to receive a new payload.

Building wasp-reloader

Note: wasp-reloader is tested using the GNU-RM toolchain (9-2019-q4) from Arm.

  1. Use hex2c.py (from wasp-os tools/ directory) to populate src/boards/<boardname>/bootloader.h
  2. git submodule init --update
  3. make
  4. Deploy!

Status

  • Can replace MBR and softdevice with different versions.
  • Can replace the wasp-bootloader binary.
  • Can be used as an OTA upgrade to replace the PineTime factory default bootloader (mcuboot) with wasp-bootloader.

License

wasp-reloader program is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License and GNU Lesser General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see https://www.gnu.org/licenses/.