noahandClaude Opus 4.8 34a1a1f3b1 tuning: structured power + hashrate target dialogs (Round C)
Round 17 C, first GUI increment. Adds "Set power target..." and "Set hashrate
target..." to the right-click config menu, each a value prompt that shows the
miner's current target and the firmware-advertised valid range, and validates the
entry against it.

- Power target routes through the existing set_power_limit path (LuxOS/Braiins/
  WhatsMiner; VNish stays masked per operator guidance). Where the firmware
  advertises an envelope (Braiins: 944-6435 W) the prompt shows and enforces it.
- Hashrate target routes through set_tuning_config for firmware that tunes by
  hashrate (ePIC). The apply path preserves the firmware's current tuning
  algorithm and scaling config (ePIC's set_tuning_config requires both), reading
  them back before writing the new target.

Model gains: MinerRow.tuning_target_label + power/hashrate target min/max
(from data.tuning_capabilities), and MinerCaps.hashrate_target (set when the miner
actively tunes by hashrate via set_tuning_config). miner_probe's settune verb now
mirrors the same algorithm+scaling-preserving apply path.

Verified live (reversibly, restored after): ePIC S19j Pro (10.4.1.6) hashrate
94->92->94 TH via set_tuning_config Ok(true); LuxOS/Braiins power targets via
set_power_limit (see the luxminer profile-name fix). Model tests + SELFTEST pass.

Presets (G3) and per-board manual V/F (G7) are deferred: no firmware enumerates
its presets through the standard tuning_capabilities API.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Djv3oncM4LxTS5tb61Ako6
2026-09-22 11:33:43 -06:00

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: 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)

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.
S
Description
Rust + wxWidgets cross-platform toolkit: install stock or alkaneOS on any ASIC miner
Readme MIT
92 MiB
v0.115.0
Latest
2026-11-17 00:03:11 -07:00
Languages
Rust 87.8%
Python 8.5%
Shell 3.5%
Dockerfile 0.2%