Skip to content

Menu

Operating system

A system that never changes while it runs

XorOS is an embedded Linux for kiosks and appliances. It updates without risk and can always be repaired on the spot.

System slots
A/B
Compressed system image
Read-only
System on its own partition
Rescue
And disk encryption
Secure Boot

Principles

Three ideas behind every device

  1. 01

    The system never changes while it runs

    The system is a compressed, read-only image. Settings and data live on their own partitions, so a crash, a power cut or a misbehaving app cannot damage it.

  2. 02

    There is always a way back

    Two slots hold two complete systems. Updates go to the inactive one, and the device returns to the working one if the new system does not start.

  3. 03

    There is always a way in

    A third, independent rescue system can check, update, back up, restore and reset the device on site.

Updates

How an update reaches a device

XorOS updates the whole system at once. There are no package-by-package updates and no half-updated systems.
  1. 01

    Look for a newer version

    The device asks the update server for a newer build of its own flavor, from the normal system or the rescue system.

  2. 02

    Download into the inactive slot

    The new system is written to the slot that is not running, while the current system carries on. An interrupted download resumes where it stopped.

  3. 03

    Verify every byte

    Each chunk is checked with its SHA-256 checksum as it arrives, and the whole image is read back and checked once more. Updates can also be signed.

  4. 04

    Switch on the next start

    Only then is the new slot marked ready and preferred. A start counts as successful once the system is up and its health checks have passed.

  5. 05

    Fall back on its own

    If the new system fails to start too often, the device returns to the previous slot. If both slots fail, the rescue system starts and shows why.

Rescue system

Repair it on site, without a laptop

The rescue shell runs from its own read-only partition, independent of both system slots. It starts on its own when neither slot starts, and works with a keyboard on any screen.
Read about the rescue shell
Status
Why the rescue system started, both slots, its own integrity, partitions, network and clock.
Boot
Reset the try counters, choose the next start, set the slot order or disable a slot.
Update
Install a system from the network or a USB stick, into slot A, slot B or both.
Backup and reset
Export and import backups on a USB stick, and reset the device, after an extra confirmation.
Network
Connect over Ethernet or Wi-Fi, set DNS and the clock, and test the network and its speed step by step.
Tests and diagnostics
Hardware and storage tests, and a diagnostics bundle saved to a USB stick.
Remote support
Support over SSH, with keys added on site.
Protected access
With an administrator password set, the rescue shell shows read-only screens until the password is entered.

On the device

Everything a kiosk needs, nothing it does not

Full-screen kiosk
A web browser on the Weston compositor shows the device’s app. It runs as an unprivileged user and cannot be left from the screen.
Container runtime
Your app runs as a container, with its data on the application partition.
Networking
Ethernet with DHCP out of the box, Wi-Fi set up from the phone, and local names over mDNS.
Symbiote agent
Onboards the device with XorOS Link and runs the app its owner deployed.
Screens and touch
HDMI on all hardware, plus the official 7-inch display and 3.5-inch touch displays on Raspberry Pi. Rotation in steps of 90 degrees.

Hardware

Runs on hardware you can buy

Every device uses the same partition layout and the same slot logic, on every platform.
PlatformHardwareNotes
Raspberry Pi 464-bit ArmWi-Fi and Bluetooth on board. HDMI, the official 7-inch DSI display and 3.5-inch SPI touch displays.
PCs with UEFI64-bit x86Starts from a USB drive or internal storage. Wi-Fi and Bluetooth depend on the hardware.
Virtual machineQEMUFor development and automated tests.
Requirements8 GB drive or largerBluetooth Low Energy for onboarding, and Wi-Fi or Ethernet for the backend. A display is optional.

See how the system is put together

Partitions, boot chain, build flavors and every rescue shell menu are in the documentation.