Avalon mm tools

From Bitcoin Wiki
Revision as of 04:04, 12 March 2015 by Mikeqin (talk | contribs)
Jump to navigation Jump to search

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

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.

  • How to use mm-tools
1. Enable iic on Raspberry Pi

a. Commit "blacklist i2c-bcm2708" in raspi-blacklist.conf under /etc/modprobe.d first.
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
git clone https://github.com/Canaan-Creative/Avalon-extras.git
cd ./Avalon-extras/mm-tools;make
sudo su
make download && ./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