Skip to content

Install Castmill OS ​

Castmill OS ships as a ready-to-flash disk image for each kind of hardware. You write it to the device's disk (or an SD card or USB stick), optionally add a castmill.conf for Wi-Fi, and power on.

Pick your hardware ​

Downloads ​

Every version is published on the GitHub releases page:

FileWhat it is
castmill-os-image-raspberrypi5.rootfs.wic.zstRaspberry Pi 5 / CM5 disk image
castmill-os-installer-genericx86-64.img.xzIntel / x86-64 installer stick: write it to a USB stick and boot the PC from it
castmill-os-image-genericx86-64.rootfs.wic.zstIntel / x86-64 disk image, for writing a disk directly
castmill-os-image-genericarm64.rootfs.wic.zstarm64 development VM image (SSH, root login)
*.wic.bmapBlock map, so bmaptool writes only the used blocks
castmill-os-bundle-<machine>.raucbSigned update bundle for devices already running Castmill OS
*.spdx.jsonSoftware bill of materials
SHA256SUMSChecksums of every file

The latest development build of main is also available as GitHub Actions artifacts (image-rpi5, image-x86-64, image-vm-arm64); the x86-64 artifact includes the installer.

Test releases

Releases are currently signed with development keys and are meant for testing. Don't install them on screens in production yet.

Check the download ​

sh
gh release download v0.1.0 -R castmill/castmill-os -p '*raspberrypi5*' -p SHA256SUMS
sha256sum --ignore-missing -c SHA256SUMS      # macOS: shasum -a 256 --ignore-missing -c SHA256SUMS

Flashing tools ​

Use whichever you have. All of them erase the target disk, so check the disk name twice.

sh
lsblk                                            # find the disk, e.g. /dev/sdb
sudo bmaptool copy castmill-os-image-<machine>.rootfs.wic.zst /dev/sdX
sh
diskutil list                                    # find the disk, e.g. /dev/disk4
diskutil unmountDisk /dev/diskN
zstd -dc castmill-os-image-<machine>.rootfs.wic.zst | sudo dd of=/dev/rdiskN bs=4m
diskutil eject /dev/diskN
text
Raspberry Pi Imager → Choose OS → Use custom → pick the image
(decompress it first with zstd -d if Imager doesn't accept .zst)
→ Choose storage → Write

bmaptool is the fastest because it skips empty blocks; it reads the .bmap file next to the image automatically.

After flashing ​

  1. Wi-Fi or a proxy? Copy a castmill.conf to the boot partition. Ethernet with DHCP needs no configuration.
  2. Boot the device. The first boot grows the data partition to fill the disk.
  3. Pair it. Each screen shows a pincode; claim it in the Castmill dashboard. See Pair with Castmill.

Documentation licensed under CC BY 4.0. Code under MIT and Apache-2.0.