GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - cans-dev/wasp-reloader: Bootloader update tool for wasp-os

BranchesTags
Open more actions menu
 
 

Latest commit

 

History

17 Commits
17 Commits

Folders and files

NameName
Last commit message
Last commit date
lib
lib
 
 
src
src
 
 
.gitignore
.gitignore
 
 
.gitmodules
.gitmodules
 
 
COPYING
COPYING
 
 
COPYING.LGPL
COPYING.LGPL
 
 
Makefile
Makefile
 
 
README.md
README.md
 
 

Repository files navigation

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. Build InfiniTime-P8, mcuboot-bootloader-P8
  2. python3 hex2c.py mynewt.elf.hex > src/boards/p8/bootloader.h
  3. bin2hex.py --offset=0x8000 pinetime-mcuboot-recovery-loader-image-1.3.0.bin pinetime-mcuboot-recovery-loader-image-1.3.0.hex
  4. hexmerge.py --overlap=error -o factory_image.hex pinetime-mcuboot-recovery-loader-image-1.3.0.hex mynewt.elf.hex
  5. python3 hex2c.py factory_image.hex > src/boards/p8/factory_image.h
  6. git submodule init --update
  7. make
  8. 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/.

About

Bootloader update tool for wasp-os

daniel-thompson.github.io/wasp-os/

Resources

Readme
Activity

Stars

0 stars

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.