Bootloader recovery tool

Here’s some old discussion.