Skip to content

Releases

v0.7.0

Choose a tag to compare

@github-actions github-actions released this 05 Dec 14:53

Prerequisites

Install Rust/Cargo and Git. Make sure Cargo-installed binaries are on your PATH (normally via ~/.cargo/bin). On Linux, installing the ESP tool also requires libudev-dev and pkg-config.

ESP32-C3-MINI-1, ESP32-C5-MINI-1 and ESP32-C6-MINI-1:

cargo install --locked --git https://github.com/microtun/microtun-boot.git \
  --tag "v0.7.0" microtun-boot-tools-esp

RP2350 Pico 2:

cargo install --locked --git https://github.com/microtun/microtun-boot.git \
  --tag "v0.7.0" microtun-boot-tools-rp

You only need to install the tool for the board you want to flash.

Flash the bootloaders

Download the attached .bin files. Choose dev or release to match the device's secure-boot key (key provisioning is irreversible).

ESP32-C3-MINI-1 — Connect the board over USB-Serial-JTAG and set your serial port:

PROFILE=dev  # or release
export ESPPORT=/dev/ttyACM0   # change to your serial port
export MICROTUN_BOOT_OTP_BURN=YES
microtun-boot-tools-esp --board esp32-c3-mini-1 flash-bootloader --signed-bin \
  "esp32-c3-mini-1-${PROFILE}-boot-chain.sbv2.bin"

The complete signed image (ESP-IDF second stage, partition table, and signed microtun boot) is verified and written at 0x0. It does not re-sign or rebuild anything.

ESP32-C5-MINI-1 — Connect the board over USB-Serial-JTAG and set your serial port:

PROFILE=dev  # or release
export ESPPORT=/dev/ttyACM0   # change to your serial port
export MICROTUN_BOOT_OTP_BURN=YES
microtun-boot-tools-esp --board esp32-c5-mini-1 flash-bootloader --signed-bin \
  "esp32-c5-mini-1-${PROFILE}-boot-chain.sbv2.bin"

The complete signed image is verified (including its partition table and flash size against the board) and written at 0x2000, where the ESP32-C5 ROM loads the second stage. It does not re-sign or rebuild anything.

ESP32-C6-MINI-1 — Connect the board over USB-Serial-JTAG and set your serial port:

PROFILE=dev  # or release
export ESPPORT=/dev/ttyACM0   # change to your serial port
export MICROTUN_BOOT_OTP_BURN=YES
microtun-boot-tools-esp --board esp32-c6-mini-1 flash-bootloader --signed-bin \
  "esp32-c6-mini-1-${PROFILE}-boot-chain.sbv2.bin"

The complete signed image is verified and written at 0x0. It does not re-sign or rebuild anything.

ESP32 chips in Secure Download Mode (a manually burned ENABLE_SECURITY_DOWNLOAD eFuse; neither profile sets it): flash through a USB-to-UART connection instead of USB-Serial-JTAG, and set ESPPORT to it explicitly (for example /dev/ttyUSB0). The modules have no USB-to-UART bridge: the ESP32-C3-MINI-1 needs an external adapter on GPIO20/GPIO21, the ESP32-C5-MINI-1 one on GPIO11/GPIO12, the ESP32-C6-MINI-1 one on GPIO16/GPIO17. Over USB-Serial-JTAG, the RTC watchdog left armed by microtun boot can't be disabled in this mode and may reset the chip mid-write. See Secure Download Mode in boards/README-ESP32.md.

RP2350 Pico 2 — Connect an SWD probe:

PROFILE=dev  # or release
export MICROTUN_BOOT_OTP_BURN=YES
microtun-boot-tools-rp flash-bootloader --signed-bin \
  "rp2350-pico2-${PROFILE}-microtun-boot.signed.bin"

The ROM-sealed binary is verified and downloaded at 0x10000000, then the board is reset, without generating a new signature. PROBE_RS_PROBE, PROBE_RS_SPEED_KHZ, and PROBE_RS_CHIP work as usual.

Full Changelog: v0.6.0...v0.7.0

v0.6.0

Choose a tag to compare

@github-actions github-actions released this 04 Dec 23:48

Prerequisites

Install Rust/Cargo and Git. Make sure Cargo-installed binaries are on your PATH (normally via ~/.cargo/bin). On Linux, installing the ESP tool also requires libudev-dev and pkg-config.

