Avalon mm tools: Difference between revisions

From Bitcoin Wiki
Jump to navigation Jump to search
Mikeqin (talk | contribs)
No edit summary
Mikeqin (talk | contribs)
 
(9 intermediate revisions by the same user not shown)
Line 1: Line 1:
mm-tools is a program to upgrade Avalon4 mm firmware through Raspberry Pi and [https://en.bitcoin.it/wiki/Avalon4#AUC AUC].
== What does the Avalon mm tools do ==
Avalon mm tools is a program to upgrade Avalon4 mm firmware through [https://en.bitcoin.it/wiki/Avalon4#AUC AUC].


It can be used to upgrade 13 Avalon4s maximum simultaneously under one AUC.
Take care: <pre style="color: red">Don't upgrade Avalon4 MM-4.0 and Avalon4 MM-4.1 under the same AUC please</pre>
== What Avalon4 firmware are supported by Avalon mm tools ==
Support mm versions(MM-4.0: >= '''401412-7ef4ab10''', MM-4.1: '''Any one''')
Support mm versions(MM-4.0: >= '''401412-7ef4ab10''', MM-4.1: '''Any one''')


Ugrade file link: [http://downloads.canaan-creative.com/software/avalon4/mm/latest/mm.mcs For MM-4.0] [http://downloads.canaan-creative.com/software/avalon4/mm41/latest/mm.mcs For MM-4.1]
Latest firmware link: [http://downloads.canaan-creative.com/software/avalon4/mm41/latest/mm.mcs For MM-4.1] [http://downloads.canaan-creative.com/software/avalon4/mm/latest/mm.mcs For MM-4.0]
 
Firmware history: [https://en.bitcoin.it/wiki/Avalon4#MM_Firmware_.28For_MM-4.1.29 MM-4.1 firmware] [https://en.bitcoin.it/wiki/Avalon4#MM_Firmware_.28For_MM-4.0.29 MM4.0 firmware]
 
== How can i get the Avalon4 firmware version ==
Login the controller, Then find it under Cgminer Status->Avalon Devices Status->Device.
 
== What does the meaning of firmware version ==
For example '''401412-7ef4ab10'''
 
      '''40''': MM-4.0 firmware, 40: MM-4.0, 41:MM-4.1
    '''1412''': Release date 2014/12
  '''7ef4ab''': Git abbreviate.(git repo:https://github.com/Canaan-Creative/mm/tree/avalon4)
      '''1''': Bootloader flag, 1: enable bootloader, 0: disable bootloader
      '''0''': Release flag, 0: Release version, 1: Debug version
 
== How to upgrade Avalon4 mm firmware through Raspberry Pi(Model B) or TL-WR703N ==
Use the latest avalon firmware for Raspberry Pi(Model B):[http://downloads.canaan-creative.com/software/avalon4/openwrt/latest/openwrt-brcm2708-sdcard-vfat-ext4.img openwrt-brcm2708-sdcard-vfat-ext4.img], for TL-WR703N:[http://downloads.canaan-creative.com/software/avalon4/openwrt/latest/openwrt-ar71xx-generic-tl-wr703n-v1-squashfs-factory.bin openwrt-ar71xx-generic-tl-wr703n-v1-squashfs-factory.bin]
 
Keep AUC connect the same as mining before upgrade
 
Login the controller(Default IP: 192.168.0.100) , Then you can upgrade mm firmware through the page: Status->MM Upgrade
 
Reboot Avalon4 if upgrade finish


=== Method 1:Upgrade it through CLI ===
== How to compile and run Avalon mm tools from source code (Under Debian GNU/Linux 7.4) ==
In order to use mm-tools, you should use [http://downloads.raspberrypi.org/NOOBS_latest RASPBIAN] image on your Raspberry Pi.
'''For example, Upgrade Avalon4 MM-4.0'''
Keep AUC connect the same as mining before upgrade.


* How to use mm-tools
  1. Install dependency
  1. Install dependency
     sudo su
     sudo su
     apt-get install build-essential autoconf automake libtool pkg-config libudev-dev
     apt-get install build-essential autoconf automake libtool pkg-config libudev-dev
 
  2. Clone & Compile & Run
  2. Clone & Compile & Run
     git clone https://github.com/Canaan-Creative/Avalon-extras.git
     git clone https://github.com/Canaan-Creative/Avalon-extras.git
Line 20: Line 47:
     wget http://downloads.canaan-creative.com/software/avalon4/mm/latest/mm.mcs -O ./mm.mcs && ./mm_tools
     wget http://downloads.canaan-creative.com/software/avalon4/mm/latest/mm.mcs -O ./mm.mcs && ./mm_tools


=== Method 2:Upgrade it through LuCI ===
NOTE:
Use the latest avalon firmware for Raspberry Pi(Model B) [http://downloads.canaan-creative.com/software/avalon4/openwrt/latest/openwrt-brcm2708-sdcard-vfat-ext4.img openwrt-brcm2708-sdcard-vfat-ext4.img]
* Compile flags for AvalonMiner
 
{| class="wikitable"
You can upgrade mm firmware through the page: Status->MM Upgrade
! Machine Type
! Compile flags
|-
| Avalon4, AvalonMiner 6.0
| ./configure
|-
| AvalonMiner 7xx
| ./configure --enable-soft-crc
|-
| AvalonMiner 8xx
| ./configure --enable-soft-crc --enable-flash-layout-2m
|}

Latest revision as of 15:24, 21 November 2017

What does the Avalon mm tools do

Avalon mm tools is a program to upgrade Avalon4 mm firmware through AUC.

It can be used to upgrade 13 Avalon4s maximum simultaneously under one AUC.

Take care:

Don't upgrade Avalon4 MM-4.0 and Avalon4 MM-4.1 under the same AUC please

What Avalon4 firmware are supported by Avalon mm tools

Support mm versions(MM-4.0: >= 401412-7ef4ab10, MM-4.1: Any one)

Latest firmware link: For MM-4.1 For MM-4.0

Firmware history: MM-4.1 firmware MM4.0 firmware

How can i get the Avalon4 firmware version

Login the controller, Then find it under Cgminer Status->Avalon Devices Status->Device.

What does the meaning of firmware version

For example 401412-7ef4ab10

     40: MM-4.0 firmware, 40: MM-4.0, 41:MM-4.1
   1412: Release date 2014/12
 7ef4ab: Git abbreviate.(git repo:https://github.com/Canaan-Creative/mm/tree/avalon4)
      1: Bootloader flag, 1: enable bootloader, 0: disable bootloader
      0: Release flag, 0: Release version, 1: Debug version

How to upgrade Avalon4 mm firmware through Raspberry Pi(Model B) or TL-WR703N

Use the latest avalon firmware for Raspberry Pi(Model B):openwrt-brcm2708-sdcard-vfat-ext4.img, for TL-WR703N:openwrt-ar71xx-generic-tl-wr703n-v1-squashfs-factory.bin

Keep AUC connect the same as mining before upgrade

Login the controller(Default IP: 192.168.0.100) , Then you can upgrade mm firmware through the page: Status->MM Upgrade

Reboot Avalon4 if upgrade finish

How to compile and run Avalon mm tools from source code (Under Debian GNU/Linux 7.4)

For example, Upgrade Avalon4 MM-4.0

1. Install dependency
   sudo su
   apt-get install build-essential autoconf automake libtool pkg-config libudev-dev

2. Clone & Compile & Run
   git clone https://github.com/Canaan-Creative/Avalon-extras.git
   cd ./Avalon-extras/mm-tools && ./autogen.sh && ./configure && make
   sudo su
   wget http://downloads.canaan-creative.com/software/avalon4/mm/latest/mm.mcs -O ./mm.mcs && ./mm_tools

NOTE:

  • Compile flags for AvalonMiner
Machine Type Compile flags
Avalon4, AvalonMiner 6.0 ./configure
AvalonMiner 7xx ./configure --enable-soft-crc
AvalonMiner 8xx ./configure --enable-soft-crc --enable-flash-layout-2m