NOTICE: The Processors Wiki will End-of-Life on January 15, 2021. It is recommended to download any files or other content you may need that are hosted on processors.wiki.ti.com. The site is now set to read only.

GSG: DM6467 DVEVM Additional Procedures

From Texas Instruments Wiki
Jump to: navigation, search

Alternate Boot Methods[edit]

The default configuration for the EVM is to boot from flash with the file system on the EVM’s hard drive. The following are alternate ways you may want to boot the board:

  • TFTP boot with hard drive file system
  • Flash boot with NFS file system
  • TFTP boot with NFS file system

The subsections that follow show the environment variable settings used to enable each boot method.

Note: Using video files from an NFS file system may result in a low frame rate when encoding/decoding videos.

Note: Make sure U-Boot_Environment for 1 GHz EVM is set.

To boot in one of these modes, follow these steps:

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

2) Set the environment variables indicated in the following subsections for the boot mode you want to use. (Note that the setenv bootargs command should be typed on a single line.)

3) If you want to use these settings as the default in the future, save the environment: EVM # saveenv

4) Boot the board using the settings you have made: EVM # boot

The subsections that follow show the environment variable settings used to enable each boot method.

To boot in one of these modes, follow these steps:

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

2) Set the environment variables indicated in the following subsections for the boot mode you want to use. (Note that the setenv bootargs command should be typed on a single line.)

3) If you want to use these settings as the default in the future, save the environment:

EVM # saveenv

4) Boot the board using the settings you have made:

EVM # boot

For more additional reading and details on U-Boot and other options please see the U-Boot Manual.

Booting from Flash Using the EVM’s Hard Drive File System[edit]

This is the default, out-of-the-box boot configuration.

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

EVM # setenv bootcmd 'nboot 0x80700000 0 0x160000;bootm'
EVM # setenv bootargs 'mem=112M console=ttyS0,115200n8 root=/dev/hda1 ip=dhcp vpif_display.ch2_numbuffers=0 vpif_display.ch3_numbuffers=0'
EVM # boot

Booting via TFTP Using the EVM’s Hard Drive File System[edit]

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

EVM # setenv bootcmd 'dhcp;bootm'
EVM # setenv bootargs 'mem=112M console=ttyS0,115200n8 root=/dev/hda1 ip=dhcp vpif_display.ch2_numbuffers=0 vpif_display.ch3_numbuffers=0'
EVM # setenv serverip <tftp server ip address>
EVM # setenv bootfile <kernel image>
EVM # boot

Booting from Flash Using NFS File System[edit]

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

EVM # setenv bootcmd 'nboot 0x80700000 0 0x160000;bootm'
EVM # setenv rootpath <root directory to mount>
EVM # setenv nfshost <ip addr of nfs host>
EVM # setenv bootargs 'mem=112M console=ttyS0,115200n8 root=/dev/nfs nfsroot=$(nfshost):$(rootpath),nolock ip=dhcp vpif_display.ch2_numbuffers=0 vpif_display.ch3_numbuffers=0' 
EVM # boot

The <root directory to mount> must match the filesystem that you set up on your workstation. For example, /home/<useracct>/workdir/filesys.

Booting via TFTP Using NFS File System[edit]

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

EVM # setenv bootcmd 'dhcp;bootm'
EVM # setenv serverip <ip addr of tftp server>
EVM # setenv bootfile <name of kernel image>
EVM # setenv rootpath <root directory to mount>
EVM # setenv nfshost <ip addr of nfs host>
EVM # setenv bootargs 'mem=112M console=ttyS0,115200n8 root=/dev/nfs nfsroot=$(nfshost):$(rootpath),nolock ip=dhcp vpif_display.ch2_numbuffers=0 vpif_display.ch3_numbuffers=0' 
EVM # boot

The <root directory to mount> must match the filesystem that you set up on your workstation. For example, /home/<useracct>/workdir/filesys.

Restoring and Updating the EVM Hard Disk Drive[edit]

This section describes how to restore and update all the files on the EVM hard disk drive (HDD), including the Linux file system and the demos.

Using these restore procedures, you can return your board to a known state if anything happens to the data on the EVM board’s HDD.

This section assumes that you have configured a host Linux workstation with the software necessary to perform an NFS root mount with the EVM as described in Booting_via_TFTP_Using_NFS_File_System.

For further information about upgrading and flashing, see DaVinci_PSP_3.02_Installation_on_DM6467_and_DM6467T_EVM link.

The EVM hard disk drive (HDD) can be restored from a target EVM HDD partition or from the host Linux workstation file system. Either method will achieve the same result. Restoring the EVM HDD takes 30 to 45 minutes. The restore script must uncompress ~4GB of compressed data and load it to the /dev/hda1 partition. After the hard drive restore process has completed, make sure to restart the EVM and configure U-Boot to root mount via the local HDD. The steps for this type of boot are provided in Booting from Flash Using the EVM’s Hard Drive File System.

Restoring From Target EVM HDD Partition[edit]

Follow these steps to restore the HDD from the restore partition on the HDD itself:

