Template:Box 4

This page describes how to connect between a Host PC and the OMAP Platform device.

Serial Terminal Setup
For a Linux machine, a serial terminal such as Minicom or Kermit can be used.

Open a terminal.

Install minicom, sudo apt-get install minicom

Search for USB device on Ubuntu dmesg | grep -e ttyUSB

Select the right USB device [   6.967657] usb 1-3.2: FTDI USB Serial Device converter now attached to ttyUSB0 [   6.967808] usb 1-3.2: FTDI USB Serial Device converter now attached to ttyUSB1 [   6.967944] usb 1-3.2: FTDI USB Serial Device converter now attached to ttyUSB2 < --- use this one for Blaze and Zoom2 settings [   6.968962] usb 1-3.2: FTDI USB Serial Device converter now attached to ttyUSB3

Open minicom and setup the serial connections as follows sudo minicom -s

+-[configuration]--+ | Filenames and paths     | | File transfer protocols | | Serial port setup       | | Modem and dialing       | | Screen and keyboard     | | Save setup as dfl       | | Save setup as.. |           | Exit                     | | Exit from Minicom       | +--+ //Select Serial port setup //Select A and use the right USB device listed from the previous command previously //Select F to turn off Flow Control +---+           | A -    Serial Device      : /dev/ttyUSB2                              | | B - Lockfile Location    : /var/lock                                 | | C -  Callin Program      :                                           | | D - Callout Program      :                                           | | E -   Bps/Par/Bits       : 115200 8N1                                | | F - Hardware Flow Control : No                                       | | G - Software Flow Control : No                                       | |                                                                      |            |    Change which setting? |           +---+ //Press enter, save as default, exit //Once the Modem is Initialized, press Ctrl A-Z-M //This lists the main menu +---+            |                     Minicom Command Summary                       | |                                                                  |             |          Commands can be called by CTRL-A                   | |                                                                  |             |               Main Functions                  Other Functions     | |                                                                  |             | Dialing directory..D  run script (Go)....G | Clear Screen.......C | | Send files.........S Receive files......R | cOnfigure Minicom..O | | comm Parameters....P Add linefeed.......A | Suspend minicom....J | | Capture on/off.....L Hangup.............H | eXit and reset.....X | | send break.........F initialize Modem...M | Quit with no reset.Q | | Terminal settings..T run Kermit.........K | Cursor key mode....I | | lineWrap on/off....W local Echo on/off..E | Help screen........Z | | Paste file.........Y                      | scroll Back........B | |                                                                  |             |      Select function or press Enter for none. |            |                                                                   |             |             Written by Miquel van Smoorenburg 1991-1995           | |            Some additions by Jukka Lahtinen 1997-2000            | |            i18n by Arnaldo Carvalho de Melo 1998                 | +---+ //Once this starts up, the following will be output on terminal

At this point, the bootloader starts the kernel. Some binaries autoboot while others may require bootargs to boot up. In case the platform autoboots, you may see a sample output as depicted below. Else refer to the next step/boot-args section on the guide.

Sample output: Texas Instruments X-Loader 1.41 (Jul 26 2010 - 19:26:00) mmc read: Invalid size Starting OS Bootloader from MMC/SD1 ...                                                                                                                 U-Boot 1.1.4-L24.6-dirty (Jul 27 2010 - 12:02:16) Load address: 0x80e80000 DRAM: 512 MB                                                                                                                                            Flash:  0 kB                                                                                                                                             In:    serial Out:  serial Err:  serial Net:  KS8851SNL Hit any key to stop autoboot: 0 mmc read: Invalid size 3351176 bytes read Image Name:  Ubuntu Kernel Image Type:  ARM Linux Kernel Image (uncompressed) Data Size:   3351112 Bytes =  3.2 MB    Load Address: 80008000 Entry Point: 80008000 Verifying Checksum ... OK OK Starting kernel ...
 * 1) Booting image at 80500000 ...