|
|
(134 intermediate revisions by 8 users not shown) |
Line 1: |
Line 1: |
| = Pictures = | | {{Infobox company|name=Avalon Project|native_name=阿瓦隆项目|image=[[{{ns:file}}:Logo-A.png|270x64px]] |
| [[File:Avalon-case.jpg | 320px]] [[File:Avalon-eth-wifi.jpg | 320px]] [[File:Avalon-side-1.jpg | 320px]] | | |website=[https://canaan.io Canaan Creative] |
| | |parent=[[Canaan Creative]] |
| | |industry=Chip Design |
| | |founder=[[张楠赓]]<sup><small><nowiki>[</nowiki>''transliteration needed'']</small></sup><br/>[[Yifu Guo]] |
| | |foundation=2012 |
| | }} |
|
| |
|
| [[File:Avalon-side-2.jpg | 320px]] [[File:Avalon-fan.jpg | 320px]] [[File:Avalon-modular-4.jpg | 320px]] | | The '''Avalon Project''' produces [[ASIC]] miners. The project created by 张楠赓<sup><small><nowiki>[</nowiki>''transliteration needed'']</small></sup><ref>https://canaan.io</ref><ref>https://bitcointalk.org/index.php?action=profile;u=38132</ref> and [[Yifu Guo]].<ref>http://bitsyn.com</ref> <ref>https://bitcointalk.org/index.php?action=profile;u=68196</ref> The project started in late 2012 with a [[BitcoinTalk]] thread.<ref>https://bitcointalk.org/index.php?topic=110090.0</ref> |
|
| |
|
| [[File:Avalon-detail.JPG | 320px]] [[File:Avalon-side-3.jpg | 320px]]
| | Avalon project have three different ASIC, named A3256, A3255, A3233, have two type of bitcoin transaction machines. Avalon1 and Avalon2. right now Avalon project people working very hard on third generation machine. named Avalon3. it is 2U size, using the newest 40nm ASIC, (7GHS/chip, 0.7Watt/G). |
|
| |
|
| [[File:Avalon-IR-1.jpg | 320px]] [[File:Avalon-IR-2.jpg | 320px]]
| | After one year of Avalon project started, Yifu Guo(Bitsyncom)<ref>http://bitsyn.com</ref> left Avalon project. The Canaan Creative<ref>https://canaan.io</ref> (founded by ngzhang) have full in charge of the project running from 2014 and EHash.com(The online shop that accept Bitcoin)<ref>http://ehash.com</ref> was part of Canaan Creative. |
|
| |
|
| = Hardware Information = | | {| class="wikitable" cellspacing="0" cellpadding="0" width=100% style="border: 0px solid #eee; padding: 0px" |
| == [https://bitcointalk.org/index.php?topic=120184.msg1294416#msg1294416 Chip Specification] == | | ! width=33% style="background:#FCC6FF;border-left:0px solid white;border-right:5px solid white;border-top:5px solid white;" | For users |
| [[File:Avalon-A3256-Q48-front.png | 320px]] [[File:Avalon-A3256-Q48-foot.png | 320px]] [[File:Avalon-A3256-Q48-foot-side.png | 320px]] | | ! width=33% style="background:#B3DDF4;border-left:5px solid white;border-right:5px solid white;border-top:5px solid white;" | For developers |
| | ! width=33% style="background:#F5FC7F;border-left:5px solid white;border-right:0px solid white;border-top:5px solid white;" | For businesses |
| | |- |
| | |valign="TOP" style="background:#FEE9FF;border-left:0px solid white;border-right:5px solid white;border-bottom:5px solid white;" | |
| | * [https://github.com/Canaan-Creative/avalon7-docs Avalon721], Using 16nm A3212, 6T@900W ROQ(Reliable Open Quality) Solid machine |
| | * [[Avalon6]], Using A3218, 3.5T@980W machine |
| | * [[Avalon4]], Using A3222, 580 ~ 680W, 1T machine |
| | * [[Avalon3]], Using A3233, 105/290/800/GHs machine |
| | * [[Avalon2]], Using A3255, 145/300GHs machine |
| | * [[Avalon1]], Using A3256, 66/110GHs machine |
|
| |
|
| [[File:Avalon-A3256-Q48-foot-1.png | 320px]] [[File:Avalon-A3256-Q48-foot-detail.png | 320px]] [[File:Avalon-A3256-Q48-front-side-1.png | 320px]]
| |
|
| |
|
| Technology Summary:
| |
| TSMC 0.11- micron G process
| |
| 5 Metal
| |
| Core Voltage: 1.2 V
| |
| I/O Voltage: 3.3 V
| |
| Core Frequency: 256+ MHz
| |
| Number of Pads: 48
| |
| 8 Data
| |
| 40+1 Power
| |
| Package Type: QFN48 -0.5 Pitch
| |
| Packaged Chip Size: 7 mm x 7 mm
| |
|
| |
| Chip Interface
| |
| Data Pins (8 in total):
| |
| Clock i
| |
| Serial Data In [2] i
| |
| Serial Data Out [2] o
| |
| Serial Data Bypass [2] o
| |
| Reserved [1] -
| |
|
| |
|
| == Wafer ==
| | * [[Avalon3.5]], Using A3233, Prepare for Avalon4 |
| TSMC
| | * [[Avalon5]], Using A3222, Prepare for Avalon6 |
| TMEM91
| | * [[Avalon nano]], Using only one A3233, Small USB device. |
| Chip Size : X = 3.9760 ,Y = 4.0560 mm
| | * [[Avalon4 mini]], Using 5 A3222 chips, a portable usb device. |
| Reticle Size : X/cell = 3 ,Y/cell = 3
| |
| Offset Value : X = -3.7668 ,Y = -2.2990 mm
| |
| Alignment Mark : (118.80,83.20),(-118.80,-83.20)
| |
| Alignment Mark Tolerant Distance : 1.6 mm
| |
| Notch Reserved Distance : 7.75 mm
| |
| Start Distance : 7.75 mm
| |
| Ring Edge : 3.0 mm
| |
| Photo Die Number: 4055
| |
|
| |
|
| == Power ==
| |
| Chip power efficienty: 6.6W/GHs @ 1.15 V
| |
| Module power consumption: 149W @ 20GHs / 164W@ 22GHs
| |
| Machine power consumption: 595W @ 220V-AC / 620W @ 120V-AC
| |
|
| |
|
| === Comfirmed working PSU list ===
| | * [https://canaan.io/downloads/ams/v3/ AMS] A web base Avalon Management System. used on a 20,000 Avalon3-290 farm. [https://canaan.io/downloads/ams/v3/3d here] is the '''3D''' version AMS. |
| * [http://www.antec.com.cn/product.php?id=NzA0MjY0 ANTEC EA-650 GREEN] | | * [[Avalon mm tools]] is the tools for upgrade MM firmware or testing the ASIC cores. |
| * [http://www.enermax.cn/Products_Pages.asp?ID=188&SortID=1 Enermax GX650]
| |
| * [http://www.enermax.cn/Products_Pages.asp?ID=189&SortID=1 Enermax GX750]
| |
| * [http://www.corsair.com/cn/power-supply-units/gs-series-power-supply-units/gs-series-gs700-80-plus-bronze-certified-power-supply-840.html CORSAIR GS700]
| |
| * [http://www.corsair.com/cn/power-supply-units/gs-series-power-supply-units/gs-series-gs800-80-plus-bronze-certified-power-supply-841.html CORSAIR GS800] | |
| * [http://www.super-flower.com.cn/gb/pro_detail.asp?id=212 Super-Flower(振华) SF-650P14XE(GX)]
| |
| * [http://www.enermax.cn/Products_Pages.asp?ID=145&SortID=1 Enermax 金魔冰核1000W(suit for 4 modules, a little bit long)]
| |
| * [http://ocz.com/consumer/psu/zx-series-850w-1250w-power-supply OCZ ZX Series 1250W]
| |
|
| |
|
| === The PSU Spec === | | |valign="TOP" style="background:#D4EDFB;border-left:5px solid white;border-right:5px solid white;border-bottom:5px solid white;" | |
| * '''155mm''' recommend, MAX: 170mm | | * [https://canaan.io/support Downloads] |
| * For 3 module units: 650W, 48A 12V, at least. recommend for a 20% margin. | | * [https://github.com/Canaan-Creative Software engineering] |
| * For 4 module units: 750W, 60A 12V, at least. recommend for a 20% margin. | | * [http://goo.gl/2ll1C0 IRC channel for share and help] |
| * Plugs:
| | * [[Avalon usb vid/pid list]] |
| ** 1X ATX 24PIN | |
| ** 1X EPS 12V (8PIN)
| |
| ** 2X PCIE 12V (8PIN)
| |
|
| |
|
| == The TP-LINK WR703N == | | |valign="TOP" style="background:#FCFFCD;border-left:5px solid white;border-right:0px solid white;border-bottom:5px solid white;" | |
| [[File:avalon-703n-back.JPG | 320px]] [[File:avalon-703n-front.JPG | 320px]]
| | * [https://canaan.io/ Company Website] |
| | * Please email to service@canaan-creative.com for more information |
|
| |
|
| == Control Unit ==
| | |} |
| [[File:avalon-controlunit-v1.2.JPG | 320px]] [[File:avalon-controlunit-v1.2-fpga.JPG | 320px]] [[File:avalon-controlunit-v1.2-usb-serail-chip.JPG | 320px]]
| |
|
| |
|
| [[File:avalon-controlunit-v1.2-spi-flash.JPG | 320px]] [[File:avalon-controlunit-v1.2-usb-connector.JPG | 320px]] [[File:avalon-temperature-sensor-1.JPG | 320px]]
| | = Links = |
| | == Social Media == |
| | * https://twitter.com/canaanio |
| | * https://www.facebook.com/canaanio |
|
| |
|
| [[File:avalon-controlunit-v1.2-P5.JPG | 320px]] [[File:avalon-controlunit-v1.2-by-ngzhang.JPG | 320px]] | | == Bitcointalk thread == |
| | * [https://bitcointalk.org/index.php?topic=938679.0 Valkir's Comprehensive Avalon Avalon4 Setup] |
| | * [https://bitcointalk.org/index.php?topic=922558 Dogie's Comprehensive Avalon Avalon4 Setup ] |
| | * [https://bitcointalk.org/index.php?topic=140539.0 Avalon ASIC users thread] |
| | * [https://bitcointalk.org/index.php?topic=587545.0 Avalon MM (miner manager) development thread] |
| | * [https://bitcointalk.org/index.php?topic=604853.0 Avalon Gen2&3 ASIC users thread] |
| | * [https://bitcointalk.org/index.php?topic=604281.msg6666298#msg6666298 Avalon authorized e-shop EHash.com online] |
| | * [https://bitcointalk.org/index.php?topic=779612.0;all Avalon4 (A3222, 28nm, ~25GHS, ~0.6W/G) sample chips available here: EHash.com ] |
| | * [https://bitcointalk.org/index.php?topic=751434.0 Dogie's Comprehensive Avalon Avalon3 Setup ] |
| | * [https://bitcointalk.org/index.php?topic=493358 Dogie's Comprehensive Avalon Avalon2 Setup ] |
|
| |
|
| == PDU == | | == AMA == |
| [[File:avalon-pdu-v1.2.JPG | 320px]]
| | Join us on Reddit this Thursday, April 9, at 9am Eastern Standard Time. We will use the ID=AvalonBTC. The website: http://www.reddit.com/r/IAmA |
| [[File:avalon-pdu-v1.2-side.JPG | 320px]]
| |
|
| |
|
| == Parts ==
| | This is your chance to ask Ngzhang anything about the Bitcoin mining in China, Bitcoin in China, Any question of Avalon project(and anything else you like). Make sure to mark it on your calendar. Ngzhang will answer questions for 90 minutes. Get your questions ready! |
| [[File:avalon-fpga-controller-led-detail.JPG | 320px]] [[File:avalon-fpga-controller-led.JPG | 320px]]
| |
|
| |
|
| [[File:avalon-modular-date-cable-head.JPG | 320px]] [[File:avalon-modular-date-cable.JPG | 320px]]
| | Ngzhang(张楠赓):江湖人称“南瓜张”;世界上第一台ASIC矿机“阿瓦隆”的发明者。资深动漫宅男。 |
| | = References = |
| | <references/> |
|
| |
|
| [[File:avalon-modular-power-cable-head.JPG | 320px]] [[File:avalon-modular-power-cable.JPG | 320px]] | | [[zh-cn:阿瓦隆]] |
| | |
| [[File:avalon-temperature-sensor-detail.JPG | 320px]] [[File:avalon-temperature-sensor.JPG | 320px]]
| |
| | |
| = User Guide =
| |
| * Connect your laptop to the eithernet port of the Avalon
| |
| * Setup your laptop IP address 192.168.0.101
| |
| * Open http://192.168.0.100
| |
| * Make sure WR703N can access Internet, Configure WiFi: Network -> WIFI -> Scan(select your WIFI network) -> Join Network -> WPA passphrase -> Submit -> Save & Apply for connect to WIFI Internet
| |
| * setup your mining worker: Status -> Cgminer Configuration.
| |
| * Restart the cgminer service: System -> Startup,
| |
| * Check your avalon status: Status -> Cgminer Status
| |
| * Setup password/using ssh
| |
| ssh root@192.168.0.100 # Once you setup the password the telnet service will be stop. use ssh instead.
| |
| | |
| == Cgminer option ==
| |
| '''--avalon-options 115200:24:10:45:282'''. this is the default avalon option. here is the details:
| |
| '''115200''': the serial baud. this have to match the controller baud.
| |
| '''24''': the miner count.(there are 3 modulars in avalon. each modular have 8 miners), if your avalon have 4 modulars. change it to 32
| |
| '''10''': the chip count pre miner.
| |
| '''45''': the controller timeout parameter. the valid number: 50, 47, 45, 40.
| |
| '''282''': the chip clock. the valid number: 256, 270, 282, 300.
| |
| | |
| == Run cgminer manually ==
| |
| In case you need to run Cgminer in linux console please run the following command:
| |
| *Restart Cgminer:
| |
| # /etc/init.d/cgminer restart
| |
| | |
| If your avalon does not mine properly, please run Cgminer in debug mode with -D --verbose option. For example:
| |
| # cgminer -S /dev/ttyUSB0 -o stratum.btcguild.com:3333 -O xxxx:yyyy -D --verbose --avalon-options 115200:24:10:45:282 --api-allow "W:0/0" --api-listen 2>/tmp/cgminer-debug.log
| |
| | |
| == TP-LINK TL-WR703N ==
| |
| There is a modify version of TP-LINK TP-WR703N inside Avalon. cgminer running at 703n, this 703n have 64MB ram and modified power supply. it power from the usb-client side(we moved a 0R resistor from '''J1''' to '''R113''' for that)
| |
| | |
| Why there is a ugly USB HUB there? you can find more information about AR9331's usb stability issue [https://forum.openwrt.org/viewtopic.php?id=39956 here].
| |
| | |
| === How to reflash ===
| |
| # Download latest Avalon [http://downloads.qi-hardware.com/people/xiangfu/avalon/latest/openwrt-ar71xx-generic-tl-wr703n-v1-squashfs-factory.bin image] to your PC.
| |
| # Goto:
| |
| System -> Backup / Flash Firmware -> Flash new firmware image (make sure '''Keep settings''' is checked)
| |
| # Select the image you just download. then compare the md5 in next page. if everything fine. click '''Proceed'''
| |
| | |
| '''Attention:''' To avoid your WR703N become a brick, during flash your WR703N be careful DO NOT power off avalon, and DO NOT break your network connection. Just wait there till you see OpenWrt login web page again.
| |
| | |
| '''Attention:''' If not essential please do not re-Flash your Avalon. Because not all of WR703N issue could be resolved by reset button. If you want to play WR703N I would like to recommend you order a standalone TP-LINK WR703N from ebay or somewhere for studying purpose.
| |
| | |
| == WIFI or Ethernet Cable ? ==
| |
| Avalon shipped with a 9db antenna after connect it to WR703N usually could establish good wireless connection with your WIFI router. But if for some reason you would like to use Ethernet Cable to connect Avalon with your network, please login OpenWrt and configure the LAN port:
| |
| Network -> Interfaces -> LAN -> Edit -> Common Configuration -> General Setup
| |
| Disable the DHCP on Lan port
| |
| | |
| '''Attention:''' You need to configure it correctly based on your own network enviroment. If anything wrong you might could not access your WR703N any more.
| |
| | |
| == Start to mine ==
| |
| To maximize your Avalon miner's performance, it is recommended that you choose pools with the stratum protocol supported. The default mining pool configured in Avalon is ozco.in. To change it login to OpenWrt:
| |
| Status -> Cgminer Configuration
| |
| Click "Save & Apply" to save your update and restart cgminer immediately
| |
| | |
| Currently the stratum pools that could work stable with Avalon are:
| |
| * [http://50btc.com/ 50BTC.com]
| |
| * [https://bitcointalk.org/index.php?topic=158105.0 Solo mining with Eloipool]
| |
| * [http://bitminter.com BitMinter]
| |
| * [http://eligius.st Eligius]
| |
| * [https://www.ozcoin.net Ozcoin]
| |
| * [http://www.btcguild.com btcguild]
| |
| * [http://mining.bitcoin.cz slush's pool]
| |
| * [http://www.triplemining.com Triplemining]
| |
| | |
| To get more information about how to configure specific pools, please check their website. If you run multiple Avalons, we recommend that you create a dedicated worker for each of them. This will make it easier to monitor your Avalons through the pool's website and identify possible problems.
| |
| | |
| == Source code ==
| |
| * https://github.com/BitSyncom/cgminer/tree/avalon
| |
| * https://github.com/BitSyncom/cgminer-openwrt-packages
| |
| * https://github.com/BitSyncom/luci/tree/cgminer-webui
| |
| * https://github.com/BitSyncom/avalon-extras
| |
| | |
| == FPGA controller ==
| |
| === V1.0 ~ V1.2 ===
| |
| About '''P5''' jumper: close this jumper will supply 5V to the USB-B port. in this system, the controller board power the 703N from the client side. if you connect the controller itself to a PC, you better remove the jumper.
| |
| | |
| === V1.5 ===
| |
| [[File:Avalon fpga controller v1.5.jpg | 320px]] [[File:Avalon fpga controller v1.5 usb hub.jpg | 320px]]
| |
| * Remove the '''[http://www3.picturepush.com/photo/a/13207881/1024/Anonymous/avf1.png F1(Fuse)]''' for fix the USB-HUB chip overheat,
| |
| # if you are batch2 user and your received Avalon between '''Apr 26 2013 ~ May 31 2013'''
| |
| # the FPGA controller is '''1.5'''
| |
| # your FPGA contoller board still have '''F1 mounted'''
| |
| you need do this by yourself. removing F1 will not make the usb hub stop working, F1 powers the USB-A1 plug (which is normally unused), more info please checkout [https://github.com/BitSyncom/avalon-ref/issues/5 here]
| |
| | |
| === V1.51 ===
| |
| * Fixed USB-HUB chip overheat, NO NEEDS remove F1 anymore
| |
| | |
| == Update FPGA controller firmware (NOT FINISHED/FULL DOCUMENT YET) ==
| |
| [[File:Fpga-controller-jtag-pins.png]]
| |
| | |
| * Update under Avalon 703N: http://downloads.qi-hardware.com/people/xiangfu/avalon/fpga-controller/
| |
| * http://en.qi-hardware.com/w/images/f/ff/M1_JTAGserialpod_Pins.JPG
| |
| | |
| #mini-jtag load xc6slx16-2-ftg256.bscan_s6_spi_isf_ext.bit && sleep 1 && xc3sprog -c qi -v -I fpga_controller_2013-05-02-D.bit
| |
| xc3sprog -c qi xc6slx16-2-ftg256.bscan_s6_spi_isf_ext.bit && sleep 1 && xc3sprog -c qi -v -I fpga_controller_2013-05-02-D.bit
| |
| xc3sprog -c qi -v -I file.bin:R:0:bin
| |
| dd if=file.bin bs=68 skip=1 of=file2.bin
| |
| xc3sprog -c qi -v -I file2.bin:w:0:bin
| |
| rm -f file.bin file2.bin
| |
| | |
| == P2Pool Operation with Avalon ==
| |
| There is an /avalon branch Forrest committed to the p2pool github repository. Make sure that is checked out.
| |
| | |
| Next, the following option may need to be passed to Avalon's cgminer:
| |
| '''--fix-protocol''': Do not redirect to a different getwork protocol (eg. stratum)
| |
| | |
| The current /avalon branch from Forrest is likely now functional. Please test and report your findings to the IRC channel.
| |
| | |
| '''NOTE''': The best performance the small handful of users who got this working have reported is still about 25-30% DOA against P2Pool (versus the usual DOA of 8-15% or so.) So it's close to desired, but be aware that getting things working in this state currently requires command-line skills and the ability to check-out branches from p2pool's git repository. For the moment, your most efficient options are solo-mining with local pool software, or just using one of the online pools.
| |
| | |
| == About [usb 1-1: clear tt 1 (8030) error -71] ==
| |
| Not all 703n have this problem. ignore this section if you never meet this error
| |
| | |
| * There is a power issue with the 703N, The 703N is drawing to much power it caused the USB HUB chip on Senseless's FPGA controller to nearly destroy itself. See the destruction [ http://www.mysenselesslife.com/avalon/DSCN5212.JPG here]
| |
| | |
| * In order to fix it you need had to '''power down the WiFi modem by disable it''', use Eithernet instead. The kernel no long report -71 errors. thanks to senseless and others who help on identify the issue.
| |
| | |
| * If your avalon was far away from your router. eithernet cable not fit. you may want try those kind of devices
| |
| ** TP-LINK TL-PA500(For mainland China) : http://www.tp-link.com.cn/product_adapter_263.html
| |
| ** TP-LINK TL-PA511 : http://www.tp-link.com/en/products/details/?model=TL-PA511
| |
| | |
| == Others ==
| |
| * There is a pair of gloves in Avalon package. please put it on when assembling or carrying.
| |
| | |
| * About the plastic sheets: please '''remove them BEFORE''' mining. we design the case as a part of heatsink, so remove the plastic sheets is a must
| |
| | |
| * About FAN change: '''DO NOT''' change the fans to a low speed model. will cause over heat. '''DO NOT''' install extra fans at the rear "fan socket". will cause PSU over heat and nearly useless for module cooling.
| |
| | |
| * About install extra heat-sinks on each avalon chip: please do not do that. there is a air gap between the die and package top, install a heatsink on chip is useless. and will cause overheating. because the top PCB copper act as a heatsink too. do not cover them.
| |
| | |
| * About water cooling: yes, do it.
| |
| | |
| = [http://downloads.qi-hardware.com/people/xiangfu/avalon/ Firmware] =
| |
| * Check your firmware version by goto '''Cgminer Status''' page
| |
| * Latest Firmware is [http://downloads.qi-hardware.com/people/xiangfu/avalon/latest/openwrt-ar71xx-generic-tl-wr703n-v1-squashfs-factory.bin here]
| |
| * The Avalon firmware SDK: [http://downloads.qi-hardware.com/people/xiangfu/avalon/latest/OpenWrt-SDK-ar71xx-for-linux-x86_64-gcc-4.6-linaro_uClibc-0.9.33.2.tar.bz2 here]
| |
| | |
| == [http://downloads.qi-hardware.com/people/xiangfu/avalon/next-testing/ NEXT] ==
| |
| Please always using the latest testing image for testing.
| |
| | |
| * New options for Avalon
| |
| --avalon-auto Adjust avalon overclock frequency dynamically for best hashrate
| |
| --avalon-cutoff <arg> Set avalon overheat cut off temperature (default: 60)
| |
| --avalon-fan <arg> Set fanspeed percentage for avalon, single value or range (default: 20-100)
| |
| --avalon-freq <arg> Set frequency range for avalon-auto, single value or range
| |
| --avalon-options <arg> Set avalon options baud:miners:asic:timeout:freq
| |
| --avalon-temp <arg> Set avalon target temperature (default: 50)
| |
| | |
| == [http://downloads.qi-hardware.com/people/xiangfu/avalon/20130607/ 20130607] ==
| |
| * '''Update cgminer to 3.2.1''', we have the direct USB feature now.
| |
| * Add --lowmem by default
| |
| * cgminer-monitor: change the schedule from 5mins to 2mins
| |
| * cgminer-monitor: switch from Diff1 work to Last Valid Work
| |
| * Disable DHCP on lan port.
| |
| * Remove custom DNS (8.8.8.8)
| |
| * Some minor changes on web page
| |
| | |
| == [http://downloads.qi-hardware.com/people/xiangfu/avalon/20130519/ 20130519] ==
| |
| * '''Update cgminer to 3.1.1'''
| |
| * Add '''More Options''' on web configure page(you can add 4th,5th pool here now)
| |
| * Disable hotplug. useless on Avalon
| |
| * Include '''usbmon''' in firmware, prepare/debug for usb code, this was for developers
| |
| * Dynamic display [match_work_count*] base on Modular Count
| |
| * You may want add '''--real-quiet''' under Cgminer Configuration --> More Options after upgrade
| |
| * Change 300MHS timeout from 40 to 43
| |
| * Change Modular Count(3 ~ 4) to Miner Count(1 ~ 32) on webui
| |
| * Switch buildhost from Ubuntu 12.10 to Debian 7.0.0
| |
| * NOTE: If your Pool URLs have trailing slash '''remove the trailing slash''' (symptom is: [2013-06-04 19:05:30] Failed to resolve (?wrong URL) host.name.com:PORT/ and/or all Pools with trailing slash listed as DEAD in status)
| |
| | |
| == [http://downloads.qi-hardware.com/people/xiangfu/avalon/20130419 20130419] ==
| |
| * '''Merged to cgminer. BIG thanks to conman'''. so we have all cgminer's improvment
| |
| * Idle avalon chips after reset. for save power. (idle needs ~50W)
| |
| * Fix the cgminer restart bug.
| |
| * Fix temp/fan have wrong value(the wrong result from fpga controller)
| |
| * Fix the fan control. now base on the max value of temp2/3
| |
| * Fix no_matching_work only count in debug mode
| |
| * Update cgminer-monitor, replace [Accept] with [Diff1 Work], add killall before restart.
| |
| * Fix a typo on /usr/bin/cgminer-monitor
| |
| * '''More check/fliter on result. this make Avalon more stable'''
| |
| * New status page, new api log page.
| |
| * Improve the cgminer service. a restart takes ~2 seconds now. no needs ntpd when restart
| |
| * Quiet some improvments on software develop/codeing. compile Avalon firmware is much eaiser with [https://github.com/BitSyncom/avalon-extras/blob/master/scripts/build-avalon-image.sh build-avalon-image.sh]
| |
| * Frimware version:
| |
| [Firmware Version] => 20130419
| |
| cgminer-8e8313c
| |
| luci-28b4ff2
| |
| cgminer-openwrt-packages-f2bc5dc
| |
| | |
| == [http://downloads.qi-hardware.com/people/xiangfu/avalon/20130321/ 20130321] ==
| |
| *For fix the cgminer-monitor, please run this command after you reflash
| |
| '''sed -i 's/ $B / "$B" /' /usr/bin/cgminer-monitor'''
| |
| | |
| <source lang="c">
| |
| If you "check the Keep settings", you need fill API Allow to "W:127.0.0.1" after reflash, edit it here: "http://AVALON_IP/cgi-bin/luci/admin/status/cgminer/", "DO NOT" left it blank
| |
| </source>
| |
| <source lang="c">
| |
| If you "uncheck the Keep settings" when reflashing, Please "reconfigure your Avalon" after reflash
| |
| </source>
| |
| | |
| * Update Linux from 3.6 to 3.8.3
| |
| * Update OpenWrt to r36095
| |
| * When there is no network. automatic idle chip after detect avalon, save power and protect your avalon overheat
| |
| * Idle chip when cgminer close avalon
| |
| * Add device_reinit support
| |
| * Add frequency, modular configure on web ui
| |
| * Add API Allow on web ui
| |
| * Add pool balance on web ui, by default balance on all 3 pools
| |
| * Add stratum+tcp:// by default
| |
| * Display Frequency on status page
| |
| * Fix the [https://bitcointalk.org/index.php?topic=155455.0 kern.err kernel: ... ath: phy0: ...] bug
| |
| * Fliter >=100 degree result for debug
| |
| * Replace TempMax with No Matching Work
| |
| | |
| ==[http://downloads.qi-hardware.com/people/xiangfu/avalon/openwrt-ar71xx-generic-tl-wr703n-v1-squashfs-factory-20130225.bin 20130225]==
| |
| * A new cgminer status page
| |
| * /etc/avalon_version include all repo commit
| |
| * Fix temp_history_count, make sure 2~3s call adjuest_fan
| |
| | |
| ==[http://downloads.qi-hardware.com/people/xiangfu/avalon/openwrt-ar71xx-generic-tl-wr703n-v1-squashfs-factory-20130218.bin 20130218]==
| |
| * Update adjust_fan()
| |
| * Using avaon default worker
| |
| | |
| ==[http://downloads.qi-hardware.com/people/xiangfu/avalon/openwrt-ar71xx-generic-tl-wr703n-v1-squashfs-factory-20130212.bin 20130212]==
| |
| * Update fan pwm
| |
| | |
| ==[http://downloads.qi-hardware.com/people/xiangfu/avalon/openwrt-ar71xx-generic-tl-wr703n-v1-squashfs-factory-20130205.bin 20130205]==
| |
| * Update fan pwm MAX/MIN
| |
| * Sync with upstream, fix the memory leak bug
| |
| * Monitor the Accept number
| |
| | |
| ==[http://downloads.qi-hardware.com/people/xiangfu/avalon/openwrt-ar71xx-generic-tl-wr703n-v1-squashfs-factory-20130127.bin 20130127]==
| |
| * Add overclock code
| |
| * Change the cgminer configure to UCI system
| |
| * Add the simple web ui
| |
| | |
| ==20130117==
| |
| * Update OpenWRt to r35097
| |
| * Update cgminer to 2.10.4
| |
| * Remove /www/miner.php, change cgminer cron job to */5
| |
| * Start ntpd before start cgminer
| |
|
| |
|
| == Test Plan ==
| | [[Category:Hardware]] |
| * 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 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
| |
| * Test the cgminer-monitor
| |
| * Make sure 80/22/4028 open on WAN.
| |
| | |
| == Unofficial Firmware ==
| |
| * [https://bitcointalk.org/?topic=78192.msg1566545#msg1566545 Untested BFGMiner 3.0 alpha1 for Avalon]
| |
| | |
| = How to Compile Your Own Firmware for Avalon =
| |
| 1. First check if you have met the building prerequisites. Checkout this page first [http://wiki.openwrt.org/doc/howto/buildroot.exigence OpenWrt Buildroot – Installation]
| |
| | |
| For example, if your OS is Ubuntu/Debian, install the required packages like this:
| |
| sudo apt-get update
| |
| sudo apt-get install gawk flex quilt xsltproc unzip subversion git-core build-essential libxml-parser-perl libncurses5-dev zlib1g-dev libssl-dev liblua5.1-0-dev
| |
| | |
| 2. Now get the source code, prepare the code and build. '''this needs ~6GB'''
| |
| wget https://raw.github.com/BitSyncom/avalon-extras/master/scripts/build-avalon-image.sh
| |
| chmod +x build-avalon-image.sh
| |
| ./build-avalon-image.sh --clone #prepare the code and build, '''ONLY NEED ONCE'''
| |
| ./build-avalon-image.sh
| |
| | |
| 3. Update all repos
| |
| ./build-avalon-image.sh --update
| |
| | |
| 4. Only rebuild cgminer
| |
| ./build-avalon-image.sh --cgminer
| |
| | |
| 5. Finally you could get the freshly built firmware files under '''avalon/bin/'''
| |
| | |
| == Compile with kernel usbmon ==
| |
| * You need apply [https://lists.openwrt.org/pipermail/openwrt-devel/2013-May/020107.html this patch] to your OpenWrt for enable [https://www.kernel.org/doc/Documentation/usb/usbmon.txt usbmon]
| |
| * Run '''make menuconfig''' goto '''Kernel modules''' --> '''USB Support''' enable '''kmod-usb-mon'''
| |
| | |
| = IRC: #avalon @freenode.net =
| |
| '''#avalon @freenode.net''' Thanks to midnightmagic create that channel
| |
| | |
| = FAQ =
| |
| * Why there is a USB-HUB inside
| |
| [https://forum.openwrt.org/viewtopic.php?id=39956 AR9331's usb stability issue]
| |
| | |
| *Why ASIC bitcoin mining?
| |
| *Why Avalon?
| |
| *Who made Avalon?
| |
| *How to order one?
| |
| http://store.avalon-asics.com/
| |
| | |
| = Links =
| |
| * http://launch.avalon-asics.com/
| |
| * [https://bitcointalk.org/index.php?topic=140539.0;all Avalon ASIC users thread]
| |
| * http://garzikrants.blogspot.de/2013/01/avalon-asic-miner-review.html
| |
| * Jgarzik's solo mining [https://bitcointalk.org/index.php?topic=158105.0 configuration]
| |
| * [http://squonk42.github.io/TL-WR703N/ Reverse-Engineering work on the TL-WR703N 150M 802.11n Wi-Fi Router]
| |
| * http://3.14.by/en/read/avalon-bitcoin-microscope-photos
| |
| | |
| = 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/12h6gdGnThW385JaX1LRMA8cXKmbYRTP8Q 12h6gdGnThW385JaX1LRMA8cXKmbYRTP8Q]
| |
| | |
| [[zh-cn:阿瓦隆]]
| |