Introduction: Ubilinux Installation on Intel Edison

In this instructable, I will be demonstrating the windows method of installing Ubilinux on the Intel Edison. Ubilinux is based on the Debian flavor of Linux, which many Makers will find familiar and be very comfortable with. The Yocto Project is a well thought out platform, but it can be a little daunting to work with if your goal isn't a dedicated finished project. Ubilinux is a more feature filled package that doesn't require you to essentially rebuild Linux from scratch to obtain your end result.

I originally discovered this option through one of my many window shopping sessions at Sparkfun.com, and felt that I should share with a community that has shared so many things with me. For the purposes of simplicity and ease of visual recognition, I have used the same images found on the Sparkfun website(I'm not lazy, I simply feel that their images have a nice polish and clean crop).

For instructions on installing on another operating system, please refer to:

https://learn.sparkfun.com/tutorials/loading-debia...

To complete this installation you will need the following items:

Intel Edison and one of the following: Arduino breakout kit, mini breakout kit, or Sparkfun Base block

A computer with a Windows based OS

Micro USB cable

Before moving forward with this instructable, I would like to say a sincere thank you to Intel and the Instructables staff for selecting me to receive 1 of 250 Intel® IoT Developer Kits. I am very grateful and extremely excited for the fun things to come from such a generous opportunity.

Step 1: The Downloads

To get started, You will need to download the following bits of software/files

*It is very important that during this time you do not have the Edison connected to your computer(Don't ask what would happen, because I lack the bravery to find out for myself).

Download and install 7-zip from the 7-zip.org page. More than likely you will want the .msi version.

Download the Ubilinux image by navigating to http://www.emutexlabs.com/ubilinux You will want to click on "Ubilinux for Edison"

You will now want to open 7Zip, and select the 7Zip file manager. From here you will want to navigate to your downloads folder and select “dfu-util-0.8-binaries.tar.zx” then select "Extract" (Refer to the first Image for a visual reference)

Next we will click "Ok" when prompted on where to extract the files to accept defaults.

At this point “dfu-util-0.8.binaries.tar” will appear in the 7zip file manager, double click on it to enter the folder.

Now we will select "dfu-util-0.8-binaries.tar" and select "Extract" to finalize the dfu-utl extraction process.
Click "OK" when prompted, then press the "up one folder" icon to return to your download folder.

you will need to repeat these steps with the Ubilinux image as well

Step 2: Time to Install Packages

Open up a File Explorer window and navigate to \dfu-util-0.8-binaries.tar\dfu-util-0.8-binaries\dfu-util-0.8-binaries\win32-mingw32.
Right-click on dfu-util.exe and click “Copy.”(image 1)

Navigate to the toFlash folder, which is in the unzipped Ubilinux folder (\ubilinux-edison-141030.tar\ubilinux-edison-141030\toFlash). Right-click and select “Paste” to paste in the dfu-util.exe file.(image 2)

In the \toFlash folder, scroll down to find the file “flashall.bat.” Double-click it to start the install process.(image 3)

A command window will open up and ask you to plug in your Edison.(image 4)

Plug in your Edison (Use J16 for the Intel Arduino and Mini-Breakout boards. Use “OTG” for the SparkFun Edison Base Block), and the installation process will begin!
 
Caution:Once the command prompt window closes, you will need to wait at least 2 minutes for the installation to complete. The Edison should reset a couple of times to finalize its installation. Do not unplug the Edison! It’s probably a good idea to walk away for those 2 minutes.(image 5)

Congratulations! You are now are running Ubilinux on your Intel Edison. Next instructable will be setting up your WiFi connection, so please stay tuned and don't hesitate to offer constructive criticism. Now go make something


Comments

author
franknitty69 (author)2016-09-12

Emutex is no longer hosting ubilinux. Does anyone happen to have a copy or can point to a mirror?

author
RaghuC1 (author)2015-09-30

author
HudsonHardwear (author)2015-05-05

Thanks for the very helpful tutorial. Did you have a chance to try connecting any Bluetooth device with Ubilinux? I've been trying to connect a BT speaker -- and other BT devices, as well. Pairing works, but I can't get the actual connection to hold. Any suggestions? Thanks much.

author
tstrenge (author)HudsonHardwear2015-06-02

I have not worked with Bluetooth as I had originally planned. I'm focusing on using SSH more than anything else. Life has been complicated due to work injury resulting in a career change, and some other issues. I haven't been able to tinker as much as I would like to.

author
tankapotamus (author)2015-01-05

Just a warning don't try this with windows 8! I'm not sure what happened, but when I tried it installed with a corrupt kernel. If you do try this do not walk away from your computer. You will have no idea if it competed or not when you return, and there is no way to check if it finished, cancel it, or reflash it. Intel will not offer you technical support either.

author
tstrenge (author)tankapotamus2015-01-05

Did you try to delete the contents of your Edison through windows command prompt then reflash the most recent factory image from Intel?

author
tankapotamus (author)tstrenge2015-01-05

I can't, it doesn't show up as an Edison. It's stuck in dfu and of course the dfu-util doesn't work with windows 8. So on the advice of Intel support (thank god for them, cause SparkFun was horrible) I'm waiting on a hard drive to install Linux on.

author

hey I flashed my Edison using a windows 8 laptop... I faced some issues at the start and had to flash my board thrice but finally was able to complete the process... what problems did you face earlier?

author
tstrenge (author)Shachindra922015-06-02

For the life of me, I couldn't get sketches to upload in the arduino ide. I got so frustrated at not only the issue at hand, but also with the lack of literature/support from others facing similar issues. I'm currently working on just using python and SSH as my main means of performing functions, and having no major problems.

author
tstrenge (author)tankapotamus2015-01-05

I had issues in Windows with the Edison arduino IDE. I'm making the switch to Ubuntu on an old desktop for this reason. I feel awful that this happened to you, and wish you the best results after the Linux conversion. Thank you for the heads up, and saving others from making this mistake.

author
tstrenge (author)tankapotamus2015-01-05

I'm horribly sorry to hear that Tank. I will do some searching and see if I can locate a way to reflash your Edison. I've fried a couple arduinos in my day.

author
DangerousTim (author)2015-02-24

So you can only use ubilinux with a terminal or command line like normal yocto Linux? And what males it more appeasing than Linux exactly?

author
tstrenge (author)DangerousTim2015-02-24

well for me specifically the familiarity of the Debian distribution, and the fact that I had some seriously unsolvable issues with the arduino ide running yocto. I ultimately just gave up on that avenue of programming the Edison, and found ubilinux to be a more fruitful use of what little time I have to tinker.

author
MsSweetSatisfaction (author)2014-12-21

Wow this is super informative! Thanks for sharing your knowledge!

About This Instructable

11,159views

26favorites

License:

More by tstrenge:Ubilinux Installation on Intel Edison
Add instructable to: