background image

A-4

Summary of Contents for DA8xx EVM PSP

Page 1: ...DA8xx EVM PSP User s Guide Literature Number SPRUGL9 March 2009...

Page 2: ...TI is not responsible or liable for any such statements TI products are not authorized for use in safety critical applications such as life support where a failure of the TI product would reasonably...

Page 3: ...UTORY IN CLUDING ANY WARRANTY OF MERCHANTABILITY OR FITNESS FOR ANY PARTICULAR PURPOSE The user assumes all responsibility and liability for proper and safe handling of the goods Further the user inde...

Page 4: ...adio 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 fre...

Page 5: ...re on embedded Linux platforms Notational Conventions This document uses the following conventions When the pound sign is used in filenames or directory paths for example PSP_02_20_ _ bin you should r...

Page 6: ...tudio Probe Point Code Explorer DSP BIOS RTDX Online DSP Lab DaVinci eXpressDSP TMS320 TMS320C6000 TMS320C64x TMS320DM644x and TMS320C64x MS DOS Windows and Windows NT are trademarks of Microsoft Corp...

Page 7: ...2 3 2 4 QuickStart Steps 2 4 3 Flashing and Booting 3 1 This chapter describes how to run the target content that is provided as a part of the PSP package 3 1 Introduction 3 2 3 2 Flashing Boot Image...

Page 8: ...C SD Configuration 4 9 4 3 Building the User Boot Loader UBL 4 10 4 4 Building Flash Writers 4 11 4 4 1 Building a NAND Writer 4 11 4 4 2 Building an SPI Flash Writer 4 12 A Additional Procedures A 1...

Page 9: ...1 1 Chapter 1 Introduction This chapter introduces the DA8xx EVM Platform Support Product PSP 1 1 What is a Platform Support Product PSP Package 1 2 1 2 About this User Guide 1 2 Topic Page...

Page 10: ...0 User Boot Loader UBL This is the primary boot software which copies U Boot to SDRAM and starts it This software requires CCStudio 3 3 for building SPI and NAND flash writers These are Code Composer...

Page 11: ...he Package This chapter describes the installation procedure for the DA8xx EVM Linux PSP package 2 1 Downloading the Release 2 2 2 2 System Requirements 2 2 2 3 Running the Installation 2 3 2 4 QuickS...

Page 12: ...The Linux host is required for the following purposes Compiling the U Boot and Linux kernel Hosting the TFTP server required for downloading kernel and file system images using U Boot Hosting the NFS...

Page 13: ...allation procedure is to install the PSP package on a Linux host and then copy portions used with a Microsoft Windows host such as CCStudio projects for building the UBL and flash writers to a Microso...

Page 14: ...console software on the PC to connect to that serial port with the following characteristics Baud 115200 Data Bits 8 Parity None Stop Bits 1 Flow Control None 5 Power on the board using the power sup...

Page 15: ...A8xx EVM or to rebuild U Boot or the Linux kernel provided with the PSP package you will need to install the MontaVista tools If you are a licensed MontaVista customer you can obtain MontaVista tools...

Page 16: ...2 6...

Page 17: ...to run the target content that is provided as a part of the PSP package 3 1 Introduction 3 2 3 2 Flashing Boot Images to SPI Flash 3 2 3 3 Booting from SPI Flash 3 3 3 4 Booting the Linux Kernel Usin...

Page 18: ...g Boot Images to SPI Flash Follow these steps to flash boot images into SPI flash 1 Download the DSP and ARM GEL files from http support spectrumdigital com boards dskda830 Run the CCStudio Setup tool...

Page 19: ...e offset is 32768 6 Once all three images are successfully flashed one after another disconnect CCStudio and power off the EVM In order to boot from SPI flash which has just been written with the boot...

Page 20: ...mands and then copy the kernel to SDRAM from this memory for subsequent boots Please see Section A 2 of this user guide for information on setting up a TFTP server To use TFTP download you must first...

Page 21: ...nother medium to the store the filesystem To enable SPI flash support in U Boot the U Boot must be compiled with the CONFIG_USE_SPIFLASH macro defined in the include configs da8xx_evm h file For infor...

Page 22: ...the bootargs and bootcmd environment variables to boot from NAND flash as follows setenv bootcmd nand read e 0xc1180000 0x600000 0x300000 nboot e 0xc0700000 0 0x200000 bootm setenv bootargs mem 32M c...

