Restoring/Flashing OMAP-L137 Bootloaders

From Texas Instruments Embedded Processors Wiki

Jump to: navigation, search
Translate this page to   

Contents

Prerequisites

NOTE: The pre-built U-Boot binary provided with the PSP package is built for SPI boot mode. To build u-boot for NAND boot mode please refer to this link

Procedure

Booting overview

U-Boot is an open source boot loader and is responsible for booting the Linux kernel.

To boot U-Boot, connect a serial cable from the serial port on the EVM to the COM port on the host machine. Set up the serial terminal software as described in Booting the EVM out of the box.

Note: Boot images may not have been pre-flashed on the EVM for all boot modes. In this case, follow the procedures in Flashing images to flash the required boot images.

Booting from SPI Flash

Pin# 7 2 1 0 3
Position 0 1 0 1 X

Booting from NAND Flash

Pin# 7 2 1 0 3
Position 0 1 1 1 X

On the User Interface card, set the SW1 switch as follows:

Pin # 1 2 3 4
Position 1 0 1 1

Flashing the EVM

There are two ways of flashing the EVM. The first method does not require an emulator or CCS and uses the serial port on the host PC. More information on this tool can be found here: [[1]http://processors.wiki.ti.com/index.php/Serial_Boot_and_Flash_Loading_Utility_for_OMAP-L137]. Otherwise follow the instructions below.

If you already have a full version of CCS installed you will need to download at least CCS Service Release 12, Code Generation Tools v6.1.5 and DSP/BIOS v5.33.03. These can be obtained through the CCS Update Advisor (Help->Update Advisor->Check for Updates). If you want to know what Service Release you have, please see this page. You also need to install the Target Content (drivers, GEL files) from the CD that comes with the Starter Kit. You can also look for updated Target Content from the Spectrum Digital Support site.

If you install both CCS and Target Content from the CD that comes with the Starter Kit you do not need to update any components.

The OMAP-L137 is different from other TI DSP+ARM devices in that the DSP wakes up the ARM as opposed to the other way around. Because of this a small DSP bootloader must first run to wake the ARM and then load the ARM UBL.

For revisions A and B:

Pin # 7 2 1 0 3
Position 1 1 1 1 1

For all revisions after B:

Pin # 7 2 1 0 3
Position 1 1 1 1 0

NOTE: NAND flash is not present on the OMAP-L137 DSP Starter Kit board. The OMAP-L137 SoC supports interfacing with NAND flash, however. The NAND boot has been tested using a User Interface daughter card from Spectrum Digital. For detail, refer to: http://support.spectrumdigital.com/boards/dskda830.

To flash NAND, on the User Interface card, set the SW1 switch as follows:

Pin # 1 2 3 4
Position 1 0 1 1

Connecting 1.JPG


For booting from SPI/NAND, a DSP AIS image, SPI/NAND UBL, and U-Boot are required. The steps below will take place inside the ARM CCS Window.

Pin # 7 2 1 0 3
Position 0 1 0 1 X

To boot from NAND Flash:

Pin # 7 2 1 0 3
Position 0 1 1 1 X

What's Next?

See the Setting up OMAP-L137 Target File System section in the Getting Started Guide.

E2e.jpg For technical support on OMAP please post your questions on The OMAP Forum. Please post only comments about the article Restoring/Flashing OMAP-L137 Bootloaders here.
Hyperlink blue.png Links
ARM Microcontroller MCU ARM Processor Digital Media Processor Digital Signal Processing Microcontroller MCU Multi Core Processor
Ultra Low Power DSP 8 bit Microcontroller MCU 16 bit Microcontroller MCU 32 bit Microcontroller MCU

Leave a Comment
Personal tools
Namespaces
Variants
Actions
Navigation
Print/export
Toolbox