Texas Instruments TMS320DM357 DVEVM v2.05 manual To assign a dynamic address, use the following

Page 58

Updating/Restoring the Bootloaders

To assign a dynamic address, use the following:

EVM # dhcp

EVM # setenv ipaddr <IP address returned by dhcp>

2) Set the TFTP server IP address:

EVM # setenv serverip <TFTP server IP address>

3) Save these settings to the flash memory:

EVM # saveenv

4)Load U-Boot. To load U-Boot, the U-Boot image must be copied to the TFTP directory (usually /tftpboot), and the tftp command must specify both the image name and the destination address. In this case, the destination is in DDR memory starting at address 0x80700000, chosen arbitrarily in the DDR space.

EVM # tftp 0x80700000 <u-boot file name>

 

Total

Sector

U-Boot Load

NAND Device

Size

Size

Address

 

 

 

 

Boot device U6

512 MB

64 MB x 8

0x18000

(SAMSUNG K9F1208R0B-JIB0)

 

 

 

Storage Device U67

2 GB

 

not accessible from

(MICRON MT29F16G08FAAWC:A)

 

 

U-Boot

 

 

 

 

5)Erase the U-Boot location at the "U-Boot Load Address" shown in the previous table for your NAND device with a size that is larger than the "Bytes transferred" value from Step 4.

EVM # nand erase <U-Boot Load Address> 0x20000

6)Flash the new U-Boot from 0x80700000 to the U-Boot Load Address shown in the previous table for the corresponding NAND device.

EVM # nand write 80700000 <U-Boot Load Address> 20000

7)Power cycle the board or type "reset" to reboot. Verify that the recently flashed U-Boot is working by inspecting the build date on the serial terminal console output.

A-10

Image 58
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