Texas Instruments TMS320DM6446 DVEVM v2.0 manual Booting the New Linux Kernel

Page 49

Booting the New Linux Kernel

5)You can test the rebuilt DVEVM software by booting your NFS file system and running the demos from the command line as described in Section 3.4.

4.7Booting the New Linux Kernel

After building the new kernel, in order to use it to boot the DaVinci board, you must transfer it to the board via TFTP. It is assumed you have completed the steps in Section 4.5, Building a New Linux Kernel and the boot file, uImage has been copied to /tftpboot (or some other site-specific TFTP accessible location).

1)Power on the EVM board, and abort the automatic boot sequence by pressing a key in the console window (Section 2.2).

2)Set the following environment variables. (This assumes you are starting from a default, clean U-Boot environment. See Section 3.1, Default Boot Configuration for information on the U-Boot default environment.)

EVM # setenv bootcmd 'dhcp;bootm'

EVM # setenv serverip <tftp server ip address>

EVM # setenv bootfile uImage

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/hda1 mem=120M

Note that the setenv bootargs command should be typed on a single line.

3) Boot the board:

EVM # boot

This configuration boots a new Linux kernel via TFTP with a hard drive based file system. To boot via TFTP using an NFS file system, see Section A.4.4.

For instructions on how to verify that your host workstation is running a

TFTP server, and for instructions on what to do if it isn’t, see Section A.3.

For more details on booting, see Section A.4.

DVEVM Software Setup

4-17

Image 49
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 Environment Building 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