Summary of Contents for Texas Instruments DA8xx EVM PSP
Page 1
DA8xx EVM PSP User’s Guide Literature Number: SPRUGL9 March 2009...
Page 2
TI as compliant with ISO/TS 16949 requirements. Buyers acknowledge and agree that, if they use any non- designated products in automotive applications, TI will not be responsible for any failure to meet such requirements. Following are URLs where you can obtain information on other Texas Instruments products and application solutions: Products...
Page 3
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, DEMON- STRATION, OR EVALUATION PURPOSES ONLY and is not considered by TI to be a finished end-product fit for general consumer use.
Page 4
FCC Warning This evaluation board/kit is intended for use for ENGINEERING DEVELOPMENT, DEMON- STRATION, OR EVALUATION PURPOSES ONLY and is not considered by TI to be a finished end-product fit for general consumer use. It generates, uses, and can radiate radio frequency energy and has not been tested for compliance with the limits of computing devices pursuant to part 15 of FCC rules, which are designed to provide reasonable protection against radio frequency interference.
Page 5
Preface About This Guide This document describes how to install and get started with TI's Linux Platform Support Product (PSP) 02.20 package for the DA8xx Evaluation Module (EVM). This document describes the following: ❏ Installing the PSP package ❏ Building the PSP package ❏...
Page 6
You can use the following resources to supplement this guide: ❏ Other PDF documents included with the kit Trademarks The Texas Instruments logo and Texas Instruments are registered trademarks of Texas Instruments. Trademarks of Texas Instruments include: TI, DaVinci, the DaVinci logo, XDS, Code Composer, Code...
Chapter 1 Introduction This chapter introduces the DA8xx EVM Platform Support Product (PSP). Topic Page 1.1 What is a Platform Support Product (PSP) Package? ... 1–2 1.2 About this User Guide........1–2...
What is a Platform Support Product (PSP) Package? What is a Platform Support Product (PSP) Package? This document describes how to install and get started with TI's Linux Platform Support Product (PSP) 02.20 package for the DA8xx Evaluation Module (EVM). This PSP package supports the DA8xx EVM.
Chapter 2 Installing the Package This chapter describes the installation procedure for the DA8xx EVM Linux PSP package. Topic Page 2.1 Downloading the Release ........2–2 2.2 System Requirements.
Downloading the Release Downloading the Release You can get the latest PSP release from the PSP download page at https://www- a.ti.com/downloads/sds_support/targetcontent/psp/mv_lsp_2_20/index.html. System Requirements A complete installation of all PSP components requires both a Microsoft Windows and a Linux machine as hosts. 2.2.1 Host Platform Requirements The Microsoft Windows machine is required for running CCStudio v4.0.
Running the Installation 2.2.3 Target Hardware Requirements The target board required is DA8xx EVM. The EVM comes with on-board emulation, so no separate emulator hardware is required. The EVM ships with other peripheral hardware like power supply, USB, ethernet and serial cables.
QuickStart Steps QuickStart Steps The following list is an overview of the steps you should follow to set up and begin using the DA8xx Evaluation Module (EVM) with the Linux Platform Support Product (PSP) package. 1) Understand how to use the DA8xx EVM hardware by reading the EVM technical reference that accompanies the EVM shipment or by obtaining it online from http://support.spectrumdigital.com/boards/dskda830.
Page 15
QuickStart Steps 8) While Linux is booting, you can press any key to interrupt the automatic boot of the Linux kernel. This will leave you in U-Boot, where you can type commands in the U-Boot command shell. In this guide, commands to be typed in the U-Boot shell are indicated by the prompt.
Chapter 3 Flashing and Booting This chapter describes how to run the target content that is provided as a part of the PSP package. Topic Page 3.1 Introduction ..........3–2 3.2 Flashing Boot Images to SPI Flash .
Introduction Introduction Pre-built binaries for UBL, U-Boot, Linux kernel, and flash writers are provided in the PSP_02_20_#_#/bin directory in the PSP installation. On the DA8xx SoC, the DSP boots first. On boot-up, the DSP runs the DSP AIS binary, whose purpose is to load the ARM UBL into internal RAM, set the ARM reset vector correctly, and get the ARM out of reset.
Booting from SPI Flash directory of the PSP installation, or you can build your own by following the steps in Section 4.4.2. 5) Run the SPI flasher program. In CCStudio v4.0, the file path and offset are picked up from the C:\spiwriter.dat data file. To use the CCStudio v4.0 based tool, create a file named spiwriter.dat in the C: drive of the host PC, and include the full path to the file followed by the offset (as a decimal value) in the first line of the spiwriter.dat file.
Booting the Linux Kernel Using U-Boot Booting the Linux Kernel Using U-Boot Booting the Linux kernel requires a valid kernel image (uImage) and a target file system. A pre-built kernel image named is included in uImage the PSP_02_20_#_#/bin directory of the PSP installation. File systems of various kinds are supported by Linux kernel.
Booting the Linux Kernel Using U-Boot 3.4.1 Booting from SDRAM Download the kernel and ramdisk image from Ethernet (using TFTP) into SDRAM. Then boot the kernel image from SDRAM. Use the following settings (on a single line) for the U-Boot environment variables bootargs and bootcmd.
Booting the Linux Kernel Using U-Boot 3.4.3 Booting from NAND Flash To enable NAND flash support in U-Boot, the uImage must be compiled with CONFIG_USE_NAND macro defined file. include/configs/da8xx_evm.h To boot from NAND flash, follow these steps. 1) Download uImage and copy it to the NAND partition as follows: tftp 0xc0700000 uImage nand erase 0x200000 0x200000 nand write.e 0xc0700000 0x200000 0x200000...
Booting the Linux Kernel Using U-Boot 3) Set the bootargs and bootcmd environment variables to boot from NOR flash as follows: setenv bootcmd 'cp.b 0x60060000 0xc1180000 0x180000; cp.b 0x601E0000 0xc0700000 0x220000; bootm' setenv bootargs 'mem=32M console=ttyS2,115200n8 root=/dev/ram0 rw initrd=0xc1180000,4M ip=dhcp' 3.4.5 Booting from USB Storage U-boot includes support for loading files from USB mass storage devices...
Page 24
Booting the Linux Kernel Using U-Boot 2) fatload usb dev[:part] address filename This command loads a file from a mass storage device. For the parameter you should specify the number of the storage device found on the USB bus by command.
Loading Linux Kernel Modules Loading Linux Kernel Modules Many of the kernel features can be built as run-time loadable modules so that they are not part of the kernel image, but can be inserted into the kernel at run-time to increase the running kernel’s functionality. To understand how to configure some features as modules and how to build them, refer to Section 4.2, Building a New Linux Kernel.
Chapter 4 Building PSP Components This chapter explains how to build various components of the PSP. Topic Page 4.1 Building U-Boot ......... . 4–2 4.2 Building a New Linux Kernel .
Building U-Boot Building U-Boot Follow these steps to rebuild U-Boot: 1) Building U-Boot requires that the MontaVista tools have been installed on your Linux host. 2) If you have not already extracted the source files for building U-Boot, your Linux host extract source...
Building a New Linux Kernel Building a New Linux Kernel 1) Building the target Linux kernel requires that the MontaVista tools have been installed on your Linux host. 2) If you have not already installed the source files for building the target Linux kernel, your...
Building a New Linux Kernel 7) To build all features configured as modules (M), issue the following command: make modules ARCH=arm CROSS_COMPILE=arm_v5t_le- 8) To install the compiled modules into the target root file system, issue the following command: make modules modules_install INSTALL_MOD_PATH=<root fs path> ARCH=arm CROSS_COMPILE=arm_v5t_le- where the is the path of your target root file system...
Page 31
Building a New Linux Kernel If you need to support MSC devices (such as pen drives), choose the following: --- USB Device Class drivers <*> USB Mass Storage support If you need to support HID devices (such as mouse and keyboard), choose the following: --- USB Input Devices <*>...
Building a New Linux Kernel 4.2.2 USB 1.1 Configuration The menus appear as follows: Device Drivers ---> USB support ---> <*> Support for Host-side USB --- Miscellaneous USB options [*] USB device filesystem --- USB Host Controller Drivers <*> OHCI HCD support If you need to support MSC devices (such as pen drives), choose the following: --- USB Device Class drivers...
Building a New Linux Kernel 4.2.3 Audio Configuration The menus appear as follows: Device Drivers ---> Sound ---> <*> Sound card support Advanced Linux Sound Architecture ---> <*> Advanced Linux Sound Architecture System on Chip audio support ---> <*> ALSA for SoC audio support <*>...
Building a New Linux Kernel 4.2.5 Character LCD Configuration The menus appear as follows: System Type ---> [*] DA830/OMAP-L137 UI (User Interface) board support Select DA830/OMAP-L137 UI board peripheral ---> (X) LCD Device Drivers ---> Graphics support ---> < > Support for frame buffer devices <...
Building a New Linux Kernel 4.2.7 NOR Flash Configuration The menus appear as follows: System Type ---> [*] DA830/OMAP-L137 UI (User Interface) board support Select DA830/OMAP-L137 UI board peripheral ---> (X) NOR flash Device Drivers ---> Character devices ---> < > DA830/OMAP-L137 Character LCD Support Graphics support --->...
Building the User Boot Loader (UBL) Building the User Boot Loader (UBL) To rebuild the ARM-side User Boot Loader (ARM UBL), you will need to use CCStudio 3.3 installed on a Microsoft Windows host. The source files and CCStudio project files for building the ARM side UBL are provided in the PSP_02_20_#_#/board_utilities/armubl directory, which was created when you installed the PSP package as described in Section 2.3.
Building Flash Writers Building Flash Writers A flash writer is used to flash the DSP AIS binary, ARM UBL and UBoot images to flash. Currently SPI and NAND flash support is available. The flash writer also supports flashing a given image at a chosen offset. To rebuild a flash writer, you will need to use CCStudio 3.3 installed on a Microsoft Windows host.
Building Flash Writers 4.4.2 Building an SPI Flash Writer An SPI flash writer is used to flash the DSP AIS binary, ARM UBL and U- Boot images to SPI flash. It also has the capability to flash any given image at a chosen offset. Use the following steps to build an SPI flash writer using CCStudio v4.0: 1) Run CCStudio v4.0.
Appendix A Additional Procedures This appendix describes optional procedures you may use depending on your setup and specific needs. Topic Page A.1 Building the DSP AIS Binary ....... A–2 A.2 Setting Up a TFTP Server .
Page 40
Building the DSP AIS Binary Building the DSP AIS Binary Building the DSP AIS binary requires CCStudio v3.3 and the AIS generation tool. Typically you should not need to rebuild the DSP AIS binary. In most cases, you can use the binary provided in the REL_LSP_02_20_#_#/PSP_02_20_#_#/bin directory.
Setting Up a TFTP Server Setting Up a TFTP Server You can check to see if a TFTP server is set up with the following command: host $ rpm -q tftp-server If it is not set up, you can follow these steps: 1) If you have not yet installed MontaVista Linux Demo Edition, you can download a TFTP server for your Linux host from many locations on the Internet.
Page 43
Index AIS generation tool A-2 fatload usb command 3-8 audio configuration 4-7 fatls usb command 3-8 flash writers (see NAND flash writer; SPI flash writer) CCStudio booting from NAND flash using 3-4 GEL files 3-2 booting from SPI flash using 3-2 graphical LCD configuration 4-7 building DSP AIS binary using A-2 building flash writers using 4-11...
Page 44
Index NAND flash writer 1-2 terminal emulation program 2-2 building 4-11 tftp command 3-4 configuration 4-8 TFTP server, setting up A-3 U-Boot build option for 4-2 NOR flash configuration 4-9 U-Boot commands 3-4 PSP (Platform Support Product) 1-2 compiling 4-2 downloading 2-2 included in PSP package 1-2 installing 2-3...
Need help?
Do you have a question about the DA8xx EVM PSP and is the answer not in the manual?
Questions and answers