pebble
  • Tutorials
  • Get the SDK
  • Guides
  • Documentation
  • PebbleOS
  • Mobile App
  • Examples
  • Index 01
  • Community
  • Blog
  • More
Privacy
Cookies
Publish

PebbleOS

  • Overview
  • Start here
    • Getting started guide
    • Playground
  • Development
    • The pbl CLI
      • pbl configure
      • pbl build
      • pbl bundle
      • pbl menuconfig
      • pbl clean
      • pbl test
      • pbl itest
      • pbl samples
      • pbl sdk
      • pbl run
      • pbl console
      • pbl debug
      • pbl debugserver
      • pbl emulator
      • pbl image_resources
      • pbl image_recovery
      • pbl erase
      • pbl lab
      • pbl power
      • Extending pbl
    • Build system
    • Samples
    • Emulator and simulator
    • Testing
    • Debugging
    • Conventions
  • System
    • Architecture overview
    • Kernel
    • Subsystems
    • Drivers
    • Services
    • Libraries
    • Third-party
    • Application SDK
  • Hardware
    • Boards
    • Programmers
  • Community
    • Contribution Guidelines
  • Reference
    • Reference
    • Kconfig options

pbl image_recovery

Write a recovery firmware (PRF) image over the serial console. By default it writes the build’s own firmware, so configure a prf build with pbl configure first, or pass --file.

pbl -b build-prf image_recovery --tty /dev/ttyACM0

Options

pbl image_recovery [-h] [-b DIR] [--dry-run] [--lab FILE] [--watch NAME]
                   [--wait [SECONDS]] [--tty TTY] [--force-console]
                   [--file FILE]
--tty TTY

tty for serial imaging (default: the lab’s)

--force-console

Force imaging over the console even where sftool would be used

--file FILE

Binary to write (default: the build’s firmware)

Generated from PebbleOS 7753e801d. This page is maintained in the pebbleos repository: docs/pbl/image_recovery.md.