Please Note: This tutorial uses the Linux Ubuntu 14.04 OS

Flashing Instructions

  1. Download the latest iso of Ubilinux for the Edison from here: http://www.emutexlabs.com/ubilinux
  2. Next, open a terminal shell and run:
    sudo apt-get install dfu-util
  3. Next navigate to where the tar file has downloaded, presumably in Downloads
    cd ~/Downloads
  4. Extract the files with the command (XXXXXX being the version number the file has within it’s name):
    tar xvfz ubilinux-edison-XXXXXX.tar.gz
  5. Then change directory to toFlash folder (presumably extracted within ~/Downloads) so…
    cd ~/Downloads/toFlash
  6. Now that you’re within the /toFlash/ directory, run the commands:
    sudo ./flashall.sh
  7. A prompt will appear within the shell awaiting the device to be connected.
    Screenshot from 2015-12-18 16:17:02
  8. WARNING: READ THE NEXT LINES CAREFULLY or you may brick your device
    1. Connect the Edison via the OTG port.
    2. The program will begin flashing the Ubilinux image to the Edison
      Screenshot from 2015-12-18 16:17:47
    3. IMPORTANT: Make absolutely sure to wait for the terminal shell to complete. It might be worth even waiting a good 5 minutes while the device reboots itself and performs the update. If the device is unplugged during this process, it can cause the device to become bricked. This is the scary part of the process.
      Screenshot from 2015-12-18 16:18:06
    4. The above step really does take a while, LET it finish.
    5. SCARIEST PART: After the long 10 minute phase has passed you’ll see the screenshot below informing you to wait at least 2 minutes for the device to finish installing. Unplugging the board during those 2 minutes may also cause the board to become bricked. So just sit tight. Make a cup of tea. Avoid unplugging the Edison.
      This is the scariest part, because there’s no prompt to indicate when the device has finished.
      You’ll see some things flash along your screen, such as Ethernet device connected, a new folder for the device’s mounted directory and so forth. But continue waiting the minimal 2 minute duration.
      Screenshot from 2015-12-18 16:24:25
    6. After the wait, then that’s it!
  9. The next step is to log into the Edison from Terminal and begin configuring Ubilinux

Initial Configuration of Ubilnux

  1. Within a Terminal run the command:
    sudo apt-get install screen
  2. Disconnect the OTG cable and allow the device to be powered off by doing so.
  3. Next, connect a micro usb cable to the sparksfun’s Console port to the computer.
  4. After connecting that USB cable, within Terminal run the command:
    ls /dev/ttyUSB*

    This will display a list of all of the ttyUSB devices, yours will likely end with 0 or some other number.
    Screenshot from 2015-12-18 16:37:40

  5. The next command to run is:
    sudo screen /dev/ttyUSB<strong>0</strong> 115200

    Where /dev/ttyUSB0 is the device from the Console port of the Edison.
    (No worries though, if you use the wrong device with the previous command, it’ll simply timeout, nothing bad will happen)
    You should see the screen below once successful.
    Screenshot from 2015-12-18 16:52:07

  6. Next, we’ll need to log in as root so we can add some security.
  7. The username is root, and the password is edison
  8. It’s probably a good idea to change the root user password first.
    To do this, run the command:

    passwd
  9. The next thing to do is to remove the default edison user account. We can create our own instead.
    If you’d rather keep the defaulted edison account, then you may skip this step, however I’d at least highly suggest changing the default account’s name with the command in terminal of:

    passwd edison
    1. The first step in removing the account is to run the command:
      deluser --remove-home edison
    2. Then run:
      adduser --ingroup users &lt;USERNAME&gt;

      You’ll be asked for a password twice, and some information about the user (such ass address, etc) — feel free to add that information only if you’d like to.

    3. Once you’re done adding the user you may proceed to the next step.
  10. Next you’ll want to add sudo support, install wifi, and performing apt-get update/upgrade.
    (Future guides will note how to perform these tasks in detail, as well as installing node.js support for sensors via GPIO).