mirror of
https://github.com/skot/ESP-Miner.git
synced 2025-03-17 13:22:53 +01:00
This reverts commit 1b0d33949ed3832d8ef6b24cd2638a78ecc5ebb0.
This commit is contained in:
parent
1b0d33949e
commit
4ac727268d
84
readme.md
84
readme.md
@ -77,87 +77,3 @@ The bitaxetool requires a config.cvs preloaded file and the appropiate firmware.
|
||||
```
|
||||
bitaxetool --config ./config.cvs --firmware ./esp-miner-factory-v2.0.3.bin
|
||||
```
|
||||
|
||||
|
||||
|
||||
|
||||
# ESP-Miner Build Instructions
|
||||
|
||||
## Prerequisites
|
||||
|
||||
Ensure that you have Python 3.4 or later installed along with pip. If pip is not installed, you can follow the instructions (https://pip.pypa.io/en/stable/installation/).
|
||||
|
||||
## Install BitAxeTool
|
||||
|
||||
Install the `bitaxetool` from pip:
|
||||
|
||||
```bash
|
||||
pip install --upgrade bitaxetool
|
||||
```
|
||||
|
||||
## Hardware Requirements
|
||||
|
||||
This firmware is designed to run on a BitAxe v2+. If your BitAxe doesn't have USB connectivity, establish a serial connection using either a JTAG ESP-Prog device or a USB-to-UART bridge.
|
||||
|
||||
## Preconfiguration
|
||||
|
||||
Starting from v2.0.0, the ESP-Miner firmware requires basic manufacturing data flashed in the NVS partition. Follow these steps:
|
||||
|
||||
1. Download the `esp-miner-factory-v2.0.3.bin` file from the [release tab](https://github.com/skot/ESP-Miner/releases).
|
||||
|
||||
2. Copy `config.cvs.example` to `config.cvs` and modify the following parameters in the file:
|
||||
|
||||
- `asicfrequency`
|
||||
- `asicvoltage`
|
||||
- `asicmodel`
|
||||
- `devicemodel`
|
||||
- `boardversion`
|
||||
|
||||
Ensure that your `config.cvs` file has all the necessary values for proper flashing. Here are the recommended values for different BitAxe models:
|
||||
|
||||
- For BitAxe 1368 (supra):
|
||||
|
||||
```csv
|
||||
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
|
||||
```
|
||||
|
||||
- For BitAxe 1366 (ultra):
|
||||
|
||||
```csv
|
||||
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
|
||||
```
|
||||
|
||||
- For BitAxe 1397 (MAX):
|
||||
|
||||
```csv
|
||||
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
|
||||
```
|
||||
|
||||
## Flashing
|
||||
|
||||
The `bitaxetool` includes all necessary libraries for flashing the binary file to the BitAxe Hardware. Ensure that the `config.cvs` preloaded file and the appropriate `firmware.bin` file are in the execution directory.
|
||||
|
||||
Flash with the `bitaxetool`:
|
||||
|
||||
```bash
|
||||
bitaxetool --config ./config.cvs --firmware ./esp-miner-factory-v2.0.3.bin
|
||||
```
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user