Site Index
   Support Home
   C2000 Products
   C5000 Products
   C6000 Products
   OMAP Products
   JTAG Emulators/
Emulation Drivers
   Legacy Support
   Ordering Info.

Spectrum Digital AM1808/AM1810/OMAPL138 EVM Linux SDK

This page details the process of creating a SD card which is needed to boot and run a Linux system on Spectrum Digital's AM1810,AM1808 and OMAPL138 Evaluation Modules(EVM).This page will also be a primary location for all the binaries,scripts and documents required to achieve this task.


  1. PC Running Linux Operating System. Prefereably Ubuntu 10.04(tested version).
  2. SD CARD - 4GB and above.
  3. USB SDHC Card Reader.

Installation Instructions

  1. Create a directory on your linux host machine to download all the required files.
  2. First, download all the binaries into the directory depending on the version you are interested in. Read the release notes for detailed information on the version you are about to download.
  3. Next, download the install scripts as a .zip file. Extract all the scripts into the directory. Run the command chmod +x *.sh on the directory from the terminal window.
  4. Lastly,follow the SD card creation steps very carefully and create the SD card.

AM18x DVSDK binaries

Description Release Date Version ReleaseNotes Download
Linux DVSDK - AM18x
Linux DVSDK for AM1808,AM1810 and OMAPL138 EVMs.
August 22nd 2011 v4.01 ReleaseNotes4.01.txt Download

AM18x DVSDK SD Card install scripts

Description Release Date Download
Make 3 partition SD Card. August 22nd 2011

AM18x SD Card Creation Steps

  1. This step assumes that all the files listed below for creating a SD card are in the same directory structure on your linux host machine.The first three files are downloaded from section AM18x DVSDK binaries, the last three files are downloaded from section AM18x DVSDK SD Card install scripts.
    1. sddvsdk-boot-am18x-evm.tar.gz
    2. sddvsdk-rootfs-am18x-evm.tar.gz
    3. sddvsdk-starthere-am18x-evm.tar.gz
  2. Plug in the SD card reader with SD card plugged in into the USB port of your linux host machine.
  3. Examine the linux host system using the command df -hT.A sample output of the command is shown below.

    The example above shows that the SD card reader is attached to /dev/sdc on the linux system.This is a typical 8G card purchased through a retail channel which has a standard windows FAT formatted single partition.
    !!!The Linux host partition (mounted on /) is on /dev/sda1. This indicates that the host machine has a SATA drive on /dev/sda!!!
  4. Note down the partition that the SD card is attached to. In our example above, the SD card is attaches to /dev/sdc
  5. Run script with device name that the SD card is attached to as the parameter. This command requires administrator priviliges (sudo access)on your host.The sample command for our example is sudo ./ /dev/sdc. The output of the command is shown in the figure below.This command takes about 5-10 minutes to complete.

    !!!Passing the device associated with the hard drive of the host machine to this script will destroy the host machine's hard drive!!!
  6. After all the operations from the previous step are completed, unplug the card reader and replug into the USB port. The SD card now has 3 partitions. They are boot,rootfs and START_HERE partitions. The boot partition has the kernel image, rootfs partition has the filesystem and the START_HERE partition has all the other miscellaneous files required for your development.

Running the demo

  1. Download the code sourcery lite toolchain from this link. Make sure to download IA32 GNU/Linux Installer. Open a terminal window on your linux host and navigate to the installer directory. Run chmod +x arm-2009q1-203-arm-none-linux-gnueabi.bin on the installer.
    host# chmod +x arm-2009q1-203-arm-none-linux-gnueabi.bin

  2. Execute the installer using the command ./arm-2009q1-203-arm-none-linux-gnueabi.bin and follow the installer instructions on the screen to do a typical installation.
    host# ./arm-2009q1-203-arm-none-linux-gnueabi.bin

  3. From the terminal window, naviagate to START_HERE partition of your SD card. This typically is /media/START_HERE directory.Execute script. Follow the script instructions.
    host# cd /media/START_HERE
    host# ./

  4. Code Composer Studio v5 (CCSv5) is provided as a part of the Linux SDK. CCSv5 is an Integrated Development Environment (IDE) based on Eclipse and provides a graphical environment you can use to experiment with the example applications provided or develop your own. The following files will be found in the START_HERE partition of the SD Card:
    --CCS (folder containing CCS installer with plug-ins in extras folder)

    Enter the /media/START_HERE directory and enter the following commands at the Ubuntu Linux Host to install CCSv5.
    host# cd /media/START_HERE
    host# ./ $PWD

    CCSv5 Users Guide will provide you with additional details of using CCSv5 with your AM1808/AM1810/OMAPL138 EVM.

  5. The source and prebuilt-binaries of ubl can be found under the archive SDK_INSTALL_DIR/host-tools/flash_utils/OMAP-L138_FlashAndBootUtils_2_31_a.tar.gz. Untar the Flash and Boot utilities.The prebuilt ubl binary can be found under OMAP-L138_FlashAndBootUtils_2_31/OMAP-L138/GNU/ubl directory. The ubl binary used on all the three Spectrumdigital's AM1808/AM1810/OMAPL138 EVM's is ubl_AM1810_SPI_MEM.bin
    Note: Please note that ubl_AM1808_SPI_MEM.bin and ubl_OMAPL138_SPI_MEM.bin are for Logic PD's AM1808 and OMAPL138 EVM's. They are not supported on SpectrumDigital AM1808 and OMAPL138 EVM'S due to differences in DDR and UART peripherals.

  6. The next step is to program the EVM with ubl and uboot. One way of programming ubl and u-boot is via JTAG by connecting the EVM to either Spectrum Digital's XDS510USB PLUS emulator or XDS560V2u STM class emulators. A detailed procedure of executing the tests on a linux host can be found in readme.txt located in CCS_INSTALL_DIR/ccsv5/ccs_base_5.0.1.00026/emulation/boards/evmam18xx_v1 directory.
    Note:A copy of prebuilt ubl and u-boot binaries already exist under CCS_INSTALL_DIR/ccsv5/ccs_base_5.0.1.00026/emulation/boards/evmam18xx_v1/dss_scripts directory.

  7. The next step is to set the uboot environment variables to boot the kernel and filesystem from SD card. This can be done by running the script from SDK install directory.This file is located in the top level of the SDK install directory and can be run with the following command. Please note that this command requires you to have administrator priviliges (sudo access) on your host.
    host# cd SDK_INSTALL_DIR
    host# sudo ./

    Choosing all the default settings while running the script will setup the board memory to 64MB and to boot the kernel and filesystem from SD card. This requires you to connect the RS-232 cable between your host and EVM as well as your ethernet cable.

  8. Plug in the SD card and follow the instructions in the quick start guide to run the demo. Even though the quick start guide is specific to AM1810 EVM, the same procedure also applies to spectrum digital's AM1808 and OMAP L138 EVM's.

©Copyright 2002-2014 Spectrum Digital, Inc. All Rights Reserved.