Thursday 23 April 2015

Flashing Ubilinux (Debian)


Approach 3: Flash the Debian Ubilinux OS which comes with apt-get capability (This worked like a charm!)



Installing numpy and scipy are a piece of cake using apt-get install. However, the Yocto Linox Image does not come with this feature. There is a workaround to this that we have used to get numpy and scipy installed and running. 

Note: Installing Yocto linux allows you make Edison into an end product where you need a fast, stripped-down version of Linux. However, if you need additional features and a full-fledged package manager loading Debian Ubilinux is a better alternative. 

Important: You can potentially brick your Edison by following this tutorial. Be careful not to unplug your Edison for at least 2 minutes where it says so.

1. Install Ubilinux
We need to download the Ubilinux image, which we will install on the Edison, and some software depending on your current operating system.
IMPORTANT: Make sure the Edison is not powered or connected to your host computer at this time.

a) If you haven’t installed Intel’s Edison Drivers for Windows :

1. Click here.
2. Download the Windows Standalone Driver 1.2.1.

b)  Download dfu-util for Windows.

1. Download the Ubilinux image by navigating to http://www.emutexlabs.com/ubilinux      and click on “ubilinux for Edison.”
2. Extract the ubilinux-edison-XXXXXX.tar.gz.
3. Copy the “dfu-util.exe” which was downloaded into the toFlash folder in the  Ubilinux folder.
4. Scroll down the folder and double-click on “flashall.bat”.

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

This will begin your installtion. Read the WARNING below.

WARNING: Once the command prompt closes, you need to wait for at least two minutes for the installation to complete. The Edison should reset a couple of times to finalize its installation. Don’t try to disconnect Edison or do anything else for those 2 minutes. Else you risk bricking your Edison.
Your installation is now Complete!

1 comment: