Texas Instruments TMS320DM6446 DVEVM v2.0 manual Booting from Flash Using NFS File System

Page 64

Alternate Boot Methods

A.4.3 Booting from Flash Using NFS File System

To boot in this mode, set the following parameters after you abort the automatic boot sequence:

EVM # setenv bootcmd 0x2050000

setenv bootcmd nboot 80700000 0 a0000;bootmEVM # setenv nf- shost <ip address of nfs host>

EVM # setenv rootpath <directory to mount*>

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

*For example, <directory to mount> might be /home/<useracct>/workdir/filesys.

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

When you boot, look for the following lines that confirm the boot mode:

##Booting image at 02050000 ...

...

Starting kernel ...

...

VFS: Mounted root (nfs filesystem).

A.4.4 Booting via TFTP Using NFS File System

To boot in this mode, set the following parameters after you abort the automatic boot sequence:

EVM # setenv bootcmd 'dhcp;bootm'

EVM # setenv serverip <tftp server ip address>

EVM # setenv bootfile <name of kernel image>

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

A-10

Image 64
Contents TMS320DM6446 Dvevm Getting Started Guide Important Notice Evaluation BOARD/KIT Important Notice FCC Warning Preface About This GuideNotational Conventions Contents Contents Dvevm Overview Welcome What’s in this Kit? EVM Hardware Block Diagram What’s on the Board?What’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 Default Boot Configuration Starting the Standalone DemosStarting the Standalone Demos Running the Standalone Demos Shutting Down the Demos About the Encode + Decode Demo IR Remote Buttons for Encode + Decode DemoAbout the Encode Demo IR Remote Buttons for Encode DemoAbout the Decode Demo Running the Demos from the Command Line About the Third Party MenuTarget $ cd /opt/dvsdk/dm6446 Running the Network Demo Page Dvevm Software Setup Software Overview Command Prompts in This Guide Software Components DmaiPreparing to Install Installing the SoftwareInstalling the Target Linux Software Installing the Dvsdk Software Installing the A/V Demo Files Installing the SoC Analyzer Exporting a Shared File System for Target AccessVerify that the server firewall is turned off Testing the Shared File System EVM # setenv nfshost ip address of nfs hostConfiguring the Boot Setup for PAL Video Users Setting Up the Build/Development Environment Writing a Simple Program and Running it on the EVMBuilding a New Linux Kernel Enable Linux Trace Toolkit Support as built-in Rebuilding the Dvevm Software for the Target Booting the New Linux Kernel EVM # setenv serverip tftp server ip addressTesting the Build Environment Using the Digital Video Test Bench DvtbRelease Notes User Guide Running The SoC Analyzer Documentation for DSP-Side Development Documentation for Dvsdk ComponentsXDAIS-DM Digital Additional Procedures Using S-Video Input Changing the Video Input/Output MethodsUsing S-Video Output OUTUsing Component Video Output Pr PbPutting 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 the EVM’s Hard Drive File SystemBooting via Tftp Using the EVM’s Hard Drive File System Booting from Flash Using NFS File System Booting via Tftp Using NFS File SystemRebuilding DSP/BIOS Link System Setup Restoring and Updating the EVM Hard Disk DriveConfigure EVM for NFS Root Mount Restore the EVM Hard Disk Drive Restoring From Target EVM HDD PartitionRestoring From Host Linux Workstation File System Go to the /restore directory Index Index--2 Index--3 Index--4 Page Spectrum Digital, Inc 508168-0001C