-
Notifications
You must be signed in to change notification settings - Fork 13
Build Your Matchstick
To build up your Matchstick, please get the source code of Matchstick at first:
You will need a 64-bit version of Ubuntu. Ubuntu 12.04 is recommended. Building using other versions of Ubuntu is not tested.
# Install build essential packages
sudo apt-get install openjdk-7-jdk gcc g++ gcc-multilib g++-4.6-multilib
sudo apt-get install git gnupg flex bison gperf build-essential zip curl libc6-dev libncurses5-dev:i386 x11proto-core-dev libx11-dev:i386 libreadline6-dev:i386 libgl1-mesa-glx:i386 libgl1-mesa-dev g++-multilib mingw32 tofrodos python-markdown libxml2-utils xsltproc zlib1g-dev:i386
sudo apt-get install autoconf2.13 ccache
sudo ln -s /usr/lib/i386-linux-gnu/mesa/libGL.so.1 /usr/lib/i386-linux-gnu/libGL.so
# Install python virtualenv
sudo apt-get install python-pip
sudo pip install --upgrade setuptools
sudo pip install --upgrade pip
sudo pip install virtualenv
# Install nodejs and coffee-script
wget http://nodejs.org/dist/v0.10.30/node-v0.10.30-linux-x64.tar.gz
sudo tar xf node-v0.10.30-linux-x64.tar.gz -C /opt/
echo "export PATH=/opt/node-v0.10.30-linux-x64/bin:\$PATH" >> ~/bash.rc
source ~/.bashrc
sudo npm install -g coffee-script
Clone the flingone B2G repository, use git:
git clone git://github.com/flingone/B2G-FlingOne.git
After cloning, cd into the B2G directory to config for the Matchstick and fetch source code:
cd B2G-FlingOne
# matchstick based on kk, development on going
BRANCH='matchstick' ./config.sh -d rk30sdk-kk
# if the default repo project unavailable
BRANCH='matchstick' REPO_INIT_FLAGS='--repo-url=git://github.com/flingone/git-repo.git' ./config.sh -d rk30sdk-kk
# pure b2g on kk, development on going
./config.sh -d rk30sdk-kk
# if the default repo project unavailable
REPO_INIT_FLAGS='--repo-url=git://github.com/flingone/git-repo.git' ./config.sh -d rk30sdk-kk
And if you would like to build up pure Firefox OS without Matchstick's features on the dongle:
./config.sh -d rk30sdk-kk # pure B2G based on Gonk 4.4.2, development on going
To build B2G, use the build.sh tool:
./build.sh
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
Contact: info@openflint.org
Google Groups: https://groups.google.com/forum/#!forum/openflint
-
Flint
- [Developer's Guide](Developer Guide for Flint)
- [Web Sender Apps](Web Sender App Development)
- [Android Sender Apps](Android Sender App Development)
- [iOS Sender Apps](iOS Sender App Development)
- [Receiver Apps](Receiver Apps Development)
- Chromecast App Porting
- [API Libraries](API Libraries)
- [Flint Protocol Docs](Flint Protocol Docs)
- [Developer's Guide](Developer Guide for Flint)
-
Matchstick
- [Flashing Instructions](Flashing Instructions for Matchstick)
- [Build Your Matchstick](Build Your Matchstick)
- [Flashing Your Build](Flashing Your Build)
- [Setup Your Matchstick](Setup Your Matchstick)
- [Setup USB Mode](Setup USB Mode for Matchstick)
- [Supported Media](Supported Media for Matchstick)