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.
DaVinci PSP SDK 03.20.00.06 Datasheet
Contents
- 1 Document License
- 2 Read This First
- 3 DaVinci Linux Drivers
- 4 ALSA SoC Audio Driver
- 5 Ethernet Driver
- 6 Graphical LCD (GLCD) Driver
- 7 NAND Driver
- 8 SPI Flash Driver
- 9 MMC/SD Driver
- 10 UART Driver
- 11 I2C Driver
- 12 EDMA Driver
- 13 Watchdog(WDT) Driver
- 14 USB Driver
- 14.1 OHCI Controller
- 14.2 MUSB OTG controller
- 14.3 USB Mass Storage Class Host Driver
- 14.4 USB Mass Storage Class Slave Driver
- 14.5 USB CDC/RNDIS Slave Driver
- 14.6 USB Human Interface Device (HID) Driver
- 14.7 USB Isochronous Driver
- 14.8 USB OTG Driver
- 15 SATA
- 16 McBSP
Document License[edit]
This work is licensed under the Creative Commons Attribution-Share Alike 3.0 United States License. To view a copy of this license, visit http://creativecommons.org/licenses/by-sa/3.0/us/ or send a letter to Creative Commons, 171 Second Street, Suite 300, San Francisco, California, 94105, USA.
Read This First[edit]
About This Manual[edit]
This document provides an overview and performance data for each of the device drivers which are part of the DaVinci Linux PSP package supporting DA850/OMAP-L138. Note that only a subset of these platforms may have actually been tested and verified in the package you are using. Please refer to the release notes provided with the package for information on which platforms have actually been verified.
If You Need Assistance[edit]
For further information or to report any problems, contact http://community.ti.com/ or http://support.ti.com/
Trademarks[edit]
OMAPTM and DaVinciTM are trademarks of Texas Instruments Incorporated. All other trademarks are the property of the respective owner.
DaVinci Linux Drivers[edit]
Abstract
This chapter provides brief details on the device drivers supported in the Linux PSP release based on Linux DaVinci git tree at http://git.kernel.org/?p=linux/kernel/git/khilman/linux-davinci.git
Note: The constraints may vary across product releases. Please refer to the Release Notes accompanying the release for an updated list of constraints.
DaVinci Linux PSP details[edit]
- Supports EVM boards for DA850/OMAP-L138.
- Built with linux kernel version 2.6.31-rc7.
- Compiled with code sourcery tool chain version arm-2009-q1-203.
- Supports U-Boot version 2009.01 (supports booting Linux from SPI, NAND and NOR flash).
- Ships with sample root file system, ramdisk, pre-built u-boot, uImage binaries, sample applications and documentation.
Boot modes supported[edit]
Green colored box in the table below means that the particular boot mode is supported on the device.
Note: These are supported boot modes in PSP 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.
Boot Mode | DM644x | DM6467 | DM355 | DA830/OMAP-L137 | DA850/OMAP-L138 |
---|---|---|---|---|---|
SPI EEPROM | |||||
SPI Flash | |||||
NAND Flash | |||||
NOR Flash | |||||
I2C EEPROM |
Device driver list[edit]
Peripheral | Description | Linux driver type |
---|---|---|
Audio (McASP) | Audio Record and Playback | ALSA SoC |
McBSP | Serial Communication Interface | Kernel API driver |
Ethernet | Transmit/receive network data. Supports Auto negotiation with 10/100 Mbps link speed | Netdev |
USB MSC Host | USB Mass Storage Class Host Driver | Block |
USB HID Host | USB Human Interface Device Host Driver | Input driver |
USB MUSB HCD | MUSB Host controller driver | USB HCD |
USB OHCI HCD | OHCI Host controller driver | USB HCD |
NAND Flash | Flash storage system | MTD Character and Block |
NOR Flash | Flash storage system | MTD Character and Block |
GLCD | Graphical LCD driver | Frame Buffer |
CLCD | Character LCD driver | Parallel port based driver |
SPI Flash | Flash storage system | MTD Character and Block |
MMC/SD | Interface to MultiMedia Secure Digital cards | Block |
UART | Serial Communication Interface | Character |
I2C | Inter-IC Communication | Character |
RTC | Real-time clock | Character |
Watchdog | Watchdog Timer | Miscellaneous |
SPI | Serial Peripheral Interface | Character |
SATA | Serial ATA Interface | Block |
Drivers not supported[edit]
- SDIO - WLAN
- VPIF (Video Port Interface)
- VPBE, VPFE
- UPP (Universal Parallel Port)
- Power Management (CPUFreq, CPUIdle)
Driver DMA usage[edit]
Driver | DMA usage |
---|---|
Audio (McASP) | EDMA |
McBSP | EDMA |
Ethernet | Internal DMA |
USB 2.0 | Internal DMA |
USB 1.1 | Internal DMA |
NAND Flash | None |
NOR Flash | None |
Graphical LCD | Internal DMA |
Character LCD | None |
SPI | EDMA |
MMC/SD | EDMA |
UART | None |
I2C | None |
RTC | None |
Timers/Watchdog | None |
SATA | Internal DMA |
ALSA SoC Audio Driver[edit]
Abstract
This chapter provides details on ALSA SoC audio driver along with CPU load numbers.
Introduction[edit]
DaVinci 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.
Following architecture diagram shows all the components and the interactions among them:
Driver Features[edit]
- The driver supports the following features:
- Supports AIC32, AIC33, AIC3106 audio codec in ALSA SoC framework.
- Multiple sample rate support (8 KHz, 44.1 KHz and 48 KHz commonly used) for both capture and playback.
- Supports audio in stereo mode.
- Supports simultaneous playback and record (full-duplex mode).
- Start, stop, pause and resume feature.
- Supports mixer interface for audio codecs.
Features Not Supported[edit]
- Does NOT support OSS based applications using OSS emulation layer.
- Driver will not work if built as module.
Constraints[edit]
- By default, codec is configured in master mode and McASP is used as slave. Testing of the audio sub-system is done in this configuration only.
- Configuration of playback and capture streams in different sampling rates is not supported.
Supported System Calls[edit]
Refer ALSA project - the C library reference [1] for API calls.
Supported IOCTLs[edit]
NA
Performance and Benchmarks[edit]
The performance numbers were captured using the following:
- Word length in bits = 16
- Number of channels per sample = 2
- Power Management = Disabled
DA850/OMAP-L138[edit]
Sampling Rate (in Hz) | CPU Load (in %) |
---|---|
8000 | 0 |
44100 | 2 |
48000 | 2 |
Sampling Rate (in Hz) | CPU Load (in %) |
---|---|
8000 | 0 |
44100 | 2 |
48000 | 2 |
Ethernet Driver[edit]
Abstract
This chapter provides details on Ethernet driver along with throughput and CPU load numbers.
Introduction[edit]
The Ethernet driver supports the Linux netdev interface.
Driver Features[edit]
The driver supports the following features:
- 10/100 Mbps mode of operation.
- Auto negotiation.
- Support for multicast and broadcast frames.
- Promiscuous mode of operation.
- Full duplex and half duplex mode of operation.
- Linux NAPI support
Features Not Supported[edit]
NA
Constraints[edit]
NA
Supported System Calls[edit]
Supports the socket() and related system calls in accordance with Linux architecture.
Performance and Benchmarks[edit]
DA850/OMAP-L138[edit]
TCP Window Size(in KBytes) | Bandwidth (in Mbits/sec) | Transfer size (in MBytes) | Interval (in Seconds) |
---|---|---|---|
16 | 58.3 | 417 | 60 |
32 | 65.7 | 470 | 60 |
64 | 65.8 | 471 | 60 |
128 | 67.5 | 483 | 60 |
The performance numbers were captured using the iperf tool. Usage details are mentioned below:
- Server side command switch : "-s"
- Client side command : "-c <server ip> -w <window size> -d -t60"
- Iperf tool is run on the DUT1 in server mode and on DUT2 in client mode. Version 1.7.0 is used on both sides.
- Data captured here is for "iperf" in client mode.
- Cross cable is used to measure performance.
- Speed is set to 100Mbps
- Power Management disabled for measurement
Graphical LCD (GLCD) Driver[edit]
Abstract
This chapter describes the GLCD driver architecture, driver features and performance numbers (throughput and CPU load).
Introduction[edit]
GLCD driver is based on Fbdev framework.
Note: OMAP-L138 EVM does not have Graphical LCD populated. OMAP-L138 SoC, however, supports interfacing to Graphical LCD through LCDC controller.
Driver Features[edit]
- Supports QVGA display through Fbdev framework.
- Supports display of RGB565 images.
- Supports getting and setting the variable screen information.
- Supports retrieving the fixed screen information.
Features Not Supported[edit]
- WAITFORVSYNC ioctl not supported.
- Panning not supported.
- Brightness and color control ioctls not supported.
Constraints[edit]
- Driver doesn't support double buffering.
Supported System Calls[edit]
open(), close(), read(), mmap(), ioctl()
Performance Benchmarks[edit]
NAND Driver[edit]
Abstract
This chapter describes the NAND flash driver architecture, driver features and performance numbers (throughput and CPU load).
Introduction[edit]
The NAND driver is implemented as a block driver, compliant with the standard MTD driver. It supports various NAND Flash chips (see drivers/mtd/nand/nand_ids.h file.) The NAND driver creates the device nodes for user space access (/dev/mtdblock0, /dev/mtdblock1, /dev/mtd0,/dev/mtd1 and so on.).
Note: OMAP-L138 EVM does not have NAND flash populated. OMAP-L138 SoC, however, supports interfacing to NAND flash through Async EMIF interface.
This figure illustrates the stack diagram of NAND flash driver in Linux.
Driver Features[edit]
The driver supports the following features:
- JFFS2 file system
- Supports Read, Write and Erase
- Bad Block Management
- Polled mode of transfer
- Small Block (512 bytes), Big Block (2K & 4K bytes), SLC NAND
Features Not Supported[edit]
- flash_eraseall -j /dev/mtdX fails
Constraints[edit]
None
Supported System Calls[edit]
Supports the system call support proivided by MTD interface viz. open(), close(), read(), write(), ioctl()
Performance Benchmarks[edit]
DA850/OMAP-L138[edit]
Buffer Size (in KBytes) | Total Bytes Transferred (in MBytes) | Transfer Rate (in MBytes/sec) | CPU Load (in %) |
---|---|---|---|
100 | 100 | 1.32 | 100 |
256 | 100 | 1.15 | 100 |
512 | 100 | 1.15 | 100 |
1024 | 100 | 1.15 | 100 |
5120 | 100 | 1.15 | 100 |
Buffer Size (in KBytes) | Total Bytes Transferred (in MBytes) | Transfer Rate (in MBytes/sec) | CPU Load (in %) |
---|---|---|---|
100 | 100 | 3.70 | 100 |
256 | 100 | 3.70 | 100 |
512 | 100 | 3.71 | 100 |
1024 | 100 | 3.71 | 100 |
5120 | 100 | 3.70 | 100 |
The performance numbers are captured using the following:
- NAND PART Number: Micron MT29F4G08AAC
- Power Management disabled.
- File System = JFFS2
- NAND partition was mounted with async option.
SPI Flash Driver[edit]
Abstract
This chapter describes the SPI flash driver architecture, driver features and performance numbers (throughput and CPU load).
Introduction[edit]
SPI Flash driver is implemented as block driver and compliant with standard MTD driver. It supports various flash devices. The SPI driver creates device node for user space access (example, /dev/mtd1).
Driver Features[edit]
- DMA and PIO modes are supported.
Features Not Supported[edit]
None
Constraints[edit]
None
Supported System Calls[edit]
Supports the system call support proivided by MTD interface viz. open(), close(), read(), write(), ioctl()
Performance Benchmarks[edit]
DA850/OMAP-L138[edit]
Buffer Size (in KBytes) | Mega Bytes/sec | FileSize in MB | Duration in usec |
---|---|---|---|
100 | 0.70 | 7 | 10521891 |
256 | 0.58 | 7 | 12698614 |
512 | 0.48 | 7 | 15335733 |
1024 | 0.41 | 7 | 18078566 |
5120 | 0.35 | 7 | 20918374 |
Buffer Size (in KBytes) | Mega Bytes/sec | FileSize in MB | Duration in usec |
---|---|---|---|
100 | 1.25 | 7 | 5871600 |
256 | 1.13 | 7 | 6497305 |
512 | 1.16 | 7 | 6301649 |
1024 | 1.13 | 7 | 6491817 |
5120 | 1.09 | 7 | 6726925 |
MMC/SD Driver[edit]
Abstract
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 that follow the MMC specification v4.0. The MMC driver is implemented as a block driver. Block device nodes(such as /dev/mmcblockp1, /dev/mmcblockp2) are created for user space access.
Driver Features[edit]
The driver supports the following features:
- MMC/SD native protocol command/response set
- Single/multiple block data transfers
- Linux file system and generic MMC layer abstract details of block devices (MMC)
- High-speed (SDv1.1) and High Capacity (SDv2.0) cards
- Support for 1/4 bit modes
- Support for card detect and Write protect features
- DMA and polled mode for data transfer operations
Features Not Supported[edit]
- Support for 8-bit mode of operation.
- SDIO - WLAN support
- SPI mode of operation
Constraints[edit]
- MMC/SD cards should not be removed when the mount operation is in progress. If done so, data integrity cannot be guaranteed.
Supported System Calls[edit]
open(),close(),read(),write()
Supported IOCTLs[edit]
None
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.
DA850/OMAP-L138[edit]
Performance using EXT2 file system[edit]
Buffer Size (in KBytes) | Total Bytes Transferred (in MBytes) | Transfer Rate (in MBytes/sec) | CPU Load (in %) |
---|---|---|---|
100 | 100 | 9.36 | 27.41 |
256 | 100 | 9.40 | 28.05 |
512 | 100 | 9.38 | 28.98 |
1024 | 100 | 9.38 | 27.46 |
5120 | 100 | 9.38 | 27.64 |
Buffer Size (in KBytes) | Total Bytes Transferred (in MBytes) | Transfer Rate (in MBytes/sec) | CPU Load (in %) |
---|---|---|---|
100 | 100 | 4.95 | 28.38 |
256 | 100 | 4.77 | 26.63 |
512 | 100 | 4.38 | 24.87 |
1024 | 100 | 4.94 | 28.71 |
5120 | 100 | 4.37 | 25.17 |
The performance numbers were captured using the following:
- SD Card (Elite Pro, High Speed, 2GB)
- Power Management: Disabled
- File System: ext2
- Partition was mounted with async option
Performance using VFAT file system[edit]
Buffer Size (in KBytes) | Total Bytes Transferred (in MBytes) | Transfer Rate (in MBytes/sec) | CPU Load (in %) |
---|---|---|---|
100 | 100 | 7.33 | 24.25 |
256 | 100 | 7.05 | 22.78 |
512 | 100 | 7.44 | 23.85 |
1024 | 100 | 7.50 | 24.70 |
5120 | 100 | 7.47 | 24.88 |
Buffer Size (in KBytes) | Total Bytes Transferred (in MBytes) | Transfer Rate (in MBytes/sec) | CPU Load (in %) |
---|---|---|---|
100 | 100 | 2.07 | 22.26 |
256 | 100 | 2.08 | 18.43 |
512 | 100 | 2.08 | 18.18 |
1024 | 100 | 2.11 | 17.38 |
5120 | 100 | 2.10 | 17.92 |
The performance numbers were captured using the following:
- SD Card (Transcend, 512MB)
- Power Management: Disabled
- File System: VFAT
- Partition was mounted with async option
UART Driver[edit]
Abstract
This chapter provides details on UART driver along with throughput and CPU load numbers.
Introduction[edit]
The UART driver is implemented as a serial driver, and can be accessed from user space as /dev/ttyS2.
Driver Features[edit]
The driver supports the following features:
- UART2 is physically available on Board
Features Not Supported[edit]
- None
Constraints[edit]
None
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]
DA850/OMAP-L138[edit]
Transmit Size in Bytes | bits/sec | Buffer Size in Bytes | Duration in sec |
---|---|---|---|
102400 | NA | 1024 | NA |
204800 | NA | 1024 | NA |
307200 | NA | 1024 | NA |
409600 | NA | 1024 | NA |
I2C Driver[edit]
Abstract
This chapter provides details on I2C driver along with throughput and CPU load numbers.
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.
Driver Features[edit]
The driver supports the following features:
- 7-bit addressing mode
- Fast mode
- Interrupt mode
Features Not Supported[edit]
- 7-bit and 10-bit addressing combined format is not supported
- DMA mode is not supported
Constraints[edit]
- None
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_TENBIT | 7- or 10-bit address. (Value = 0 for 7 bits; value != 0 for 10 bits.) |
I2C_FUNCS | Gets the adapter functionality |
I2C_RDWR | Combined R/W transfer (one stop only) |
Performance and Benchmarks[edit]
DA850/OMAP-L138[edit]
Buffer Size in Bytes | Data rate - Kbits/s | Total Buffer Size in Bytes | Duration in uSec |
---|---|---|---|
16 | NA | 1024 | NA |
32 | NA | 1024 | NA |
64 | NA | 1024 | NA |
128 | NA | 1024 | NA |
1024 | NA | 1024 | NA |
Buffer Size in Bytes | Data rate - Kbits/s | Total Buffer Size in Bytes | Duration in uSec |
---|---|---|---|
16 | NA | 1024 | NA |
32 | NA | 1024 | NA |
64 | NA | 1024 | NA |
128 | NA | 1024 | NA |
1024 | NA | 1024 | NA |
EDMA Driver[edit]
Abstract
This chapter provides details on EDMA driver along with throughput and CPU load numbers.
Introduction[edit]
The EDMA controller handles all data transfers between the level-two (L2) cache/memory controller and the device peripherals. On DA850/OMAPL138 EDMA has 2 CC instances where as the other SoCs have one instance. Each EDMA instance supports up to 32-dma channels and 8 QDMA channels. The EDMA consists of a scalable Parameter RAM (PaRAM) that supports flexible ping-pong, circular buffering, channel-chaining, auto-reloading, and memory protection. The EDMA allows movement of data to/from any addressable memory spaces, including internal memory (L2 SRAM), peripherals, and external memory.
The EDMA driver exposes only the kernel level API's. This driver is used as a utility by other drivers for data transfer.
Driver Features[edit]
The driver supports the following features:
- Request and Free DMA channel
- Programs DMA channel
- Start and Synchronize with DMA transfers
- Provides DMA transaction completion callback to applications
- Multiple instances of EDMA driver on a single processor
Features Not Supported[edit]
- QDMA is not supported.
Constraints[edit]
None
Supported System Calls[edit]
None
Supported IOCTLs[edit]
None
Performance and Benchmarks[edit]
NA
Watchdog(WDT) Driver[edit]
Abstract
This chapter provides details on WDT driver along with throughput and CPU load numbers.
Introduction[edit]
DaVinci SoCs have a 64-bit watchdog timer which can be used to reset the hardware in case of a software fault. Once the /dev/watchdog is opened, it will reboot the system unless a user space daemon resets the timer at regular intervals within a certain timeout period. The WDT driver is registered as a misc device. Default timeout of this driver is 60 seconds.
Driver Features[edit]
The driver supports the following features:
- Supports IOCTLs to set/get the timeout value, ping the watchdog & query the watchdog structure info.
- Driver can be built as a loadable module and inserted dynamically.
Features Not Supported[edit]
- None
Constraints[edit]
- Once /dev/watchdog is opened, closing it doesn't disable the watchdog
Supported System Calls[edit]
open(), close(), write(), read()
Supported IOCTLs[edit]
Constant | Description |
---|---|
WDIOC_GETSUPPORT | This ioctl returns "struct watchdog_info", which tells what the device can do |
WDIO_KEEPALIVE | This ioctl can be used to notify the watchdog timer that the user space application is alive |
WDIO_SETTIMEOUT | Watchdog timeout or margin can be dynamically changed using this ioctl |
WDIO_GETTIMEOUT | This ioctl returns the present watchdog timeout period in seconds |
Performance and Benchmarks[edit]
None
USB Driver[edit]
Abstract
This chapter provides details on OHCI and MUSB drivers along with throughput and CPU load numbers.
This chapter describes the USB (EHCI and MUSB) driver architecture, features supported/not supported, constraints and performance numbers.
OHCI Controller[edit]
Driver Features[edit]
The driver supports the following features
- Human Interface Class (HID)
- Mass Storage Class (MSC)
- Hub Class
- USB Video Class (UVC)
- USB Audio Class (UAC)
Features Not Supported[edit]
All other classes not mentioned in the "Supported Features" section.
MUSB OTG controller[edit]
Description[edit]
The MUSB driver is implemented on top of Mentor OTG IP version 1.8 which supports all the speeds (High, Full and Low (host mode only)). On DA850/OMAP-L138, MUSB uses CPPI 4.1 DMA for all the transfers on other devices CPPI 3.0 DMA is used.
Driver Features[edit]
The driver supports the following features
Host Mode
- Human Interface Class (HID)
- Mass Storage Class (MSC)
- Hub Class
- USB Video Class (UVC)
- USB Audio Class (UAC)
Gadget mode
- Mass Storage Class (MSC)
- USB Networking - RNDIS/CDC
Features Not Supported[edit]
OTG
USB Mass Storage Class Host Driver[edit]
Driver Features[edit]
The driver supports the following feature
- DMA mode
- PIO 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]
Important
For Mass-storage applications, 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.
DA850/OMAP-L138[edit]
USB MSC (MUSB) Host mode DMA Ext2 File System Performance[edit]
Buffer Size (in KBytes) | Total Bytes Transferred (in MBytes) | Transfer Rate (in MBytes/sec) | CPU Load (in %) |
---|---|---|---|
100 | 100 | 12.3 | 62 |
500 | 100 | 13.6 | 66 |
1024 | 100 | 13.9 | 60 |
5120 | 100 | 14.3 | 82 |
Buffer Size (in KBytes) | Total Bytes Transferred (in MBytes) | Transfer Rate (in MBytes/sec) | CPU Load (in %) |
---|---|---|---|
100 | 100 | 17.8 | 72 |
256 | 100 | 17.6 | 69 |
512 | 100 | 17.5 | 67 |
1024 | 100 | 17.3 | 73 |
The performance numbers are captured using the following.
- Hard disk: Mobile Disk
- File format: ext2
- Power Management: Disabled
USB MSC (MUSB) Host mode DMA VFAT File System Performance[edit]
Buffer Size (in KBytes) | Total Bytes Transferred (in MBytes) | Transfer Rate (in MBytes/sec) | CPU Load (in %) |
---|---|---|---|
100 | 100 | 13 | 100 |
500 | 100 | 13 | 100 |
1024 | 100 | 13 | 100 |
5120 | 100 | 13 | 100 |
Buffer Size (in KBytes) | Total Bytes Transferred (in MBytes) | Transfer Rate (in MBytes/sec) | CPU Load (in %) |
---|---|---|---|
100 | 100 | 17.5 | 76 |
500 | 100 | 17 | 75 |
1024 | 100 | 17.5 | 75 |
5120 | 100 | 16.5 | 67 |
The performance numbers are captured using the following.
- Hard disk: Mobile Disk
- File format: vfat
- Power Management: Disabled
USB MSC (OHCI) Host mode DMA Ext2 File System Performance[edit]
Buffer Size (in KBytes) | Total Bytes Transferred (in MBytes) | Transfer Rate (in MBytes/sec) | CPU Load (in %) |
---|---|---|---|
100 | 50 | 0.99 | 3.5 |
500 | 50 | 0.99 | 3.5 |
1024 | 50 | 0.99 | 4.5 |
5120 | 50 | 0.99 | 4.5 |
Buffer Size (in KBytes) | Total Bytes Transferred (in MBytes) | Transfer Rate (in MBytes/sec) | CPU Load (in %) |
---|---|---|---|
100 | 50 | 0.90 | 4.75 |
512 | 50 | 0.90 | 4.6 |
1024 | 50 | 0.90 | 4.2 |
5120 | 50 | 0.90 | 4 |
The performance numbers are captured using the following.
- Hard disk: Mobile Disk
- File format: ext2
- Power Management: Disabled
USB MSC (OHCI) Host mode DMA VFAT File System Performance[edit]
Buffer Size (in KBytes) | Total Bytes Transferred (in MBytes) | Transfer Rate (in MBytes/sec) | CPU Load (in %) |
---|---|---|---|
100 | 50 | 0.87 | 8.6 |
500 | 50 | 0.88 | 5.1 |
1024 | 50 | 0.89 | 6.7 |
5120 | 50 | 0.89 | 5.7 |
Buffer Size (in KBytes) | Total Bytes Transferred (in MBytes) | Transfer Rate (in MBytes/sec) | CPU Load (in %) |
---|---|---|---|
100 | 50 | 0.99 | 5 |
500 | 50 | 0.99 | 3.3 |
1024 | 50 | 0.99 | 5 |
5120 | 50 | 0.99 | 5 |
The performance numbers are captured using the following.
- Hard disk: Mobile Disk
- File format: vfat
- Power Management: Disabled
USB Mass Storage Class Slave Driver[edit]
Description[edit]
This figure illustrates the stack diagram of the system with USB File Storage Gadget driver
Driver Features[edit]
The driver supports the following feature
- DMA mode
- PIO mode
- File backed storage driver was tested with SD media as the storage medium
Features Not Supported[edit]
None
Constraint[edit]
None
Supported System Calls[edit]
NA
Supported IOCTLS[edit]
NA
Performance Benchmarks[edit]
DA850/OMAP-L138[edit]
USB Slave-DMA Performance[edit]
Bytes Transferred (MB) | Number of files transferred | Total Bytes transferred (MB) | Data Rate (MB/sec) |
---|---|---|---|
1024 | 1 | 1024 | 13 |
Bytes Transferred (MB) | Number of files transferred | Total Bytes transferred (MB) | Data Rate (MB/sec) |
---|---|---|---|
1024 | 1 | 1024 | 6 |
The performance numbers are captured using the following.
- SATA HDD - Seagate Baracuda 7200 RPM 500GB drive
- File format: vfat on Windows XP
- Power Management: off
USB CDC/RNDIS Slave Driver[edit]
Description[edit]
The CDC RNDIS 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]
The driver supports the following feature
- DMA mode
- PIO mode
- 10/100 Mbps speed.
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.
DA850/OMAP-L138[edit]
USB CDC-DMA Performance[edit]
TCP window size (in KBytes) | Bandwidth (Mbits/Sec) | Transfer size (in Mbytes) | Interval (in sec) |
---|---|---|---|
16 | 41 | 49 | 10 |
32 | 42 | 50 | 10 |
64 | 43 | 51 | 10 |
128 | 43 | 51 | 10 |
USB RNDIS-DMA Performance[edit]
TCP window size (in KBytes) | Bandwidth (Mbits/Sec) | Transfer size (in Mbytes) | Interval (in sec) |
---|---|---|---|
16 | 32 | 38 | 10 |
32 | 32 | 38 | 10 |
64 | 32 | 38 | 10 |
128 | 32 | 38 | 10 |
USB Human Interface Device (HID) Driver[edit]
Description[edit]
The event sub system creates /dev/input/event* devices with the help of mdev.
Driver Features[edit]
The driver supports the following feature
- DMA mode
- PIO mode
- USB Mouse and Keyboards that conform to the USB HID specifications
Features Not Supported[edit]
None
Constraint[edit]
None
Supported System Calls[edit]
NA
Supported IOCTLS[edit]
NA
Performance Benchmarks[edit]
NA
USB Isochronous Driver[edit]
Description[edit]
USB camera, speaker and mic uses isochronouse transfers. USB Video Class (UVC) is used by most of the USB cameras to capture image.
Driver Features[edit]
The driver supports the following feature
- DMA mode
- PIO mode
- Support for USB Audio and video class(UVC class)
Features Not Supported[edit]
None
Constraint[edit]
None
Supported System Calls[edit]
NA
Supported IOCTLS[edit]
NA
Performance Benchmarks[edit]
NA
USB OTG Driver[edit]
Description[edit]
MUSB controller on DaVinci supports USB On The Go (OTG). OTG protocol enables runtime role switch between USB host and device. This is achived using Session Request Protocol (SRP) and Host Negotiation Protocol (HNP). OTG driver is tested with OPT (OTG Protocol Tester).
Driver Features[edit]
The driver supports the following feature
Features Not Supported[edit]
OTG
Constraint[edit]
None
Supported System Calls[edit]
NA
Supported IOCTLS[edit]
NA
Performance Benchmarks[edit]
NA
SATA[edit]
Description[edit]
SATA peripheral is AHCI Ver.1.1 spec compliant peripheral. It supports SATA1 (150MBps) and SATA 2 (300MBps) speeds over one SATA port. Port Multiplier support is available in the SATA controller. The controller can support drives upto UDMA-133 speeds.
Driver Features[edit]
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.
Port Multiplier support
Driver Features Not Supported[edit]
Constraint[edit]
None
Supported System Calls[edit]
NA
Supported IOCTLS[edit]
NA
Performance Benchmarks[edit]
SATA - VFAT File System Performance[edit]
Buffer Size (in KBytes) | Total Bytes Transferred (in MBytes) | Transfer Rate (in MBytes/sec) | CPU Load (in %) |
---|---|---|---|
100 | 100 | 18 | 100 |
500 | 100 | 19 | 100 |
1024 | 100 | 16.5 | 90 |
5120 | 100 | 19 | 100 |
SATA - VFAT File System Performance =[edit]
Buffer Size (in KBytes) | Total Bytes Transferred (in MBytes) | Transfer Rate (in MBytes/sec) | CPU Load (in %) |
---|---|---|---|
100 | 100 | 32 | 100 |
500 | 100 | 33 | 97 |
1024 | 100 | 32 | 98.75 |
5120 | 100 | 32 | 96 |
The performance numbers are captured using the following.
- SATA HDD - Seagate Baracuda 7200 RPM 500GB drive
- File format: vfat
- Power Management: off
McBSP[edit]
Description[edit]
Multi-channel Buffer Serial Port (McBSP) peripheral is primarily used for serial data transfer like in the case of audio interfaces. McBSP supports DMA mode of transfer and hence is suitable for real-time audio applications. The McBSP driver provides APIs to the programmer to control McBSP.
Driver Features[edit]
- The driver is an API driver.
- Supports multiple instances of the peripheral.
- Supports master transmitter and slave receiver operation.
- Supports multi-channel selection mode of operation.
- Supports configuration of word length, frame length, sample frequency.
Driver Features Not Supported[edit]
Slave transmitter, master receiver combination.
Constraint[edit]
The test setup consists of Interposers connecting two EVMs with the necessary connections wired. Using this setup, the maximum frame length that has been tested is 32. Beyond this the test results are not stable.
Supported System Calls[edit]
NA
Supported IOCTLS[edit]
NA
Performance Benchmarks[edit]
NA