Avalon mm tools: Difference between revisions

From Bitcoin Wiki
Jump to navigation Jump to search
Xiangfu (talk | contribs)
Created page with "An empty page for later document"
 
Mikeqin (talk | contribs)
No edit summary
Line 1: Line 1:
An empty page for later document
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: [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]
 
=== 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.
 
* 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) [http://downloads.canaan-creative.com/software/avalon4/openwrt/latest/openwrt-brcm2708-sdcard-vfat-ext4.img openwrt-brcm2708-sdcard-vfat-ext4.img]
 
You can upgrade mm firmware through the page: Status->MM Upgrade

Revision as of 04:04, 12 March 2015

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