Texas Instruments TMS320DM357 DVEVM v2.05 manual Default Boot Configuration

Page 20

Default Boot Configuration

3.1Default Boot Configuration

Out of the box, the EVM boots from flash and starts the demos automatically after a few seconds when you power up the board. It does not require an NFS mount or a TFTP server to run the standard demos.

Note: The default U-Boot bootargs definition sets "ip=off", which disables the Ethernet connection.

The out-of-the-box boot parameters are listed in Section A.4.1. The following are alternate ways you may want to boot the board:

TFTP boot with NAND flash file system (Section A.4.2)

Flash boot with NFS file system (Section A.4.3)

TFTP boot with NFS file system (Section A.4.4)

PAL video mode vs. NTSC video mode (Section 2.1)

To abort the standard boot, press any key in the console window (see Section 2.2). Also see Section A.4, Alternate Boot Methods if you want to change the boot configuration.

Note: It is best to power down the board cleanly in order to reboot, rather than using the reset button or power switch. We recommend that you use the shutdown command to shut down the operating system and unmount the file system before removing power from the board. This will help prevent corruption of the flash-based root file system.

3.2Starting the Standalone Demos

When you connect the EVM hardware, the pre-loaded examples run automatically on your video display. These examples encode and decode audio, video, and speech. There are two ways to use the demos:

Standalone. This is the default power-on mode. The demos run automatically with no connection to a workstation in the default boot configuration. This is the mode documented in the rest of this chapter.

The standalone demo was set up by the DVSDK, which copies the file /examples/dvevmdemo to the directory /etc/rc.d/init.d (the central repository for startup scripts). This file is symbolically linked to /etc/rc.d/rc3id/S88demo. When the board boots up and enters runlevel 3, this file is executed to start the demo web server and the demo interface.

3-2

Image 20
Contents TMS320DM357 Dvevm Getting Started Guide Important Notice Evaluation BOARD/KIT Important Notice FCC Warning Preface About This GuideTrademarks Contents Contents Dvevm Overview What’s in this Kit? What’s on the Board? DM357What’s Next? EVM Hardware Setup Setting Up the Hardware Audio In P3 Audio Out P5 Composite Video Out J8 Uart P6 Connecting to a Console Window Running the Demonstration Software Default Boot Configuration Starting the Standalone DemosStarting the Standalone Demos Starting the Standalone Demos Running the Standalone Demos Shutting Down the Demos About the Encode + Decode Demo About the Encode DemoIR Remote Buttons for Encode Demo About the Decode Demo IR Remote Buttons for Decode DemoRunning the Demos from the Command Line Running the Network Demo Page Dvevm Software Setup Software Overview Command Prompts in This Guide Application Software ComponentsPreparing to Install Installing the Software Installing the Target Linux SoftwareInstalling the Dvsdk Software Installing the A/V Demo Files Exporting a Shared File System for Target AccessSwitch user to root on the host Linux workstation Testing the Shared File System EVM # setenv nfshost ip address of nfs hostInstalling the Software Setting Up the Build/Development Environment Writing a Simple Program and Running it on the EVMCompile the kernel using the following command Building a New Linux KernelRebuilding the Dvevm Software for the Target Building with DSPLink Booting the New Linux Kernel EVM # setenv serverip tftp server ip addressUsing the Digital Video Test Bench Dvtb Page Additional Procedures Changing the Video Input/Output Methods NtscPutting Demo Applications in the Third-Party Menu File filename.tar.gz Setting Up a Tftp Server You should see the following outputAlternate Boot Methods Booting from Flash Using Board’s Nand Flash File SystemBooting via Tftp Using Board’s Nand Flash File System Booting from Flash Using NFS File SystemBooting via Tftp Using NFS File System Updating/Restoring the Bootloaders Updating U-Boot Using U-BootTo assign a dynamic address, use the following Updating/Restoring the Bootloaders Restoring the Nand Flash Updating the KernelRestoring the Nand Flash Using NFS Restoring the Nand Flash Using RAM Disk and a 2 GB SD Card EVM # tar xf /mnt/mmc/dm357flashimage####.tar EVM # cd Page Index NFSIndex--2 Index--3 Spectrum Digital, Inc 511458-0001B