This document provides a comprehensive list of all commands supported by the 6060 API, as extracted from the decompiled code.
Command | Description | Example |
---|---|---|
/fan-<value> |
Sets fan PWM (speed) value (1-99) | /fan-80 |
{ | |
"version": "3.0.4", | |
"errorcode": [ | |
{ | |
"id": 100, | |
"code": "R:1", | |
"reason": "Average total hashrate is low", | |
"suggestion": "Update the firmware to the latest version, replace the power supply, or return to factory for repair" | |
}, | |
{ |
{ | |
"version": "G2.0.1", | |
"errorcode": [ | |
{ | |
"id": 100, | |
"code": "R:1", | |
"reason": "Average total hashrate is low", | |
"suggestion": "Update the firmware to the latest version, replace the power supply, or return to the factory for repairs" | |
}, | |
{ |
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8" /> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | |
<title>WhatsMiner Product Categories</title> | |
<script src="https://cdn.tailwindcss.com"></script> | |
<script> | |
tailwind.config = { | |
theme: { |
[...document.querySelectorAll(".tbl > tbody > tr > td:nth-child(3)")]
.map((_) => _.textContent)
.map((_) => /[+-]?([0-9]*[.])?[0-9]+/.exec(_)[0])
.map((_) => parseFloat(_))
.reduce((a, b) => a + b);
BHB42603
===========================================Miner log===========================================
1970-01-01 00:00:10 Open miner sn file /config/sn error
1970-01-01 00:00:10 Miner compile time: Mon Dec 26 17:09:26 CST 2022 type: Antminer BHB42XXX sn :
Last time I wrote about this, I lied a little - There is an interesting bug in the UART loader, and it may have been exactly why Xilinx didn't document it. In short: The UART loader writes the entire UART payload to a location in memory (nominally 0x4_0000
). The ROM is architected such that when the boot mode is selected, it registers a callback that is called when the ROM wants more data from the boot device. For the UART loader, this is pretty simple - here's the whole thing:
; void uart_callback(u32 r0_offset, void* r1_dest, i32 r2_nbytes)
ROM:0000A578 PUSH {R3,LR}
ROM:0000A57C MOV R3, #uart_buff
ROM:0000A584 MOV R12, #1
ROM:0000A588 LDR R3, [R3]
#!/bin/bash | |
xhost +si:localuser:root | |
DISABLE_WAYLAND=1 sudo /snap/bin/btctools | |
xhost -si:localuser:root | |
# References | |
# https://support.google.com/chromebook/thread/173115216/linux-terminal-unable-to-open-display-0?hl=en |