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.
EZSDK Using SATA drive for Data
Contents
Introduction[edit]
This topic helps you to boot from the filesystem on SD card and the data on SATA drive for better performance of the video demo.
Throughout this document there will be commands spelled out to execute. Some are to be executed on the Linux development host, some on the Linux target and some on the u-boot (bootloader) prompt. They are distinguished by different command prompts as follows:
host $ <this command is to be executed on the host> target # <this command is to be executed on the target> u-boot :> <this command is to be executed on the u-boot prompt>
Creating Filesystem on SD card[edit]
To create the default filesystem on SD card, please refer to the "How to create an SD Card" in the Software Developers Guide.
Preparing the SATA drive[edit]
You need to have a Gen2 (i.e 3Gbps) SATA drive to run with the EVM since there are some issues with Gen3 SATA drive on the DM816x board. If you have a Gen3 (i.e 6Gbps) SATA Drive,then you could limit the speed on it to 3Gbps with the jumper settings on the drive to make it compatible with the board. Please read the description on the SATA HDD for jumper settings information to limit its speed to 3Gbps.
Note! Assume that the device node for SATA HDD is /dev/sda and the partition we will be using is /dev/sda1. It uses ext3 filesystem and /mnt/sata as mount point.
Once the SATA drive is ready, boot the board with filesystem on SD card.
To delete or create the partitions on the SATA drive, check fdisk help in Sitara PSP Test Setup page.
To create the data filesystem on SATA partition, execute the following commands:
a) Create an ext3 filesystem on the partition /dev/sda1 on the SATA HDD.
target # mkfs.ext3 /dev/sda1
b) Mount the SATA partition on some mount point
target # mount -t ext3 /dev/sda1 /mnt/sata
c) Copy the data for the demo on the SATA partition.
target # cp -r /usr/share/ti/data /mnt/sata
Running the Decode Display Demo[edit]
Once the SATA partition is mounted in your target machine, the demo could be run.
Before running the demo, turn off the graphics plane 0 by running the following command:
target # echo 0 > /sys/devices/platform/vpss/graphics0/enabled
In case Graphics Planes 1 and 2 are currently open, then they need to be disabled as well. This is only required if the video output needs to be directed to the HD-DAC or SD displays.
target # echo 0 > /sys/devices/platform/vpss/graphics1/enabled
To run the decode display demo:
target # cd /usr/share/ti/ti-omx
The demo for video is assumed to be at "data/videos" in the SATA partition
target # ./decode_display_a8host_debug.xv5T -w 1920 -h 1080 -f fpd -i /mnt/sata/data/videos/dm816x_1080p_demo.264 -g 0 -d 0 -c h264
Device | fps |
---|---|
DM816x | 60 |
DM814x | 30 |
Download the Latest EZSDK[edit]
The latest EZSDK is available for download from http://software-dl.ti.com/dsps/dsps_public_sw/ezsdk/latest/index_FDS.html.
The current version is 5.05.02.00. The supported platforms are DM816x and DM814x.
EZSDK Support | ||||||||
|