element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Upcycle It
  • Challenges & Projects
  • Design Challenges
  • Upcycle It
  • More
  • Cancel
Upcycle It
Blog The Kit and Exploring Edison OS's [Upcycle It #2]
  • Blog
  • Forum
  • Documents
  • Polls
  • Files
  • Events
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: jasonwier92
  • Date Created: 2 Apr 2017 3:03 AM Date Created
  • Views 737 views
  • Likes 3 likes
  • Comments 3 comments
  • upcycle_it
  • yacto
  • ubilinux
  • upcycled_pdu
  • intel edison
Related
Recommended

The Kit and Exploring Edison OS's [Upcycle It #2]

jasonwier92
jasonwier92
2 Apr 2017

First thing I do what I get the kit is stop working, un-box the kit, and take some pictures while exploring.

image

 

Ubilinux

Two Edison's, great that takes care of one issue, what OS to use.  I started by mounting an Edison on the Arduino board and installing Ubilinux on it. Also I do not want to install from Windows, so I am installing form a laptop running Ubuntu 14.04.  I found that Spartfun has some great resources for this, so why re-invent the wheel. I started by plugging in both USB ports to my laptop. and on the one interface that has the ttyUSBX device, I ran screen to watch the console.  The command for screen for me was "screen /dev/ttyUSB1 115200". I followed the Linux instructions from this article by Sparkfun with one addition, I had to install a package "dfu-util".  If you look at the screen shot, then you can see where they install it, but do not mention it right before they run the "./flashall.sh" from the toFlash folder.

 

Once installed and after the reboots, console helps watch what is going on and when the system is ready, I finished by setting up the WiFi, disabling USB0 network interface. After that I run the usual apt-get update/upgrade, to make sure all is up to date. As this is running I started by second system updates to Yacto. I proceeded to start testing with Python and Node (via NVM), but I have not got far and I will cover this more later.

 

Edison two: Yacto

I mount the second Edison on the mini board and once again hook up two USB cables. Again I setup one as console and start screen, "sudo screen /dev/ttyUSB0 115200". I downloaded the Intel Setup Tool for Linux and unpack it in a folder. Nice to have the console again to see what is happening from the Setup Tool.  Here are some screen shots of the setup process.

 

Very easy, to use, next and do all the steps listed.  This will update, setup WiFi, root password (8 characters minimum)

image

imageimage

 

image

 

Once again the Console is nice to watch what is happening. Really, I like information.

image

image

 

 

Once done, be patient, it has to reboot two times and watching the console helps.  Take ten and explore your other system.

 

Only issues I had at this point is the USB interface on both systems is setup to be a 192.168.2.x/24 network, which is what I run at home.  So now I have to disable or change both. On Ubilinux this is covered in the Sparkfun document by editing /etc/networking/interfaces.  On Yacto I edited /etc/systemd/network/usb0.network file and changing the IP address.  Also ifconfig is missing so rather than rebooting I disabled the usb0 interface for now with using ip command, "ip link dev usb0 down".  That fixes it since I have ssh and WiFi.

 

 

What is Next?

My next write up, I will cover my experimenting with Python and node, testing and interfacing some of the sensors and items we got in the kit.  I will let you know what I think of both systems and the problems and success I had with each.

  • Sign in to reply

Top Comments

  • vlasov01
    vlasov01 over 8 years ago +1
    I've used dfu-util to flash Yocto update from Windows. Have you considered to use WiFi for network connectivity instead of USB serial? I found it much simpler and more convenient then with USB serial.…
  • jasonwier92
    jasonwier92 over 8 years ago in reply to vlasov01 +1
    I used WiFi. My WiFi network on my LAN had conflicting IP address networks so I needed to move the usb0 or disable them.
  • jasonwier92
    jasonwier92 over 8 years ago in reply to vlasov01

    I used WiFi.  My WiFi network on my LAN had conflicting IP address networks so I needed to move the usb0 or disable them.

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • vlasov01
    vlasov01 over 8 years ago

    I've used dfu-util to flash Yocto update from Windows.

     

    Have you considered to use WiFi for network connectivity instead of USB serial? I found it much simpler and more convenient then with USB serial. In addition, I like to use multiple ssh terminal connections at the same time, which is not feasible over USB serial. Intel Yocto distro comes with configure_edison utility, which is very simple to use.

    configure_edison --wifi

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • DAB
    DAB over 8 years ago

    Nice post.

     

    I look forward to seeing how you implement your project in this construct.

     

    DAB

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube