Flashing the OS Image on your Board with Linux*

Requirement

You have assembled your Arduino* expansion board or your mini breakout expansion board, and you are familiar with how to connect your board to your host system.

Flashing your board

  1. Open a Terminal window. Install dfu-util, which is an open source program that implements the USB DFU (USB Device Firmware Upgrade) protocol:

    sudo apt-get install dfu-util

  2. Download the pre-built Ref IoT OS complete image for your board. The latest version is available on the main downloads page: https://software.intel.com/iot/hardware/edison/downloads
  3. Create a directory for Edison image (named DIRECTORY here):

    $ mkdir DIRECTORY
    $ cd DIRECTORY/
    $ mkdir Image

  4. Go to the Downloads directory and move the image package to the newly created Image directory

    $ cd ~/Downloads
    ~ mv iot-devkit-prof-dev-image-edison-20160606-patch.zip ~/DIRECTORY/Image

  5. Move to the directory for the Edison image

    $ cd ~/DIRECTORY/Image

  6. Extract the contents of the image files.

    $ unzip iot-devkit-prof-dev-image-edison-20160606-patch.zip

  7. Stay in the directory where you extracted the image files.
  8. To flash your board, enter the command:

    ./flashall.sh

  9. Follow the on-screen prompts and plug in your board to your system to power it when requested. The script can take up to 5 minutes to complete the flashing process.
    Example of powering a board with the Arduino* breakout board
    Example of a powered Edison board with mini breakout board
For more complete information about compiler optimizations, see our Optimization Notice.