ESP32-C3-MINI-1, ESP32-C5-MINI-1 and ESP32-C6-MINI-1:

cargo install --locked --git https://github.com/microtun/microtun-boot.git \
  --tag "v0.6.0" microtun-boot-tools-esp

RP2350 Pico 2:

cargo install --locked --git https://github.com/microtun/microtun-boot.git \
  --tag "v0.6.0" microtun-boot-tools-rp

You only need to install the tool for the board you want to flash.

Flash the bootloaders

Download the attached .bin files. Choose dev or release to match the device's secure-boot key (key provisioning is irreversible).

ESP32-C3-MINI-1 — Connect the board over USB-Serial-JTAG and set your serial port:

PROFILE=dev  # or release
export ESPPORT=/dev/ttyACM0   # change to your serial port
export MICROTUN_BOOT_OTP_BURN=YES
microtun-boot-tools-esp --board esp32-c3-mini-1 flash-bootloader --signed-bin \
  "esp32-c3-mini-1-${PROFILE}-boot-chain.sbv2.bin"

The complete signed image (ESP-IDF second stage, partition table, and signed microtun boot) is verified and written at 0x0. It does not re-sign or rebuild anything.

ESP32-C5-MINI-1 — Connect the board over USB-Serial-JTAG and set your serial port:

PROFILE=dev  # or release
export ESPPORT=/dev/ttyACM0   # change to your serial port
export MICROTUN_BOOT_OTP_BURN=YES
microtun-boot-tools-esp --board esp32-c5-mini-1 flash-bootloader --signed-bin \
  "esp32-c5-mini-1-${PROFILE}-boot-chain.sbv2.bin"

The complete signed image is verified (including its partition table and flash size against the board) and written at 0x2000, where the ESP32-C5 ROM loads the second stage. It does not re-sign or rebuild anything.

ESP32-C6-MINI-1 — Connect the board over USB-Serial-JTAG and set your serial port:

PROFILE=dev  # or release
export ESPPORT=/dev/ttyACM0   # change to your serial port
export MICROTUN_BOOT_OTP_BURN=YES
microtun-boot-tools-esp --board esp32-c6-mini-1 flash-bootloader --signed-bin \
  "esp32-c6-mini-1-${PROFILE}-boot-chain.sbv2.bin"

The complete signed image is verified and written at 0x0. It does not re-sign or rebuild anything.

ESP32 chips in Secure Download Mode (a manually burned ENABLE_SECURITY_DOWNLOAD eFuse; neither profile sets it): flash through a USB-to-UART connection instead of USB-Serial-JTAG, and set ESPPORT to it explicitly (for example /dev/ttyUSB0). The modules have no USB-to-UART bridge: the ESP32-C3-MINI-1 needs an external adapter on GPIO20/GPIO21, the ESP32-C5-MINI-1 one on GPIO11/GPIO12, the ESP32-C6-MINI-1 one on GPIO16/GPIO17. Over USB-Serial-JTAG, the RTC watchdog left armed by microtun boot can't be disabled in this mode and may reset the chip mid-write. See Secure Download Mode in boards/README-ESP32.md.

RP2350 Pico 2 — Connect an SWD probe:

PROFILE=dev  # or release
export MICROTUN_BOOT_OTP_BURN=YES
microtun-boot-tools-rp flash-bootloader --signed-bin \
  "rp2350-pico2-${PROFILE}-microtun-boot.signed.bin"

The ROM-sealed binary is verified and downloaded at 0x10000000, then the board is reset, without generating a new signature. PROBE_RS_PROBE, PROBE_RS_SPEED_KHZ, and PROBE_RS_CHIP work as usual.

Full Changelog: v0.5.0...v0.6.0

v0.5.0

Choose a tag to compare

@github-actions github-actions released this 25 Nov 16:45

Prerequisites

Install Rust/Cargo and Git. Make sure Cargo-installed binaries are on your PATH (normally via ~/.cargo/bin). On Linux, installing the ESP tool also requires libudev-dev and pkg-config.

ESP32-C3-MINI-1, ESP32-C5-MINI-1 and ESP32-C6-MINI-1:

cargo install --locked --git https://github.com/microtun/microtun-boot.git \
  --tag "v0.5.0" microtun-boot-tools-esp

