Avalon2: Difference between revisions

From Bitcoin Wiki
Jump to navigation Jump to search
 
(100 intermediate revisions by 6 users not shown)
Line 1: Line 1:
Avalon2 is the second machine of Avalon project. using the 55nm ASIC chips
Avalon2 is the second machine of [[Avalon]] project. It uses 55nm ASIC chips.


= A3255 =
= Pictures =
* Datasheet: http://downloads.canaan-creative.com/hardware/A3255/datasheet/
== A3255 ==
[[File:A3255 ASIC.jpg | 320px]]


== Chip testing ==
== PCB ==
* Firmwares: http://downloads.canaan-creative.com/hardware/A3255/testing/
[[File:Avlaon2-modular-pcb-3d.png | 320px]][[File:Avlaon2-modular-front.jpg | 320px]] [[File:Avlaon2-modular-back.JPG | 320px]]


= Prototype =
[[File:Avlaon2-modular-connector-and-fpga.JPG | 320px]] [[File:Avlaon2-modular-a3255.JPG | 320px]] [[File:Avlaon2-modular-power-chip.JPG | 320px]]  
[[File:Avalon2 55nm prototype.jpeg | 320px]]


== Documents ==
[[File:Avlaon2-modular-fan-connector.jpg | 320px]]
* [http://downloads.canaan-creative.com/hardware/A3255/prototype/ Reference design]
* [http://downloads.canaan-creative.com/hardware/A3256/avalon/Manual/110G%20Hash%20Avalon%20Assemble%20Manual.pdf Assemble Manual]


== Firmware ==
== Single modular ==
=== TIMEOUT ===
[[File:Avalon2-single-modular-all-1.jpg | 320px]] [[File:Avalon2-single-modular-all-2.jpg | 320px]] [[File:Avalon2-single-modular-all.JPG | 320px]]
* TIMEOUT的有效值范围为[0,255],FPGA controller根据TIMEOUT的配置来控制申请/计算任务的时间。当TIMEOUT值配置为1时,FPGA controller会每隔0.033s申请一次任务,也表示芯片已计算完当前HASH区间。
* TIMEOUT配置与申请/计算任务时间间隔的公式为
  TIME_OF_MINER_FINISH_HASH_RANGE = TIMEOUT * 0.033s
  TIMEOUT = TIME_OF_MINER_FINISH_HASH_RANGE / 0.033s


* 若FPGA controller连接的一个小模块上的计算能力为10GHs(10个芯片,每芯片1G),则FPGA controller申请任务的时间间隔为
[[File:avalon2-single-modular-set.jpg | 320px]] [[File:avalon2-modular-with-case-con.jpg | 320px]] [[File:avalon2-modular-with-case.jpg | 320px]]
  2^32 / 10*1000*1000*1000 = 0.4s
  0.4s/0.033s = 12 # TIMEOUT应配置为12


* 如果使用prototype中的FPGA固件,你们的硬件设计一定要满足下面的式子:
[[File:avalon2-modular-top-side.jpg | 320px]] [[File:avalon2-modular-connector-side.jpg | 320px]] [[File:avalon2-modular-FAN-side.jpg | 320px]]
发送全部任务的时间 一定要小于 FPGA申请任务的时间(也就是ASIC算完自己区间的时间)
((11+2+chip_num)*4*10/115200)*miner_num*1000 + DELAY_IN_MS*miner_num < (128591 / chip_num / frequency) * 33ms


解释一下:
[[File:avalon2-single-modular-connector-back.jpg | 320px]] [[File:avalon2-single-modular-connector-front.jpg | 320px]]
  11+2+chip_num)*4 ==> CHIP_NUM的任务长度,单位Byte
  ((11+2+chip_num)*4*10/115200)*miner_num*1000 ==> 发送MINER_NUM个这样的任务所需要的时间,单位是ms
  DELAY_IN_MS*miner_num ==> 总的Delay时间,DELAY_IN_MS见cgminer代码:driver-avalon.c:1132
  (128591 / chip_num / frequency) * 33ms ==> TIMEOUT值,详见Wiki文档


几个测试的例子,仅供参考:
== Avalon2 parts ==
MINER_NUM:CHIP_NUM:FREQUENCY:TIMEOUT
[[File:avalon2-3modular-connector-back.jpg | 320px]] [[File:avalon2-3modular-connector-front.jpg | 320px]]
==> 16:10:1000:12 works fine
==> 16:10:1500:8  works fine
==> 24:10:1000:12 works fine
==> 24:10:1500:8  works fine
==> 32:6:1000:21  works fine
==> 32:6:1500:12  works fine
==> 32:10:1000:12 works fine
==> '''32:10:1500:8  not working'''


=== [http://downloads.canaan-creative.com/hardware/A3255/prototype/FIRMWARE/2013-11-08/ 2013-11-08] ===
[[File:avalon2-usb-serial-connector.jpg | 320px]] [[File:avalon2-usb-serial-connector-BACK.jpg | 320px]] [[File:avalon2-how-to-connector.jpg | 320px]]
* 8, 16 miners works just fine
* '''ISSUE''': 32 miners with 10 chips still not working because [https://en.bitcoin.it/wiki/Avalon2#TIMEOUT TIMEOUT issue]
* Both [http://downloads.canaan-creative.com/hardware/A3255/prototype/FIRMWARE/2013-11-08/openwrt 703n firmware] and  [http://downloads.canaan-creative.com/hardware/A3255/prototype/FIRMWARE/2013-11-08/FPGA/ FPGA controller firmware] have uploaded
* Change `core_count to 64 to compatible with ealier cgminer
* Software should follow equation below when handle A3255 based miner
nonce_send_to_pool = nonce_receive_from_miner-0xc0


=== [http://downloads.canaan-creative.com/hardware/A3255/prototype/FIRMWARE/2013-11-05/ 2013-11-05] ===
[[File:avalon2-fan1.jpg | 320px]] [[File:avalon2-fan.jpg | 320px]]
* Support 8, 16 miners, '''8 and 16 have tested'''
* '''ISSUE''': 24, 32 miners not working with 1.5Ghs, works fine with 1Ghs
* Upload the [http://downloads.canaan-creative.com/hardware/A3255/prototype/FIRMWARE/2013-11-05/openwrt 703n firmware]
* Upload the [http://downloads.canaan-creative.com/hardware/A3255/prototype/FIRMWARE/2013-11-05/FPGA/ FPGA controller firmware]
* Support 6 ~ 10  chip in each miner, '''6 and 10 have tested'''


=== [http://downloads.canaan-creative.com/hardware/A3255/prototype/FIRMWARE/2013-10-07/ 2013-10-07] ===
== Avalon2 ==
* Only support 16 miners, each miner have 6 A3255 ASICs
[[File:avlaon2-front-without-face.jpg | 320px]] [[File:avalon2-back.jpg | 320px]]  [[File:avalon2-top-1.jpg | 320px]]


== Work without LDO RT9187 ==
[[File:avalon2-details-1.jpg | 320px]] [[File:avalon2-details-2.jpg | 320px]] [[File:avalon2-details-3.jpg | 320px]]
* Connect the C20 right pad to C15 or C14 left pad
* Please keep the Vcore to between 0.95v and 1.05v, the origin design was 1v.
* If the crystal  not working, try to reduce the R28(by default it's 1K), if reduce the R28 didn't make crystal  back to working. try repace the crystal with a better brand.


[[File:Avalon2 work without LDO RT9187 2.jpeg | 320px]] [[File:Avalon2 work without LDO RT9187 1.jpeg | 320px]]
[[File:avalon2-power.jpg | 320px]] [[File:avalon2-power-usb.jpg | 320px]] [[File:avalon2-top.jpg | 320px]]


= 55nm open design =
= User manual =
* form
== TP LINK WR703N ==
https://github.com/formtapez/avalon
The USB on the AR9331 has bugs. If you want use serial console, please use the direct serial console on 703N (the '''/dev/ttyATH0'''). It's far more stable than USB-serial converter. You may want add a USB hub between machine and 703n
https://bitcointalk.org/index.php?topic=323175.0
* flyonwall
https://bitcointalk.org/index.php?topic=323175.msg3759895#msg3759895
* Technobit Team
https://bitcointalk.org/index.php?topic=323727.0
here is the design, BOM:
http://ge.tt/2B4qW051/v/0?c
Here is CGminer patch and dd-wrt cgminer build
http://technobit.eu/index.php?controller=attachment&id_attachment=30
Windows drivers
http://technobit.eu/index.php?controller=attachment&id_attachment=9
Windows HEXminer software
http://technobit.eu/index.php?controller=attachment&id_attachment=29
Specs
16 chip board
Hash rate - about 24 Gh/s overclocked
16 bit PIC controller
2 line power suply
Voltage controled by command in the software/firmware
USB connector
molex 4 pin power connector


= Chip sales agent =  
== Raspberry Pi ==
==  China mainland(中国大陆地区代理) ==
[[File:13_ports_usb_hub.png | 320px | thumb | The 13 ports USB HUB ]]
深圳阿瓦龙电子有限公司
淘宝:http://avalon8.taobao.com/
联系人:陈先生
电话:0755-36820585
手机:13528785811
QQ:1816404459
邮箱:1816404459@qq.com


== Worldwide ==
* The default firmware IP address is '''192.168.0.100''', you can access it by http://192.168.0.100
* [http://avalon-asics.com/product/a3255-55nm-chip-500-count-reel/ Buy with bitcoin click here]
* You may need update the address/DNS to your local configuration. DO NOT FORGET your IP address.
* Buy with goverment money:
* If the Raspberry Pi can access internet, cgminer should automatic start
  ELEN Technology Limited.,
 
  Contact: Eric Chen
* 8GB Memory card: http://item.jd.com/632744.html
  Email: eric_chen@elen-tech.com
* Reflash: sudo dd if=openwrt-brcm2708-sdcard-vfat-ext4.img of=/dev/sdb bs=4M #/dev/sdb is your memory card
  Phone (852)31658617
* USB Hub, [http://item.jd.com/511117.html UNITEK Y-2132 USB2.0 13ports]
  FAX:+(852)30071717
* USB WiFi, [http://item.jd.com/509932.html EDUP EP-N8508GS]
  Address: Rm.,604,Treasure Center, 42 Hung To Road, Kwun Tong, Kln. HongKong
 
== Using BFGMiner ==
 
Avalon 2 units communicate with a UART, usually attached to your host via a generic USB UART adapter.
First, figure out what COM port (or /dev/ttyUSB on Linux) and run BFGMiner with:
 
<code>bfgminer -S avalonmm:\\.\COM22 --set avalonmm:clock=1500 --set avalonmm:voltage=1 --set avalonmm:fan=80</code>
 
== Manual by others ==
* [http://www.cybtc.com/article-565-1.html 彩云比特中文评测]
* [https://bitcointalk.org/index.php?topic=493358.0 Guide - Dogie's Comprehensive Avalon Avalon2 Setup + Silencer Mod]
 
== Overclock ==
* Chip Freq: 1700, Voltage: 10750 --> 119GHs
Extra cooling is recommended, GJPMiningco recommends removing the slide panel that covers the heatsink and adding some fans that blow down into the heatsink - at least 3 fans evenly spaced along the heatsink.
 
== Avalon3 CGMiner Under Ubuntu 14.04 ==
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install libcurl4-openssl-dev pkg-config libtool libncurses5-dev libudev-dev screen xterm
sudo apt-get install git-core
sudo apt-get install openssh-server byobu
sudo apt-get install autoconf
sudo apt-get install automake
 
Inside your home directory, download Cgminer
sudo git clone https://github.com/ckolivas/cgminer
 
cd cgminer
sudo ./autogen.sh --enable-avalon2
sudo make -j 4
 
-
sudo ./cgminer -S /dev/ttyUSB0 --avalon2-freq 500 --avalon2-voltage 7250 --avalon2-fan 50 -o http://stratum.pool:3333 -u  work -p pass
or
sudo ./cgminer -S /dev/ttyUSB0 --avalon2-freq 500 --avalon2-voltage 7250 --avalon2-fan 50 -o http://stratum.pool:3333 -u  work -p pass --api-allow W:192.168.2,W:192.168.2.1 --api-listen $@ 2>./log
 
If you use cgminer 4.5.0, the command will like this:
sudo ./cgminer --avalon2-freq 500 --avalon2-voltage 7250 --avalon2-fan 50 -o http://stratum.pool:3333 -u  work -p pass
or
sudo ./cgminer --avalon2-freq 500 --avalon2-voltage 7250 --avalon2-fan 50 -o http://stratum.pool:3333 -u  work -p pass --api-allow W:192.168.2,W:192.168.2.1 --api-listen $@ 2>./log
 
= The Avalon2 =
== Power supply ==
[[File:Avalon2 power supply.jpg | 300px]]
 
== Specification ==
315GH/s, 1020W@220V in normal mode.
210GH/s, 420W@220V in ECO mode.
 
== Avalon2 Single Modular ==
Module hash speed: ~105GHS
Chip operating speed: 1.5GHS
Chip working voltage: 1.0V
Typical values ​​DH: ~2%
Module Power: 24.5A@12V, 294W (excluding fan power consumption). 0.1A @ 5V, 0.5A @ 3.3V.
Power Module conversion efficiency: >= 87%
Design Operating temperature: 85C (chip temperature), 60C (PCB, temperature sensor measurements)
  Fan: 4PIN PWM speed control, report fan speed back.
Include: Single modular, USB Connector
=== LEDS ===
From bottom (FPGA) to top is 1 to 8:
1, 2, 3, 4, 5: Blink when found nonce
6, 7, Data transfer
  8: Error or under testing
 
= Design Files =
* The Hardware design files: http://downloads.canaan-creative.com/hardware/A3255/avalon2/
* A3255 ASIC Datasheet: http://downloads.canaan-creative.com/hardware/A3255/datasheet/
 
  Package: QFN48-7X7, 0.5mm pitch
Process node: 55nm
Core voltage: 0.8 ~ 1.0V
Chip frequency: 750MHz
Hashrate: 1.5Gh/s
Power usage: 1.6~2.45J/Gh on ASIC side
VDDIO: 3.0 ~ 3.6V
 
= Source code =
== Debug port ==
[[File:Avalon3 Debug Port.jpg | 320px]]
 
* [https://github.com/BitSyncom/mm/ MM(Miner Manager)]]
* [https://github.com/BitSyncom/cgminer/tree/avalon2 The cgminer Avalon2 support]
* [https://github.com/BitSyncom/luci/tree/cgminer-webui-avalon2/applications/luci-cgminer OpenWrt LUCI page]
* [https://github.com/BitSyncom/cgminer-openwrt-packages OpenWrt cgminer package, files and config]
* [https://github.com/BitSyncom/avalon-extras/blob/master/scripts/build-avalon-image.sh Build script file]
 
= Firmware =
== [http://downloads.canaan-creative.com/software/avalon2/2014-08-27/ 20140827]==
* Merge cgminer to ckolivas's trunk(V4.5.0)
* Support p2pool(with MM Version: [http://downloads.canaan-creative.com/software/avalon3/2014-08-08/ 331408-a15cac80])
* Fan speed auto adjust with new method,range support.(cgminer param: --avalon2-fan 50-100 or --avalon2-fan 50)
* Support hotplug usb cable by cgminer.
* Ignore blacklisted and zombie devices on luci status page.
 
== [http://downloads.canaan-creative.com/software/avalon2/2014-07-19/ 20140719] ==
* Update OpenWrt to r41240
* Add new parameter for polling delay: --avalon2-polling-delay (Default: 20ms)
* Add new parameter for stratum ignore time: --stratum-ignore (Default: 30s)
* Add LED status on API log
* Support unlimited socket receive size for cgminer-api
* Try to detect module twice when start
* Don't count HW works on hashrate
* Support cgminer restart on status page
* Display indicator status on status page
* Change introduction on luci-cgminer
 
== [http://downloads.canaan-creative.com/software/avalon2/2014-05-26 20140526] ==
* Update to OpenWrt r40859, Update cgminer to 4.3.3
* Add option: '''--avalon2-cutoff''' <arg> Set Avalon2 overheat cut off temperature (default: 88)
* Add option: '''--avalon2-fixed-speed''' Set Avalon2 fan to fixed speed
* Update default modulars from '''3 to 4'''
* Only display the module that attached
* Ignore frequent stratum message. make MM have more time to hashing
* Fix the share cannot count to correct device(miner thread)
* Cut the ASIC power when network was down for 3 minutes
* Automatic fan speed adjustment
* New feature. module indicator by using the red led
* Fixed hashrate count when start and ignore disabled module
* '''Fixed a bug that may lose hashrate. 5% ~ 8% hashreate improvement.'''
* Code improvement: dev type detect, job_id crc16 compare, display GHS, etc.
 
== [http://downloads.canaan-creative.com/software/avalon2/2014-04-23 20140423] ==
* Here: http://downloads.canaan-creative.com/software/avalon2/2014-04-23
* Update '''CGminer from 4.0.0 to 4.3.0''' (You may want read document on '''--config''' options)
* Update OpenWrt to '''r40351''' (Linux version 3.10.34)
* Fix a bug that may cause hashrate lose.
* Support 703N, 1043ND-V2 and RaspBerry Pi
* Detect Avalon power good signal in cgminer
* Display GHS(not MHS) on cgminer status page
* Add some text for support both Avalon2 and Avalon3
* Support frequency setting for Avalon2 and Avalon3 chips on cgminer configuration page
* Support voltage setting for Avalon2 and Avalon3 chips on cgminer configuration page
 
== [http://downloads.canaan-creative.com/software/avalon2/2014-04-11 20140411] ==
* Here: http://downloads.canaan-creative.com/software/avalon2/2014-04-11
* Update OpenWrt
 
== [http://downloads.canaan-creative.com/software/avalon2/2014-03-20 20140320] ==
* Here: http://downloads.canaan-creative.com/software/avalon2/2014-03-20/
* MM('''201401-1f7d08b0'''): read the power good single back.
** Poweron five small module one by one. good for PSU.
* Update cgminer to '''4.0.0'''
* Add devs information on status page.
 
== [http://downloads.canaan-creative.com/software/avalon2/2014-01-23/ 20140123] ==
* Here: http://downloads.canaan-creative.com/software/avalon2/2014-01-23/
* MM('''201401-a3cb3950'''): Include the first stable version of MM firmware
* Include the RPi OpenWrt firmware
* Include the 703N OpenWrt firmware
* Support fixed fan speed, support A3255 frequency from 1G to 2G, support adjust voltage for 0.65v to 1.1v
* Display all modules status include 2 fan, 2 temperature sensors, voltage and frequency
* Voltage display as encode mode. needs to be changed to human readable
* Include an ASIC cores testing python script
 
== [http://downloads.canaan-creative.com/software/avalon2/NEXT-TESTING/ NEXT-TESTING] ==
* NOTICE: Only for testing
* Fixed fan speed can be change by users.
 
= Test plan =
* New firmware don't break Avalon for sure
* New firmware don't use all flash. have to keep some space for save configuration
* Either and WiFi(703N) connect works fine
* Cgminer works fine(the kernel user driver, cgminer it self, cgminer-monitor and uci configurations files)
* After configure cgminer. [Save & Apply] can restart the cgminer
* The Status/API log page works fine
* Test mining. the hashrate should be correct
* Test the cgminer-monitor. make sure it can restart cgminer
* When network was down poweroff ASIC
* Automatic fan adjustment
* Make sure 80/22/4028 open on WAN.
* Test 10 avalon2 single module with one host (703N or RPi)
 
= Testing on ASIC cores =
* The Avalon2/3 MM firmware support testing out of box. no needs particular firmware.
* The host test program is here: https://github.com/BitSyncom/avalon-extras/blob/master/scripts/avalon-mm-modular-test.py
* Please check the code for help
 
= Donation =
* Ngzhang0: [https://blockchain.info/address/1kBGUHDxmSAegACRB6fcE2vrnVAfPJarW 1kBGUHDxmSAegACRB6fcE2vrnVAfPJarW]
* Con Kolivas: [https://blockchain.info/address/15qSxP1SQcUX3o4nhkfdbgyoWEFMomJ4rZ 15qSxP1SQcUX3o4nhkfdbgyoWEFMomJ4rZ]
* Kanoi: [https://blockchain.info/address/1KanoiBupPiZfkwqB7rfLXAzPnoTshAVmb 1KanoiBupPiZfkwqB7rfLXAzPnoTshAVmb]
* Xiangfu: [https://blockchain.info/address/19BT2rcGStUK23vwrmF6y6s3ZWpxzQQn8x 19BT2rcGStUK23vwrmF6y6s3ZWpxzQQn8x]


= Links =  
= Links =  
* 55nm open design contest: http://avalon-asics.com/avalon-gen2-55nm-open-source-design-contest/
* 55nm open design contest: http://avalon-asics.com/avalon-gen2-55nm-open-source-design-contest/
* Documents release by Avalon: http://downloads.canaan-creative.com/hardware/A3255/
* Documents release by Avalon: http://downloads.canaan-creative.com/hardware/A3255/
* [[Avalon2 prototype]] by using Avalon1 hardware design


[[zh-cn:阿瓦隆]]
[[zh-cn:阿瓦隆2]]


[[Category:Hardware]]
[[Category:Hardware]]

Latest revision as of 22:45, 13 April 2015

Avalon2 is the second machine of Avalon project. It uses 55nm ASIC chips.

Pictures

A3255

PCB

Single modular

Avalon2 parts

Avalon2

User manual

TP LINK WR703N

The USB on the AR9331 has bugs. If you want use serial console, please use the direct serial console on 703N (the /dev/ttyATH0). It's far more stable than USB-serial converter. You may want add a USB hub between machine and 703n

Raspberry Pi

The 13 ports USB HUB
  • The default firmware IP address is 192.168.0.100, you can access it by http://192.168.0.100
  • You may need update the address/DNS to your local configuration. DO NOT FORGET your IP address.
  • If the Raspberry Pi can access internet, cgminer should automatic start

Using BFGMiner

Avalon 2 units communicate with a UART, usually attached to your host via a generic USB UART adapter. First, figure out what COM port (or /dev/ttyUSB on Linux) and run BFGMiner with:

bfgminer -S avalonmm:\\.\COM22 --set avalonmm:clock=1500 --set avalonmm:voltage=1 --set avalonmm:fan=80

Manual by others

Overclock

  • Chip Freq: 1700, Voltage: 10750 --> 119GHs
Extra cooling is recommended, GJPMiningco recommends removing the slide panel that covers the heatsink and adding some fans that blow down into the heatsink - at least 3 fans evenly spaced along the heatsink.

Avalon3 CGMiner Under Ubuntu 14.04

sudo apt-get update
sudo apt-get upgrade
sudo apt-get install libcurl4-openssl-dev pkg-config libtool libncurses5-dev libudev-dev screen xterm
sudo apt-get install git-core
sudo apt-get install openssh-server byobu
sudo apt-get install autoconf
sudo apt-get install automake
Inside your home directory, download Cgminer
sudo git clone https://github.com/ckolivas/cgminer
cd cgminer
sudo ./autogen.sh --enable-avalon2
sudo make -j 4
-
sudo ./cgminer -S /dev/ttyUSB0 --avalon2-freq 500 --avalon2-voltage 7250 --avalon2-fan 50 -o http://stratum.pool:3333 -u  work -p pass 
or
sudo ./cgminer -S /dev/ttyUSB0 --avalon2-freq 500 --avalon2-voltage 7250 --avalon2-fan 50 -o http://stratum.pool:3333 -u  work -p pass --api-allow W:192.168.2,W:192.168.2.1 --api-listen $@ 2>./log

If you use cgminer 4.5.0, the command will like this:

sudo ./cgminer --avalon2-freq 500 --avalon2-voltage 7250 --avalon2-fan 50 -o http://stratum.pool:3333 -u  work -p pass 
or
sudo ./cgminer --avalon2-freq 500 --avalon2-voltage 7250 --avalon2-fan 50 -o http://stratum.pool:3333 -u  work -p pass --api-allow W:192.168.2,W:192.168.2.1 --api-listen $@ 2>./log

The Avalon2

Power supply

Specification

315GH/s, 1020W@220V in normal mode. 
210GH/s, 420W@220V in ECO mode. 

Avalon2 Single Modular

Module hash speed: ~105GHS
Chip operating speed: 1.5GHS 
Chip working voltage: 1.0V 
Typical values ​​DH: ~2% 
Module Power: 24.5A@12V, 294W (excluding fan power consumption). 0.1A @ 5V, 0.5A @ 3.3V. 
Power Module conversion efficiency: >= 87% 
Design Operating temperature: 85C (chip temperature), 60C (PCB, temperature sensor measurements) 
Fan: 4PIN PWM speed control, report fan speed back.
Include: Single modular, USB Connector

LEDS

From bottom (FPGA) to top is 1 to 8:
1, 2, 3, 4, 5: Blink when found nonce
6, 7, Data transfer
8: Error or under testing

Design Files

Package: QFN48-7X7, 0.5mm pitch
Process node: 55nm
Core voltage: 0.8 ~ 1.0V
Chip frequency: 750MHz
Hashrate: 1.5Gh/s
Power usage: 1.6~2.45J/Gh on ASIC side
VDDIO: 3.0 ~ 3.6V

Source code

Debug port

Firmware

20140827

  • Merge cgminer to ckolivas's trunk(V4.5.0)
  • Support p2pool(with MM Version: 331408-a15cac80)
  • Fan speed auto adjust with new method,range support.(cgminer param: --avalon2-fan 50-100 or --avalon2-fan 50)
  • Support hotplug usb cable by cgminer.
  • Ignore blacklisted and zombie devices on luci status page.

20140719

  • Update OpenWrt to r41240
  • Add new parameter for polling delay: --avalon2-polling-delay (Default: 20ms)
  • Add new parameter for stratum ignore time: --stratum-ignore (Default: 30s)
  • Add LED status on API log
  • Support unlimited socket receive size for cgminer-api
  • Try to detect module twice when start
  • Don't count HW works on hashrate
  • Support cgminer restart on status page
  • Display indicator status on status page
  • Change introduction on luci-cgminer

20140526

  • Update to OpenWrt r40859, Update cgminer to 4.3.3
  • Add option: --avalon2-cutoff <arg> Set Avalon2 overheat cut off temperature (default: 88)
  • Add option: --avalon2-fixed-speed Set Avalon2 fan to fixed speed
  • Update default modulars from 3 to 4
  • Only display the module that attached
  • Ignore frequent stratum message. make MM have more time to hashing
  • Fix the share cannot count to correct device(miner thread)
  • Cut the ASIC power when network was down for 3 minutes
  • Automatic fan speed adjustment
  • New feature. module indicator by using the red led
  • Fixed hashrate count when start and ignore disabled module
  • Fixed a bug that may lose hashrate. 5% ~ 8% hashreate improvement.
  • Code improvement: dev type detect, job_id crc16 compare, display GHS, etc.

20140423

  • Here: http://downloads.canaan-creative.com/software/avalon2/2014-04-23
  • Update CGminer from 4.0.0 to 4.3.0 (You may want read document on --config options)
  • Update OpenWrt to r40351 (Linux version 3.10.34)
  • Fix a bug that may cause hashrate lose.
  • Support 703N, 1043ND-V2 and RaspBerry Pi
  • Detect Avalon power good signal in cgminer
  • Display GHS(not MHS) on cgminer status page
  • Add some text for support both Avalon2 and Avalon3
  • Support frequency setting for Avalon2 and Avalon3 chips on cgminer configuration page
  • Support voltage setting for Avalon2 and Avalon3 chips on cgminer configuration page

20140411

20140320

20140123

  • Here: http://downloads.canaan-creative.com/software/avalon2/2014-01-23/
  • MM(201401-a3cb3950): Include the first stable version of MM firmware
  • Include the RPi OpenWrt firmware
  • Include the 703N OpenWrt firmware
  • Support fixed fan speed, support A3255 frequency from 1G to 2G, support adjust voltage for 0.65v to 1.1v
  • Display all modules status include 2 fan, 2 temperature sensors, voltage and frequency
  • Voltage display as encode mode. needs to be changed to human readable
  • Include an ASIC cores testing python script

NEXT-TESTING

  • NOTICE: Only for testing
  • Fixed fan speed can be change by users.

Test plan

  • New firmware don't break Avalon for sure
  • New firmware don't use all flash. have to keep some space for save configuration
  • Either and WiFi(703N) connect works fine
  • Cgminer works fine(the kernel user driver, cgminer it self, cgminer-monitor and uci configurations files)
  • After configure cgminer. [Save & Apply] can restart the cgminer
  • The Status/API log page works fine
  • Test mining. the hashrate should be correct
  • Test the cgminer-monitor. make sure it can restart cgminer
  • When network was down poweroff ASIC
  • Automatic fan adjustment
  • Make sure 80/22/4028 open on WAN.
  • Test 10 avalon2 single module with one host (703N or RPi)

Testing on ASIC cores

Donation

Links