Minnowboard:Booting Angstrom

From eLinux.org
Revision as of 02:41, 18 August 2013 by Jayneil (Talk | contribs) (Added FTDI driver installation instructions for Windows)

Jump to: navigation, search

Mlogo.png Back to the MinnowBoard home page


Getting Started:

Where to buy? - for advice on buying the MinnowBoard.

MinnowBoard Basics - box contents, different components on the board

microSD Card Setup - for information on how to prepare the microSD Card used to boot your MinnowBoard.

Booting Angstrom Embedded Linux Distribution - running Angstrom and accessing the MinnowBoard serial console on Windows/Mac/Linux

Beginner Guides - you are up and running, now what can you do?.

MinnowBoard Google Group - Got any questions? Feel free to ask here

Angstrom

Angstrom is an embedded linux distribution.

Linux

Step-1:

First insert the card into the microSD card slot label side up as shown in Figure -1. Push the microSD card into the slot until it clicks into place.

Figure-1: Connecting the micro SD card


Step-2:

Next, connect an external keyboard and mouse to the MinnowBoard. Then connect a USB mini cable to your computer and the MinnowBoard as shown in Figure -2. This connection will be used to access the serial console of the MinnowBoard.

Figure-2: Connecting a USB mini cable for serial console access


Step-3:

Now power up the MinnowBoard, connect the 5V/2.5A power supply to it as shown in Figure -3:

Figure-3: Powering up the MinnowBoard


Step-4:

Access the MinnowBoard's serial console via a terminal emulator:

$ sudo screen /dev/ttyUSB0 115200

Note:- You can also use minicom, but screen is much easier to use! Also in most cases the virtual USB serial port is ttyUSB0. If it does not work, try ttyUSB1


Step-5:

You should see a similar Angstrom login screen as shown in Figure - 4. The username is 'root' and there is no password - just press the Enter key.

Figure-4: Angstrom


Windows

Install FTDI Drivers

Step-1: Download the latest

Teraterm installation and setup

Step-1:

Download the latest version of Teraterm using the link below:

Teraterm

At the time of writing this guide, the latest version was '4.78' .


Step-2:

Install the Teraterm software by double clicking on the exe file downloaded earlier. If it displays a security warning, accept it and click on 'Run' as shown in Figure - 1 below:

Figure-1: Teraterm installation


Step-3:

Now just follow the on-screen instructions to install the software. It is advised to do the 'full' installation instead of the 'standard' one as shown in Figure - 2 below:

Figure-2: Perform Teraterm full installation


Step-4:

Launch Teraterm. Then go to Setup>Serial port and change the settings as shown in Figure - 3 below:

Figure-3: Teraterm Serial Port setup


Step-5:

Then go to File>New connections and select the Serial option and chose the appropriate COM port as shown in Figure - 4 below

Figure-4: Setting up a new connection


Step-6:

Then connect the required accessories as described earlier in this guide and power up the MinnowBoard. If all went well, you should see a login screen in Teraterm as shown in Figure - 5 below:

Figure-5: Angstrom login

Mac

We will be using the 'screen' command which is by default a part of the bash shell on OS X. To use screen command, the FTDI driver(it enables communication between the development board and computer over USB) has to be installed. Please follow the steps below to install it:

Step-1:

Download the latest ftdi driver for Mac OS X from the link below and make sure that you select the correct file corresponding to your computer architecture(32/64 bit):

FTDI Drivers


Step-2:

Double click on the downloaded file to start the installation procedure.


Step-3:

You will have two files inside the downloaded driver package as shown below in Figure - 1. The first file, ending with 10_3 is specific for Mac OS X version 10.3 . The second file is for all other versions, newer than 10.3 .

Figure-1: FTDI driver


Step-4:

Based on your Max OS X version, select the appropriate and double click it to proceed further.


Step-5:

You will now be greeted with an ftdi installer screen as shown in Figure - 2.

Figure-2: FTDI installer screen


Step-6:

Proceed forward by pressing the 'continue' button till you reach the “installation type” screen as shown below in Figure -3.

Figure-3: FTDI driver installation


Step-7:

Now press the 'install' button and wait for it to finish as shown in Figure - 4.

Figure-4: FTDI driver installation in progress


Step-8:

If the installation was successful, you should be greeted by a screen similar to the one shown in Figure - 5

Figure-5: FTDI driver installation successful


Step-9:

Then connect the required accessories as described earlier in this guide and power up the MinnowBoard.

If everything went well, you will see new entries in the /dev directory:

/dev/cu.usbserial-xxxxxxxx
/dev/tty.usbserial-xxxxxxxx 

Here, xxxxxxxx is either the device's serial number or, for unserialized devices, a location string that depends on which USB port your device is connected to. /dev can be accessed through the Terminal application. The Terminal application can be launched by selecting Go > Applications > Utilities > Terminal. Now fire up the terminal in Mac OS X and type the following command in it:

$ cd /dev 


Step-10:

Access the MinnowBoard's serial console via a terminal emulator and you should be greeted by the Angstrom screen as shown in Figure - 6:

$ sudo screen /dev/tty.usbserial-xxxxxxxx 115200

Figure-6: Angstrom