GithubHelp home page GithubHelp logo

mroxso / esp-miner Goto Github PK

View Code? Open in Web Editor NEW

This project forked from skot/esp-miner

0.0 0.0 0.0 2.25 MB

A bitcoin ASIC miner for the ESP32

License: GNU General Public License v3.0

Shell 0.45% JavaScript 0.06% Python 1.47% C 45.11% TypeScript 10.61% CSS 34.41% Makefile 0.04% HTML 4.24% CMake 0.69% Dockerfile 0.17% SCSS 2.76%

esp-miner's Introduction

ESP-Miner

Supported Targets ESP32-S3 (BitAxe v2+)

Requires Python3.4 or later and pip

Install bitaxetool from pip. pip is included with Python 3.4 but if you need to install it check https://pip.pypa.io/en/stable/installation/

pip install --upgrade bitaxetool

Hardware Required

This firmware is designed to run on a BitAxe v2+

If you do have a Bitaxe with no USB connectivity make sure to establish a serial connection with either a JTAG ESP-Prog device or a USB-to-UART bridge

Preconfiguration

Starting with v2.0.0, the ESP-Miner firmware requires some basic manufacturing data to be flashed in the NVS partition.

  1. Download the esp-miner-factory-v2.0.3.bin file from the release tab. Click here for the release tab

  2. Copy config.cvs.example to config.cvs and modify asicfrequency, asicvoltage, asicmodel, devicemodel, and boardversion

The following are recommendations but it is necessary that you do have all values in your config.cvsfile to flash properly.

  • recommended values for the Bitaxe 1368 (supra)

    key,type,encoding,value
    main,namespace,,
    asicfrequency,data,u16,490
    asicvoltage,data,u16,1200
    asicmodel,data,string,BM1368
    devicemodel,data,string,supra
    boardversion,data,string,400
    
  • recommended values for the Bitaxe 1366 (ultra)

    key,type,encoding,value
    main,namespace,,
    asicfrequency,data,u16,485
    asicvoltage,data,u16,1200
    asicmodel,data,string,BM1366
    devicemodel,data,string,ultra
    boardversion,data,string,0.11
    
  • recomended values for the Bitaxe 1397 (MAX)

    key,type,encoding,value
    main,namespace,,
    asicfrequency,data,u16,475
    asicvoltage,data,u16,1400
    asicmodel,data,string,BM1397
    devicemodel,data,string,max
    boardversion,data,string,2.2
    

Flash

The bitaxetool includes all necessary library for flashing the binary file to the Bitaxe Hardware.

The bitaxetool requires a config.cvs preloaded file and the appropiate firmware.bin file in it's executed directory.

  1. Flash with the bitaxetool
bitaxetool --config ./config.cvs --firmware ./esp-miner-factory-v2.0.3.bin

esp-miner's People

Contributors

johnny9 avatar benjamin-wilson avatar skot avatar georges760 avatar satsforfreedom avatar developeralgo8888 avatar collins-webdev avatar wantclue avatar checksum0 avatar ozbibi avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.