Project

General

Profile

First Stage User Boot Loader

The first stage user boot loader for the MityDSP-L138 and MityARM-1808 SoMs is based off of version 2.27 of the TI OMAP-L138 Flash and Boot Utilities. The user boot loader requires a couple of small modifications to support the Critical Link SoM, including:

  • Setting the EMIFA clock rate to 100 MHz instead of 25 MHz for FPGA operation.
  • Providing a 312 MHz CPU clock rate (optional) for Profibus support on the Industrial I/O Board.

A tarball of the source code including the modifications made by Critical Link is included in the releases, below.

Releases

2010-05-01 Initial UBL (legacy) Release Notes
2010-05-01 UBLandFLashUtils_2010_10_26.tgz Release Notes

Building the UBL

The toolchain provided with TI Code Composer Studio is required to build the UBL. The build has been tested with CCSv5.3 on Windows, however v4 and v6 should also work. Download CCS

Command line

  1. Download and extract the latest release of the Critical Link UBL from the above table.
  2. Open a command prompt and navigate to the extracted files.
    C:> cd OMAP-L138_FlashAndBootUtils_CriticalLink\OMAP-L138_FlashAndBootUtils_2_27\OMAP-L138\CCS\UBL_ARM\UBL_SPI_MEM\Debug
    
  3. Run gmake to compile the UBL.
    C:> C:\ti\ccsv5\utils\bin\gmake.exe -k clean
    C:> C:\ti\ccsv5\utils\bin\gmake.exe -k pre-build main-build
    

The resulting .ais file will be placed into the UBL_ARM directory.

Code Composer GUI

  1. Download and extract the latest release of the Critical Link UBL from the above table.
  2. Edit the OMAP-L138_FlashAndBootUtils_2_27\OMAP-L138\CCS\UBL_ARM\UBL_SPI_MEM.pjt file to point to the correct path:
    ProjectDir="C:\path\to\project\OMAP-L138_FlashAndBootUtils_2_27\OMAP-L138\CCS\UBL_ARM\" 
    
  3. Import the UBL_SPI_MEM.pjt project into CCS (Project -> Import Legacy CCSv3.3 Project) and Build.

The resulting .ais file will be placed into the UBL_ARM directory.

Go to top
Add picture from clipboard (Maximum size: 600 MB)