Texas Instruments TMS320DM357 DVEVM v2.05 Booting via Tftp Using Board’s Nand Flash File System

Page 55

Alternate Boot Methods

A.4.2 Booting via TFTP Using Board’s NAND Flash 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 bootargs console=ttyS0,115200n8 ip=dhcp root=/dev/mtdblock0 rw rootfstype=yaffs2 mem=232M video=davincifb:vid0=0,2025K:vid1=0, 1350K:osd0=720x576x16,

2025K davinci_enc_mgr.ch0_output=COMPOSITE davinci_enc_mgr.ch0_mode=ntsc

EVM # setenv serverip <tftp server ip address>

EVM # setenv bootfile <kernel image>

EVM # boot

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

TFTP from server 192.168.160.71; our IP address is 192.168.161.186

Filename 'library/davinci/0.4.2/uImage'.

...

## Booting image at 80700000 ...

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 'nboot 0x80700000 0 0x400000;bootm'

EVM # setenv nfshost <ip addr of nfs host>

EVM # setenv rootpath <directory to mount*>

EVM # setenv bootargs console=ttyS0,115200n8 noinitrd rw ip=dhcp root=/dev/nfs nfsroot=$(nfshost):$(rootpath), nolock mem=232M video=davincifb:vid0=0,2025K:vid1=0, 1350K:osd0=720x576x16,

2025K davinci_enc_mgr.ch0_output=COMPOSITE davinci_enc_mgr.ch0_mode=ntsc

EVM # boot

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

Additional Procedures

A-7

Image 55
Contents TMS320DM357 Dvevm Getting Started Guide Important Notice Evaluation BOARD/KIT Important Notice FCC Warning About This Guide PrefaceTrademarks Contents Contents Dvevm Overview What’s in this Kit? DM357 What’s on the Board?What’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 Starting the Standalone Demos Default Boot ConfigurationStarting the Standalone Demos Starting the Standalone Demos Running the Standalone Demos Shutting Down the Demos About the Encode Demo About the Encode + Decode DemoIR Remote Buttons for Encode Demo IR Remote Buttons for Decode Demo About the Decode DemoRunning the Demos from the Command Line Running the Network Demo Page Dvevm Software Setup Software Overview Command Prompts in This Guide Software Components ApplicationPreparing to Install Installing the Target Linux Software Installing the SoftwareInstalling the Dvsdk Software Exporting a Shared File System for Target Access Installing the A/V Demo FilesSwitch user to root on the host Linux workstation EVM # setenv nfshost ip address of nfs host Testing the Shared File SystemInstalling the Software Writing a Simple Program and Running it on the EVM Setting Up the Build/Development EnvironmentBuilding a New Linux Kernel Compile the kernel using the following commandRebuilding the Dvevm Software for the Target Building with DSPLink EVM # setenv serverip tftp server ip address Booting the New Linux KernelUsing the Digital Video Test Bench Dvtb Page Additional Procedures Ntsc Changing the Video Input/Output MethodsPutting 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 Board’s Nand Flash File System Alternate Boot MethodsBooting from Flash Using NFS File System Booting via Tftp Using Board’s Nand Flash File SystemBooting via Tftp Using NFS File System Updating U-Boot Using U-Boot Updating/Restoring the BootloadersTo assign a dynamic address, use the following Updating/Restoring the Bootloaders Updating the Kernel Restoring the Nand FlashRestoring 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 NFS IndexIndex--2 Index--3 Spectrum Digital, Inc 511458-0001B