Texas Instruments TMS320DM6446 DVEVM v2.0 manual Configure EVM for NFS Root Mount

Page 67

Restoring and Updating the EVM Hard Disk Drive

For example, you can create a terminal session with HyperTerminal or TeraTerm on MS Windows, and Minicom or C-Kermit on Linux.

6)Start an NFS server on the host workstation. This document assumes the host path /home/user/workdir/filesys contains a file system that the target EVM can use for root mounting.

A.6.2 Configure EVM for NFS Root Mount

Follow these steps to configure your EVM for an NFS root mount:

1)Configure the Boot Switches (S3) to 1011111110. This is the bank of switches in the middle of the EVM.

2)Power on the EVM and hit any key to enter U-Boot.

3)Configure bootcmd as follows to boot the Linux kernel via flash.

EVM # setenv bootcmd bootm 0x2050000

Note: If you have flashed a new kernel to the NOR flash at an address other than 0x2050000, modify this command accordingly.

4)Configure bootargs as follows to root mount the file system from NFS:

EVM # setenv rootpath <root directory to mount>

EVM # setenv nfshost <ip address of nfs host>

EVM # setenv bootargs video=davincifb:vid0=720x576x16,

2500K:vid1=720x576x16,2500K:osd0=720x576x16,2025K

davinci_enc_mngr.ch0_output=COMPOSITE

davinci_enc_mngr.ch0_mode=$(videostd)

console=ttyS0,115200n8 noinitrd rw ip=dhcp root=/dev/nfs

nfsroot=$(nfshost):$(rootpath),nolock mem=120M

The nfsroot option in this command uses the host workstation IP address. Make sure to replace the <host ip addr> with the actual address of your host Linux workstation.

5) Optional: Print the U-Boot parameters

EVM # printenv

6) Save the U-Boot parameters

EVM # saveenv

7) Boot EVM from NFS on the host Linux workstation

EVM # boot

8) Log into MontaVista Linux as "root".

Additional Procedures

A-13

Image 67
Contents TMS320DM6446 Dvevm Getting Started Guide Important Notice Evaluation BOARD/KIT Important Notice FCC Warning About This Guide PrefaceNotational Conventions Contents Contents Dvevm Overview Welcome What’s in this Kit? What’s on the Board? EVM Hardware Block DiagramWhat’s Next? Page EVM Hardware Setup Setting Up the Hardware EVM Hardware Setup Setting Up the Hardware Setting Up the Hardware Connecting to a Console Window Running the Demonstration Software Starting the Standalone Demos Default Boot ConfigurationStarting the Standalone Demos Running the Standalone Demos Shutting Down the Demos IR Remote Buttons for Encode + Decode Demo About the Encode + Decode DemoIR Remote Buttons for Encode Demo About the Encode DemoAbout the Decode Demo About the Third Party Menu Running the Demos from the Command LineTarget $ cd /opt/dvsdk/dm6446 Running the Network Demo Page Dvevm Software Setup Software Overview Command Prompts in This Guide Dmai Software ComponentsInstalling the Software Preparing to InstallInstalling the Target Linux Software Installing the Dvsdk Software Installing the A/V Demo Files Exporting a Shared File System for Target Access Installing the SoC AnalyzerVerify that the server firewall is turned off EVM # setenv nfshost ip address of nfs host Testing the Shared File SystemConfiguring the Boot Setup for PAL Video Users Writing a Simple Program and Running it on the EVM Setting Up the Build/Development EnvironmentBuilding a New Linux Kernel Enable Linux Trace Toolkit Support as built-in Rebuilding the Dvevm Software for the Target EVM # setenv serverip tftp server ip address Booting the New Linux KernelUsing the Digital Video Test Bench Dvtb Testing the Build EnvironmentRelease Notes User Guide Running The SoC Analyzer Documentation for Dvsdk Components Documentation for DSP-Side DevelopmentXDAIS-DM Digital Additional Procedures Changing the Video Input/Output Methods Using S-Video InputOUT Using S-Video OutputPr Pb Using Component Video OutputPutting Demo Applications in the Third-Party Menu File filename.tar.gz You should see the following output Setting Up a Tftp ServerBooting from Flash Using the EVM’s Hard Drive File System Alternate Boot MethodsBooting via Tftp Using the EVM’s Hard Drive File System Booting via Tftp Using NFS File System Booting from Flash Using NFS File SystemRebuilding DSP/BIOS Link Restoring and Updating the EVM Hard Disk Drive System SetupConfigure EVM for NFS Root Mount Restoring From Target EVM HDD Partition Restore the EVM Hard Disk DriveRestoring From Host Linux Workstation File System Go to the /restore directory Index Index--2 Index--3 Index--4 Page Spectrum Digital, Inc 508168-0001C