3.1 Board Setup for Intel Edison

There are four steps to set up an Intel Edison as a WuKong device.

Step 1. Board Hardware Assembly: To assemble the Intel Edison module on its Arduino extension board.

Step 2. Board Configuration: To setup a password on the Intel Edison so that we can use the ssh command to access the board.

Step 3. Firmware Update: To obtain the compatible Yocto image, which is 159.devkit at the time of this writing, to support a larger root partition size and better Python tools.

Step 4. Python Tool Installation: To install the required Python libraries for running WuKong.

Step 5. Download WuKong Source Code: To clone the WuKong source code from GitHub to the Edison board.



  • Step 2. Board Configuration

    • To configure the board, enter the following command in the serial terminal opened in Step 1:

      configure_edison --setup
      
    • When prompted, you must enter a chosen password so that the board can be accessed through the ssh command later on.

    • When prompted, you can enter a name for the board, or the name "root" will be given if it is left empty.

    • The next step is the WiFi configuration. Type "Y" to setup WiFi and the board will start to scan network services. Once the board finishes scanning, choose a network SSID and then enter the network password if required. The following screen shows an example setting.

    • If you need to connect to a different network service, you can later use the following command to configure it again:
      configure_edison --wifi
      

  • Step 3. Firmware Update

    Please download this image, iot-devkit-prof-dev-image-edison-20160315, for Edison. At the time of writing, this is a relative stable version.

    Then, choose and download the installer from the following website:
    https://software.intel.com/en-us/iot/hardware/edison/downloads

    Follow instructions of the installer and flash the firmware with previous downloaded image.


  • Step 4. Python Tool Installation

    pip install twisted python-cjson gevent netifaces
    

  • Step 5. Download WuKong Source Code

    • Clone the source code and download to your preferred working directory on the IoT board.

      git clone -b release0.4 http://github.com/wukong-m2m/wukong-darjeeling