Texas Instruments TMS320DM357 DVEVM v2.05 manual Updating/Restoring the Bootloaders

Page 59

Updating/Restoring the Bootloaders

A.5.2 Updating UBL and U-Boot Bootloaders Using an Emulator and CCStudio

If working U-Boot (or UBL) images are not present in flash, you will need to restore these images using Code Composer Studio (CCStudio) and an emulator. Follow these steps:

1)Find the NAND programmer utilities. The NAND Programmer binary (NANDWriter.out) is in /home/<useracct>/dvsdk_#_##/PSP_#_#_#_#/bin/dm357. Alternatively, the source for the NAND programmer utilities can be

extracted from your DVSDK installation at /home/<useracct>/dvsdk_#_##/PSP_#_#_#_#/board_utilities. Extract them onto a PC workstation that has CCStudio 3.3 (or higher) and an XDS560 or XDS510 emulator installed.

2)Configure CCStudio to connect to the DM357 EVM board using CCStudio Setup and the DM357 GEL files. The .ccs and .gel files are not included in the PSP package. You can download them from http://support.spectrumdigital.com/boards/evmdm357.

3)Connect an emulator to the EVM board's JTAG connector and power up the EVM board.

4)Open CCStudio and connect to the device (Alt+C).

5)Load the program NANDWriter.out and run it (F5).

6)Enter the full UBL path and file name for ubl_DM357_nand.bin in the dialog box.

7)Enter the full U-Boot path and file name for u-boot-1.2.0-dm357-nand.bin in the dialog box.

8)At the next two prompts, enter 0x82080000.

9)Wait until NAND programming is complete.

10)Cycle power on the EVM board and press any key on the EVM's monitor window to get the U-Boot prompt.

Additional Procedures

A-11

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