Page 1
OMAP35x EVM Getting Started Guide V02.01.01 May 22, 2009...
Page 2
TI product or service and is an unfair and deceptive business practice. TI is not responsible or liable for any such statements. Following are URLs where you can obtain information on other Texas Instruments products and application solutions:...
Page 3
Document Number Date EVALUATION BOARD/KIT IMPORTANT NOTICE Texas Instruments (TI) provides the enclosed product(s) under the following conditions: This evaluation board/kit is intended for use for ENGINEERING DEVELOPMENT, DEMONSTRATION, OR EVALUATION PURPOSES ONLY and is not considered by TI to be a finished end-product fit for general consumer use. Persons handling the product(s) must have electronics training and observe good engineering practice standards.
Page 5
Date Preface About This Guide The OMAP35x EVM is an evaluation platform that showcases the OMAP architecture and lets users evaluate the power and performance of OMAP as a flexible general purpose platform. This guide gives you overview information about the board and the software provided with the board.
Page 6
Trademarks The Texas Instruments logo and Texas Instruments are registered trademarks of Texas Instruments. Trademarks of Texas Instruments include: TI, OMAP, the OMAP logo, XDS, Code Composer, Code Composer Studio, Probe Point, Code Explorer, DSP/BIOS, RTDX, Online DSP Lab, OMAP, TMS320, TMS320C54x, TMS320C55x, TMS320C62x, TMS320C64x, TMS320C67x, TMS320C5000, and TMS320C6000.
Page 7
OMAP35x EVM Getting Started Guide V02.01.01 Document May 22 2009 Document Number Date Revision History: Rev No. Changes Date Beta Release March 15, 2008 Addition of Micron POP Support, Replace SignXloaderTool w/ signGP, May 13, 2008 Updates for new Serial Download Utility,...
OMAP35x EVM Getting Started Guide V02.01.01 Document May 22 2009 Document Number Date Table of contents Overview...............................10 What’s in the kit?........................10 Identifying Board Variations .....................11 What’s on the board? .......................14 OMAP3503 SDK Contents.......................15 What’s next? ..........................18 Updates & Further information....................19 EVM Hardware Setup...........................20...
Page 9
OMAP35x EVM Getting Started Guide V02.01.01 Document May 22 2009 Document Number Date 5.4.1 Setup the TFTP Server ......................35 5.4.2 Running the Re-flash Procedure ...................36 Rebuilding the Software ........................38 Rebuilding U-boot ........................38 Rebuilding the Linux Kernel .....................39 Rebuilding the Initial NAND X-loader..................39 Rebuilding the Target-side UART Loader................40...
Document May 22 2009 Document Number Date 1 Overview This Chapter introduces the OMAP35x EVM and OMAP3503 Software Development Kit. 1.1 What’s in the kit? The kit comes with the following hardware pieces: OMAP35x™ Evaluation Module Target Board • Includes dual-mode touch screen LCD display and stylus USB cable •...
OMAP35x EVM Getting Started Guide V02.01.01 Document May 22 2009 Document Number Date 1.2 Identifying Board Variations There are two variations of the EVM that have been produced. The following section will help you identify the board you are working with.
Page 13
OMAP35x EVM Getting Started Guide V02.01.01 Document May 22 2009 Document Number Date Different settings are used for the main boards SW4 switch for the two board variations. The switch setting adjusts the SYS_BOOT signals to the OMAP processor that select the boot processing performed by the OMAP Boot-ROM.
OMAP35x EVM Getting Started Guide V02.01.01 Document May 22 2009 Document Number Date 1.3 What’s on the board? The following block diagram shows the major hardware components. GPMC, Camera, McBSP, I2C and ETM UART, Connector SPI, Level MMC, Transmitter Shifter...
OMAP35x EVM Getting Started Guide V02.01.01 Document May 22 2009 Document Number Date 1.4 OMAP3503 SDK Contents The OMAP3503 SDK CD contains an installer binary to be run on a Linux system. The result of running the installer produces the following directory structure.
Page 16
OMAP35x EVM Getting Started Guide V02.01.01 Document May 22 2009 Document Number Date ~---OMAP35x-PSP-SDK-MM.mm.pp.bb License.html Software-manifest.html +---docs |-- Building-RootFs-Arago.html |-- DataSheet-MM.mm.pp.bb.pdf |-- GettingStarted.pdf |-- MigrationGuide-MM.mm.pp.bb.pdf |-- ReleaseNotes-MM.mm.pp.bb.pdf `-- UserGuide-MM.mm.pp.bb.pdf +---host-tools |-- linux `-- signGP |-- src `-- signGP.c |-- windows |-- PumpKIN.exe...
Date 1.5 What’s next? This document walks the user through the steps of getting started with the OMAP35x EVM and the OMAP3503 SDK. It is suggested that the user follow the sequence described in the document. The sequence is outlined below:...
OMAP35x EVM Getting Started Guide V02.01.01 Document May 22 2009 Document Number Date 1.6 Updates & Further information Please be sure to register your EVM at: www.ti.com/omapregistration Once registered you will be able to find software and documentation updates at: www.ti.com/omapsoftwareupdates...
OMAP35x EVM Getting Started Guide V02.01.01 Document May 22 2009 Document Number Date 2 EVM Hardware Setup This section will guide you through the process of setting up the EVM hardware for the purpose of running the supplied demo application. The information is the same as in the supplied Setup Guide.
OMAP35x EVM Getting Started Guide V02.01.01 Document May 22 2009 Document Number Date 2.1 Main Board SW4 Samsung Micron The main board’s SW4 DIP switch controls the boot mode of OMAP3 processor. The default setting shown above will try to boot from UART3. If no response is seen in a short time (< 1s) the processor will attempt to boot from the attached flash memory.
OMAP35x EVM Getting Started Guide V02.01.01 Document May 22 2009 Document Number Date 2.2 Processor Module SW1 The DIP switch on the processor module controls various signal routing choices. Please be sure it matches the above diagram for normal operation. SW1 must be configured differently to use a JTAG emulator with the EVM.
OMAP35x EVM Getting Started Guide V02.01.01 Document May 22 2009 Document Number Date 2.7 Audio In P11 can be connected to an audio source such as the line out jack of a PC sound card or the headphone jack of an MP3 player.
OMAP35x EVM Getting Started Guide V02.01.01 Document May 22 2009 Document Number Date 3 Running the Demo Software The EVM is configured to boot into Linux and automatically start a simple image viewer demo application. This application displays a picture and waits for key presses on the EVM keypad. Most keys cause a picture to be displayed but some have other functions.
OMAP35x EVM Getting Started Guide V02.01.01 Document May 22 2009 Document Number Date 3.1 Setup Terminal Program A serial port terminal program should be used to communicate with the EVM’s serial port console. For Windows users HyperTerminal or Teraterm are recommended. For Linux users, Minicom is recommended.
Page 26
OMAP35x EVM Getting Started Guide V02.01.01 Document May 22 2009 Document Number Date Command line options used above enable color (-c on) and start the setup procedure (-s). From the setup menu configure the serial port name and parameters - "Serial port setup" -> "A" for the "Serial Device"...
OMAP35x EVM Getting Started Guide V02.01.01 Document May 22 2009 Document Number Date 3.2 Running the Basic Demo The demo will display some progress messages on the UART1 serial port console at various points. Pressing any key pad button in the right two columns will display a picture.
OMAP35x EVM Getting Started Guide V02.01.01 Document May 22 2009 Document Number Date 4 Software Setup 4.1 Requirements The following are the requirements for software setup: PC Linux Host • Root login or liberal sudo privileges Most Linux Distributions should work with this SDK This SDK has been tested on: Ubuntu 7.10, x86 32 bit...
OMAP35x EVM Getting Started Guide V02.01.01 Document May 22 2009 Document Number Date 4.3 Installing the Toolchain This guide assumes use of the LITE version of the CodeSourcery toolchain. This version is an unrestricted command line toolchain available free of charge from the CodeSourcery web site.
Page 30
OMAP35x EVM Getting Started Guide V02.01.01 Document May 22 2009 Document Number Date...
OMAP35x EVM Getting Started Guide V02.01.01 Document May 22 2009 Document Number Date To install the toolchain, follow the sequence below: $ sudo mkdir –p /opt/omap3evm/toolchain $ sudo cp arm-2008q1-126-arm-none-linux-gnueabi-i686-pc-linux-gnu.tar.bz2 /opt/omap3evm/toolchain $ cd /opt/omap3evm/toolchain $ sudo tar –jxvf arm-2008q1-126-arm-none-linux-gnueabi-i686-pc-linux- gnu.tar.bz2 $ sudo rm arm-2008q1-126-arm-none-linux-gnueabi-i686-pc-linux-gnu.tar.bz2...
OMAP35x EVM Getting Started Guide V02.01.01 Document May 22 2009 Document Number Date 5 Updating the Flash Image This section describes how to install software images onto the flash memory on the EVM. This procedure can be used to install an updated version of the software from TI, to install a customized version built by the customer or to restore the flash image if it is destroyed or damaged.
OMAP35x EVM Getting Started Guide V02.01.01 Document May 22 2009 Document Number Date Auto negotiation complete, 100BaseTX, full duplex 3. Stop the boot process by pressing the Enter key on the development PC keyboard. The u-boot prompt will appear. 4. Disable the u-boot from booting the kernel by using the following commands at the u-boot prompt.
Page 34
OMAP35x EVM Getting Started Guide V02.01.01 Document May 22 2009 Document Number Date Download in progress Download Complete...
This section will describe setting up the TFTP server using a Windows host. You may also use a Linux TFTP server but that process is not described here. The SDK comes with the PumpKIN TFTP server. This is available under OMAP35x-PSP-SDK- MM.mm.pp.bb/host-tools/windows directory. This program is easy to setup and can be started and stopped easily.
OMAP35x EVM Getting Started Guide V02.01.01 Document May 22 2009 Document Number Date PumpKIN Options Dialog 5.4.2 Running the Re-flash Procedure 1) Ensure that the terminal program is configured with ~100 ms of delay after sending each line as described in Section 3.1 “Setup Terminal Program.”...
Page 37
OMAP35x EVM Getting Started Guide V02.01.01 Document May 22 2009 Document Number Date 5) Use the terminal program to send the reflash-xxx.txt script to the EVM, where xxx is either samsung or micron depending upon the Samsung or Micron NAND flash used on the board.
OMAP35x EVM Getting Started Guide V02.01.01 Document May 22 2009 Document Number Date 6 Rebuilding the Software This section describes how to rebuild pieces of the software delivery. Ensure that the toolchain setup and install has been completed (see section 4.3 “Installing the Toolchain”).
OMAP35x EVM Getting Started Guide V02.01.01 Document May 22 2009 Document Number Date 6.2 Rebuilding the Linux Kernel Rebuilding the kernel is described in more detail in the User’s Guide. OMAP35x-PSP-SDK-MM.mm.pp.bb/docs/UserGuide-MM.mm.pp.bb.pdf Note that building the kernel requires using mkimage, a host side utility built by the u-boot Makefile. You will need to build U-boot and place mkimage in your Path.
OMAP35x EVM Getting Started Guide V02.01.01 Document May 22 2009 Document Number Date $ make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi- The above command produces the x-load.bin file, but in order for the X-Loader to be loaded by the OMAP3 ROM bootloader, it needs to be signed with the signGP program from the host-tools/bin directory: $ ../../../host-tools/linux/signGP x-load.bin...
OMAP35x EVM Getting Started Guide V02.01.01 Document May 22 2009 Document Number Date User can also populate this NFS directory with his own package(s) by issuing the following commands: # tar -zxvf <<user_package_01.tar.gz>> -C <path to omap3evm nfs> # tar -zxvf <<user_package_02.tar.gz>> -C <path to omap3evm nfs>...
OMAP35x EVM Getting Started Guide V02.01.01 Document May 22 2009 Document Number Date Compress the file-system image by: # gzip <ramdisk file> The resulting file <ramdisk file>.gz now can be downloaded to the target and used as a ramdisk. 6.7 Rebuilding the JFFS2 File-System Image The procedure to build the JFFS2 file-system for the target is similar and consists of the steps below.
7.2 Booting the New Linux Kernel After building the new kernel, in order to use it to boot the OMAP35x EVM, you must transfer it to the board via TFTP. Once you transfer the kernel image to the board via TFTP, you could either perform a TFTP kernel boot or flash the kernel image to the NAND and subsequently use the NAND boot.
OMAP35x EVM Getting Started Guide V02.01.01 Document May 22 2009 Document Number Date 7.2.2 Using TFTP to boot the New Linux Kernel 1) Power on the EVM board, and abort the automatic boot sequence by pressing the “Enter key” in the console window.
OMAP35x EVM Getting Started Guide V02.01.01 Document May 22 2009 Document Number Date OMAP3EVM # onenand write 0x81600000 0x280000 0x0200000 4. Flash the Kernel Image onto the Micron NAND flash using the following commands. OMAP3EVM # nand unlock OMAP3EVM # mw.b 0x81600000 0xff 0x1400000...
OMAP35x EVM Getting Started Guide V02.01.01 Document May 22 2009 Document Number Date OMAP3EVM # run rf_min_rd (update just the full ramdisk) OMAP3EVM # run rf_fs (update just the JFFS image) Note 1: The two ramdisk images and JFFS are all mutually exclusive in Flash as they occupy the same partition.
Need help?
Do you have a question about the OMAP35x and is the answer not in the manual?
Questions and answers