Avalon mm tools

From Bitcoin Wiki
Jump to: navigation, search

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