fix(gui): offer alkane install for the stock A113D (AML C76) board #55
Open
noah
wants to merge 1 commits from
fix/a113d-install-menu into main
pull from: fix/a113d-install-menu
merge into: :main
:main
:feat/zynq-stage2-install
:feat/zynq-ecc-safe-restore
:feat/installation-media
:fix/a113d-install-menu
:ci-badges
:feat/a113d-headless-bench
:feat/readable-stock-install-a113d
:ci/runners-to-alkane-ci
:fix/gui-install-and-scan-1113
:gh-pages
:dsh/zynq-stock-backup-restore
:next
:feature/alkane-scan
:feature/afw-os-bundle
:macos-release
1
Commits
| Author | SHA1 | Message | Date | |
|---|---|---|---|---|
|
|
d574118314 |
fix(gui): offer alkane install for the stock A113D (AML C76) board
The right-click "Install alkane OS..." item never appeared for a stock
Amlogic A113D (Antminer BHB42XXX). board_family(), which gates the menu
via install_supported(), recognized only the Xilinx/Zynq S17 control
board, so it returned None for the A113D and the menu offered nothing.
Two things combined to hide it, both visible in a live scan of the bench
board at 10.255.1.18:
brand=Unknown model="Unknown: ANTMINER BHB42XXX" board=AML (C76)
asic-rs has no make for the BHB42XXX, so the brand is "Unknown" and
board_family() bailed at the `!brand.contains("antminer")` guard before
any board-code check; and there was no AML -> a113d mapping anyway. Yet
SUPPORTED_BOARDS, the from-stock install engine (stock::install_from_stock
dispatches a113d -> aml_ubi) and the CLI's SUPPORTED list all already
support a113d -- only this detection gate was stale.
Map the "AML (C76)" control board (the a113d identity; board_labels
already maps a113d -> ("AML","C76")) directly to "a113d", ahead of the
brand guard, since this board legitimately reports no brand. The "AML"
code is only ever derived for an Amlogic Antminer control board, so it is
specific on its own. CBE (140mm S19k/S21-class) is deliberately not
mapped.
Verified against the bench A113D: live scan now reports install=true, and
a headless stock->alkane->stock cycle through the GUI operation layer
(ALKANE_BENCH_SEQUENCE) on the released v0.1.0-a113d-bench1 image passes
(install -> dropbear_2026.93 -> flag-restore -> dropbear_2018.76).
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B1W6qKwKxq3oUPDKWicM6i
|