1) Make a directory for mounting the HDD restore partition:

EVM # mkdir /mnt/restore

2) Mount the HDD restore partition:

EVM # mount -t ext3 /dev/hda2 /mnt/restore

3) Set the Linux date variable to today's date. If the date is too far off, the target file system installation generates a bunch of warnings.

EVM # date MMDDHHMMCCYY

For example, for 9:00 am on April 18th, 2006, enter 041809002006.

4) Change directory to /mnt/restore:

EVM # cd /mnt/restore

5) Add execute permissions for the script:

EVM # chmod +x restore-hdd

6) Run the restore script:

EVM # ./restore-hdd

7) The script will ask for confirmation: "This will destroy all data on /dev/hda1 - are you sure?" Type yes.

8) After the HDD restore is complete, shutdown the EVM:

EVM # halt

9) When the "Power down" message is printed in the terminal window, it is safe to power down the EVM.

10) Restart the EVM and configure U-Boot to root mount via the local HDD. Follow the steps in Booting from Flash Using the EVM’s Hard Drive File System section if the kernel image is in Flash or follow steps in Booting from TFTP Using the EVM’s Hard Drive File System section if the kernel image is in TFTP.

Restoring From Host Linux Workstation File System[edit]

Follow these steps to restore the HDD from the host Linux workstation restore directory:

1) On your host workstation, copy the restore directory from the TI DVSDK disk to /home/<useracct>/workdir/filesys/restore. After NFS mounting this file system, this will appear as the /restore directory on the EVM.

Note: The restore files are also available from download page. Following files are required in the restore directory:

  • Root file system (arago-demo-image-dm6467t-evm.tar.gz)
  • A/V data (data_dm6467.tar.gz)
  • DVSDK application or overlay (overlay_dm6467.tar.gz : renamed from dvsdk_#_##_##_##_overlay_dm6467.tar.gz)
  • HDD prep script (prep-hdd)
  • HDD restore script (restore-hdd)

2) Login to the EVM as root.

3) Go to the /restore directory.

EVM # cd /restore

4) Set the Linux date variable to today's date. If the date is too far off, the target file system installation generates warnings for each file it installs.

EVM # date MMDDHHMMCCYY

For example, for 9:00 am on April 18th, 2006, enter 041809002006.

5) Add execute permissions on the prep-hdd script.

EVM # chmod +x prep-hdd

6) Run the prep-hdd script in the /restore directory.

EVM # ./prep-hdd /restore

7) The script will ask for confirmation: "Are you sure you want to partition and format /dev/hda?" Type yes.

8) After the HDD restore is complete, shutdown the EVM:

EVM # halt

9) When the "Power down" message is printed in the terminal window, it is safe to power down the EVM.

10) Restart the EVM and configure U-Boot to root mount via the local HDD. Follow the steps in Booting from Flash Using the EVM’s Hard Drive File System section if the kernel image is in Flash or follow steps in Booting from TFTP Using the EVM’s Hard Drive File System section if the kernel image is in TFTP.

E2e.jpg {{
  1. switchcategory:MultiCore=
  • For technical support on MultiCore devices, please post your questions in the C6000 MultiCore Forum
  • For questions related to the BIOS MultiCore SDK (MCSDK), please use the BIOS Forum

Please post only comments related to the article GSG: DM6467 DVEVM Additional Procedures here.

Keystone=
  • For technical support on MultiCore devices, please post your questions in the C6000 MultiCore Forum
  • For questions related to the BIOS MultiCore SDK (MCSDK), please use the BIOS Forum

Please post only comments related to the article GSG: DM6467 DVEVM Additional Procedures here.

C2000=For technical support on the C2000 please post your questions on The C2000 Forum. Please post only comments about the article GSG: DM6467 DVEVM Additional Procedures here. DaVinci=For technical support on DaVincoplease post your questions on The DaVinci Forum. Please post only comments about the article GSG: DM6467 DVEVM Additional Procedures here. MSP430=For technical support on MSP430 please post your questions on The MSP430 Forum. Please post only comments about the article GSG: DM6467 DVEVM Additional Procedures here. OMAP35x=For technical support on OMAP please post your questions on The OMAP Forum. Please post only comments about the article GSG: DM6467 DVEVM Additional Procedures here. OMAPL1=For technical support on OMAP please post your questions on The OMAP Forum. Please post only comments about the article GSG: DM6467 DVEVM Additional Procedures here. MAVRK=For technical support on MAVRK please post your questions on The MAVRK Toolbox Forum. Please post only comments about the article GSG: DM6467 DVEVM Additional Procedures here. For technical support please post your questions at http://e2e.ti.com. Please post only comments about the article GSG: DM6467 DVEVM Additional Procedures here.

}}

Hyperlink blue.png Links

Amplifiers & Linear
Audio
Broadband RF/IF & Digital Radio
Clocks & Timers
Data Converters

DLP & MEMS
High-Reliability
Interface
Logic
Power Management

Processors

Switches & Multiplexers
Temperature Sensors & Control ICs
Wireless Connectivity