RP2350 Pico 2:

cargo install --locked --git https://github.com/microtun/microtun-boot.git \
  --tag "v0.5.0" microtun-boot-tools-rp

You only need to install the tool for the board you want to flash.

Flash the bootloaders

Download the attached .bin files. Choose dev or release to match the device's secure-boot key (key provisioning is irreversible).

ESP32-C3-MINI-1 — Connect the board over USB-Serial-JTAG and set your serial port:

PROFILE=dev  # or release
export ESPPORT=/dev/ttyACM0   # change to your serial port
export MICROTUN_BOOT_OTP_BURN=YES
microtun-boot-tools-esp --board esp32-c3-mini-1 flash-bootloader --signed-bin \
  "esp32-c3-mini-1-${PROFILE}-boot-chain.sbv2.bin"

The complete signed image (ESP-IDF second stage, partition table, and signed microtun boot) is verified and written at 0x0. It does not re-sign or rebuild anything.

ESP32-C5-MINI-1 — Connect the board over USB-Serial-JTAG and set your serial port:

PROFILE=dev  # or release
export ESPPORT=/dev/ttyACM0   # change to your serial port
export MICROTUN_BOOT_OTP_BURN=YES
microtun-boot-tools-esp --board esp32-c5-mini-1 flash-bootloader --signed-bin \
  "esp32-c5-mini-1-${PROFILE}-boot-chain.sbv2.bin"

The complete signed image is verified (including its partition table and flash size against the board) and written at 0x2000, where the ESP32-C5 ROM loads the second stage. It does not re-sign or rebuild anything.

ESP32-C6-MINI-1 — Connect the board over USB-Serial-JTAG and set your serial port:

PROFILE=dev  # or release
export ESPPORT=/dev/ttyACM0   # change to your serial port
export MICROTUN_BOOT_OTP_BURN=YES
microtun-boot-tools-esp --board esp32-c6-mini-1 flash-bootloader --signed-bin \
  "esp32-c6-mini-1-${PROFILE}-boot-chain.sbv2.bin"

The complete signed image is verified and written at 0x0. It does not re-sign or rebuild anything.

ESP32 chips in Secure Download Mode (a manually burned ENABLE_SECURITY_DOWNLOAD eFuse; neither profile sets it): flash through a USB-to-UART connection instead of USB-Serial-JTAG, and set ESPPORT to it explicitly (for example /dev/ttyUSB0). The modules have no USB-to-UART bridge: the ESP32-C3-MINI-1 needs an external adapter on GPIO20/GPIO21, the ESP32-C5-MINI-1 one on GPIO11/GPIO12, the ESP32-C6-MINI-1 one on GPIO16/GPIO17. Over USB-Serial-JTAG, the RTC watchdog left armed by microtun boot can't be disabled in this mode and may reset the chip mid-write. See Secure Download Mode in boards/README-ESP32.md.

RP2350 Pico 2 — Connect an SWD probe:

PROFILE=dev  # or release
export MICROTUN_BOOT_OTP_BURN=YES
microtun-boot-tools-rp flash-bootloader --signed-bin \
  "rp2350-pico2-${PROFILE}-microtun-boot.signed.bin"

The ROM-sealed binary is verified and downloaded at 0x10000000, then the board is reset, without generating a new signature. PROBE_RS_PROBE, PROBE_RS_SPEED_KHZ, and PROBE_RS_CHIP work as usual.

Full Changelog: v0.4.0...v0.5.0

v0.4.0

Choose a tag to compare

@github-actions github-actions released this 25 Nov 10:33

Prerequisites

Install Rust/Cargo and Git. Make sure Cargo-installed binaries are on your PATH (normally via ~/.cargo/bin). On Linux, installing the ESP tool also requires libudev-dev and pkg-config.

ESP32-C3 SuperMini, ESP32-C5 Mini and ESP32-C6 SuperMini:

cargo install --locked --git https://github.com/microtun/microtun-boot.git \
  --tag "v0.4.0" microtun-boot-tools-esp

RP2350 Pico 2:

cargo install --locked --git https://github.com/microtun/microtun-boot.git \
  --tag "v0.4.0" microtun-boot-tools-rp

You only need to install the tool for the board you want to flash.

Flash the bootloaders

