Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 4 additions & 14 deletions docs/firmware/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,21 +17,11 @@
</a>
</p>

Pre-releases and builds for development boards are hidden until **Show dev** is ticked.
Pre-releases and builds for development boards are hidden until **Show dev** is ticked. How builds are made and released is in the [README](https://github.com/MajorDom-Systems/firmware#releases).

## Boards and packages

- A **board** is a piece of hardware: a MajorDom PCB or a supported stick. Its manifest says how to recognise it (USB ids and product names) and lists its **slots**, the radios on it, each with how the host reaches it (serial device, flow control, reset) and the firmware it can run.
- A **package** is one firmware build for one chip. It never names a board; slots list packages. Each package says which **protocol** it speaks, in the SDK's vocabulary, so the SDK can pick the driver:

| Protocol | Firmware |
|---|---|
| `ezsp` | Zigbee NCP (EmberZNet) |
| `spinel` | Thread RCP (OpenThread) |
| `silabs-cpc` | Multiprotocol RCP: Zigbee and Thread on one radio |
| `zwave-serial-api` | Z-Wave controller (Serial API) |

Package names read `<chip>-<app>[-<what makes it unique>]`, for example `mg26-multipan-pa04-pa05`. Third-party builds that are only mirrored (pointing at their upstream URL, never re-hosted) keep their upstream name, for example `skyconnect-zigbee`.
A **board** is a piece of hardware (a MajorDom PCB or a supported stick) with one or more radio **slots**. A **package** is one firmware build for one chip, and each slot lists the packages it can run. Every package declares the **protocol** it speaks (`ezsp`, `spinel`, `silabs-cpc`, `zwave-serial-api`), so the SDK can pick the driver. The repository README describes the [layout](https://github.com/MajorDom-Systems/firmware#layout), [package naming](https://github.com/MajorDom-Systems/firmware#package-naming) and [board naming](https://github.com/MajorDom-Systems/firmware#board-naming).

## The channel

Expand All @@ -53,7 +43,7 @@ minisign -V -P RWTsJmUaNF5r45iUoM5IH5iytacQ0dF7Je13wg8L8dOdRuU8znTbNW7d -m stabl

The radios become peripherals: an integration asks for a capability such as `zigbee/ezsp`, and the Hub hands over whichever stick or soldered radio runs firmware speaking that protocol. See [Peripherals](../integrations/peripherals.md#radios).

The integration SDK bundles a copy of the channel as an offline fallback and, on start, replaces it with the live channel when its signatures verify. With it the SDK recognises a plugged-in stick, picks its driver by protocol, and knows which firmware it can be flashed with. On a MajorDom Hub, the radios wired on the board are described by `/etc/majordom/board.json`, generated from the board's manifest and published per board at `v1/<board>/board.json`.
The integration SDK bundles a copy of the channel as an offline fallback and, on start, replaces it with the live channel when its signatures verify. With it the SDK recognises a plugged-in stick, picks its driver by protocol, and knows which firmware it can be flashed with. On a MajorDom Hub, the radios wired on the board are described by `/etc/majordom/board.json`, which is generated from the board's manifest (see the [README](https://github.com/MajorDom-Systems/firmware#layout)).

## Flashing by hand

Expand All @@ -67,4 +57,4 @@ Check the sha256 against the channel entry before flashing. Z-Wave controllers a

## Licensing

Silicon Labs firmware is under the Silicon Labs MSLA. The compiled binaries are published for MajorDom and eligible hardware; the Simplicity SDK, its tools and the build image are never redistributed. See the repository's [`NOTICE`](https://github.com/MajorDom-Systems/firmware/blob/develop/NOTICE).
Silicon Labs firmware is under the Silicon Labs MSLA, and its SDK and tools are never redistributed. See [Silicon Labs licensing](https://github.com/MajorDom-Systems/firmware#silicon-labs-licensing) in the README.