Avalon mm tools: Difference between revisions

From Bitcoin Wiki
Jump to navigation Jump to search
Mikeqin (talk | contribs)
No edit summary
Mikeqin (talk | contribs)
No edit summary
Line 1: Line 1:
mm-tools is a program to upgrade Avalon4 mm firmware through Raspberry Pi.
mm-tools is a program to upgrade Avalon4 mm firmware through Raspberry Pi and [https://en.bitcoin.it/wiki/Avalon4#AUC AUC].


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''')
Line 7: Line 7:
=== Method 1:Upgrade it through CLI ===
=== Method 1:Upgrade it through CLI ===
In order to use mm-tools, you should use [http://downloads.raspberrypi.org/NOOBS_latest RASPBIAN] image on your Raspberry Pi.
In order to use mm-tools, you should use [http://downloads.raspberrypi.org/NOOBS_latest RASPBIAN] image on your Raspberry Pi.
Keep AUC connect the same as mining before upgrade.


* How to use mm-tools
* How to use mm-tools
  1. Enable iic on Raspberry Pi
  1. Install dependency
    sudo su
a. Commit "blacklist i2c-bcm2708" in raspi-blacklist.conf under /etc/modprobe.d first.
    apt-get install build-essential autoconf automake libtool pkg-config libudev-dev
the example of raspi-blacklist.conf:
        # blacklist spi and i2c by default (many users don't need them)
       
        blacklist spi-bcm2708
        #blacklist i2c-bcm2708
b. Add i2c.conf under /etc/modprobe.d.
the example of i2c.conf:
      options i2c_bcm2708 baudrate=400000
c. Load i2c-dev module from start
      echo "i2c-dev" >> /etc/modules


  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
cd ./Avalon-extras/mm-tools;make
    cd ./Avalon-extras/mm-tools && ./autogen.sh && ./configure && make
sudo su
    sudo su
make download && ./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 ===
=== Method 2:Upgrade it through LuCI ===

Revision as of 05:04, 12 March 2015

mm-tools is a program to upgrade Avalon4 mm firmware through Raspberry Pi and AUC.

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

Ugrade file link: For MM-4.0 For MM-4.1

Method 1:Upgrade it through CLI

In order to use mm-tools, you should use RASPBIAN image on your Raspberry Pi. Keep AUC connect the same as mining before upgrade.

  • How to use mm-tools
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

Method 2:Upgrade it through LuCI

Use the latest avalon firmware for Raspberry Pi(Model B) openwrt-brcm2708-sdcard-vfat-ext4.img

You can upgrade mm firmware through the page: Status->MM Upgrade