Download the attached .bin files. Choose dev or release to match the device's secure-boot key (key provisioning is irreversible).

ESP32-C3 SuperMini — Connect the board over USB-Serial-JTAG and set your serial port:

PROFILE=dev  # or release
export ESPPORT=/dev/ttyACM0   # change to your serial port
export MICROTUN_BOOT_OTP_BURN=YES
microtun-boot-tools-esp --board esp32c3-supermini flash-bootloader --signed-bin \
  "esp32c3-supermini-${PROFILE}-boot-chain.sbv2.bin"

The complete signed image (ESP-IDF second stage, partition table, and signed microtun boot) is verified and written at 0x0. It does not re-sign or rebuild anything.

ESP32-C5 Mini — Connect the board through its USB-C connector (USB-Serial-JTAG) and set your serial port:

PROFILE=dev  # or release
export ESPPORT=/dev/ttyACM0   # change to your serial port
export MICROTUN_BOOT_OTP_BURN=YES
microtun-boot-tools-esp --board esp32c5-mini flash-bootloader --signed-bin \
  "esp32c5-mini-${PROFILE}-boot-chain.sbv2.bin"

The complete signed image is verified (including its partition table and flash size against the board) and written at 0x2000, where the ESP32-C5 ROM loads the second stage. It does not re-sign or rebuild anything.

ESP32-C6 SuperMini — Connect the board through its USB-C connector (USB-Serial-JTAG) and set your serial port:

PROFILE=dev  # or release
export ESPPORT=/dev/ttyACM0   # change to your serial port
export MICROTUN_BOOT_OTP_BURN=YES
microtun-boot-tools-esp --board esp32c6-supermini flash-bootloader --signed-bin \
  "esp32c6-supermini-${PROFILE}-boot-chain.sbv2.bin"

The complete signed image is verified and written at 0x0. It does not re-sign or rebuild anything.

ESP32 chips in Secure Download Mode (a manually burned ENABLE_SECURITY_DOWNLOAD eFuse; neither profile sets it): flash through a USB-to-UART connection instead of USB-Serial-JTAG, and set ESPPORT to it explicitly (for example /dev/ttyUSB0). None of the boards has an on-board bridge: the ESP32-C3 SuperMini needs an external adapter on GPIO20/GPIO21, the ESP32-C5 Mini one on GPIO11/GPIO12 (TX/RX), the ESP32-C6 SuperMini one on GPIO16/GPIO17. Over USB-Serial-JTAG, the RTC watchdog left armed by microtun boot can't be disabled in this mode and may reset the chip mid-write. See the board README's Secure Download Mode section.

RP2350 Pico 2 — Connect an SWD probe:

PROFILE=dev  # or release
export MICROTUN_BOOT_OTP_BURN=YES
microtun-boot-tools-rp flash-bootloader --signed-bin \
  "rp2350-pico2-${PROFILE}-microtun-boot.signed.bin"

The ROM-sealed binary is verified and downloaded at 0x10000000, then the board is reset, without generating a new signature. PROBE_RS_PROBE, PROBE_RS_SPEED_KHZ, and PROBE_RS_CHIP work as usual.

Full Changelog: v0.3.0...v0.4.0

v0.3.0

Choose a tag to compare

@github-actions github-actions released this 24 Nov 23:08

Prerequisites

Install Rust/Cargo and Git. Make sure Cargo-installed binaries are on your PATH (normally via ~/.cargo/bin). On Linux, installing the ESP tool also requires libudev-dev and pkg-config.

ESP32-C3 SuperMini, ESP32-C5-DevKitC-1 and ESP32-C6 SuperMini:

cargo install --locked --git https://github.com/microtun/microtun-boot.git \
  --tag "v0.3.0" microtun-boot-tools-esp

RP2350 Pico 2:

cargo install --locked --git https://github.com/microtun/microtun-boot.git \
  --tag "v0.3.0" microtun-boot-tools-rp

You only need to install the tool for the board you want to flash.

Flash the bootloaders

Download the attached .bin files. Choose dev or release to match the device's secure-boot key (key provisioning is irreversible).

ESP32-C3 SuperMini — Connect the board over USB-Serial-JTAG and set your serial port:

