Git Product home page Git Product logo

codk-a-x86's Introduction

                           Arduino 101 Firmware

Table of Contents

0. END OF DEVELOPMENT
1. INTRODUCTION
2. DOWNLOADING THE SOURCE CODE
3. INSTALLING ALL PREREQUISITE PACKAGES
4. BUILDING THE IMAGES
5. CREATING THE FLASHPACK.ZIP
6. FLASHING IMAGES TO THE BOARD
    6.1 Windows
    6.2 Linux / Mac

  1. END OF DEVELOPMENT

This source tree has reached end of new development. New firmware development work for the Arduino 101™ and Genuino 101™ with Intel® Curie™ will continue on a new source code tree, CODK-M, based on the Zephyr™ RTOS to better align with our platform.


  1. INTRODUCTION

###############################################################################

                               WARNING!!!

This firmware is targeted to be built only on Ubuntu 64 bit.
If your native machine is not as mentioned above you can still perform
the firmware building process using an Ubuntu 14 – 64 bit OS in a virtual
machine with 15GB of HDD space allocated. We advise against building using
a Live-USB or Live CD because step 3 below will fail as it cannot download
the required packages.

###############################################################################

If you have not configured the Arduino101 board yet, please follow the steps in the link below before downloading the source code. Please verify that you can successfully run a blink sketch to ensure DFU is operating correctly. This is important as it will provide you with the platform to flash the binaries.

(https://www.arduino.cc/en/Guide/Arduino101)


  1. DOWNLOADING THE SOURCE CODE

Please clone the set of git repositories by using repo tool from Google. http://source.android.com/source/downloading.html#installing-repo

$ mkdir CODK-A && cd $_
$ repo init -u [email protected]:01org/CODK-A-Manifest.git
$ repo sync -j 5
$ project_directory=$(pwd)/firmware/projects/arduino101/

  1. INSTALLING ALL PREREQUISITE PACKAGES

Make sure packages from all repositories are up-to-date

$ sudo apt-get update

Ensure you have all the required packages before compiling. As the target suggests, this is only required the first time you compile.

$ sudo make one_time_setup -C $project_directory

This installs the following packages:

gawk wget git-core diffstat unzip texinfo
gcc-multilib build-essential chrpath libsdl1.2-dev xterm
libqtgui4:i386 libtool libc6:i386
libc6-dev-i386 autoconf libtool pkg-config gperf flex bison

  1. BUILDING THE IMAGES

Perform this step each time you modify the code, to update the images.

$ make clean setup image -C $project_directory

  1. CREATING THE FLASHPACK.ZIP

This creates "flashpack.zip" which is used for flashing the board.

$ arduino101_flashpack/create_flasher.sh

  1. FLASHING IMAGES TO THE BOARD

Ensure the board is connected via USB.

Now move the zip file to a machine where the Arduino IDE is installed and extract there.

6.1 Windows

Shift+Ctrl+right click mouse on extracted folder and click "Open command
window here".
Execute command "flash_dfu.bat"

6.2 Linux / Mac

$ cd arduino101_flashpack
$ ./flash_dfu.sh

Press the reset button on the board to begin the flash process.

codk-a-x86's People

Contributors

calvinatintel avatar eriknyquist avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.