Repository navigation
Releases
Mujina v5.2.0
Mujina v5.2.0
-
NerdQX Standalone Embedded Firmware (
mujina-esp32): ESP32-S3R8 + 4x BM1370 standalone firmware, SoftAP onboarding, 6-screen 320x170 LCD HUD, and 4-tier PSU presets up to 240 W. -
Hardware Buzzer & Sound Themes Engine (Nano 3S): Non-blocking K230 PWM piezo buzzer engine with 11 built-in melodies, REST API (
/api/v0/sound), and interactive Sounds modal indashboard.html. -
Circular IxTech Animated Logo Screen (
ixlogo): 240x240 15 FPS 10-second seamless loop with subtle electric violet-cyan rim ($R=117$ ), strictly bounded inside the circular bezel ($R \le 108.2\text{ px}$ ). -
UBIFS Flash Protection (
/tmp/fb_page): Migrated ephemeral display page state from flash to RAM tmpfs, preventing UBIFSENOSPClockups. - Instant Button Responsiveness: Key-down page toggle with 150ms debounce, 25ms display polling, and boot-time frame pre-decompression.
- Firmware Page Branding: Added Ix Tech maintenance notice, GitHub issues link, official Ix Tech logo, and Shopify UTM tracking.
nano-mujina v5.1.0
Release Notes: Mujina v5.1.0
Release: v5.1.0
Target Hardware: Canaan Avalon Nano 3S (12x A3197S ASICs, Kendryte K230 RV64GC SoC)
Git Branch / Commit: IxTechCrypto/mujina:nano3s/v6 @ c17b8cc
Date: November 17, 2026
Highlights
Mujina v5.1.0 delivers major stability, resilience, and UI upgrades for the Canaan Avalon Nano 3S:
- Core 1 Freeze Recovery & Stall Resilience: Eliminates silent warmup lockups. Core 0 monitors Core 1 status telemetry age; if Core 1 falls silent (>60s) or stalls, Core 0 immediately boosts fan to 100% and triggers rate-limited recovery reboot (
request_recovery_reboot) after 5 minutes with flash-wear backoff protection. - Smooth Thermal Fan Ramp: Proactive rising-temperature fan pre-ramping (
dt > 0.25°C/tickwithin 6°C of target) with softened cooldown damping andSetFanMinPercentboost acrosscap .. cap + 3°C, preventing fan slam and acoustic oscillation. - Persistent Target Tuning & Auto-Recovery: Retains target setpoint (
power:<W>/hashrate:<TH/s>) across reboots with atomicfsyncpersistence intuning.conf. Recovers smoothly from last convergedSearchMemorysetpoint without re-searching. - Direction A Theme-Synced Circular LCD UI: Direct framebuffer rotation synced live with web dashboard themes (
Cyberpunk,Minimal,Parasite). Features 25 FPS animated perimeter rings and smooth radial gauges on the 240×240 round screen. - Modern Animated BLE Setup UI: Replaces legacy LVGL screen with a crisp 20 FPS anti-aliased Bluetooth radio wave animation during onboarding.
Detailed Changes
1. Core 1 Freeze Recovery & Stall Escalation (nano3s.rs, nano3s_tuner_core.rs, nano3s_ipc_shim)
- Status Age Monitoring: Tracks Core 1 telemetry freshness via
nano3s_ipc_status_age_ms. Skips AutoTune iterations and holds fan at 100% when Core 1 telemetry is stale (>60s) or missing (>180s). - Rate-Limited Recovery Reboot: Escalates to
request_recovery_reboot("core1_stale_status")after 5 minutes of silence, gated by a 1-hour flash-wear suppression timer (/data/userdata/nano/last_recovery_reboot). - Deadlock Resolution for Stuck Chains: Detects stuck paused chains, retries
resume_from_idle()at tick 8 (~2 min), and escalates to recovery reboot at tick 20 (~5 min). - StallStage::GaveUp Escalation: Triggers
TuneAction::RebootRecoveryafter 40 consecutive stalled ticks following 2 failed chain re-inits. - Fan State Restoration: Invalidates AutoTune fan cache upon recovery from a stale episode to immediately restore normal PI thermal duty or manual duty.
2. Auto-Tuner & Thermal Envelope (mujina-miner/src/board/)
- Persistent Targets: Saves active target mode (
power:<W>/hashrate:<TH/s>) and warm bootSearchMemorysetpoint to/data/userconfig/tuning.confvia atomic rename. - Dynamic Safety Trip Scaling: Scales instantaneous PSU safety trip (
min(caps.power_w * 1.03, power_safety_w)) and applies window-mean over-cap backoff, eliminating premature throttling during cold warmup spikes while preserving safety envelopes onBalancedandQuiet. - Per-Chip Offset Reset: Resets all 12 chip frequency offsets to zero with IPC retry when switching profiles or targets; disables per-chip tuning by default on profile switch.
- Brown-Out Resilience: Allows stalled chain telemetry (
0 GH/s, valid power,temp_max = 0.0°C) to emit metrics so AutoTuner properly advancesAVG x/20, reverts to best known frequency, and triggersReinitChain. - Smooth Fan Ramping: Proactive fan pre-ramping on rising temperature (
dt > 0.25°C/tickwithin 6°C of target), softened cooldown damping (-3%/tickmax within 4.5°C of target), and proportional boost acrosscap .. cap + 3°Cprevents acoustic slamming. - Companion Binaries Auto-Sync: Auto-provisions embedded
rtos_core.elf(2e88ff5f...) and display scripts during boot/OTA with one-time automatic reboot when Core 1 firmware updates.
3. Manual Fan Arbitration & Safety Protection
- Pauses AutoTune thermal fan loop when manual fan mode is commanded via
PATCH /api/v0/boards/{name}/fan. - Hardens thermal breach protection: temperatures exceeding
capimmediately override manual fan settings with 100% emergency cooling (hold_full) until cooled 5°C below cap, cleanly restoring the user's manual duty.
4. Direction A Theme-Synced LCD & Bluetooth UI
- Live Display API: Added
GET/PATCH /api/v0/displaysynced live with web dashboard theme selector (cyberpunk,minimal,parasite). - Framebuffer Optimization: Single-pass
O(ring_lut_len)LUT traversal and early radial bounds rejection cuts 25 FPS display CPU load in half on the K230. - Theme-Synced WiFi/BLE Setup: Replaces legacy LVGL WiFi screen with 20 FPS anti-aliased animated Bluetooth radio symbol. Fixes display page respawn loop so provisioned miners show live telemetry immediately upon boot.
Release Artifacts & SHA256 Checksums
e2d74a4eee0f79f6ea2cc0a2ea3d386b5a3ab92b62e783e773162440fcb54bd6 nano-mujina-v5.1.0-bundle.bin (21,387,784 bytes)
57983d3a3e9c833f64dc6340448ba6f5b59e7de67020f4b4a3b4d2d57558c1c5 nano-mujina-v5.1.0-release.kdimg (129,232,128 bytes)
eff96369cfe6c9ec185906a97dd972f05541c606a0e0b48e2c2625b1e15b0049 mujina-minerd (21,387,768 bytes)
e8fecf0f30c3de67315a781e670541810894453c4bcf050e4c9d55b827507413 nano3s_ui (2,752,904 bytes)
d61b0513f0a0fe40f36a98a9e5843ea1654315553dd3c8b96f47031fdd41a1df fb_button (822,128 bytes)
45d2b996258eb54a046c96edf25921783f0ef8ed79538ef0791c14d36110c2ab v5.1.0_app_release.img (12,582,912 bytes)
96d7275dbb378742b175d7e01a0046b3e9ce6e61618e8e9ce8641c6b66c4794a v5.1.0_data_release.img (58,720,256 bytes)
Upgrade Instructions
Method 1: Web Dashboard One-Click OTA (Recommended)
- Navigate to your miner's web dashboard at
http://<MINER_IP>/. - Go to Firmware / Maintenance
$\rightarrow$ Update Firmware. - Select
nano-mujina-v5.1.0-bundle.binand upload. The miner will validate, swap the binary, and reboot automatically.
Or via CLI:
curl -X POST --data-binary @nano-mujina-v5.1.0-bundle.bin \
-H "Content-Type: application/octet-stream" \
http://<MINER_IP>/api/v0/firmware/bundleMethod 2: Full USB Flash (Kendryte K230 Burn Tool)
- Write
nano-mujina-v5.1.0-release.kdimgto a USB flash drive using PhoenixCard or the K230 Burn Tool. - Insert into the Avalon Nano 3S and power cycle to flash factory firmware.
nano-mujina v5.0.8
Release Notes: Mujina v5.0.8
Release: v5.0.8
Target Hardware: Canaan Avalon Nano 3S (12x A3197S ASICs, Kendryte K230 RV64GC SoC)
Git Branch / Commit: IxTechCrypto/mujina:nano3s/v6 @ 0fcd5fd
Date: November 14, 2026
Highlights
Mujina v5.0.8 delivers major performance, thermal, and visual improvements for the Canaan Avalon Nano 3S:
-
$90.0^\circ\text{C}$ Silicon Operating Point: Solves planar threshold voltage ($V_{\text{th}}$ ) temperature inversion across the 12-chip array, eliminating cold-die timing failures and cutting hardware error rates from$40\text{–}65%$ down to$<3%$ . - Interactive Round LCD Screens: Features the full 6-screen rotation on the 240×240 circular panel, including Screen 3 (Auto Tuner Corona) and Screen 6 (Bitcoin Plasma Lightning Disk).
-
High-Speed Per-Chip Clock Optimizer: Widens individual chip tuning offsets down to
$-100\text{ MHz}$ so weak silicon can stabilize without holding back the rest of the board. -
Dynamic PSU Envelope Adoption: Unlocks up to
$140.0\text{ W}$ on upgraded supplies (e.g. Mean Well 200W) in Hashrate Target mode. -
Flash-Safe LTO Binary Footprint: Applies Link-Time Optimization and size tuning (
opt-level = 'z'), reducing binary size by$3.5\text{ MB}$ ($18.12\text{ MB}$ total) to ensure seamless OTA upgrades on flash storage.
Detailed Changes
1. Silicon Physics: $90.0^\circ\text{C}$ Operating Target & Inversion Fix
-
Root Cause: Canaan A3197S planar silicon exhibits severe temperature inversion when operated cold (
$60\text{–}70^\circ\text{C}$ ). Cold gates increase internal propagation delay on weaker dies in the series string, producing massive timing errors ($40\text{–}65%$ DH error rate). -
Resolution:
default_fan_target_cinnano3s_auto_tune.rsis hardcoded to90.0f32.min(cap - 2.0), matching stock Canaan thermal dynamics. Keeping the die array uniformly warm ($81\text{–}90^\circ\text{C}$ ) restores gate switching margins, cutting timing failures to$<2.5%$ and unlocking sustained hashing at$>520\text{ MHz}$ .
2. Round LCD Display: 6-Screen Rotation (nano3s_ui & fb_button)
The single physical button on the Nano 3S cycles seamlessly through all 6 screens with zero lag:
-
Screen 1: Speedometer Telemetry (
nano3s): Radial gauge centerpiece displaying live hashrate, board power, and hottest-die trip telemetry. -
Screen 2: Per-Chip Diagnostic Array (
nano3s-diag): Individual chip health readouts, PLL frequencies, voltages, and hardware error counters. -
Screen 3: Auto Tuner Thermal Corona (
nano3s-tuner): 12 distinct radial chip thermal notches with dynamic color grading (Blue$\rightarrow$ Green$\rightarrow$ Amber$\rightarrow$ Red), profile badge, continuous tuning indicator, and coldest/hottest chip delta telemetry. -
Screen 4: Network & IP Status (
ip): IPv4 address, Wi-Fi link state, and connectivity diagnostics. -
Screen 5: Bitcoin Pizza Art (
pizza): Direct-framebuffer retro pixel art homage. -
Screen 6: Bitcoin Plasma Arc Lightning Disk (
plasma): 60 FPS procedural lightning simulation featuring 14 fractal plasma streamers with midpoint displacement branching, outer glass rim grounding flares, and an energized orange corona around the Bitcoin$\text{₿}$ perimeter.
3. Dashboard UI Simplification
- Excised manual chip temp target and PLL throttle inputs from both standalone
dashboard.htmland the embedded asset (mujina-miner/assets/dashboard.html). - Prevents user confusion and accidental thermal starvation from setting die targets too low.
4. Per-Chip Tuner Range Expanded
- Expanded
min_offset_mhzfrom$-60\text{ MHz}$ down to$-100\text{ MHz}$ innano3s_chip_tuner.rs. - Allows weak edge dies (e.g. chips 5, 6, 9) to step down individually (
$-70\text{ to } -80\text{ MHz}$ ) while the healthy dies continue hashing at full clock speed ($>520\text{ MHz}$ ).
5. Dynamic PSU Envelope & Relaxed Fail Rate
-
PSU Supply Adoption: In Hashrate Target mode, the tuner adopts the active PSU contract ceiling (up to
$140.0\text{ W}$ ) rather than being throttled by factory calibration limits ($133.0\text{ W}$ ). -
Fail Rate Tolerance: Permitted fail rate raised to
$25%$ during search sweeps to allow chips to reach their true silicon boundary.
6. LTO & Size Optimization
- Configured
[profile.release]withopt-level = 'z',lto = true, andcodegen-units = 1. - Slashed binary size from
$21.60\text{ MB}$ to$18.12\text{ MB}$ ($3.5\text{ MB}$ reduction), ensuring plenty of free space on/datapartition during OTA bundle updates.
Release Artifacts & SHA256 Checksums
Staged in d:\github\mujina\release_v5.0.8\:
3d1bb7e0697ef494e652a9b0db2f9c67a4aac94d7f263e861a70935397c3d6f5 nano-mujina-v5.0.8-bundle.bin (18,119,088 bytes)
245a12739ebd7a2024a87293081e65312da0e8409d9593a8a6b614893a41023f nano-mujina-v5.0.8-release.kdimg (129,232,128 bytes)
1a3ab98da12d2e0ad0e2d8605181391cf46dfefb01b9d633c273d42d7cfc23f5 mujina-minerd (18,119,072 bytes)
2ecf0c9d5a1ebc953bf8e41a7467eaf744285dcc202adcbdf003c1c5761be5fb nano3s_ui (1,112,760 bytes)
ba5b09e9f4e6156084600f141eb1c33a1fed802f58e396b746de15ed24ebb703 fb_button (817,352 bytes)
bae2df4a7badd668be51e2c0dc7f7416aea17eeecf34417a01d8aeff129ad7aa v5.0.8_app_release.img (12,582,912 bytes)
1d63b13fbc64b7f44792e517ea4f3f546d45da024b66abc32e6aceda6be2fd57 v5.0.8_data_release.img (58,720,256 bytes)
Upgrade Instructions
Method 1: Web Dashboard One-Click OTA (Recommended)
- Navigate to your miner's web dashboard at
http://<MINER_IP>/. - Go to Firmware / Maintenance
$\rightarrow$ Update Firmware. - Select
nano-mujina-v5.0.8-bundle.binand upload. The miner will validate, swap the binary, and reboot automatically.
Or via CLI:
curl -X POST --data-binary @nano-mujina-v5.0.8-bundle.bin \
-H "Content-Type: application/octet-stream" \
http://<MINER_IP>/api/v0/firmware/bundleMethod 2: Full USB Flash (Kendryte K230 Burn Tool)
- Write
nano-mujina-v5.0.8-release.kdimgto a USB flash drive using PhoenixCard or the K230 Burn Tool. - Insert into the Avalon Nano 3S and power cycle to flash factory firmware.
Mujina v5.0.5 – Screen 3 Auto Tuner, Screen 6 Plasma Disk, Dynamic Extranonce2 & Auto-Provisioning
Mujina v5.0.5 – Screen 3 Auto Tuner, Screen 6 Plasma Disk, Dynamic Extranonce2 & Companion Auto-Provisioning
This release introduces major visual enhancements to the Canaan Avalon Nano 3S round LCD display, extends stratum pool compatibility with dynamic Extranonce2 sizing, and adds autonomous companion binary provisioning (nano3s_ui and fb_button) directly into the miner daemon for seamless one-click Torii OTA network updates across miner fleets.
Key Fixes & Improvements
-
Auto Tuner Screen 3 (360° Circular Thermal Corona):
- Redesigned Screen 3 with 12 distinct perimeter chip segment arcs covering all 12 A3197S ASICs.
- Dynamic inward radial scaling (
$w \in [4, 12]$ px) and thermal gradient transitions (Cyan/Blue$\to$ Green$\to$ Amber$\to$ Deep Red) as ASICs heat from$45^\circ\text{C}$ to$85^\circ\text{C}+$ . - Real-time center temperature readouts and per-chip diagnostic visibility.
-
Procedural Plasma Disk Screen 6 (Bitcoin Lightning):
- High-fidelity procedural electric plasma disk animation rendered live on
/dev/fb0at 20 FPS with$<2.5%$ CPU overhead. - Canonical 14° clockwise tilted Bitcoin logo in jet black centered on screen, surrounded by a razor-sharp
#F7931Aorange corona edge. - 3-tier hierarchical electric lightning arcs (primary high-voltage trunks, secondary lateral branches, and fine tertiary spiderweb micro-filaments) with dynamic glass rim edge creep and corona sparks.
- High-fidelity procedural electric plasma disk animation rendered live on
-
Front Panel Button 6-Screen Cycle:
- Seamless single-tap cycling across all display modes:
nano3s (Gauge)$\to$ nano3s-diag (ASIC Table)$\to$ nano3s-tuner (12-Chip Circle)$\to$ ip (Network IP)$\to$ pizza (Pizza Day)$\to$ plasma (Electric Lightning)$\to$ nano3s.
- Seamless single-tap cycling across all display modes:
-
Dynamic Extranonce2 Protocol Support (2..=8 bytes):
- Adaptive extranonce2 width handling in
mujina-minerdsupporting PowerPool (4B), Braiins (2B), CKPool (8B), and Ocean Pool. - Automatically packs lower 32-bit nonce2 into the A3197S hardware register while splicing any remaining high bytes directly into the coinbase transaction, achieving 100% share validity without pool disconnects or stale jobs.
- Adaptive extranonce2 width handling in
-
Embedded Companion Auto-Provisioning for Torii OTA:
-
mujina-minerdembeds release-stripped companion binaries (nano3s_uiandfb_button). - On boot,
mujina-minerdverifies on-disk binaries against embedded images: if older, atomically stages, sets permissions (0o755), renames into place, and gracefully restarts supervisor loops. - Enables existing units running v5.0.3/v5.0.4 to receive complete UI and button updates seamlessly over Torii network OTA without manual SSH.
-
Release Artifact Digests
- Network OTA Bundle:
nano-mujina-v5.0.5-bundle.bin(MJBUNDL1, 21,485,944 bytes)SHA-256:65d39b6d1780b37bfbd6fcaa08ce76958709f80e7f0b4275c30f2a3fdf59f7c6
- Full Factory Image:
nano-mujina-v5.0.5-release.kdimg(129,232,128 bytes)SHA-256:ea1cbeedd543a10274dfae00f1c7a1a7bd86edc6126fb3b03817fad2695f424a
- Core App UBI:
v5.0.5_app_release.img(12,582,912 bytes)SHA-256:6dd767a3abad8da8edd613f8052f603d1a89f222bb489ea0d3571cb9c11b6c5a
- Data UBI:
v5.0.5_data_release.img(58,720,256 bytes)SHA-256:721f7511e4d27836a353e7b0777bb72b75905fb2d2c944f2b1ced8c742df01e1
- Miner Binary:
mujina-minerd(21,485,928 bytes)SHA-256:e8e5be144ddd67fe6059233df1e5912a7f05d1fbac856107722731f08753f40a
Mujina v5.0.4 – Hardened Permissions, Immediate BLE/LCD Onboarding & Flash Wear Protection
Mujina v5.0.4 – Hardened Permissions, Static Binary Architecture & Flash Longevity
This release provides critical hardening for the Canaan Avalon Nano 3S across boot execution permissions, self-contained static binaries (+crt-static), instant out-of-the-box Bluetooth LE onboarding, flash longevity, autonomous watchdog protection, clean release packaging, and responsive dashboard pool configuration.
Key Fixes & Improvements
-
Fully Static Binary Architecture (
+crt-static):- Root Cause: Earlier builds dynamically linked against host Ubuntu 24.04 GLIBC (
GLIBC_2.39,/lib/ld-linux-riscv64-lp64d.so.1), causingmujina-minerdto fail withsh: /data/mujina-minerd: not foundon K230 rootfs (T-Head libc 2.33). - Fix: Both
mujina-minerdandble_setupare compiled with-C target-feature=+crt-static, creating self-contained static ELF executables that run reliably across any K230 rootfs.
- Root Cause: Earlier builds dynamically linked against host Ubuntu 24.04 GLIBC (
-
Instant Pool Apply & Reboot Execution:
- Root Cause: In the web dashboard, clicking pool "Save" triggered a 6-second tuning settle cooldown (
lockWrites), disabling the "Reboot now" button in the DOM and causingpowerActionto silently drop reboot clicks until multiple attempts passed. In the daemon, barerebootlacked/sbin/reboot -fand/sharefs/reboot_requestwatchdog signaling. - Fix: Decoupled pool credential saving from hardware tuning lockouts; "Reboot now" is immediately active upon saving. Daemon reboots now sync filesystems, trigger
/sharefs/reboot_request, and force immediate reboot (/sbin/reboot -f).
- Root Cause: In the web dashboard, clicking pool "Save" triggered a 6-second tuning settle cooldown (
-
Restored App Partition Execute Permissions (
0o750/0o755):- Root Cause: App partition files were mode
644in earlier rebuilt images, causingvolt_bringup.sh,gpio34_high_bringup.sh,backlight_bringup.sh, andwdt_disable_holdto fail silently with permission denied on first boot after a fresh USB flash. - Fix: Automated permission enforcement asserts
0o750on all bringup scripts and0o755on all binaries prior tomkfs.ubifs. The ASIC power rail (GPIO34), voltage DAC, and backlight now initialize immediately on first boot.
- Root Cause: App partition files were mode
-
Instant LCD Display UI & BLE Setup Onboarding:
- Root Cause: Display and BLE supervisors were blocked behind a 60s
wlan0address wait loop inmujina_display_startup.sh. Unprovisioned units appeared frozen on the Canaan U-Boot boot logo for over 65 seconds with Bluetooth advertising dark. - Fix: Decoupled
nano3s_ui,fb_button, andble_setupto spawn immediately upon boot. Bluetooth LE GATT advertising (nan3s_XXXX) and the LCD UI appear instantly. Onlymujina-minerdwaits for network configuration.
- Root Cause: Display and BLE supervisors were blocked behind a 60s
-
Flash Longevity (RAM-based Logs):
- Root Cause: Process supervisors piped rotating logs (
ble_setup.log,nano3s_ui.log,fb_button.log,harness.log) directly into/sharefs(UBIFS on SPI NAND), generating continuous flash wear cycles every 3 seconds during connection attempts. - Fix: Redirected supervisor logs to
/tmp/*.log(RAM tmpfs).
- Root Cause: Process supervisors piped rotating logs (
-
Guarded Autonomous Watchdog:
- Root Cause: The reboot watchdog loop in
mujina_display_startup.shlacked checks for active BLE configuration sessions and had an aggressive 60s timeout, causing premature reboots during initial Bluetooth provisioning. - Fix: Guarded watchdog to suppress reboot triggers while
ble_setupis actively advertising or during unprovisioned setup, and relaxed IPC connection timeout to 120s with clean backoff.
- Root Cause: The reboot watchdog loop in
-
Sanitized Donor Factory Artifacts & Placeholder Pool:
- Root Cause: Previous releases inadvertently carried donor test configs and factory files.
- Fix: Stripped
hashrate_cali.ini,efuse_info.txt,board_id_cache, andactivation.ini. Replaced test pool credentials inpool.confandcgminer.confwith cleanYOUR_WALLET.YOUR_WORKERdefaults.
-
OTA Firmware Bundle (
nano-mujina-v5.0.4-bundle.bin):- Packaged official OTA firmware bundle with header framing for seamless 1-click network updates via Torii.
Release Artifacts & SHA-256 Hashes
| Asset Name | SHA-256 Hash | Size (Bytes) | Description |
|---|---|---|---|
nano-mujina-v5.0.4-release.kdimg |
3a0b7bd054ae56abc66c2b2ed3e230a546b355bd0710e20f1d71ca217ecbe1a6 |
129,232,128 | Full flash image (flashes all partitions via Torii) |
nano-mujina-v5.0.4-bundle.bin |
43f81346576c0b55d9710ba83199d6dfc4edc552278472edbd735226cdd687f8 |
19,556,608 | OTA firmware bundle (for network update in Torii) |
v5.0.4_app_release.img |
da28c7fa601e45fedad9233317a656b8a9fc62cd424276967195d68cca09fab2 |
12,582,912 | UBI Partition 9 (app_ubi): Core 1 RTOS & watchdog |
v5.0.4_data_release.img |
6c94f0b753e020cca09b30794a049d4481006fb422822e949cdd4e7246bc8791 |
58,720,256 | UBI Partition 10 (data): Core 0 Linux miner & configs |
nano-mujina-v5-release.kdimg |
3a0b7bd054ae56abc66c2b2ed3e230a546b355bd0710e20f1d71ca217ecbe1a6 |
129,232,128 | Alias for backward compatibility with tooling |
nano-mujina-v5-bundle.bin |
43f81346576c0b55d9710ba83199d6dfc4edc552278472edbd735226cdd687f8 |
19,556,608 | Alias for backward compatibility |
v5_app_release.img |
da28c7fa601e45fedad9233317a656b8a9fc62cd424276967195d68cca09fab2 |
12,582,912 | Alias for backward compatibility |
v5_data_release.img |
6c94f0b753e020cca09b30794a049d4481006fb422822e949cdd4e7246bc8791 |
58,720,256 | Alias for backward compatibility |
rtos_core.elf |
2e88ff5f2b58acbe3761a1ab083ad3c46b89b296f7491f05ca1e0970717299d1 |
530,720 | Core 1 RT-Smart ASIC chain driver |
mujina-minerd |
677d06bd77c3a9ca8b7067578dae9fd9acaefac00a5acd9d3f095a913cdfcccd |
19,556,592 | Core 0 Linux mining daemon (static binary) |
mujina_display_startup.sh |
f3ee91e98bbcfbeea20cbff3e390c50bba5e905ec1d4410134e7bb46c4f028b1 |
4,610 | Display & autonomous watchdog supervisor |
Installation / Upgrade Instructions
-
Network OTA Update (Recommended for existing nano-mujina units):
- In Torii, select Avalon Nano 3S -> Network OTA Update (.bin).
- Enter your device IP, select
nano-mujina-v5.0.4-bundle.bin, toggle authorization, and click Upload bundle. - Torii will stream the bundle and monitor the reboot until live telemetry is verified.
-
Torii USB Flash (For factory Canaan units or full restore):
- Connect the Avalon Nano 3S via USB to your PC while holding the recessed recovery button to enter K230 burn mode.
- Open Torii, select Avalon Nano 3S, choose
nano-mujina-v5.0.4-release.kdimg, toggle authorization, and click Burn Firmware.
Mujina v5.0.3 – Large-Coinbase Pool (Ocean) Chunking & IPC Protocol Fix
Mujina v5.0.3 – Large-Coinbase Pool (Ocean) Chunking & IPC Protocol Fix
This release introduces chunked split-job IPC transmission to resolve 80–90% stratum job drops on mining pools with large payout coinbases (such as Ocean Pool), adds full-versioned release artifact naming, and eliminates HTTP caching of the dashboard system capability status.
Key Bug Fixes & Improvements
-
Large Coinbase Stratum Job Chunking (Ocean Pool Fix):
- Root Cause: Canaan's K230 kernel static IPC driver (
libipcmsg.a) enforcesK_IPCMSG_MAX_CONTENT_LEN = 1024with no hardware fragmentation. On standard pools (coinbase ~199 bytes), job wire size is ~800 B (<= 1024 B). On Ocean Pool, payout coinbases range from 554 B to 753 B. Any block template with >= 8 merkle branches exceeded 1024 B, causingkd_ipcmsg_send_onlyto reject the message. The miner applied only ~2 of 11 jobs, starving the hashboard. - Fix: Implemented chunked split-job framing (
IPC_MSG_JOB_SPLIT_HEAD = 13andIPC_MSG_JOB_SPLIT_COINBASE = 14). Standard <= 1024 B jobs transmit unfragmented for zero latency, while large jobs transmit header + merkles via head framing followed by 1016-byte coinbase chunks. Core 1 RTOS reassembles and verifies the payload before applying to the A3197S chain. - Result: 100% of jobs applied on Ocean Pool, 0 CRC errors, steady 3.5–3.6 TH/s hashrate.
- Root Cause: Canaan's K230 kernel static IPC driver (
-
Synchronized Core 0 (Linux) & Core 1 (RTOS) Release Packaging:
- Packages synchronized binaries for both Core 0 (
/data/mujina-minerd) and Core 1 (/mntapp/release/rtt/rtos_core.elf), with matching UBI sequence numbers (image_seq = 248013053forapp_ubiandimage_seq = 590221451withautoresizefordata). - Resolves all dual-core IPC version skew, eliminating the "warming up" loop on AutoTune initialization.
- Packages synchronized binaries for both Core 0 (
-
Dashboard Real-Time Refresh & Cache Invalidation:
- Prevents browsers from caching stale
/api/v0/systemcapability documents by attaching timestamp query parameters andno-storecache controls toloadSystem(). - Pool configuration menu dynamically re-fetches pool settings upon opening.
- Prevents browsers from caching stale
Artifact SHA-256 Checksums
| File | SHA-256 Checksum | Size (Bytes) | Description |
|---|---|---|---|
nano-mujina-v5.0.3-release.kdimg |
1adb98b2d2462246899d0efd1b9de5da200122595a47971ac7f3b8beb87cdc34 |
129,232,128 | Full flash image (flashes all partitions via Torii) |
v5.0.3_app_release.img |
aa963c0d78923378cc61cf94788153a20bf340473be7242b416fbc6daf970505 |
12,582,912 | UBI Partition 9 (app_ubi): Core 1 RTOS & watchdog |
v5.0.3_data_release.img |
fa52457de44881cb251c928ecc4dc1c5e1b8ef76e5e2c42314ba4bfb2a4f5535 |
58,720,256 | UBI Partition 10 (data): Core 0 Linux miner & configs |
nano-mujina-v5-release.kdimg |
1adb98b2d2462246899d0efd1b9de5da200122595a47971ac7f3b8beb87cdc34 |
129,232,128 | Alias for backward compatibility with tooling |
v5_app_release.img |
aa963c0d78923378cc61cf94788153a20bf340473be7242b416fbc6daf970505 |
12,582,912 | Alias for backward compatibility |
v5_data_release.img |
fa52457de44881cb251c928ecc4dc1c5e1b8ef76e5e2c42314ba4bfb2a4f5535 |
58,720,256 | Alias for backward compatibility |
rtos_core.elf |
2e88ff5f2b58acbe3761a1ab083ad3c46b89b296f7491f05ca1e0970717299d1 |
522,088 | Core 1 RT-Smart ASIC chain driver |
mujina-minerd |
9bd36b98368a592a7f663b02f3a6c13e692bce4db254d1600343f128d7fee20e |
19,556,592 | Core 0 Linux mining daemon |
mujina_display_startup.sh |
e638a37ad83af407e8c5ff20057c1898fc0e68944c09a7a6bd4e68366ca33ebb |
5,334 | Display & autonomous watchdog supervisor |
Installation / Upgrade Instructions
- Torii USB Flash (Recommended for all users):
- Connect the Avalon Nano 3S via USB to your PC while holding the recessed recovery button to enter K230 burn mode.
- Open Torii, select Avalon Nano 3S, choose
nano-mujina-v5.0.3-release.kdimg, and click Burn Firmware.
- Network / SSH Upgrade (from existing v5.x):
scp rtos_core.elf root@<miner-ip>:/mntapp/release/rtt/rtos_core.elf scp mujina-minerd root@<miner-ip>:/data/mujina-minerd ssh root@<miner-ip> "sync; /sbin/reboot -f"
Mujina v5.0.2 — Dual-Core IPC & Warmup Loop Resolution
Mujina v5.0.2 — Dual-Core IPC & "Warmup Loop" Resolution
This release resolves the issue where miners running v5.0.1 got stuck in an indefinite "warming up" state (TunePhase::Warmup with 0 hashrate) after ~45 minutes of mining, and packages synchronized firmware across both the Core 0 Linux environment and the Core 1 RTOS ASIC driver.
Key Bug Fixes & Improvements
-
Dual-Core IPC Synchronization & Per-Chip Tuning (Root Cause Resolved):
- In earlier v5.0 builds, only the
datapartition (Core 0mujina-minerd) was updated, leavingapp_ubi(Core 1rtos_core.elf) on an older build from August 14. - When the AutoTuner completed its baseline and attempted per-chip tuning, it dispatched
IPC_MSG_SET_CHIP_PLL_OFFSET(cmd = 12, 24 B). The older Core 1 binary had no handler, logged an unexpected command error, and terminated its stage 6 mining loop. - Core 0 lost all status updates, dropping hashrate to 0 and locking into
Warmup. - Fix: Both
app_ubi(packaging the latestrtos_core.elfwithcmd = 12support and autonomous watchdog) anddata(packagingmujina-minerd) are now built, verified, and repacked together with matching UBI sequences.
- In earlier v5.0 builds, only the
-
Autonomous Cross-Core Watchdog Supervisor:
- Bundles the autonomous watchdog supervisor in
/mntapp/release/linux/app/mujina_display_startup.sh. In the event of any hardware or IPC deadlock lasting >= 60 seconds, the supervisor initiates a safe kernel reboot, restoring mining in ~20 seconds without human intervention.
- Bundles the autonomous watchdog supervisor in
-
1-Hour Physical Hardware Qualification (
[PASS]):- Qualified under continuous live mining on a physical Canaan Avalon Nano 3S (
192.168.4.37) for 3,620 seconds (> 1 hour):- Hashrate: 3.42 TH/s sustained
- Pool Shares: 1,351 accepted shares
- Pareto Efficiency: 18.2 J/TH @ 61.6W (210 MHz / 3418 mV Core)
- ASIC Temp: 62.5 °C junction, 51.3 °C outlet, fan at 33% (2,280 RPM)
- AutoTuner Trials: Verified active per-chip offset tuning and dynamic frequency probing across chips 2, 7, and 11 with 0 IPC errors and 0 CRC faults.
- Qualified under continuous live mining on a physical Canaan Avalon Nano 3S (
Verified Release Asset Checksums (SHA-256)
aa891f7ae969755e01bf09d6e46d547097ab728e6a8034e187371dfe8a0068fb nano-mujina-v5-release.kdimg
f3c27544a6879c7728f44f5c88832287eaaecd1ac754ab544e108fd94bc5cabb v5_app_release.img
e8e88c02e0d2af85cf7bd5713eed5297e61718be41e01868c502ccaf136a7216 v5_data_release.img
07b608d7886cd43c53c14bfcf3ebaa2690acd0682646f9cf3972bb5587c68525 nano-mujina-v5-bundle.bin
22bb7bc85d73adab58d17e94784aed7ca4bfa66baa163d461506c47278eab015 rtos_core.elf
e638a37ad83af407e8c5ff20057c1898fc0e68944c09a7a6bd4e68366ca33ebb mujina_display_startup.sh
How to Update
Option 1: Clean Flash via Torii (USB)
- Download
nano-mujina-v5-release.kdimg. - Connect your Avalon Nano 3S in USB flash mode (hold top button while connecting USB-C).
- Open Torii, select ⚡ Install Mujina (nano-mujina), choose the
.kdimg, and click Flash nano-mujina to Device.
Option 2: Over-The-Network (SSH) Hotfix for Deployed Miners
If your miner is already running headless on Wi-Fi:
# 1. Copy the updated Core 1 RTOS binary
scp rtos_core.elf root@<MINER_IP>:/mntapp/release/rtt/rtos_core.elf
# 2. Copy the updated display watchdog supervisor
scp mujina_display_startup.sh root@<MINER_IP>:/mntapp/release/linux/app/mujina_display_startup.sh
# 3. Apply permissions and reboot
ssh root@<MINER_IP> "chmod +x /mntapp/release/rtt/rtos_core.elf /mntapp/release/linux/app/mujina_display_startup.sh && sync && /sbin/reboot -f"Mujina v5.0.1 — USB Flash UBI Sequence Fix
Mujina v5.0.1 — Full USB Flash (kdimg) UBI Sequence Fix
Bug Fix
- Fixed Full USB Flash Boot Hang (
nano-mujina-v5-release.kdimg&v5_data_release.img): Resolved a split UBIimage_seqheader between theubinize-generated PEBs (0..118) and the empty padding PEBs (119..447) in the/data(mtd10) partition, and enabled dynamic volumeautoresize(reserved_pebs = 117,vol_flags = 1). - Previously, fresh USB flashes via Torii or Canaan Burning Tool failed
ubiattachon/dev/mtd10(-EINVAL), leaving the miner on the stock Avalon splash screen with solid white LEDs and no Bluetooth advertising. - Note for Existing V5 Fleet Users: Miners updated via the network OTA bundle (
nano-mujina-v5-bundle.bin) were not affected, as OTA updates/data/mujina-minerdinside the already-mounted filesystem.
Checksums (SHA-256)
nano-mujina-v5-release.kdimg:2a53c4402dcfb3ec49c4012a2aa501e8116d0968e8a24a461a353966d925089ev5_data_release.img:c6a12d59c56d45bcf3456b4bec07ba28cf4e69df44a7474b0157a7401f677b19nano-mujina-v5-bundle.bin:5dc0c2c982e38fcb489077767ca4f16bd265213f58ba64d649dc1e650eb32550
Mujina v5.0.0 — Dual-Axis Pareto Auto-Tuner & Zero-Touch BLE
🚀 Mujina v5.0.0 Production Release
Production firmware release for the Canaan Avalon Nano 3S featuring our Dual-Axis Pareto Auto-Tuning engine, thermal slew-rate pacing, autonomous self-healing watchdogs, and full Bluetooth LE onboarding.
🌟 Key Highlights
-
Dual-Axis Pareto Auto-Tuning Engine:
- Optimizes both frequency and core voltage dynamically.
- Balanced Mode: +245 GH/s (4.47 ➔ 4.72 TH/s) with sub-20 J/TH efficiency and ~5°C cooler ASIC temps.
- Efficient Mode: Deep undervolting to 18.2 J/TH at whisper-quiet ~72W wall draw.
- Max Hash Mode: Enforces a 112W continuous safety ceiling on stock 140W USB-PD bricks, or unlocks 6.0+ TH/s on upgraded 135W+ power supplies.
-
Predictive Thermal Slew-Rate Pacing (
$dT/dt$ ): Eliminates jet-engine fan hunting and prevents thermal shock on the 12-chip A3197S series string. - Cross-Core Self-Healing Watchdog: Inter-core health checks (RT-Smart Core 1 + Linux Core 0) with automatic recovery.
-
Zero-Touch BLE Wi-Fi Setup: Flawless out-of-the-box discovery in the official Avalon Family / Avalon Life mobile apps as
nan3s_XXXX.
📦 Release Assets & How to Flash
-
nano-mujina-v5-release.kdimg(129 MB):- Full flashable factory image for Canaan K230BurningTool, Torii, or Linux.
- Windows Flashing: Use Torii or Canaan K230BurningTool. Put Nano 3S into burn mode (hold pinhole button while inserting power), select this
.kdimg, and flash. - Linux Flashing: Download
k230_flash_erase.pyand run:(Note: Always usepython3 k230_flash_erase.py -m SPI_NAND nano-mujina-v5-release.kdimg
k230_flash_erase.pyon Linux to ensure trailing NAND spare regions are cleanly wiped).
-
nano-mujina-v5-bundle.bin(19.5 MB):- Over-the-air (OTA) upgrade bundle for existing Mujina miners. Upload directly via the web dashboard at
http://<MINER_IP>/firmware.
- Over-the-air (OTA) upgrade bundle for existing Mujina miners. Upload directly via the web dashboard at
-
v5_data_release.img(58.7 MB):- Standalone sanitized data partition containing factory calibration, default configs, and LED themes.
-
k230_flash_erase.py:- Python helper wrapper for Linux users running
k230-flash.
- Python helper wrapper for Linux users running