PROFILE=dev  # or release
export ESPPORT=/dev/ttyACM0   # change to your serial port
export MICROTUN_BOOT_OTP_BURN=YES
microtun-boot-tools-esp --board esp32c3-supermini flash-bootloader --signed-bin \
  "esp32c3-supermini-${PROFILE}-boot-chain.sbv2.bin"

The complete signed image (ESP-IDF second stage, partition table, and signed microtun boot) is verified and written at 0x0. It does not re-sign or rebuild anything.

ESP32-C5-DevKitC-1 — Each flash size has its own board and boot chain: esp32c5-devkitc-1-n4 (4 MiB, …-N4 modules), esp32c5-devkitc-1-n8 (8 MiB, e.g. …-N8R8) or esp32c5-devkitc-1-n16 (16 MiB, e.g. …-N16R8). Pick the one that matches the module's flash, connect the board through its ESP32-C5 USB connector (USB-Serial-JTAG, not the UART one) and set your serial port:

PROFILE=dev  # or release
BOARD=esp32c5-devkitc-1-n8   # or esp32c5-devkitc-1-n4 / esp32c5-devkitc-1-n16
export ESPPORT=/dev/ttyACM0   # change to your serial port
export MICROTUN_BOOT_OTP_BURN=YES
microtun-boot-tools-esp --board "$BOARD" flash-bootloader --signed-bin \
  "${BOARD}-${PROFILE}-boot-chain.sbv2.bin"

The complete signed image is verified (including its partition table and flash size against the board) and written at 0x2000, where the ESP32-C5 ROM loads the second stage. It does not re-sign or rebuild anything. Use the same board for every application you flash afterwards.

ESP32-C6 SuperMini — Connect the board through its USB-C connector (USB-Serial-JTAG) and set your serial port:

PROFILE=dev  # or release
export ESPPORT=/dev/ttyACM0   # change to your serial port
export MICROTUN_BOOT_OTP_BURN=YES
microtun-boot-tools-esp --board esp32c6-supermini flash-bootloader --signed-bin \
  "esp32c6-supermini-${PROFILE}-boot-chain.sbv2.bin"

The complete signed image is verified and written at 0x0. It does not re-sign or rebuild anything.

ESP32 chips in Secure Download Mode (a manually burned ENABLE_SECURITY_DOWNLOAD eFuse; neither profile sets it): flash through a USB-to-UART connection instead of USB-Serial-JTAG, and set ESPPORT to it explicitly (for example /dev/ttyUSB0). On the ESP32-C5-DevKitC-1 that is the board's USB-to-UART port. The ESP32-C3 SuperMini needs an external adapter on GPIO20/GPIO21, the ESP32-C6 SuperMini one on GPIO16/GPIO17. Over USB-Serial-JTAG, the RTC watchdog left armed by microtun boot can't be disabled in this mode and may reset the chip mid-write. See the board README's Secure Download Mode section.

RP2350 Pico 2 — Connect an SWD probe:

PROFILE=dev  # or release
export MICROTUN_BOOT_OTP_BURN=YES
microtun-boot-tools-rp flash-bootloader --signed-bin \
  "rp2350-pico2-${PROFILE}-microtun-boot.signed.bin"

The ROM-sealed binary is verified and downloaded at 0x10000000, then the board is reset, without generating a new signature. PROBE_RS_PROBE, PROBE_RS_SPEED_KHZ, and PROBE_RS_CHIP work as usual.

Full Changelog: v0.2.1...v0.3.0

v0.2.1

Choose a tag to compare

@github-actions github-actions released this 24 Nov 19:27

Prerequisites

Install Rust/Cargo and Git. Make sure Cargo-installed binaries are on your PATH (normally via ~/.cargo/bin). On Linux, installing the ESP tool also requires libudev-dev and pkg-config.

Install the flashing tool for your board directly from this release's tag; no repository checkout is needed. The commands in the published release notes already use the correct tag.

ESP32-C3 SuperMini and ESP32-C5-DevKitC-1:

cargo install --locked --git https://github.com/microtun/microtun-boot.git \
  --tag "v0.2.1" microtun-boot-tools-esp

RP2350 Pico 2:

cargo install --locked --git https://github.com/microtun/microtun-boot.git \
  --tag "v0.2.1" microtun-boot-tools-rp

You only need to install the tool for the board you want to flash.

Flash the bootloaders

Download the attached .bin files. Choose dev or release to match the device's secure-boot key (key provisioning is irreversible).

