Skip to content

Support for Raspberry Pi Connect library - #362

Draft
will-v-pi wants to merge 12 commits into
developfrom
rpi-connect-preview
Draft

will-v-pi wants to merge 12 commits into
developfrom
rpi-connect-preview

Conversation

@will-v-pi

@will-v-pi will-v-pi commented Sep 22, 2026 •

Copy link
Copy Markdown
Contributor

Adds support for picotool otp load -s 0xc0 device-priv-key.pem, to write the private key into OTP

Also adds picotool tbyb to set/clear the TBYB bit in a sealed binary

Also adds picotool provision connect which runs an SRAM binary on a device to perform rpi-connect provisioning steps (e.g. device identity registration, auth key usage, or signin), provided the device already has an rpi-connect partition table with FFS and WiFi firmware

Writes the private key into OTP, e.g. for rpi-connect-ota
Default to setting other blocks ignored when sealing, otherwise a block without a hash at the start of the binary would be chosen over the sealing block with a hash, if the hash was incorrect

TBYB command can be used to set/clear the TBYB bit, to avoid the need for compiling a separate binary with PICO_CRT0_IMAGE_TYPE_TBYB=1
For example, when saving the entire flash contents, or combined UF2s
Runs SRAM binary on device to perform provisioning operations (register device identity, exchange auth key for token, set wifi credentials)
Allows setting defaults from a board header

Also speed up binh.cmake, and strip provisioning ELF
@lurch lurch changed the title Support for Rasperry Pi Connect library Support for Raspberry Pi Connect library Sep 30, 2026
Runs for --create-identity if there is no existing key in OTP
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant