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.

DRA7xx GLSDK 7.03.00.03 Data Sheet

From Texas Instruments Wiki
Jump to: navigation, search

Contents

Read This First [edit]

All performance numbers provided in this document are gathered using DRA75x Evaluation Module with A15 running at 1500Mhz and DDR3 configured at 532MHz and DRA72x Evaluation module with A15 running at 1500Mhz and DDR3 configured at 666Mhz

About This Manual [edit]

This document provides a feature overview and performance data for each of the device drivers which are part of the GLSDK 7.03.00.03 Release package. This document should be used in conjunction with the release notes provided with the GLSDK package for information on specific issues present with drivers included in a particular release.


U-Boot Overview [edit]

Boot Modes Supported [edit]

Green colored box in the table below means that the particular boot mode is supported on the device in the release.

DRA7xx Supported Boot Modes
Boot Mode DRA7xx Evaluation Module (EVM)
QSPI Flash Yes
MMC/SD Yes
eMMC Boot Yes
UART Boot No
NOR Flash No
EMAC Boot No
USB Boot No


Note: These are supported boot modes in GLSDK software, the actual hardware may support many more boot modes than shown here. Please refer to hardware documentation for list of all supported boot modes.

U-Boot Features Supported [edit]

U-Boot is the defacto bootloader for Linux kernel on ARM. The following features of U-Boot are supported in this release.

U-Boot supported feature table
Feature DRA7xx (Evaluation Module)
UART Yes
Ethernet Download (TFTP) Yes
MMC/SD Yes
QSPI Flash Yes
eMMC Yes


Memory Section Details[edit]

MMC/SD bootmode 1st Stage Memory Section on DRA7xx
Memory Section Size( in bytes)
.text 50480
.rodata 21653
.data 2432
.bss 196924
  • MMC/SD bootmode u-boot 1st Stage (MLO) size: 75412 bytes


MMC/SD bootmode 2nd Stage Memory Section on DRA7xx
Memory Section Size( in bytes)
.text 250100
.rodata 68335
.data 9518
.bss 8709440
  • MMC/SD bootmode u-boot 2nd Stage (u-boot.img) size: 365816 bytes



Linux Kernel [edit]

Kernel Virtual Memory Layout (DRA75x) [edit]

The default DRA7xx kernel configuration, uses following Virtual Memory laout:

[    0.000000] Memory: 1312788K/1566720K available (6659K kernel code, 687K rwdata, 2640K rodata, 372K init, 266K bss, 
253932K reserved, 792576K highmem)
[    0.000000] Virtual kernel memory layout:
    vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
    vmalloc : 0xf0000000 - 0xff000000   ( 240 MB)
    lowmem  : 0xc0000000 - 0xef800000   ( 760 MB)
    pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
    modules : 0xbf000000 - 0xbfe00000   (  14 MB)
      .text : 0xc0008000 - 0xc091d0cc   (9301 kB)
      .init : 0xc091e000 - 0xc097b1c0   ( 373 kB)
      .data : 0xc097c000 - 0xc0a27c60   ( 688 kB)
       .bss : 0xc0a27c6c - 0xc0a6a77c   ( 267 kB)


Kernel Virtual Memory Layout (DRA72x) [edit]

The default DRA7xx kernel configuration, uses following Virtual Memory laout:

[    0.000000] Memory: 801468K/1042432K available (6499K kernel code, 411K rwdata, 2512K rodata, 308K init, 264K bss, 240964K reserved, 268288K highmem)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
[    0.000000]     vmalloc : 0xf0000000 - 0xff000000   ( 240 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xef800000   ( 760 MB)
[    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
[    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
[    0.000000]       .text : 0xc0008000 - 0xc08d50bc   (9013 kB)
[    0.000000]       .init : 0xc08d6000 - 0xc09231c0   ( 309 kB)
[    0.000000]       .data : 0xc0924000 - 0xc098afe0   ( 412 kB)
[    0.000000]        .bss : 0xc098afec - 0xc09cd13c   ( 265 kB)


Boot-time Measurement [edit]

Boot-time measurement was done using Grabserial tool(http://elinux.org/Grabserial). U-Boot environment variable bootargs is set to 'elevator=noop console=ttyO0,115200n8 root=/dev/mmcblk1p2 rw rootwait fixrtc omapdrm.num_crtc=2 consoleblank=0 cma=64M rootfstype=ext4'. In general kernel boot-up time alone is ~15 secs. The following table summarizes the boot-up cycle of different stages in QSPI boot mode.

We have benchmarked the boot times only on DRA72x for this release of GLSDK.

QSPI Boot Cycle Measurement (DRA75X)
Module Stages Time (sec)
UBoot
Kernel init
Kernel init fs
Total Boot-time



QSPI Boot Cycle Measurement (DRA72X)
Module Stages Time (sec)
UBoot 0.379
Kernel init 3.731
Kernel init fs 12.50
Total Boot-time 16.61




Carveout size and location [edit]

Below table lists the size and memory of areas that are set aside from the Linux memory map for use by remotecores. This information is taken from $GLSDK/board-support/linux/arch/arm/boot/dts/dra7-evm.dts.

Remotecore Start Address Carveout size(MB)
IPU2 0x95800000 56
DSP1 0x99000000 64
IPU1 0x9d000000 32
DSP2(only DRA75X) 0x9f000000 8


There is also an additional carveout set aside for use by the CMEM allocator. This memory region can be used to transfer data between remotecores and MPU without doing a data copy. This information is taken from $GLSDK/board-support/linux/arch/arm/boot/dts/dra7xx-jamr3.dtsi.

Purpose Start Address Carveout size(MB)
CMEM 0x95400000 4



Linux Kernel Drivers [edit]

This section provides brief overview of the device drivers supported in the Linux Kernel of the GLSDK release package.

Device Driver List [edit]

The following table list the various device drivers supported and the device they are supported on. On detailed information on specific features or limitations of a pariticular driver, refer to the chapter catering to that driver in this document.

Peripheral Driver Support
Peripheral Description Linux driver type DMA usage
Audio (McASP) Audio Record and Playback ALSA SoC sDMA / eDMA
Ethernet Ethernet Network driver Netdev Internal DMA
USB1 DWC3(DRD)-SS/HS/FS/LS DWC3 Device & xhci host controller driver USB HCD/DCD USB Internal DMA
USB2 DWC3(DRD)-HS/FS/LS DWC3 Device & xhci host controller driver USB HCD/DCD USB Internal DMA
QSPI Flash/Controller Driver Flash storage system MTD Block Not Supported
eMMC/SD/MMC Interface to MultiMedia Secure Digital cards Block SDMA
UART Serial Communication Interface Character Supported
I2C Inter-IC Communication Character Not Supported
DSS Display Subsystem driver Platform driver Internal DMA
VIP Video IP driver V4L2 Capture VPDMA
VPE Video Processing Engine driver V4L2 Mem to Mem VPDMA
CPUFreq Supports multiple SoC operating levels for MPU(OPPs) NA None
RTC Realtime clock Character None


ALSA SoC Audio Driver [edit]

This section an overview of the ALSA SoC audio driver features along with the throughput and CPU load numbers.

Introduction [edit]

DRA7xx Audio driver complies to the Advanced Linux Sound Architecture (ALSA) System on Chip (SoC) framework (ASoC).

The ASoC framework splits an embedded audio system into three components:

  • Codec driver: The codec driver is generic and hardware independent code that configures the audio codec to provide audio capture and playback. It should contain no code that is specific to the target platform or machine.
  • Platform driver: The platform driver can be divided into audio DMA and SoC Digital Audio Interface (DAI) configuration and control. The platform driver only targets the SoC CPU and must have no board specific code.
  • Machine driver: The ASoC machine (or board) driver is the code that glues together the platform and codec drivers. It can contain codec and platform specific code. It registers the audio subsystem with the kernel as a platform device.

Driver Features [edit]

The driver supports the following features:

  1. Supports AIC3106 audio codec in ALSA SoC framework.
  2. Sample rate support - 44.1kHz for both capture and playback.
  3. Supports audio in stereo mode
  4. Supports simultaneous playback and record (full-duplex mode).
  5. Supports mixer interface for the audio codec


Features Not Supported [edit]

  1. OSS based applications, which use ALSA-OSS emulation layer, are not supported.
  2. Synthesizer and midi interfaces are not supported.

Constraints [edit]

Supported System Calls [edit]

Refer ALSA project - the C library reference [1] for API calls.

Performance and Benchmarks [edit]

  1. Access type - RW_INTERLEAVED
  2. Channels - 2
  3. Format - S16_LE
  4. Period size - 64


Audio Capture
Sampling Rate (in Hz)
DRA75X DRA72X
Throughput(bits/sec) CPU Load (in %) Throughput(bits/sec) CPU Load (in %)
44100 - - - -


Audio Playback
Sampling Rate (in Hz)
DRA75X DRA72X
Throughput(bits/sec) CPU Load (in %) Throughput(bits/sec) CPU Load (in %)
44100 - - - -


Ethernet Driver [edit]

This section provides an overview of the Ethernet driver features along with throughput and CPU load numbers. Ethernet driver follows standard Linux network interface architecture.

Introduction [edit]

The Ethernet driver supports the Linux netdev interface.

CPSW STACK

Driver Features [edit]

The driver supports the following features:

  1. 10/100/1000 Mbps mode of operation.
  2. Auto negotiation.
  3. Full duplex and half duplex mode of operation.
  4. Linux NAPI support
  5. Support for MII and RGMII interfaces to PHY
  6. Operation of both external ports as independent network interfaces on DRA75x
* Enable CONFIG_ETHERNET through menuconfig (Menu Config->Device Drivers->Network device support & Menu config-> Networking support)

Features Not Supported [edit]

On DRA72x only the first port instance on the EVM base board is supported. The second port instance requires additional JAMR3 or Vision Apps board and has not been tested for.

Supported System Calls [edit]

Supports the socket() and related system calls in accordance with Linux architecture.

Performance and Benchmarks [edit]

Setup : Device under test connected to Linux PC through gigabit switch.

 DRA75x running @1.5Ghz and DRA72x running @1.5Ghz

TCP Performance [edit]

Ethernet Port0 TCP - 1000Mbps Mode Performance
TCP Window Size(in KBytes)
DRA75X DRA72X
Without Interrupt Pacing With Interrupt Pacing Without Interrupt Pacing With Interrupt Pacing
Throughput Mbps cpu load (%) Throughput Mbps cpu load (%) Throughput Mbps cpu load (%) Throughput Mbps cpu load (%)
8 - - - - 315 100 158 48
16 - - - - 363 100 298 69
32 - - - - 357 100 536 93
64 - - - - 431 100 579 97
128 - - - - 466 100 581 100
256 - - - - 486 100 576 100


Note:Throughput reported is cumulative throughput of Tx+Rx collected from concurrent bi-directional test

The performance numbers were captured using the iperf tool. Usage details are mentioned below:

  • iperf version 2.0.5
  • On PC Host invoke iperf in the server mode.
iperf -s
  • On the DUT iperf is invoked in client mode   (bi-directional traffic for 60 seconds).
iperf -c <server ip> -w <window size> -d -t 60
  • Interrupt pacing feature enabled with pacing interval set to 250usecs.
ethtool -C eth0 rx-usecs 250
  • DUT is connected to a gigabit network.


UDP Performance [edit]


For UDP transmit performance, the iperf server instance is started on the PC and client is started from the DUT. Interrupt pacing for 250usecs interval was enabled

Ethernet Port0 UDP - Transmit Performance on DRA75x
Bandwidth limit on send(MBits/sec) Bandwidth measured by server (MBits/sec) Jitter (milliseconds) Lost Datagrams (%) CPU Load (with interrupt pacing, in %)
296 - - - -
486 - - - -
660 - - - -
728 - - - -


Ethernet Port0 UDP - Transmit Performance on DRA72x
Bandwidth limit on send(MBits/sec) Bandwidth measured by server (MBits/sec) Jitter (milliseconds) Lost Datagrams (%) CPU Load (with interrupt pacing, in %)
296 296 0.019 0 60
485 484 0.020 0.11 75
649 648 0.021 0.028 87
712 712 0.013 0.025 47


For UDP receive performance, the iperf client instance is started on the PC and server is started on the DUT. Interrupt pacing for 250usecs interval was enabled.

Ethernet Port0 UDP - Receive Performance on DRA75x
Bandwidth limit on send(MBits/sec) Bandwidth measured by server (MBits/sec) Jitter (milliseconds) Lost Datagrams (%) CPU Load (with interrupt pacing, in %)
302 - - - -
511 - - - -
731 - - - -
810 - - - -


Ethernet Port0 UDP - Receive Performance on DRA72x
Bandwidth limit on send(MBits/sec) Bandwidth measured by server (MBits/sec) Jitter (milliseconds) Lost Datagrams (%) CPU Load (with interrupt pacing, in %)
302 301 0.050 0.027 29
511 509 0.029 0.3 49
731 726 0.014 0.73 65
806 759 0.012 5.8 78


  • iperf version 2.0.5
  • For receive performance, on DUT, invoke iperf in server mode.
iperf -s -u
  • For transmit performance, on DUT, invoke iperf in client mode.
iperf -c <server ip> -b <bandwidth limit> -f M -t 60


OMAPDRM/OMAPDSS (Display Subsystem Driver) [edit]

Introduction [edit]

The OMAPDRM internally uses OMAPDSS driver interface for configuration of panel drivers and the encoder interface(DPI/HDMI).

Menuconfig Option[edit]
Enable CONFIG_DRM_OMAP through (Menuconfig->Device Drivers->Graphics support)
Enable CONFIG_OMAP2_DSS_DRA7XX_DPI, CONFIG_OMAP5_DSS_HDMI, CONFIG_OMAP5_DSS_HDMI_DDC through (Menuconfig->Device Drivers->Graphics support->OMAP2+ Display Subsystem support)
Enable CONFIG_PANEL_TFCS9700 through (Menuconfig->Device Drivers->Graphics support->OMAP2+ Display Subsystem support->OMAP2/3 Display Device Drivers)
Source Location[edit]
  • omapdss
drivers/video/fbdev/omap2/dss/
  • display drivers
drivers/video/fbdev/omap2/displays-new
  • omapdrm
drivers/gpu/drm/omapdrm/

Driver Features [edit]

OMAPDRM Display controller (DISPC)[edit]

DRM Plane Features:

  • One Graphics (GFX) and Three Video pipelines (VID1, VID2, and VID3)
  • Z-order, Alpha blending (Global, pre-multipled), Scaler and CSC

DRM CRTC Features:

  • One TV and three LCD Overlay Managers
  • Supports 1080p at 60Hz for all CRTCs

OMAPDRM Interfaces[edit]

HDMI Interface

  • HDMI protocol engine
  • HDMI 1.4 support

RGB Interface

  • Supports 24bit LCD Fixed Resolution Panels

Features Not Supported [edit]

  • Rotation/Tiler 2D
  • Default BG color, Transparency and color Keys

Constraints [edit]

  • Number of CRTCs must be passed either through bootargs or kernel config, which limits number of free DRM planes.

Supported System Calls [edit]

All libdrm APIs are supported.

QSPI Driver [edit]

Introduction [edit]

This chapter describes the QSPI platform driver & flash driver features and performance numbers (throughput and CPU load).

QSPI Platform driver feature [edit]

QSPI is a serial driver. Supports 4-Pin single read, 4-Pin single write & 6-Pin quad read. It implements only SPI_CORE mode & no support for memory mapped interface. Clock phase & polarity configured to mode-3 & functional clock programmed at 48MHz. There is no support for DMA data transfer.

The pointer to TI qspi hardware driver is drivers/spi/spi-ti-qspi.c

 * Enable CONFIG_SPI_TI_QSPI through menuconfig (Menuconfig->Device Drivers->SPI support->DRA7xxx QSPI controller support)


QSPI Flash driver feature [edit]

Spansioin S25FL256S serial flash used on DRA7xx evm. The property of the flash are

  • 256 Mbits (32 Mbytes)
  • 256 or 512 Byte Page Programming buffer options
  • 64KB erase sector size
  • Normal, Fast, Dual & Quad

Linux mtd m25p80 used as serial flash device driver for s25FL256S. The driver layer exports API for device info read, sector erase, chip erase, data read & write. It creates the device node for user space access (example, /dev/mtd0)

The pointer to mtd m25p80 flash device driver is drivers/mtd/devices/m25p80.c

 * Enable CONFIG_MTD_M25P80 through menuconfig (Menuconfig->Device Drivers->Memory Technology Device(MTD) support ->Self-contained
   MTD device drivers->Support most SPI Flash chips)


JFFS2 Filesystem Support [edit]

QSPI flash driver is mtd based block driver. Support to mount JFFS2 filesystem on /dev/mtd0. Validated to mount JFFS2 filesystem & performed basic file IO operations.

There is an exception on remounting the filesystem. It is known limitation in this release.

Erase the flash to mount JFFS2 filesystem
$flash_eraseall -j /dev/mtd0
Mount the serial flash
$mount -t jffs2 /dev/mtdblock01 /mnt/nor
Create a new file
$echo NewFileCreated > /mnt/nor/testfile.txt
Read the file
$cat /mnt/nor/testfile.txt
Delete the file
$rm /mnt/nor/testfile.txt

Performance Benchmark [edit]

Not available for this release.

MMC/SD Driver [edit]

This chapter provides details on MMC/SD driver along with throughput and CPU load numbers.

Introduction [edit]

The MMC controller provides an interface to external MMC cards. The MMC driver is implemented as a block driver. Block device nodes(such as /dev/mmcblockp1, /dev/mmcblockp2) are created for user space access.
Compliance with standards:

• Full compliance with SD command/response sets as defined in the SD Physical Layer specification v3.01
• Full compliance with SD Host Controller Standard Specification sets as defined in the SD card specification Part A2 v3.00
. Full compliance with MMC/eMMC command/response sets as defined in the JC64 MMC/eMMC standard specification, v4.5.
MMC SD Driver diag.png

Driver Features [edit]

The driver supports the following features:

  1. MMC/SD native protocol command/response set
  2. Single/multiple block data transfers
  3. Linux file system and generic MMC layer abstract details of block devices (MMC)
  4. High-speed (SDv1.1) and High Capacity (SDv2.0) cards
  5. Support for 4 bit modes
  6. Support for card detect and Write protect features
  7. DMA and polled mode for data transfer operations

Features Not Supported [edit]

  1. SPI mode of operation
  2. PIO mode of operation
  3. Write protection is not supported on the J6 EVM

Constraints [edit]

  1. MMC/SD cards should not be removed when the card is mounted. If done so, data integrity cannot be guaranteed.

Supported System Calls [edit]

open(),close(),read(),write()

Performance and Benchmarks [edit]

IMPORTANT
The performance numbers can be severely affected if the media is mounted in sync mode. Hot plug scripts in the filesystem mount removable media in sync mode to ensure data integrity. For performance sensitive applications, umount the auto-mounted filesystem and re-mount in async mode.

  • Note: On DRA75x, UHS mode is not supported hence the card is used in high speed mode. which is why the throughput numbers on DRA72x are greater than that of DRA75x.

EXT4 file system [edit]

SD - Write Performance values
Platform DRA75x DRA72x
Buffer Size (in Bytes) Transfer Rate (in MBytes/sec) CPU Load (in %) Transfer Rate (in MBytes/sec) CPU Load (in %)
102400 - - 57.44 39.13
262144 - - 50.84 33.98
1048576 - - 57.85 38.33
5242880 - - 53.41 35.38


SD - Read Performance values
Platform DRA75x DRA72x
Buffer Size (in Bytes) Transfer Rate (in MBytes/sec) CPU Load (in %) Transfer Rate (in MBytes/sec) CPU Load (in %)
102400 - - 70.84 15.33
262144 - - 70.95 13.79
1048576 - - 71.0 13.29
5242880 - - 70.96 16.33


The performance numbers were captured using the following:

  • SD Card Sandisk Ultra 16G Class 10 [UHS-1] SDHC card
  • File System: ext2
  • Partition was mounted with async option


VFAT file system [edit]

SD - Write Performance values
Platform DRA75x DRA72x
Buffer Size (in Bytes) Transfer Rate (in MBytes/sec) CPU Load (in %) Transfer Rate (in MBytes/sec) CPU Load (in %)
102400 - - 35.64 37.54
262144 - - 39.14 41.22
1048576 - - 36.45 39.30
5242880 - - 37.15 39.36


SD - Read Performance values
Platform DRA75x DRA72x
Buffer Size (in Bytes) Transfer Rate (in MBytes/sec) CPU Load (in %) Transfer Rate (in MBytes/sec) CPU Load (in %)
102400 - - 64.13 20.99
262144 - - 65.94 17.45
1048576 - - 65.74 18.54
5242880 - - 66.62 17.24


EMMC Performance and Benchmarks [edit]

IMPORTANT
The performance numbers can be severely affected if the media is mounted in sync mode. Hot plug scripts in the filesystem mount removable media in sync mode to ensure data integrity. For performance sensitive applications, umount the auto-mounted filesystem and re-mount in async mode.

VFAT file system [edit]

EMMC - Write Performance values
Platform DRA75x DRA72x
Buffer Size (in Bytes) Transfer Rate (in MBytes/sec) CPU Load (in %) Transfer Rate (in MBytes/sec) CPU Load (in %)
102400 10.04 5.71 9.89 10.34
262144 10.08 4.8 10.02 10.35
1048576 10.1 5.13 9.74 10.48
5242880 10.11 5.0 10.03 10.45


EMMC - Read Performance values
Platform DRA75x DRA72x
Buffer Size (in Bytes) Transfer Rate (in MBytes/sec) CPU Load (in %) Transfer Rate (in MBytes/sec) CPU Load (in %)
102400 67.61 10.03 79.61 21.14
262144 68.28 9.7 79.68 19.17
1048576 67.49 10.07 79.58 22.4
5242880 67.90 11.76 79.94 28.36


The performance numbers were captured using the following:

  • File System: ext4
  • Partition was mounted with async option


EXT4 file system [edit]

EMMC - Write Performance values
Platform DRA75x DRA72x
Buffer Size (in Bytes) Transfer Rate (in MBytes/sec) CPU Load (in %) Transfer Rate (in MBytes/sec) CPU Load (in %)
102400 10.69 3.92 10.76 10.12
262144 10.92 3.96 10.13 9.54
1048576 11.01 5.02 10.78 9.87
5242880 11.08 4.61 10.81 9.8


EMMC - Read Performance values
Platform DRA75x DRA72x
Buffer Size (in Bytes) Transfer Rate (in MBytes/sec) CPU Load (in %) Transfer Rate (in MBytes/sec) CPU Load (in %)
102400 61.8 6.12 81.94 20
262144 68.41 9.0 80.94 17.36
1048576 61.56.39 9.47 68.55 18.12
5242880 60.95 7.78 70.10 18.62


The performance numbers were captured using the following:

  • File System: vfat
  • Partition was mounted with async option


UART Driver [edit]

This chapter provides details on UART driver.

Introduction [edit]

The UART driver is implemented as a serial driver, and can be accessed from user space as /dev/ttyOX(X=0-5)

Uart diag.png


Features Not Supported [edit]

  • Hardware Flow Control due to board limitation
  • UART DMA mode not supported


Supported System Calls [edit]

open(),close(),read(),write(),ioctl()

Supported IOCTLs [edit]

Constant Description
TIOCGSERIAL Gets device parameters from the UART (example, port type, port num, baud rate, base divisor, and so on.
TIOCSSERIAL Sets UART device parameters (example, port type, port num, baud rate, base divisor, and so on)

Performance and Benchmarks [edit]

Performance and Benchmarks not available in this release.


I2C Driver [edit]

This chapter provides details on I2C driver.

Introduction [edit]

The I2C peripheral is compliant with the Philips Semiconductor I2C-bus specification version 2.1. The I2C driver is implemented as a serial driver. The I2C driver can be accessed from the user space as /dev/i2c/0.

I2C Driver.png

Driver Features [edit]

The driver supports the following features:

  1. 7-bit addressing mode
  2. Fast mode
  3. Interrupt mode

Features Not Supported [edit]

  1. 7-bit and 10-bit addressing combined format is not supported
  2. DMA mode is not supported

Supported System Calls [edit]

open(),close(),read(),write(),ioctl()

Supported IOCTLs [edit]

Constant Description
I2C_SLAVE_FORCE Changes slave address. Slave address is 7 or 10 bits. This changes the address, even if it is already considered.
I2C_FUNCS Gets the adapter functionality
I2C_RDWR Combined R/W transfer (one stop only)

Performance and Benchmarks [edit]

Performance and Benchmarks not available in this release.


VIP Driver[edit]

Introduction [edit]

The Video Input Port (VIP) is a V4L2 based video capture driver.

Driver Features [edit]

  • V4L2 Single planar ioctls supported.
  • Supports MMAP and DMABUF buffering methods
  • Multi instance capture support
  • Simultaneous capture from multiple ports
  • Configurable video interfaces via endpoint nodes in DT
  • Supports descrete/embedded sync, 8/16/24 bit bus, YUYV and RGB format cameras
  • Capture upto 60 fields/frames per second
  • Selection of muxed cameras through device tree
  • Multi channel CVBS camera capture


Features Not Supported [edit]

Following features are not supported at this point of time.

  • Inline Color Space Conversion support
  • Inline Scaling support.
  • Multi planar buffer support
  • Runtime selection of cameras
  • Media controller framework


Constraints [edit]

  • TI evm has a conflict between I2C signals and HDMI DDC.

Therefore, the sensor drivers which are controlled via I2C won't work when these pins are in HDMI DDC mode

  • TI evm for J6eco is not compatible with the DRA7xx Vision application board.

Therefore, video capture from the LVDS cameras will not work using Vision app board. Current board requires extra board modification. Later version of J6eco EVM will be compatible with the vision board.

Supported System Calls [edit]

  • Standard V4L2 Capture ioctls
  • No custom ioctls needed

Performance Benchmarks [edit]

The following performance benchmarks were measured on DRA7xx

  • IRQ latency
    • The average IRQ latency of the interrupts to the VIP driver is measured as the time difference between a VPDMA list post and VIP ISR callback
    • A zero sized list post would generate IRQ immediately
    • When measured across 1002 samples, the average interrupt latency is 15.94 us
    • Peak IRQ latency is 138 us
    • For all the following latencies, IRQ latency is not considered
  • Capture latency
    • average capture latency is the time taken by the driver to make the buffer available for the userspace
    • It is calculated as the time difference between the IRQ and the time where DQBUF ioctl returns
    • This would vary based on the size of the captured buffer
  • Capture display latency
    • Average capture display latency is the time difference between the time a buffer was captured and the time when it was given for display
    • This is the total latency between end of the capture frame and start of display frame

Following table shows latencies for different capture sizes with around 10000 frames

Capture display performance on DRA7xx
Capture size Capture latency (J6) Capture Display latency (J6) Capture latency (J6Eco) Capture Display latency (J6Eco)
720x240 60fps (Analog decoder TVP5158) - - 66us 96us
1280x720 30fps (Digital OV camera) - - 78us 188us


VPE Driver[edit]

Introduction [edit]

Video processing Engine(VPE) is a V4L2 Mem to Mem driver. It supports video operations such as scaling, colour space conversion and deinterlacing.

Driver Features [edit]

Video processing Engine(VPE) supports following formats for scaling, csc and deinterlacing:

  • Supported Input formats: NV12, YUYV, UYVY
  • Supported Output formats: NV12, YUYV, UYVY, RGB24, BGR24, ARGB24, ABGR24
  • Inline Scaling supports
  • Horizontal up-scaling up to 8x and Downscaling up to 4x using Pre-decimation filter.
  • Vertical up-scaling up to 8x and Polyphase down-scaling up to 4x followed by RAV scaling.
  • V4L2 M2M Multiplanar ioctl() supported.
  • Multiple V4L2 device context supported.

Features Not Supported [edit]

  • Following formats are not supported : YUV444, YVYU, VYUY, NV16, NV61, NV21, 16bit and Lower RGB formats are not supported.
  • Passing of custom scaler and CSC coeffficients through user spcase are not supported.
  • Only Linear scaling is supported without peaking and trimming.
  • Deinterlacer does not support film mode detection.

Constraints [edit]

  • VPE functional clock is restricted to 266Mhz due to HW constraints.

Supported System Calls [edit]

  • Standard v4l2 m2m ioctls

Performance benchmarks [edit]

  • Frames per second (FPS)
    • FPS is the total number of frames processed by VPE per second
    • FPS for a mem2mem device like VPE depends on the size of the data that is being processed.
    • As VPE performs deinterlacing, scaling, color space conversion on the fly, FPS value for any of these combination should be same.
    • Following tables shows the fps values for multiple operations measured when VPE is running at 266Mhz
J6eco VPE performance measures
Operation Time for 1000 frames Frames per second Hardware utilization
DEI 1920 540 yuyv to 1920 1080 yuyv 1 7.94 s 125.94 98.17%
SC 1280 720 yuyv to 1920 1080 yuyv 0 7.89 s 126.74 98.80%
CSC 1920 1080 yuyv to 1920 1080 rgb24 0 7.91 s 126.42 98.55%
CSC + SC 320 240 yuyv to 640 480 nv12 0 1.20 s 833.33 96.24%
DEI + SC 720 240 nv12 to 1280 720 yuyv 1 3.55 s 281.69 97.59%
DEI + CSC 720 240 yuyv to 720 480 yuyv 1 1.36 s 735.29 95.53%


USB Driver [edit]

This section gives an overview of the USB DWC3(XHCI) controller driver features supported/not supported, constraints and performance numbers.

DWC3(XHCI) USB controller[edit]

The DWC3 (XHCI) based controller supports following features

  • USB1: SuperSpeed (SS) USB 3.0 Dual-Role-Device (DRD) subsystem with integrated SS (USB3.0) PHY and HS/FS (USB2.0) PHY
  • USB2: High-Speed (HS) USB 2.0 Dual-Role-Device (DRD) subsystem with integrated HS/FS PHY

Features Not Supported [edit]

  • OTG support (HNP/SRP)

Features Supported [edit]

  • USB Host mode.
  • USB Peripheral mode
  • USB DRD mode (Dual Role Device)

USB Configuration [edit]

For USB configuration selection please refer to USB General Guide Linux

Driver Features [edit]

The driver supports the following features

DRD (Dual Role Device) support[edit]

The DRD (Dual role device) support enable the each instance of controller to configure either as "Host" or "Device" mode. Refer to User's Guide for more details how to configure the controller into DRD mode.

Host mode support[edit]

Host Mode
Host Mode Feature Supported
HUB class support Yes
Human Interface Class (HID) Yes
Mass Storage Class (MSC) Yes
USB Video Class (UVC) Yes
USB Audio Class (UAC) Yes


USB Mass Storage Class Host Driver[edit]

Constraint [edit]

None

Supported System Calls[edit]

open(), close(), read(), write(), ioctl()

Supported IOCTLS [edit]

None

Performance Benchmarks [edit]

 Setup : Western Digital Superspeed HDD (500GB) connected to usb1 or usb2 port.
 SS - SuperSpeed, HS - Highspeed


USB - ext4 File System Performance [edit]

USB Host File write (Ext4) Performance values
Buffer Size (in KBytes)
DRA75X DRA72X
USB1(SS) USB2(HS) USB1(SS) USB2(HS)
MB/sec cpu load (%) MB/sec cpu load (%) MB/sec cpu load (%) MB/sec cpu load (%)
100 - - - - 69.50 55.40 31.71 27.49
256 - - - - 70.65 54.73 32.31 28.12
512 - - - - 71.52 56.08 31.85 26.56
1024 - - - - 73.86 56.12 32.37 25.96
5120 - - - - 68.52 56.67 31.30 24.84


USB Host File Read (Ext4) Performance values
Buffer Size (in KBytes)
DRA75X DRA72X
USB1(SS) USB2(HS) USB1(SS) USB2(HS)
MB/sec cpu load (%) MB/sec cpu load (%) MB/sec cpu load (%) MB/sec cpu load (%)
100 - - - - 94.77 40.19 36.72 17.99
256 - - - - 105.98 43.01 35.91 15.97
512 - - - - 87.74 39.32 35.45 13.12
1024 - - - - 93.34 40.57 36.55 14.75
5120 - - - - 90.24 41.07 35.94 14.23


USB - VFAT File System Performance [edit]

USB Host File write (vfat) Performance values
Buffer Size (in KBytes)
DRA75X DRA72X
USB1(SS) USB2(HS) USB1(SS) USB2(HS)
MB/sec cpu load (%) MB/sec cpu load (%) MB/sec cpu load (%) MB/sec cpu load (%)
100 - - - - 48.60 45.02 26.70 24.16
256 - - - - 51.97 50.25 26.86 24.54
512 - - - - 51.09 48.77 26.38 22.92
1024 - - - - 50.52 46.50 26.08 24.31
5120 - - - - 50.93 46.00 26.00 23.48


USB Host File Read (vfat) Performance values
Buffer Size (in KBytes)
DRA75X DRA72X
USB1(SS) USB2(HS) USB1(SS) USB2(HS)
MB/sec cpu load (%) MB/sec cpu load (%) MB/sec cpu load (%) MB/sec cpu load (%)
100 - - - - 85.68 34.48 31.17 13.29
256 - - - - 85.67 32.43 31.93 14.68
512 - - - - 88.90 38.39 31.90 12.26
1024 - - - - 87.26 38.98 31.85 16.52
5120 - - - - 86.47 36.04 31.49 11.64


USB Peripheral mode Support [edit]

NCM Gadget Support [edit]

The NCM(Network control Model) gadget driver that is used to send standard Ethernet frames using USB. The driver will create an Ethernet device by the name usb0.

Driver Features [edit]

Supports default DMA mode.

Features Not Supported [edit]

None

Constraint [edit]

None

Supported System Calls [edit]

open(), close(), read(), write(), ioctl()

Supported IOCTLS [edit]

None

Performance Benchmarks [edit]

Performance benchmarks were collected using the Iperf tool and default options were used to collect the throughput numbers.


USB NCM Gadget Performance [edit]

    Setup : EVM as client and Linux Host PC as server
command at EVM: iperf -c <linux host ip_adr> -w <8|16|32|64|128>K -t 60 -d
command at Host: iperf -s
USB NCM Gadget Performance values - Client
TCP Window Size(in KBytes)
DRA75X DRA72X
Mbps Mbps
16 10.22 -
32 19.87 -
64 41.32 -
128 157.7 -
  • DRA75X: The cpu load is 26% for 128K window size, for 16K, 32K, 64K the cpu load is 6%.


SATA Driver [edit]

The SATA controller compliance to Serial ATA Standard specification (revision 2.6) and Serial ATA Advanced Host Controller Interface Specification (AHCI) revision 1.1. The AHCI based SATA host controller supports both Gen1/2 speeds, 1.5-Gbps (SATA-1) and 3Gbps (SATA-2)

  • Please refer Technical Reference Module for more information.

Registers as a SCSI controller with the Linux SCSI Subsystem. SATA devices get registered as SCSI devices and can be accessed as "/dev/sd{*}" devices.

The driver supports the following features:

1. SATA HDD
2. CD/DVD support

 * Enable CONFIG_ISO9660_FS through menuconfig (Menuconfig->File Systems->CD-ROM/DVD Filesytem->"ISO 9660 CDROM file system support")
 * Enable CONFIG_BLK_DEV_SR through menuconfig (Menuconfig->Device Drivers->Scsi Device Support->"SCSI CD ROM support")

3. Port Multiplier support

 * Enable CONFIG_SATA_PMP through menuconfig (Menuconfig->Device Drivers->Serial ATA and Paralle ATA drivers->SATA Port Multiplier support)

Features Not Supported [edit]

  • None.

Constraints [edit]

Supported System Calls [edit]

All Linux ATA/SCSI system calls related to SATA

Supported IOCTLs [edit]

Supports IOCTLS available in Linux SCSI and ATA frameworks and which are applicable for SATA. Refer kernel source or documentation for details.

Performance and Benchmarks [edit]

  • Western Digital 500GB (3Gbps)SATA (16M cache) HDD is used to measure the performance data

SATA - ext4 File System Performance [edit]

SATA File write (Ext4) Performance values
Buffer Size (in KBytes)
DRA75X DRA72X
MB/sec cpu load (%) MB/sec cpu load (%)
100 - - 76.56 52.59
256 - - 77.15 47.69
512 - - 75.50 47.01
1024 - - 75.75 47.37
5120 - - 80.18 50.00


SATA File Read (Ext4) Performance values
Buffer Size (in KBytes)
DRA75X DRA72X
MB/sec cpu load (%) MB/sec cpu load (%)
100 - - 123.93 25.64
256 - - 118.75 27.97
512 - - 117.89 28.24
1024 - - 112.84 27.78
5120 - - 122.20 29.63


SATA - VFAT File System Performance [edit]

SATA File write (vfat) Performance values
Buffer Size (in KBytes)
DRA75X DRA72X
MB/sec cpu load (%) MB/sec cpu load (%)
100 - - 60.44 55.69
256 - - 60.09 55.81
512 - - 60.95 56.29
1024 - - 60.69 56.55
5120 - - 59.62 54.07


SATA File Read (vfat) Performance values
Buffer Size (in KBytes)
DRA75X DRA72X
MB/sec cpu load (%) MB/sec cpu load (%)
100 - - 123.90 27.03
256 - - 126.38 36.25
512 - - 125.15 33.33
1024 - - 125.19 34.18
5120 - - 125.14 34.62


Power Management [edit]

Introduction [edit]

DRA7xx provides a rich set of power management features. The features include Clock control at module level, multiple power and voltage domains etc. It also provides the typical power consumption observed for different scenarios.

Lock Frequency of various PLLs
IP DRA75x Frequency (MHz) DRA72x Frequency (MHz)
MPU As per OPP (1000/1176/1500) As per OPP (1000/1176/1500)
IPU 212.8 212.8
DSP 700 700
IVA 532 532
SGX 425 425
L3 266 266
DDR 532 666


MPU DVFS (CPUFreq) [edit]

CPU is not loaded evenly during execution. This provides an opportunity to save power by adjusting/scaling voltage and frequency based on the current cpu load. A set of frequency and voltage is called an OPP (Operating performance Point) which are arraived at during silicon characterization and are guaranteed to be working combination for desired performance.
As per Data Manual, DRA7xx supports following OPP for MPU: OPP_NOM, OPP_OD and OPP_HIGH

  • In GLSDK Kernel, the supported OPPs are dynamically updated by reading device speed-grade register.If a device can't run at 1.5 GHz as per the efused speed grade then the OPP_HIGH will be removed from supported OPPs dynamically during kernel boot.

Note: On a few DRA72x samples the efused speed grade value is wrong and on such devices only OPP_NOM is supported.

Power Measurement[edit]

This section indicates the power measured for all power rails at OPP_NOM in different scenarios/use-cases.
Power measurements are done using FTDI (FT2232HL - I2C over USB) module on DRA72x EVM Rev B1 - PG 1.0, with 10'LCD display connected.
Note:Following measurements are not applicable for DRA75x

1) At kernel Prompt - no application is running @ OPP_NOM

Device Current(mA) Power(mW)
EVM_VDD_DDR 191.3 257.5
EVM_1V8 179.6 321.9
VDD_1V8 82.7 148.1
VDD_CORE 527.6 532.4
VDD_GPU 287.5 315.2
VDD_MPU 125.5 124.8
Total Power 1394.2 mA 1699.9 mW

2) Dual AV decode and dual display @ 1080p@30fps, at OPP_NOM (using Userspace governor)

Device' Current(mA) Power(mW)
EVM_VDD_DDR 556.9 752.4
EVM_1V8 183.2 328.3
VDD_1V8 114.5 205.3
VDD_CORE 635.9 641.9
VDD_GPU 962.5 1060
VDD_MPU 224.8 223.8
Total Power 2677.8 mA 3211.7 mW


3) V4L2 capture and (loop-back) display display @ 1080p@30fps, at OPP_NOM (using Userspace governor)

Device Current(mA) Power(mW)
EVM_VDD_DDR 239.1 322.4
EVM_1V8 208.4 374.2
VDD_1V8 86.7 155.8
VDD_CORE 517.6 523.0
VDD_GPU 68.0 85.5
VDD_MPU 106.8 113.3
Total Power 1574.3 mW |


Filesystem [edit]

The filesystem is built using the yocto build system. More information on the build system refer to Building_Yocto_Filesystem


Filesystem information
System initialization System V
Compressed filesystem size 347MB
Uncompressed filesystem size 1.1GB


Multimedia [edit]

Introduction [edit]

Multimedia consist of hardware accelerated video decoder(IVAHD). IVAHD subsystem is used for video decoding/encoding through libdce interface.
Multimedia Stack

Supported Codecs[edit]

MJPEG decoder - version 01.00.13.01
H264 decoder - version 02.00.17.01
MPEG4 decoder - version 01.00.15.01
VC1 decoder - version 01.00.02.00
MPEG2 decoder - version 01.00.14.01
MPEG4 Encoder - Version 01.00.02.01
H264 Encoder - Version 02.00.09.01


Supported Playback Application[edit]

GStreamer version 1.2 with following display sinks:

  • waylandsink
  • kmssink

Viddec3test: application that demonstrates viddec3 API usage for video decode and display (using KMS).


Features Not Supported [edit]

  • viddec3test doesn't support mpeg1 video playback
  • viddec3test doesn't support h264 level 5 streams


Constraints [edit]


Performance Benchmarks [edit]

IVAHD performance on DRA7xx
Stream Resolution DRA75x DRA72X Opp Frequency
IVAHD load FPS IVAHD load FPS
CIF - - 71% 335 IVAHD at 532MHz

IPU at 212MHz

720p - - 85% 142
1080p - - 83% 70
  • Performance is calculated using the gstreamer video decoder application with the following command :
 gst-launch-1.0 playbin uri=file://<Path to stream> video-sink="kmssink sync=false" audio-sink=fakesink flags=1 


Graphics [edit]

SGX544-MP2 [edit]

Introduction [edit]

The SGX544-MP2 is a multicore (dual-core) evolution of the PowerVR® SGX544 GPU from Imagination Technologies. The 3D graphics processing unit (GPU) accelerates 3-dimensional (3D) graphics applications and 2-dimensional (2D) composition operations.

Driver Features [edit]

The following specifications are supported on the platform:

  • OpenGL ES 1.0
  • OpenGL ES 1.1
  • OpenGL ES 2.0
  • EGL 1.4

Features Not Supported [edit]

The following specifications are not supported on the platform:

  • OpenVG
  • OpenGL ES 3.0

Performance Benchmarks [edit]

The following performance benchmarks were measured on DRA7xx with 10" LCD as the only connected display and DRM/KMS as the display backend.

GLBenchmark 2.5 performance on DRA7xx
Benchmark Test Number
FPS
DRA75x DRA72x
GLBenchmark 2.1 Egypt Classic ETC1 - C16Z16 2000000 - 105
GLBenchmark 2.5 Egypt HD ETC1 - C24Z24MS4 2500003 - 24
GLBenchmark 2.5 Egypt HD ETC1 - C24Z16 Fixed timestep 2500005 - 22
GLBenchmark 2.5 Egypt HD ETC1 - C24Z16 2501001 - 27
GLBenchmark 2.5 Egypt HD PVRTC4 - C24Z16 2501101 - 27
GLBenchmark 2.5 Egypt HD ETC1->565 - C24Z16 2501401 - 27


GLBenchmark 2.5 Vertex throughput on DRA7xx
Benchmark Test Number
Mtriangles/sec
DRA75x DRA72x
Triangle throughput: Textured 888 - C24Z16 2500301 - 45.77
Triangle throughput: Textured 888 - C24Z16 Vertex lit 2500401 - 37.56
Triangle throughput: Textured 888 - C24Z16 Fragment lit 2500501 - 35.66


GLBenchmark 2.5 pixel throughput on DRA7xx
Benchmark Test Number
FPS MTexels/sec
DRA75x DRA72x DRA75x DRA72x
Fill rate 888 - C24Z16 2500101 - 30 - 728


Wayland [edit]

Introduction [edit]

Wayland is a protocol that specifies the communication between the display server (called Wayland compositor) and its clients. The Wayland protocol is essentially only about input handling and buffer management. The handling of the input hardware relies on evdev in Linux, and similar components in other operating systems. The initial implementation, chiefly libwayland-server, libwayland-client, libwayland-EGL and the reference implementation Weston are published under the MIT License.

It is widely regarded as a replacement for the X Window System.

The GLSDK 7.03.00.03 release supports Wayland/Weston version 1.6.0.

Wayland API documentation [edit]

The documentation from the Wayland project can be accessed here [[2]]

Default supported clients [edit]

The list of clients and instructions on running them can be referenced from DRA7xx_GLSDK_Software_Developers_Guide#Running_weston_clients

Performance Benchmarks [edit]

Performance benchmarks have not been run for this release.

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 DRA7xx GLSDK 7.03.00.03 Data Sheet 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 DRA7xx GLSDK 7.03.00.03 Data Sheet here.

C2000=For technical support on the C2000 please post your questions on The C2000 Forum. Please post only comments about the article DRA7xx GLSDK 7.03.00.03 Data Sheet here. DaVinci=For technical support on DaVincoplease post your questions on The DaVinci Forum. Please post only comments about the article DRA7xx GLSDK 7.03.00.03 Data Sheet here. MSP430=For technical support on MSP430 please post your questions on The MSP430 Forum. Please post only comments about the article DRA7xx GLSDK 7.03.00.03 Data Sheet here. OMAP35x=For technical support on OMAP please post your questions on The OMAP Forum. Please post only comments about the article DRA7xx GLSDK 7.03.00.03 Data Sheet here. OMAPL1=For technical support on OMAP please post your questions on The OMAP Forum. Please post only comments about the article DRA7xx GLSDK 7.03.00.03 Data Sheet here. MAVRK=For technical support on MAVRK please post your questions on The MAVRK Toolbox Forum. Please post only comments about the article DRA7xx GLSDK 7.03.00.03 Data Sheet here. For technical support please post your questions at http://e2e.ti.com. Please post only comments about the article DRA7xx GLSDK 7.03.00.03 Data Sheet 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