Getting started with Intel Edison

Procedure based on Yocto Complete Image 3.5 

with Linux (Ubuntu 16.04) laptop, using non-Arduino Intel Edison Mini Breakout board model EDI1BB.AL.K

Prereqs

sudo adduser $(whoami) dialout
sudo adduser $(whoami) plugdev

Then logout and login on your laptop (reboot not required).

Connecting to Intel Edison via two microUSB Type B cables

micro-USB type B are the common connectors everyone uses for phones etc.

MicroUSB jack Purpose
J16 (the OTG port) Powers the Edison, and mounts an 805MB FAT32 partition named Edison
J3 internal serial to USB converter

You can watch the messages that pop up on your laptop by typing

dmesg

On my laptop, the Edison came up on /dev/ttyUSB0 when both J16 and J3 were connected to my laptop. I typed on my laptop

screen /dev/ttyUSB0 115200

Or use PuTTY. See notes at bottom of this page for connection troubleshooting.

Press Enter and you’ll get a login prompt.  Login as root and there’s no password (unless you set one previously)

Edison Software Update

It’s handy to be connected with PuTTY to the Edison, to see a much more detailed progress report.

Note this procedure erases everything on the Edison including data and configuration settings

  1. Download latest Yocto Poky Complete Image.

     wget https://software.intel.com/edison-image/latest
    
  2. type in laptop Terminal

     apt install dfu-util
    
  3. change to the extracted zip directory, type in laptop Terminal

     sudo ./flashall.sh
    

    If you get a message

    otaupdate.scr not found

    upon rebooting, the update is probably not going through. The process will take about five minutes (much longer than a normal reboot).

  4. You can confirm the proper version is uploaded by typing in the Edison

     cat /etc/version
    

    201606061707

    and at login you’d see with Yocto 3.5:

    Poky (Yocto Project Reference Distro) 1.7.3

The used space upon Yocto install was 76%. 319 MB free of 1.4 GB on my 2 GB Edison.

df -h

Intel Edison Configuration on first startup

Type in the laptop PuTTY window talking to the Edison:

 configure_edison --setup

The Edison can connect to WPA2 Enterprise as well as typical home WPA2 access points.

nmap <edison ip address>

says ports 22 and 80 are open, but wget says connection is refused.

Add Unofficial Intel Edison Repository

On the PuTTY window talking to the Edison, type

nano /etc/opkg/base-feeds.conf

and type in

src/gz all http://repo.opkg.net/edison/repo/all 
src/gz edison http://repo.opkg.net/edison/repo/edison 
src/gz core2-32 http://repo.opkg.net/edison/repo/core2-32

Giving access to many precompiled programs. The core2-32 directory currently holds the ones you might recognize. For example:

opkg update 
opkg install gfortran tar

Troubleshooting Intel Edison connections

  1. both (two) green LEDs on the breakout board must be on and steady. If they are cycling on and off every several seconds, your USB port may not be providing enough power to J16. Maybe that USB cable is bad. Alternatively, the Edison eMMC flash memory could be corrupted. You would need to reflash in that case.
  2. On laptop, unplug and plugin both USB cables, then type

     dmesg
    

    you should see

    New USB device found, idVendor=8087, idProduct=0a99

    FTDI USB Serial Device converter detected Detected FT232RL FTDI USB Serial Device converter now attached to ttyUSB0

    if not, try being sure you are NOT plugged into a USB 3.0 port (has SS logo or blue colored inside). Try swapping cables at the Edison end–maybe one of them has the pins a little worn out. Poweroff and Power on your PC. Try another PC. If you don’t see these lines output by dmesg upon plugin, no other steps will work. You have to fix this first.

  3. type in your laptop

     sudo lsusb
    

    you should see a line with

    ID 0403:6001 Future Technology Devices International, Ltd FT232 USB-Serial (UART) IC

  4. type in your laptop

     ls /dev/ttyUSB*
    

    you should see

    /dev/ttyUSB0

Leave a Comment