Avalon6

From Bitcoin Wiki
Revision as of 02:21, 11 November 2015 by Mikeqin (talk | contribs) (→‎LED)
Jump to navigation Jump to search

Basic Information

Hashrate:
    3.65T (+-10%)

Power consumption:
    990W (measure on 12V port of the device)
    1100W (on the wall, with assumption of 90% power conversion ratio)

Power per hash:
    270J/THash (device only)
    295J/THash (on the wall, with assumption of 90% power conversion
ratio)

Overclocking:
    Support automatically optimize frequency, no need to overclock manually.

PSU ouput pin:
    4x6PIN PCIe power connector. *All must be connected.*

PSU requirements:
    Minimum 1100W output, recommend to use high quality PSU for server
with more than 1200W output and high quality power cable.
    Input voltage no lower than 11.7V and no higher than 12.2V (numbers
take from the controller)
    Lower voltage leads to lower hashrate and higher voltage leads to
possible device burning down.
    NOTICE: Poor quality cable may result in low voltage.

Fan:
    Specs: 12038
    Current: between 1.6A and 2.8A.
    Minimum RPM: 3800.
    *NOTICE* If the fan is broken or the fan's RPM cannot be measure,
the device will not start.

Controller:
    Raspberry Pi (version B or B+)
    Raspberrt Pi 2 is not supported yet.
    Each RPi can control approximate 60 devices.

AUC:
    Each AUC can connect up to 6 devices.

Dimensions:
    354x136x150mm

Net weight:
    ~4.2kg

Protection Degree:
    IP20

LED

LED Status MEMO
White Power on
Blue Working normally
Yellow blinking Idle normally
Green blinking Detect fan and mcu
White blinking Turn on LED manually
Red blinking Toohot/Loopback failed/PG failed/Coretest failed/Voltage error/Temperature sensor error/No fan

Firmware

RPi Firmware

20151031

  • Fix nonce counter for multiple miners
  • Display ASIC counts as TA in CGMiner status
  • Update maximum difficulty for Avalon4 and Avalon6
  • Update temperature check for Avalon6
  • Add GHSmm for hash rate comparison
  • Display PLL information for Avalon6
  • Turn on nonce check as default for Avalon6
  • Correct on voltage decode
  • Enable adjust frequency automatically as default for Avalon6
  • Decode voltage and temperature decode for Avalon6
  • Support err code for Avalon6

20151001

  • First version of Avalon6 firmware

NEXT-TESTING

  • NOTICE: Only for testing
  • Update cgminer config for Avalon6 in LuCI
  • Display PLL information for modular

MM Firmware

2015-10-31

  • Version 601510-afa837a0
  • Update IIC and UART communication
  • Support core test by AVA4_P_TEST
  • Update ASIC_FREQMIN to 100MHz
  • Detect ASIC counts by LOOPBACK
  • Fix upgrade failed caused by i2c FIFO overflow
  • Update timer function
  • Use GPIO led as address indicator
  • Always disable the invalid miner when PG or LOOPBACK failed
  • Add PLL status in P_STATUS_M
  • Add err code
  • Support ADC capture
  • Keep free run if MCU can't be detected
  • Update led status
  • Rewrite boot loader with c code

2015-09-30

  • Version 601509-a2613610
  • First MM firmware for Avalon6.0 S
  • Support 2 miners
  • Detect asic counts when start
  • Support target filter

NEXT-TESTING

  • NOTICE: Only for testing
  • Display more details about modular
  • Add more protect to make modular safe
  • Frequency algo opt
  • Use a better way to detect fan

MCU Firmware

2015-10-31

  • Version 6C1508-afa837a0
  • For adc and temperature capture use MM protocal

Software Development

CGMiner Under Ubuntu 14.04

# Daily building: http://build.canaan-creative.com:8080/~buildbot/avalon6/
#Inside your home directory, download Cgminer
git clone https://github.com/Canaan-Creative/cgminer
cd cgminer
git checkout origin/avalon4 -b avalon4
./autogen.sh --enable-avalon4
make -j 4
# Run
sudo ./cgminer --avalon4-freq 200 --avalon4-voltage 7125 -o http://stratum.pool:3333 -u  work -p pass 
or
sudo ./cgminer --avalon4-freq 200 --avalon4-voltage 7125 -o http://stratum.pool:3333 -u  work -p pass --api-allow W:192.168.2,W:192.168.2.1 --api-listen $@ 2>./log

MM

* Daily building: http://build.canaan-creative.com:8080/~buildbot/mm60/
* Avalon6 TB2 ===
$ make -C firmware PLATFORM=MM60_TB2
* Avalon6.0 S ===
$ make -C firmware

TODO

OpenWrt

  1. Support Raspberry Pi 2B
  2. Update with the master branch
  3. Support Avalon6 in LuCI (Advanced version)
  4. Keep more coding on LuCI (Avalon theme)

CGMiner

  1. Add auto speed option
  2. Merge the Avalon6 code to CK's master

MM

  1. New board Avalon 6.2 support
  2. POST
  3. Temperature support
  4. LPC11U14 program/update
  5. Change stratum code to libstratum.a
  6. Support diff = 1

Known Issues

  1. MM Firmware upgrade failed