you need to have an older OSK. Rev D1 and later have been reported to not work Please contact Spectrum Digital and/or Texas Instruments and request an updated Flash Recovery Utility if you have a newer board. Unfortunately, Tim Riker no longer works at Texas Instruments, so it's not likely that he will be able to provide an updated version. :(

you need a USB-A-male to USB-A-male cable. This can be done with a common USB-A-male to USB-B-male cable and a USB-B-female to USB-A-male adapter.

-------- Original Message --------
Subject: Re: Flash Recovery Utilityfor OSK
Date: Sun, 3 Apr 2005 16:16:35 -0700
From: David Brownell
To: linux-omap-open-source@linux.omap.com
I just used this FRU to load U-Boot 1.1.3, and the essential
undocumented trick seems to be disconnecting the serial line.
With a serial line connected, nothing works. Contrary to
the documentation, you _must_ do more than change JP3.
If it's disconnected, the USB enumeration behaves (on either
Windows or Linux) and Windows will see the IDs listed in that
INF file. Then the driver install can work. (Needs some
hand-holding to find the driver file in same directory as
that INF file, but it can work.) And then you can follow
the other instructions.
- Dave

How Does it Work?

Many OMAP chips support a "full boot" mode. There is an internal ROM in the chip that the ARM CPU boots from. The ROM tries to talk over the serial port to an external application. It can also support the USB port in client mode. When you set JP3 on the OSK you are telling the OMAP to boot in "full boot" mode. The ROM code is started and the device enumerates on the SCSI bus. The FRU looks for this enumeration, and sends a small app over USB which then runs. In this case the small app will have u-boot attached to it as data, and the small app just contains code to flash the data payload into NOR flash. Other applets can be developed, but this FRU is just the basic feature. This FRU does not support flashing over serial, though the hardware could do that too.

As an FYI: this internal ROM is also what is used to support "secure boot". In "secure boot" the OMAP verifies a signed binary in some external flash/ROM before running the code. If an OMAP is setup for "secure boot" it will only run signed code. Contact TI for more information on "full boot" or "secure boot" modes of the various OMAP chips.

OMAP Flash Loader

Luis Recuerda has made a new program, called OMAP Flash Loader (Media:omapfl-1.0.tar.gz), that runs under Linux or other Unixes with libusb support.
It is a GPL program (with sources) that can be expanded easily to use diferent flash chips (for new boards) and, perhaps, other OMAP processors.