39 lines
1.5 KiB
Markdown
39 lines
1.5 KiB
Markdown
# alkane-toolkit
|
|
|
|
Cross-platform desktop toolkit (Rust core, native GUI) to install **stock** or
|
|
**alkaneOS** firmware on ASIC miner control boards, whatever they currently run
|
|
(stock, Vnish/AnthillOS, Braiins OS+, LuxOS, ePIC, BixBit, WardenOS).
|
|
|
|
Sibling to [alkane-sdk](https://gitea.bluefla.re/blueflare/alkane-sdk): the SDK
|
|
owns board knowledge and build outputs; this toolkit is the orchestration
|
|
engine and operator UI that executes its install recipes safely.
|
|
|
|
## Status
|
|
|
|
M1 primary view ships: discovery (vendored asic-rs 0.8.1) + the UI-SPEC
|
|
table (6 KPIs, sortable/drag-reorderable columns, row checkboxes, scan-range
|
|
editor, Excel-style filter, columns panel). Pure-Rust GUI on wxWidgets via
|
|
vendored + patched wx-rs (docs/adr/0002, 0003).
|
|
|
|
## Build + run (Debian)
|
|
|
|
```sh
|
|
scripts/build-wx-linux.sh # once: builds vendored wx 3.3.3 to ~/.cache
|
|
scripts/build-gui-linux.sh # cargo build --release -p alkane-gui
|
|
~/.cache/alkane-tk-target/release/alkane-toolkit
|
|
```
|
|
|
|
Windows/macOS: `scripts/build-gui-windows.sh` (needs a Windows/msys2
|
|
toolchain) and `scripts/build-gui-macos.sh` (needs a Mac) - the GUI code is
|
|
shared; only the C++ bridge + wx differ per platform.
|
|
|
|
See `docs/IMPLEMENTATION-PLAN.md` for the roadmap.
|
|
|
|
## Hard rules (from alkane-sdk `docs/install-methods.md`, encoded in code)
|
|
|
|
1. Never write the bootloader/secure region.
|
|
2. Verify on a channel the installer does not control.
|
|
3. Reboot is root-only; a dropped SSH connection can be success.
|
|
4. A packer is per board; never reuse across boards.
|
|
5. Boot-switch handling is an explicit, verified step.
|