Page 23: ...how to build U Boot refer to Section 4 1 Building U Boot The default U Boot image provided in the PSP_02_20_ _ bin directory of the PSP installation has USB MSC support enabled CONFIG_USB_DA8XX This m...

Page 24: ...age You can use the following additional commands to identify the device attached fatls usb dev part directory This command lists the files on a USB mass storage device The dev and part parameters are...

Page 25: ...ds the USB file storage gadget module You can use similar steps for other driver modules 3 5 1 Loading USB 2 0 To load the file based storage module follow these steps 1 Issue the modinfo g_file_stora...

Page 26: ...3 10...

Page 27: ...SP Components This chapter explains how to build various components of the PSP 4 1 Building U Boot 4 2 4 2 Building a New Linux Kernel 4 3 4 3 Building the User Boot Loader UBL 4 10 4 4 Building Flash...

Page 28: ...in the include file include configs da8xx_evm h which is in the U Boot source tree To change build options edit this file and re build the U Boot binary You can modify the following build options Choi...

Page 29: ...g to the default configuration provided make distclean ARCH arm CROSS_COMPILE arm_v5t_le make da830_omapl137_defconfig ARCH arm CROSS_COMPILE arm_v5t_le 5 Some of the kernel features and available dri...

Page 30: ...tion 3 5 Loading Linux Kernel Modules for more information on using kernel modules 4 2 1 USB 2 0 Configuration Configuring for Host The menus appear as follows Device Drivers USB support Support for H...

Page 31: ...upport SCSI devices choose the following SCSI device support SCSI device support legacy proc scsi support SCSI support type disk tape CD ROM SCSI disk support Configuring for Gadget The menus appear a...

Page 32: ...rage support To enable support for USB audio choose the following Sound Sound card support Advanced Linux Sound Architecture USB Devices USB Audio MIDI Driver If you need to support HID devices such a...

Page 33: ...0 OMAP L137 McASP0 control by ARM DA830 OMAP L137 McASP1 control by ARM DA830 OMAP L137 McASP2 control by ARM DA830 OMAP L137 CODEC X Using the TLV3106 CODEC 4 2 4 Graphical LCD Configuration The menu...

Page 34: ...rt Character devices DA830 OMAP L137 Character LCD Support 4 2 6 NAND Flash Configuration The menus appear as follows System Type DA830 OMAP L137 UI User Interface board support Select DA830 OMAP L137...

Page 35: ...Character LCD Support Graphics support Support for frame buffer devices Memory Technology Devices MTD RAM ROM Flash chip drivers Detect flash chips by CFI probe Support for AMD Fujitsu flash chips Ma...

Page 36: ...3 The following steps build the ARM UBL 1 Start CCStudio v3 3 2 From the menus choose Project Open Browse to the REL_LSP_02_20_ _ PSP_02_20_ _ board_utilities armubl directory and open the ubl pjt pro...

Page 37: ...ters directory which was created when you installed the PSP package as described in Section 2 3 The following subsections describe how to build the NAND and SPI flash writers 4 4 1 Building a NAND Wri...

Page 38: ...n CCStudio v4 0 2 In the C C perspective choose Project Open Existing Project from the menus 3 Browse to the REL_LSP_02_20_ _ PSP_02_20_ _ board_utilities flash_writers spi_flash_writer directory and...

Page 39: ...ndix A Additional Procedures This appendix describes optional procedures you may use depending on your setup and specific needs A 1 Building the DSP AIS Binary A 2 A 2 Setting Up a TFTP Server A 3 Top...

Page 40: ...he Select Active Configuration drop down list If you are building support for SPI flash choose BOOT_SPI If you are building support for NAND flash choose BOOT_NAND 4 From the menus choose Project Buil...

Page 41: ...t from many locations on the Internet Search for tftp server 2 To install TFTP use this command where is the version number portion of the filename host rpm ivh tftp server rpm You should see the foll...

Page 42: ...A 4...

Page 43: ...CONFIG_USB_DA8XX macro 3 7 CONFIG_USB_STORAGE macro 3 7 configuration kernel drivers 4 3 D DA8xx EVM 1 2 see also EVM Evaluation Module da8xx_evm h file 4 2 downloading PSP package 2 2 drivers configu...

Page 44: ...2 booting from 3 2 building 4 12 U boot build option for 4 2 spiwriter dat file 3 3 T terminal emulation program 2 2 tftp command 3 4 TFTP server setting up A 3 U U Boot commands 3 4 compiling 4 2 inc...

Reviews: