Skip to content
Byron Chen edited this page Jan 23, 2015 · 14 revisions

Welcome to the B2G-FlingOne wiki! Flingone provides the B2G code base of the Matchstick dongle.

To build up your dongle, please get the source code of flingone at first:

Get start

Clone the flingone B2G repository, use git:

git clone git://github.com/flingone/B2G-FlingOne.git

Config to fetch source code

After cloning, cd into the B2G directory to config for the flingone and fetch source code:

cd B2G-FlingOne
BRANCH='matchstick' ./config.sh -d rk30sdk    # matchstick based on Gonk 4.2, stable.
BRANCH='matchstick' ./config.sh -d rk30sdk-kk # matchstick based on Gonk 4.4.2, development on going

And if you would like to build up vanilla Firefox OS without Matchstick's features on the dongle:

cd B2G-FlingOne
./config.sh rk30sdk       # pure B2G based on Gonk 4.2, stable.
./config.sh rk30sdk-kk    # pure B2G based on Gonk 4.4.2, development on going

Building

To build B2G, use the build.sh tool:

./build.sh

Flashing

After build completed, simply type:

./flash.sh

This command will generate the image files, and give you the instructions on how to flash your device.


Or you may want to build and flash individual module:

./build.sh gecko
./flash.sh gecko
# Or
./build.sh gaia
./flash.sh gaia
  • Flingone
    • [Factory Images](Factory Images)
    • [Setup USB Mode](Setup USB Mode)
    • [Other boards](Other boards)
Clone this wiki locally