Install BoatKit on Raspberry Pi with IoTKit
Prepare a managed BoatKit SD card on your Mac, Windows or Linux computer. Your BoatKit account supplies a private provisioning JSON, and the iotk tool downloads the operating system and BoatKit application before writing the card. You do not need an IoTKit team account.
This replaces the operating system on the selected SD card. To keep an existing Linux installation under your control, use Install BoatKit with Podman.
Before you start
- A BoatKit account with access to Downloads.
- A Raspberry Pi model listed on the installation page, a suitable microSD card and reader, and stable power for the Pi. The CLI checks the selected card's capacity.
- A Mac, Windows or Linux computer with administrator permission to write removable storage.
- Internet access for the image downloads and initial device registration.
The installation page lists compatible published SD images. Pi 3 B+ remains a testing target. An available image does not establish physical qualification of every board, accessory, USB recovery or display combination. See Build a BoatKit device for hardware selection and assembly.
Download your setup
- Open Downloads in your BoatKit account.
- Find BoatKit SD installation with IoTKit and choose Download provisioning JSON.
- On Install BoatKit on Raspberry Pi, choose your Pi model.
- Select only the listed accessories installed on this Pi. These choices are fixed in this setup; a later application update does not change the host's accessory configuration.
- Choose Download provisioning JSON and keep
boatkit-provisioning.jsonprivate.
Both deadlines start when the setup is issued:
| Authority | Deadline | What it permits |
|---|---|---|
| Image downloads | 24 hours | Download the operating system and selected BoatKit preload. |
| First enrollment | 7 days | Admit one Pi identity to the managed device service. |
Downloading or preparing the card does not consume the enrollment allowance. Copying a downloaded file remains possible; the one-device allowance limits enrollment rather than providing copy protection.
Install iotk
Follow Install iotk in the IoTKit documentation before preparing your card. It covers Homebrew, public downloads for macOS, Linux and Windows, extracting the executable, and checking it with --version.
Install it on the computer that will write the SD card. Choose that computer's operating system and processor, rather than the target Pi. You do not need an IoTKit account for the downloads or this delegated setup. If you use an extracted archive, keep the provisioning JSON beside the executable; you can run it there without changing PATH.
Prepare the card
Open Terminal on Mac or Linux, or PowerShell on Windows, in the folder containing boatkit-provisioning.json. If you downloaded an iotk archive, use the extracted folder containing both the executable and the JSON.
Use the command matching your installation.
Homebrew or another installation on PATH:
iotk provision --setup boatkit-provisioning.json
Mac or Linux archive:
./iotk provision --setup boatkit-provisioning.json
Windows archive, in PowerShell:
.\iotk.exe provision --setup boatkit-provisioning.json
If the JSON is in another folder, replace boatkit-provisioning.json with its full path in quotation marks.
Follow the prompts to choose the exact SD card and review the erase confirmation. The CLI downloads and verifies the signed operating system and the complete BoatKit preload. It then writes the card, reads back the written bytes in full, and releases the card for removal. Wait for that completion message before removing it.
You can choose to save a prepared image plan instead of writing immediately. The plan is tied to the chosen storage capacity. Keep the prepared image and its receipt private, and use iotk to write it later.
Do not run iotk login for this setup. The JSON supplies authority for this installation without giving access to IoTKit team administration.
Start the Pi
- Insert the verified card into the selected Pi and apply power.
- Connect Ethernet where available, or use the existing BoatKit Setup Wi-Fi flow from a BoatKit app.
- Let the Pi reach the internet within seven days of setup creation so it can complete its first IoTKit enrollment.
- Complete ordinary BoatKit vessel registration and first-run setup.
IoTKit device enrollment and BoatKit vessel registration are separate. A prepared preload lets the local BoatKit setup start before enrollment, but full vessel operation requires initial BoatKit registration and clock verification. After registration, onboard capabilities remain available without the internet.
The preload contains the exact release selected when the setup was created. After enrollment, the device follows the assigned BoatKit update train.
Confirm it is working
The workstation must report complete write verification and safe removal. That confirms the card's written bytes, rather than a successful Pi boot.
On the Pi, finish BoatKit Setup, register the vessel, and confirm that you can open it from a BoatKit app or local Viewer. A Setup issued receipt on the download page records issuance only; it does not confirm enrollment, application health or vessel registration.
Interrupted or expired setups
If preparation fails, iotk retains its local setup and prints a resume command. Use that command to retry the same preparation while its download access remains valid. The device allowance is consumed only by successful enrollment.
If download access has expired, create a fresh setup on the download page. Files already fully prepared can still be written without new downloads, but the Pi must meet its separate enrollment deadline. If first enrollment has expired, create and prepare a fresh setup.
An interrupted setup-issuance request is shown as completion unknown. Create a new setup rather than resubmitting that uncertain issuing request.
If your Pi or accessory is absent from the selector, no compatible choice is currently available through this flow. Do not substitute another model's image or accessory configuration.
If BoatKit Setup waits for clock verification or registration, check the Pi's internet connection and time status. These checks apply to initial setup; an already registered vessel retains its offline operation.
Revoke an unused setup
Under Recent installation setups, choose Revoke setup to deny future downloads and unused enrollment. Previously issued artifact download grants also require current setup authority on each request; an already-started transfer may finish.
Revocation does not erase downloaded JSON or images, undo a card write, stop or delete an enrolled device, or revoke ordinary BoatKit vessel access. The separate download and enrollment deadlines likewise do not stop an enrolled vessel.