ESP32-C3 SuperMini — Connect the board over USB-Serial-JTAG and set your serial port:

PROFILE=dev  # or release
export ESPPORT=/dev/ttyACM0   # change to your serial port
export MICROTUN_BOOT_OTP_BURN=YES
microtun-boot-tools-esp --board esp32c3-supermini flash-bootloader --signed-bin \
  "esp32c3-supermini-${PROFILE}-boot-chain.sbv2.bin"

The complete signed image (ESP-IDF second stage, partition table, and signed microtun boot) is verified and written at 0x0. It does not re-sign or rebuild anything.

ESP32-C5-DevKitC-1 — Each flash size has its own board and boot chain: esp32c5-devkitc-1-n4 (4 MiB, …-N4 modules), esp32c5-devkitc-1-n8 (8 MiB, e.g. …-N8R8) or esp32c5-devkitc-1-n16 (16 MiB, e.g. …-N16R8). Pick the one that matches the module's flash, connect the board through its ESP32-C5 USB connector (USB-Serial-JTAG, not the UART one) and set your serial port:

PROFILE=dev  # or release
BOARD=esp32c5-devkitc-1-n8   # or esp32c5-devkitc-1-n4 / esp32c5-devkitc-1-n16
export ESPPORT=/dev/ttyACM0   # change to your serial port
export MICROTUN_BOOT_OTP_BURN=YES
microtun-boot-tools-esp --board "$BOARD" flash-bootloader --signed-bin \
  "${BOARD}-${PROFILE}-boot-chain.sbv2.bin"

The complete signed image is verified (including its partition table and flash size against the board) and written at 0x2000, where the ESP32-C5 ROM loads the second stage. It does not re-sign or rebuild anything. Use the same board for every application you flash afterwards.

ESP32 chips in Secure Download Mode (a manually burned ENABLE_SECURITY_DOWNLOAD eFuse; neither profile sets it): flash through a USB-to-UART connection instead of USB-Serial-JTAG, and set ESPPORT to it explicitly (for example /dev/ttyUSB0). On the ESP32-C5-DevKitC-1 that is the board's USB-to-UART port. The ESP32-C3 SuperMini needs an external adapter on GPIO20/GPIO21. Over USB-Serial-JTAG, the RTC watchdog left armed by microtun boot can't be disabled in this mode and may reset the chip mid-write. See the board README's Secure Download Mode section.

RP2350 Pico 2 — Connect an SWD probe:

PROFILE=dev  # or release
export MICROTUN_BOOT_OTP_BURN=YES
microtun-boot-tools-rp flash-bootloader --signed-bin \
  "rp2350-pico2-${PROFILE}-microtun-boot.signed.bin"

The ROM-sealed binary is verified and downloaded at 0x10000000, then the board is reset, without generating a new signature. PROBE_RS_PROBE, PROBE_RS_SPEED_KHZ, and PROBE_RS_CHIP work as usual.

Full Changelog: v0.2.0...v0.2.1

v0.2.0

Choose a tag to compare

@github-actions github-actions released this 24 Nov 16:14

Prerequisites

Install Rust/Cargo and Git. Make sure Cargo-installed binaries are on your PATH (normally via ~/.cargo/bin). On Linux, installing the ESP tool also requires libudev-dev and pkg-config.

Install the flashing tool for your board directly from this release's tag; no repository checkout is needed. The commands in the published release notes already use the correct tag.

ESP32-C3 SuperMini and ESP32-C5-DevKitC-1:

cargo install --locked --git https://github.com/microtun/microtun-boot.git \
  --tag "v0.2.0" microtun-boot-tools-esp

RP2350 Pico 2:

cargo install --locked --git https://github.com/microtun/microtun-boot.git \
  --tag "v0.2.0" microtun-boot-tools-rp

You only need to install the tool for the board you want to flash.

Flash the bootloaders

Download the attached .bin files. Choose dev or release to match the device's secure-boot key (key provisioning is irreversible).

ESP32-C3 SuperMini — Connect the board over USB-Serial-JTAG and set your serial port:

PROFILE=dev  # or release
export ESPPORT=/dev/ttyACM0   # change to your serial port
export MICROTUN_BOOT_OTP_BURN=YES
microtun-boot-tools-esp --board esp32c3-supermini flash-bootloader --signed-bin \
  "esp32c3-supermini-${PROFILE}-boot-chain.sbv2.bin"

The complete signed image (ESP-IDF second stage, partition table, and signed microtun boot) is verified and written at 0x0. It does not re-sign or rebuild anything.

ESP32-C5-DevKitC-1 — Connect the board through its ESP32-C5 USB connector (USB-Serial-JTAG, not the UART one) and set your serial port:

PROFILE=dev  # or release
export ESPPORT=/dev/ttyACM0   # change to your serial port
export MICROTUN_BOOT_OTP_BURN=YES
microtun-boot-tools-esp --board esp32c5-devkitc-1 flash-bootloader --signed-bin \
  "esp32c5-devkitc-1-${PROFILE}-boot-chain.sbv2.bin"

The complete signed image is verified and written at 0x2000, where the ESP32-C5 ROM loads the second stage. It does not re-sign or rebuild anything.

ESP32 chips in Secure Download Mode (a manually burned ENABLE_SECURITY_DOWNLOAD eFuse; neither profile sets it): flash through a USB-to-UART connection instead of USB-Serial-JTAG, and set ESPPORT to it explicitly (for example /dev/ttyUSB0). On the ESP32-C5-DevKitC-1 that is the board's USB-to-UART port. The ESP32-C3 SuperMini needs an external adapter on GPIO20/GPIO21. Over USB-Serial-JTAG, the RTC watchdog left armed by microtun boot can't be disabled in this mode and may reset the chip mid-write. See the board README's Secure Download Mode section.

RP2350 Pico 2 — Connect an SWD probe:

PROFILE=dev  # or release
export MICROTUN_BOOT_OTP_BURN=YES
microtun-boot-tools-rp flash-bootloader --signed-bin \
  "rp2350-pico2-${PROFILE}-microtun-boot.signed.bin"

The ROM-sealed binary is verified and downloaded at 0x10000000, then the board is reset, without generating a new signature. PROBE_RS_PROBE, PROBE_RS_SPEED_KHZ, and PROBE_RS_CHIP work as usual.

Full Changelog: v0.1.0...v0.2.0

v0.1.0

Choose a tag to compare

@github-actions github-actions released this 23 Nov 15:44

Prerequisites

Install Rust/Cargo and Git. Make sure Cargo-installed binaries are on your PATH (normally via ~/.cargo/bin). On Linux, installing the ESP tool also requires libudev-dev and pkg-config.

Install the flashing tool for your board directly from this release's tag; no repository checkout is needed. The commands in the published release notes already use the correct tag.

ESP32-C3 SuperMini:

cargo install --locked --git https://github.com/microtun/microtun-boot.git \
  --tag "v0.1.0" microtun-boot-tools-esp

RP2350 Pico 2:

cargo install --locked --git https://github.com/microtun/microtun-boot.git \
  --tag "v0.1.0" microtun-boot-tools-rp

You only need to install the tool for the board you want to flash.

Flash the bootloaders

Download the attached .bin files. Choose dev or release to match the device's secure-boot key (key provisioning is irreversible).

ESP32-C3 SuperMini — Connect the board over USB-Serial-JTAG and set your serial port:

PROFILE=dev  # or release
export ESPPORT=/dev/ttyACM0   # change to your serial port
export MICROTUN_BOOT_OTP_BURN=YES
microtun-boot-tools-esp flash-bootloader --signed-bin \
  "esp32c3-supermini-${PROFILE}-boot-chain.sbv2.bin"

The complete signed image (ESP-IDF second stage, partition table, and signed microtun boot) is verified and written at 0x0. It does not re-sign or rebuild anything.

RP2350 Pico 2 — Connect an SWD probe:

PROFILE=dev  # or release
export MICROTUN_BOOT_OTP_BURN=YES
microtun-boot-tools-rp flash-bootloader --signed-bin \
  "rp2350-pico2-${PROFILE}-microtun-boot.signed.bin"

The ROM-sealed binary is verified and downloaded at 0x10000000, then the board is reset, without generating a new signature. PROBE_RS_PROBE, PROBE_RS_SPEED_KHZ, and PROBE_RS_CHIP work as usual.

Full Changelog: https://github.com/microtun/microtun-boot/commits/v0.1.0