~/talk

Basics of Bitcoin Mining Firmware

links:none on file
slides:none on file

Bitaxe firmware (ESP minor) runs on an ESP microcontroller using ESP IDF and FreeRTOS to talk over UART, I2C and GPIO to Bitmain-style ASICs; reverse engineering using a logic analyzer and decompiled firmware uncovers the BM1397-frame UART commands from the BM1397 data sheet and the magic initialization bytes. A single ESP can drive roughly 100 ASICs per hashboard, so a full hashboard is ~100 ASICs (~1,000 W, ~30–50 TH/s) and the open firmware works well enough to be a reference device and spawn clones.

AI-written summary · about

  1. 0:00Bitcoin mining firmware intro
  2. 2:10Inside a Bitcoin miner
  3. 3:56ESP32 as mining controller
  4. 5:42GPIO I2C UART explained
  5. 8:14Voltage and fan control
  6. 10:05Reverse engineering ASIC datasheets
  7. 11:29Tasks and threads in ESP miner
  8. 12:36Connecting to mining pool via Stratum
  9. 15:31Parsing mining notify messages
  10. 16:54Creating block headers for mining
  11. 18:01Sending work to ASIC over UART
  12. 19:48ASIC nonce finding and results
  13. 21:14Submitting shares to pool
  14. 22:40Bitcoin mining firmware summary
  15. 24:08Future firmware improvements
  16. 26:37Open source mining contributions
  17. 28:23Q&A on SV2 firmware
  18. 29:27ASIC recycling sustainability
  19. 30:34Reverse engineering ASIC comms
  20. 32:44Version rolling extra nonce
  21. 33:47Bitmain’s stance on open firmware
  22. 35:11Protoc chips and NDAs
  23. 36:16How to contribute
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.