• v0.1.52 ddff5903ae

    WarpAxe v0.1.52
    All checks were successful
    CI / Rust checks (push) Successful in 2m5s
    CI / Regulator scenarios (push) Successful in 1m1s
    Stable

    dvb-projekt released this 2026-12-02 13:43:19 +00:00 | 0 commits to main since this release

    A fix for a rare crash at boot. Once in a while a miner could crash right after it started, just as it opened its pool connection. It then restarted, sometimes back into the previous firmware. v0.1.52 removes the cause. Otherwise it mines exactly like v0.1.51.

    What is fixed.

    • Rare crash when the pool connection starts. Every function keeps its working data on the stack, a scratch area in memory. When a function needs that data aligned to 64 bytes, the compiler for the miner's chip (Xtensa) moves the stack at the function's start in a way that is unsafe for a brief moment. If an interrupt arrives in exactly that moment, the stack gets overwritten and the miner crashes (a "double exception"). Two such functions were the main functions of the pool connection: the message channel they used, from Rust's standard library, asks for 64-byte alignment. We saw the crash twice on our test fleet: on 19 November (v0.1.47), and on 2 December during the v0.1.51 soak test, when the miner rolled back to the previous firmware by itself. The pool connection now uses its own simple queue, which needs no such alignment, so these functions no longer move the stack this way. Tested for more than 12 hours on a NerdQAxe++ and a Bitaxe Gamma, with no crash.

    Installer.

    • The status line now says seven more boards have a profile (it said six), in all eight languages.

    For developers.

    • New crates/stratum/src/queue.rs: a Mutex + Condvar queue replaces std::sync::mpsc in the stratum task, with five host tests.
    • New tools/check-stack-realign.py: the release script now fails if any Rust function in the image moves its stack pointer in the prologue without movsp. It flags both functions in v0.1.47 and v0.1.51, and none in v0.1.52.
    • The release script now rebuilds the ESP-IDF part every time, so the image's app descriptor names the released commit. In v0.1.51 it still named an older build (cosmetic only).
    • README: checked against this release. It now covers the BM1373 chip bits, the fallback probe's longer wait, the main pool held after a refused certificate, the share difficulty check, static IPv4 and the new API and event names. The comparison with the stock firmware is as of 2 December (ForgeOS v1.8.1; no row changes).

    Image. warpaxe.bin is 2,966,240 bytes, 23,136 bytes less than v0.1.51; 113,952 bytes stay free below the import window.

    One image for every supported board: warpaxe.bin, warpaxe.bin.sha256, warpaxe.bin.sig; for the first install warpaxe-factory.bin and web-flasher.tar.gz (checksums in install.sha256).

    Source: git.warppool.org/dvb-projekt/dvb-WarpAxe · Mirror: github.com/dvb-projekt/dvb-WarpAxe

    Downloads