Difference between revisions of "Edison"

From wikidb
Jump to: navigation, search
(Sparkfun)
(On ubuntu dev box)
 
(7 intermediate revisions by the same user not shown)
Line 29: Line 29:
 
== Flash Edison  ==
 
== Flash Edison  ==
 
* Intel board - xxx
 
* Intel board - xxx
* Under ubuntu
+
* [https://communities.intel.com/docs/DOC-23200 How to Flash Edison]
 
+
* https://communities.intel.com/docs/DOC-23200 How to Flash Edison]
+
 
* Plug the board in with two USB cables
 
* Plug the board in with two USB cables
* Lightweight file manager came up PCManFM 1.2.0
+
 
 +
=== On ubuntu dev box ===
 +
 
 +
* Dialog box came up
 +
** Removeable medium is inserted
 +
** Open in File Manager
 +
** OK
 +
** Lightweight file manager came up PCManFM 1.2.0
 +
* On my dev box
 +
  cd /media/eepp/Edison
 +
  rm -rf *
 +
  rm -rf \.*
 +
* [http://www.intel.com/support/edison/sb/CS-035180.htm Support & Downloads]
 +
** Select Yocto Complete Image
 +
** Downloaded edison-image-ww05-15.zip
 +
  unzip ~/Downloads/edison-image-ww05-15.zip
 +
 
 +
==== On Edison ====
 +
 
 +
 
 +
root@westhills:~# uname -a
 +
Linux westhills 3.10.17-poky-edison+ #1 SMP PREEMPT Wed Aug 20 16:09:18 CEST 2014 i686 GNU/Linux
 +
 
 +
=== On ubuntu recover ===
 +
 
 +
* Install dfu-util which is a open source program that implements USB DFU (USB Device Firmware Upgrade) protocol
 +
  sudo apt-get install dfu-util
 +
* Extract the contents of the pre-built Edison image
 +
  unzip ~/Downloads/edison-image-ww05-15.zip
 +
 
 +
* Run the script and then connect the Edison board using USB2.0 cable
 +
  ./flashall.sh
 +
* NOTE: the script can take up to 5 minutes to complete the flashing
 +
 
 +
==== On edison ====
 +
 
 +
  root@edison:~# uname -a
 +
  Linux edison 3.10.17-poky-edison+ #1 SMP PREEMPT Tue Oct 14 15:19:49 CEST 2014 i686 GNU/Linux
 +
 
 +
=== On Edison under screen ===
 +
 
 +
* boot up and log in
 +
  reboot ota
  
 
== Sparkfun ==
 
== Sparkfun ==
Line 58: Line 98:
  
 
=== Setup ===
 
=== Setup ===
 +
 +
== ubilinux ==
 +
 +
* [https://learn.sparkfun.com/tutorials/loading-debian-ubilinux-on-the-edison ubilinux install] from a linux dev box
 +
* [http://www.emutexlabs.com/ubilinux ubilinux]
 +
* Got ubilinux-edison-141030.tar.gz
  
 
== Mac Notes ==
 
== Mac Notes ==

Latest revision as of 00:07, 19 February 2015

Links

Software

General

Hardware


configure

  • configure_edison
    • name: westhills
    • passwd: my dev passwd
    • wifi: zdome
    • wifi passwword: xxx
    • 10.0.0.229

Flash Edison

On ubuntu dev box

  • Dialog box came up
    • Removeable medium is inserted
    • Open in File Manager
    • OK
    • Lightweight file manager came up PCManFM 1.2.0
  • On my dev box
 cd /media/eepp/Edison
 rm -rf *
 rm -rf \.*
 unzip ~/Downloads/edison-image-ww05-15.zip

On Edison

root@westhills:~# uname -a Linux westhills 3.10.17-poky-edison+ #1 SMP PREEMPT Wed Aug 20 16:09:18 CEST 2014 i686 GNU/Linux

On ubuntu recover

  • Install dfu-util which is a open source program that implements USB DFU (USB Device Firmware Upgrade) protocol
 sudo apt-get install dfu-util 
  • Extract the contents of the pre-built Edison image
 unzip ~/Downloads/edison-image-ww05-15.zip 
  • Run the script and then connect the Edison board using USB2.0 cable
 ./flashall.sh
  • NOTE: the script can take up to 5 minutes to complete the flashing

On edison

 root@edison:~# uname -a
 Linux edison 3.10.17-poky-edison+ #1 SMP PREEMPT Tue Oct 14 15:19:49 CEST 2014 i686 GNU/Linux

On Edison under screen

  • boot up and log in
 reboot ota

Sparkfun

Hardware

Working from Ubuntu

Install

 sudo apt-get install screen
 sudo screen /dev/ttyUSB0 115200
  • Press Enter twice. A login screen is displayed.
  • At the login prompt, type root and press Enter.
  • Press Enter when prompted for a password.

Setup

ubilinux

Mac Notes

Setup

Downloaded arduino-1.5.3 for Mac

  EdCiMac:~ edcepp$ screen /dev/cu.usbserial-AJ035QAV 115200 -L
 Enter 0 to rescan for networks.
 Enter 1 to input a hidden network SSID.
 Enter a number between 2 to 4 to choose one of the listed network SSIDs: 4
 Is zdome correct? [Y or N]: Y
 What is the network password?: **********
 Initiating connection to zdome...
 Done. Network access should be available shortly, please check 'wpa_cli status'.
 Connected. Please go to 10.0.0.134 in your browser to check if this is correct.
 root@SugarLoaf:~# wpa_cli status
 Selected interface 'wlan0'
 bssid=b2:b2:dc:4c:0a:a8
 ssid=zdome
 id=0
 mode=station
 pairwise_cipher=CCMP
 group_cipher=TKIP
 key_mgmt=WPA2-PSK
 wpa_state=COMPLETED
 ip_address=10.0.0.134
 address=fc:c2:de:33:14:d6
 uuid=9b0ca892-ab2f-54f5-a2a8-d9c4baaadf33
 root@SugarLoaf:~#

Flash Edison Mac

[Instructions]

  • Connect two USB cables
  • Open a terminal screen and navigated to "cd /Volumes/Edison"
  • Removed all files"rm -rf *" and "rm -rf \.*"
  • Do a get info to see if it is MS-DOS(FAT16) - follow the next step (should be MS-DOS(FAT)
    • exit the edison directory from the terminal so we
    • use Disk utility to reflash
  • [image] "Edison Yocto complete image Linux - Yocto"
  • unzip and copy to Edison
 screen /dev/cu.usbserial   <no enter>
  • tab
  115200 -L
  • log into root
  • my typical passwd or not
  • once in - this will erase every thing
   reboot ota