Repository navigation
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"