DaVinci_PSP_03.22.00 release guide

更新时间:2023-08-06 06:38:01 阅读量: 实用文档 文档下载

说明:文章内容仅供预览,部分内容可能不全。下载后的文档,内容与下面显示的完全一致。下载之前请确认下面内容是否您想要的,是否完整无缺。

TI 达芬奇平台的PSP版本简介.

DaVinci PSP 03.22.00.02 Device Driver Features and Performance Guide -Texas Inst...Page 1of 43

ProductsApplicationsBuy

About TI

Tools & SoftwareSupport & Community

Sample & Sample & Pu

DaVinci PSP 03.22.00.02 Device Driver Features and Performance Guide

From Texas Instruments Wiki

DaVinci PSP 03.22.00.02 Device Driver Features and

Performance Guide

Translate this page tocs - esky

Translate

TI 达芬奇平台的PSP版本简介.

■8.1 Introduction■8.2 Driver Features

■8.3 Features Not Supported■8.4 Supported System Calls■

9 NAND Driver

■9.1 Introduction■9.2 Driver Features

■9.3 Features Not Supported■9.4 Supported System Calls■9.5 Performance Benchmarks■

10 NOR flash Driver ■10.1 Introduction■10.2 Driver Features

■10.3 Supported System Calls■10.4 Performance Benchmarks■

11 SPI Flash Driver ■11.1 Introduction■11.2 Driver Features

■11.3 Supported System Calls■11.4 Performance Benchmarks■

12 MMC/SD Driver ■12.1 Introduction■12.2 Driver Features

■12.3 Features Not Supported■12.4 Constraints

■12.5 Supported System Calls

■12.6 Performance and Benchmarks

■12.6.1 Performance using EXT2 file system■12.6.2 Performance using VFAT file system

13 UART Driver

■13.1 Introduction■13.2 Driver Features

■13.3 Supported System Calls■13.4 Supported IOCTLs■

14 I2C Driver

■14.1 Introduction■14.2 Driver Features

■14.3 Features Not Supported■14.4 Supported System Calls■14.5 Supported IOCTLs■

15 EDMA Driver

■15.1 Introduction■15.2 Driver Features

■15.3 Features Not Supported■

16 Watchdog(WDT) Driver ■16.1 Introduction■16.2 Driver Features■16.3 Constraints

■16.4 Supported System Calls■16.5 Supported IOCTLs■

17 USB Driver

■17.1 OHCI Controller

■17.1.1 Driver Features

■17.1.2 Features Not Supported■17.2 MUSB OTG controller

■17.2.1 Description

TI 达芬奇平台的PSP版本简介.

DaVinci PSP 03.22.00.02 Device Driver Features an

d Performance Guide - Texas Inst... Page 3 of 43

■ 17.2.2 Driver Features■ 17.2.3 Features Not Supported■ 17.3 USB Mass Storage Class Host Driver■ 17.3.1 Driver Features■ 17.3.2 Supported System Calls■ 17.3.3 Performance Benchmarks■ 17.3.3.1 USB MSC (MUSB) Host mode DMA EXT2 File System Performance■ 17.3.3.2 USB MSC (MUSB) Host mode DMA VFAT File System Performance■ 17.4 USB Mass Storage Class Slave Driver■ 17.4.1 Description■ 17.4.2 Driver Features■ 17.4.3 Features Not Supported■ 17.4.4 Performance Benchmarks■ 17.4.4.1 USB Slave-DMA Performance■ 17.5 USB CDC/RNDIS Slave Driver■ 17.5.1 Description■ 17.5.2 Driver Features■ 17.5.3 Supported System Calls■ 17.5.4 Performance Benchmarks■ 17.5.5 DA850/OMAP-L138■ 17.5.5.1 USB CDC-DMA Performance■ 17.5.5.2 USB RNDIS-DMA Performance■ 17.6 USB Human Interface Device (HID) Driver■ 17.6.1 Description■ 17.6.2 Driver Features■ 17.7 USB Isochronous Driver■ 17.7.1 Description■ 17.7.2 Driver Features■ 17.8 USB OTG Driver■ 17.8.1 Description■ 17.8.2 Driver Features 18 SATA■ 18.1 Description■ 18.2 Driver Features■ 18.3 Performance Benchmarks■ 18.3.1 SATA - ext2 File System Performance 19 Video Port Interface (VPIF)■ 19.1 Description■ 19.2 Driver Features■ 19.3 Driver Features Not Supported■ 19.4 Performance Benchmarks 20 eCAP■ 20.1 Description:■ 20.2 Driver Features:■ 20.3 Constraint 21 eHRPWM■ 21.1 Description■ 21.2 Driver Features:■ 21.3 Constraint

http://www.77cn.com.cn/index.php/DaVinci_PSP_03.22.00.02_Device_Driver_Fe... 2013-10-6

TI 达芬奇平台的PSP版本简介.

Document License

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://www.77cn.com.cn/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

About This Manual

This document provides an overview and performance data for the device drivers which are part of the DaVinci Linux PSP package.

NOTE

For DA850/OMAP-L138/AM18x EVM, the performance numbers have been recorded with cpuidle driver enabled and with cpufreq governor set to userspace.

If You Need Assistance

For further information or to report any problems, contact http://www.77cn.com.cn/ or http://www.77cn.com.cn/

Trademarks

OMAPTM and DaVinciTM are trademarks of Texas Instruments, Incorporated. All other trademarks are the properties of their respective owners.

Support Overview

Boot Modes Supported

The following table provides information on the boot modes supported. Green color in the table below means that the particular boot mode is supported on the device.

DaVinci Supported Boot Modes Boot Mode SPI Flash

DA850/OMAP-L138/AM18x

TI 达芬奇平台的PSP版本简介.

NAND Flash NOR Flash MMC/SD

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.

U-Boot Support

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 UART Ethernet Download (TFTP) MMC/SD SPI Flash NAND flash NOR Flash

DA850/OMAP-L138/AM18x

Device Driver List

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 Audio (McASP)

Description

Linux driver type

DMA usage EDMA3

Audio Record and Playback ALSA SoC

TI 达芬奇平台的PSP版本简介.

Netdev

USB Mass Storage Class

Host Driver

USB Human Interface Device Host Driver MUSB Host controller driver

EMAC Internal DMA USB Internal DMA USB Internal DMA USB Internal DMA USB Internal DMA

USB MSC Host USB HID Host USB MUSB HCD

Block Input driver USB HCD

USB OHCI HCD OHCI Host controller driver USB HCD NAND Flash NOR Flash GLCD

Flash storage system Flash storage system Graphical LCD driver

MTD Character and

Not Supported

Block

MTD Character and

Not Supported

Block Frame Buffer

LCDC Internal DMA None

Parallel port based

LCD driver SPI Flash MMC/SD UART I2C

Flash storage system Interface to MultiMedia Secure Digital cards Serial Communication Interface

Inter-IC Communication

MTD Character and

EDMA3

Block

Character

Not Supported

Timer

None

ATA Block Video Port

Interface (VPIF) Power

Management Touchscreen eCAP

Video Display and Capture Linux drivers cpuidle, cpufreq and Suspend-to-RAM

Drivers for TPS65070 PWM Capture and Generation

V4L2 (Video for Linux version 2)

SATA Internal DMA VPIF Internal DMA

Input driver

None

None

generation

TI 达芬奇平台的PSP版本简介.

DaVinci PSP 03.22.00.02 Device Driver Features and Performance Guide -Texas Inst...Page 7of 43

Boot-time measurement

Utility available here was used to find out the boot-time.

DA850/OMAP-L138/AM18x

For boot-time measurement following setup was used: ■■■■■

SPL and U-Boot was in SPI flash.

Kernel image size of 2455936 bytes stored in FAT partition of SD card arago-base image as file system stored in EXT2 partition of SD card Sandisk 8GB SD card

U-Boot had 3 seconds of boot delay

0.000 0.000: SPI boot...

0.006 0.006: SF: Detected M25P64 with page size 64 KiB, total 8 MiB 0.128 0.122: 0.128 0.000:

0.133 0.005: U-Boot 2012.04.01-00014-g864c4a3 (Jun 26 2012 - 12:16:32) 0.136 0.003:

0.136 0.000: I2C: ready 0.140 0.004: DRAM: 128 MiB

0.156 0.016: WARNING: Caches not enabled 0.168 0.012: MMC: davinci: 0

0.176 0.008: SF: Detected M25P64 with page size 64 KiB, total 8 MiB 0.292 0.116: In: serial 0.292 0.000: Out: serial 0.292 0.000: Err: serial

0.300 0.007: SF: Detected M25P64 with page size 64 KiB, total 8 MiB 0.305 0.005: Default using MAC address from environment 0.308 0.004: Default using MAC address from environment 0.316 0.008: Net: DaVinci-EMAC

3.324 3.008: Hit any key to stop autoboot: 0 3.416 0.092: reading uImage 4.432 1.016:

4.432 0.000: 2456000 bytes read

4.437 0.005: ## Booting kernel from Legacy Image at c0700000 ... 4.440 0.003: Image Name: Linux-3.3.0+

4.445 0.005: Image Type: ARM Linux Kernel Image (uncompressed) 4.448 0.003: Data Size: 2455936 Bytes = 2.3 MiB 4.452 0.004: Load Address: c0008000 4.452 0.000: Entry Point: c0008000 5.076 0.624: Verifying Checksum ... OK 5.880 0.804: Loading Kernel Image ... OK 5.896 0.016: OK 5.896 0.000:

5.896 0.000: Starting kernel ... 5.896 0.000:

7.524 1.628: Uncompressing Linux... done, booting the kernel. 8.788 1.264: Booting Linux on physical CPU 0

8.810 0.006: CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177 8.812 0.002: CPU: VIVT data cache, VIVT instruction cache 8.816 0.004: Machine: DaVinci DA850/OMAP-L138/AM18x EVM

8.821 0.005: Memory policy: ECC disabled, Data cache writeback

8.828 0.007: BUG: mapping for 0x80000000 at 0xfffe0000 out of vmalloc space 8.828 0.000: DaVinci da850/omap-l138 variant 0x0

8.836 0.008: Built 1 zonelists in Zone order, mobility grouping on. Total pages: 8128

8.842 0.006: Kernel command line: mem=32M console=ttyS2,115200n8 root=/dev/mmcblk0p3 rw rootwait ip=off 8.848 0.006: PID hash table entries: 128 (order: -3, 512 bytes)

8.853 0.005: Dentry cache hash table entries: 4096 (order: 2, 16384 bytes) 8.860 0.008: Inode-cache hash table entries: 2048 (order: 1, 8192 bytes) 8.860 0.000: Memory: 32MB = 32MB total

8.865 0.005: Memory: 27236k/27236k available, 5532k reserved, 0K highmem 8.868 0.003: Virtual kernel memory layout:

8.872 0.004: vector : 0xffff0000 - 0xffff1000 ( 4 kB) 8.880 0.008: fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB) 8.885 0.005: vmalloc : 0xc2800000 - 0xff000000 ( 968 MB) 8.888 0.003: lowmem : 0xc0000000 - 0xc2000000 ( 32 MB)

TI 达芬奇平台的PSP版本简介.

8.893 0.005: modules : 0xbf000000 - 0xc0000000 ( 16 MB) 8.896 0.003: .text : 0xc0008000 - 0xc0492000 (4648 kB) 8.902 0.006: .init : 0xc0492000 - 0xc04bc000 ( 168 kB) 8.904 0.002: .data : 0xc04bc000 - 0xc04f6c00 ( 235 kB) 8.909 0.005: .bss : 0xc04f6c24 - 0xc051454c ( 119 kB)

8.916 0.007: SLUB: Genslabs=13, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 8.916 0.000: NR_IRQS:245

8.921 0.005: Console: colour dummy device 80x30

8.924 0.003: Calibrating delay loop... 148.88 BogoMIPS (lpj=744448) 8.928 0.004: pid_max: default: 32768 minimum: 301 8.933 0.005: Mount-cache hash table entries: 512

8.936 0.003: CPU: Testing write buffer coherency: ok

8.941 0.005: Setting up static identity map for 0xc036ff40 - 0xc036ff98 8.944 0.003: gpiochip_add: registered GPIOs 0 to 31 on device: DaVinci 8.949 0.005: gpiochip_add: registered GPIOs 32 to 63 on device: DaVinci 8.956 0.007: gpiochip_add: registered GPIOs 64 to 95 on device: DaVinci 8.961 0.005: gpiochip_add: registered GPIOs 96 to 127 on device: DaVinci 8.968 0.007: gpiochip_add: registered GPIOs 128 to 143 on device: DaVinci 8.968 0.000: DaVinci: 144 gpio irqs

8.973 0.005: print_constraints: dummy:

8.973 0.000: NET: Registered protocol family 16

8.984 0.011: da850_evm_init: eHRPWM module 0 cannot be used since it is being used by MII interface 8.989 0.005: da850_evm_init: eHRPWM module1 outputA cannot be used since it is being used by LCD 8.996 0.007: da850_evm_init: eHRPWM module1 outputB cannot be used since it is being used by spi1 9.001 0.005: bio: create slab <bio-0> at 0 9.001 0.000: SCSI subsystem initialized

9.008 0.007: usbcore: registered new interface driver usbfs 9.014 0.006: usbcore: registered new interface driver hub 9.014 0.000: usbcore: registered new device driver usb

9.020 0.006: print_constraints: VDCDC1: 3200 <--> 3300 mV at 3300 mV 9.025 0.005: print_constraints: VDCDC2: 1750 <--> 3300 mV at 3300 mV 9.028 0.003: print_constraints: VDCDC3: 950 <--> 1350 mV at 1200 mV 9.033 0.005: print_constraints: LDO1: 1800 mV

9.036 0.003: print_constraints: LDO2: 1150 <--> 1300 mV at 1200 mV 9.042 0.006: pca953x 1-0020: failed reading register

9.044 0.002: pca953x 1-0021: interrupt support not compiled in

9.052 0.008: gpiochip_add: registered GPIOs 160 to 175 on device: tca6416 9.056 0.005: i2c-gpio i2c-gpio.1: using pins 20 (SDA) and 21 (SCL) 9.060 0.003: Advanced Linux Sound Architecture Driver Version 1.0.24. 9.065 0.005: Switching to clocksource timer0_1

9.068 0.003: musb-hdrc: version 6.0, ?dma?, otg (peripheral+host) 9.074 0.006: musb-hdrc musb-hdrc: dma type: dma-cppi41

9.076 0.002: MUSB255 controller's USBSS revision = 4ea11003 9.081 0.005: Waiting for USB PHY clock good...

9.088 0.007: musb-hdrc musb-hdrc: USB OTG mode controller at fee00000 using DMA, IRQ 58 9.088 0.000: NET: Registered protocol family 2

9.093 0.005: IP route cache hash table entries: 1024 (order: 0, 4096 bytes) 9.100 0.007: TCP established hash table entries: 1024 (order: 1, 8192 bytes) 9.105 0.005: TCP bind hash table entries: 1024 (order: 0, 4096 bytes) 9.112 0.007: TCP: Hash tables configured (established 1024 bind 1024) 9.112 0.000: TCP reno registered

9.117 0.005: UDP hash table entries: 256 (order: 0, 4096 bytes)

9.120 0.003: UDP-Lite hash table entries: 256 (order: 0, 4096 bytes) 9.124 0.004: NET: Registered protocol family 1

9.130 0.006: RPC: Registered named UNIX socket transport module. 9.132 0.002: RPC: Registered udp transport module. 9.137 0.005: RPC: Registered tcp transport module.

9.140 0.003: RPC: Registered tcp NFSv4.1 backchannel transport module. 9.145 0.005: EMAC: MII PHY configured, RMII PHY will not be functional 9.153 0.008: JFFS2 version 2.2. (NAND) © 2001-2006 Red Hat, Inc. 9.153 0.000: msgmni has been set to 53

9.156 0.004: io scheduler noop registered (default)

9.164 0.008: da8xx_lcdc da8xx_lcdc.0: GLCD: Found Sharp_LK043T1DG01 panel 9.169 0.005: Console: switching to colour frame buffer device 60x34 9.172 0.003: Serial: 8250/16550 driver, 3 ports, IRQ sharing disabled 9.177 0.005: serial8250.0: ttyS0 at MMIO 0x1c42000 (irq = 25) is a AR7 9.184 0.007: serial8250.0: ttyS1 at MMIO 0x1d0c000 (irq = 53) is a AR7 9.190 0.006: serial8250.0: ttyS2 at MMIO 0x1d0d000 (irq = 61) is a AR7 9.190 0.000: console [ttyS2] enabled 9.200 0.010: brd: module loaded

9.208 0.008: ahci ahci: forcing PORTS_IMPL to 0x1

9.216 0.008: ahci ahci: AHCI 0001.0100 32 slots 1 ports 3 Gbps 0x1 impl platform mode 9.221 0.005: ahci ahci: flags: ncq sntf pm led clo only pmp pio slum part ccc 9.232 0.011: scsi0 : ahci_platform

9.240 0.008: ata1: SATA max UDMA/133 mmio [mem 0x01e18000-0x01e19fff] port 0x100 irq 67 9.252 0.012: spi_davinci spi_davinci.1: DMA: supported

9.257 0.005: spi_davinci spi_davinci.1: DMA: RX channel: 18, TX channel: 19, event queue: 0 9.264 0.007: m25p80 spi1.0: m25p64 (8192 Kbytes) 9.269 0.005: Creating 6 MTD partitions on "m25p80": 9.276 0.007: 0x000000000000-0x000000010000 : "UBL" 9.285 0.009: 0x000000010000-0x000000090000 : "U-Boot"

9.296 0.011: 0x000000090000-0x0000000a0000 : "U-Boot-Env" 9.306 0.010: 0x0000000a0000-0x000000320000 : "Kernel"

TI 达芬奇平台的PSP版本简介.

9.316 0.010: 0x000000320000-0x000000720000 : "Filesystem" 9.328 0.012: 0x0000007f0000-0x000000800000 : "MAC-Address" 9.340 0.012: Read MAC addr from SPI Flash: ff:ff:ff:ff:ff:ff

9.348 0.008: spi_davinci spi_davinci.1: Controller at 0xfef0e000 9.408 0.061: davinci_mdio davinci_mdio.0: davinci mdio revision 1.5 9.412 0.004: davinci_mdio davinci_mdio.0: detected phy mask fffffffe 9.416 0.004: davinci_mdio.0: probed

9.424 0.008: davinci_mdio davinci_mdio.0: phy[0]: device davinci_mdio-0:00, driver SMSC LAN8710/LAN8720 9.432 0.008: ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver 9.436 0.004: ohci ohci.0: DA8xx OHCI

9.440 0.004: ohci ohci.0: new USB bus registered, assigned bus number 1 9.444 0.004: Waiting for USB PHY clock good...

9.448 0.004: ohci ohci.0: irq 59, io mem 0x01e25000 9.516 0.068: hub 1-0:1.0: USB hub found 9.516 0.000: hub 1-0:1.0: 1 port detected

9.524 0.008: Initializing USB Mass Storage driver...

9.529 0.005: usbcore: registered new interface driver usb-storage 9.532 0.003: USB Mass Storage support registered.

9.544 0.012: input: gpio-keys-polled as /devices/platform/gpio-keys-polled.1/input/input0

9.564 0.020: input: TPS6507x Touchscreen as /devices/platform/i2c-gpio.1/i2c-1/1-0048/input/input1 9.572 0.008: omap_rtc omap_rtc: rtc core: registered omap_rtc as rtc0 9.576 0.004: omap_rtc: RTC power up reset detected 9.580 0.004: i2c /dev entries driver

9.588 0.008: lirc_dev: IR Remote Control driver registered, major 253 9.592 0.004: ata1: SATA link down (SStatus 0 SControl 300) 9.596 0.004: IR NEC protocol handler initialized 9.604 0.008: IR RC5(x) protocol handler initialized 9.608 0.004: IR RC6 protocol handler initialized 9.608 0.000: IR JVC protocol handler initialized 9.612 0.004: IR Sony protocol handler initialized

9.616 0.004: IR RC5 (streamzap) protocol handler initialized 9.620 0.004: IR SANYO protocol handler initialized

9.624 0.004: IR MCE Keyboard/mouse protocol handler initialized 9.632 0.008: IR LIRC bridge handler initialized 9.636 0.005: Linux video capture interface: v2.00

9.640 0.004: usbcore: registered new interface driver uvcvideo 9.644 0.004: USB Video Class driver (1.1.1)

9.648 0.004: watchdog watchdog: heartbeat 60 sec 9.652 0.004: cpuidle: using governor ladder 9.660 0.008: cpuidle: using governor menu

9.668 0.008: davinci_mmc davinci_mmc.0: Using DMA, 4-bit mode 9.676 0.008: usbcore: registered new interface driver usbhid 9.680 0.004: usbhid: USB HID core driver

9.688 0.008: usbcore: registered new interface driver snd-usb-audio

9.704 0.016: soc-audio soc-audio.0: ASoC: Failed to create card debugfs directory 9.712 0.008: _regulator_get: 1-0018 supply IOVDD not found, using dummy regulator 9.720 0.008: _regulator_get: 1-0018 supply DVDD not found, using dummy regulator 9.732 0.012: _regulator_get: 1-0018 supply AVDD not found, using dummy regulator 9.736 0.004: _regulator_get: 1-0018 supply DRVDD not found, using dummy regulator 9.760 0.024: asoc: tlv320aic3x-hifi <-> davinci-mcasp.0 mapping ok 9.772 0.011: ALSA device list:

9.772 0.000: #0: DA850/OMAP-L138 EVM 9.776 0.004: TCP cubic registered

9.780 0.004: NET: Registered protocol family 17

9.796 0.016: regulator_init_complete: LDO2: incomplete constraints, leaving on 9.804 0.008: regulator_init_complete: LDO1: incomplete constraints, leaving on 9.808 0.004: regulator_init_complete: VDCDC3: incomplete constraints, leaving on 9.820 0.012: regulator_init_complete: VDCDC2: incomplete constraints, leaving on 9.824 0.005: mmc0: new high speed SDHC card at address e624

9.832 0.008: regulator_init_complete: VDCDC1: incomplete constraints, leaving on 9.832 0.000: console [netcon0] enabled

9.836 0.004: netconsole: network logging started 9.844 0.008: mmcblk0: mmc0:e624 SD08G 7.40 GiB

9.852 0.008: davinci_emac davinci_emac.1: using random MAC addr: de:9f:e9:79:30:9d 9.856 0.004: mmcblk0: p1 p2 p3

9.880 0.024: omap_rtc omap_rtc: setting system clock to 2000-01-01 00:00:00 UTC (946684800)

9.896 0.017: EXT2-fs (mmcblk0p3): warning: mounting unchecked fs, running e2fsck is recommended 9.912 0.015: VFS: Mounted root (ext2 filesystem) on device 179:3. 9.916 0.004: Freeing init memory: 168K INIT: version 2.86 booting

10.452 0.337: Please wait: booting... 10.580 0.127: Starting udev

13.076 2.497: udevd (614): /proc/614/oom_adj is deprecated, please use /proc/614/oom_score_adj instead. 13.084 0.008: udev: starting version 141

17.832 4.712: Remounting root file system...

18.232 0.000:

18.353 0.120: Caching udev devnodes

20.500 2.147: Populating dev cachekjournald starting. Commit interval 5 seconds 20.504 0.004: EXT3-fs (mmcblk0p2): using internal journal 20.508 0.004: EXT3-fs (mmcblk0p2): recovery complete

20.520 0.012: EXT3-fs (mmcblk0p2): mounted filesystem with writeback data mode

TI 达芬奇平台的PSP版本简介.

DaVinci PSP 03.22.00.02 Device Driver Features and Performance Guide -Texas I...Page 10of 43

21.004 0.484: mv: cannot rename '/tmp/uname': No such file or directory

21.076 0.072: WARNING: Couldn't open directory /lib/modules/3.3.0+: No such file or directory

21.340 0.255: logger: mount: mount point /proc/bus/usb does not exist

22.976 1.636: Configuring network interfaces... davinci_mdio davinci_mdio.0: resetting idled controller 23.052 0.064: udhcpc (v1.13.2) started 23.276 0.224: Sending discover... 26.280 3.004: Sending discover... 29.284 3.004: Sending discover... 32.344 3.060: No lease, failing 32.352 0.008: done.

32.392 0.040: Setting up IP spoofing protection: rp_filter. 32.788 0.396: Thu Mar 18 18:14:00 UTC 2010 INIT: Entering runlevel: 5

33.000 0.144: Starting telnet daemon.

33.060 0.000:

33.168 0.108: Starting syslogd/klogd: done 33.464 0.296: Starting thttpd. 34.792 1.328:

34.800 0.008: _____ _____ _ _ 34.804 0.004: | _ |___ ___ ___ ___ | _ |___ ___ |_|___ ___| |_ 34.808 0.004: | | _| .'| . | . | | __| _| . | | | -_| _| _| 34.816 0.008: |__|__|_| |__,|_ |___| |__| |_| |___|_| |___|___|_| 34.820 0.004: |___| |___| 34.820 0.000:

34.824 0.004: Arago Project http://www.77cn.com.cn arago ttyS2 34.824 0.000:

34.828 0.004: Arago 2010.03 arago ttyS2 34.828 0.000:

It is taking close to 35 seconds to boot DA850/OMAP-L138/AM18x EVM.

Power Management measurements

Suspend/Resume timings

It takes 242.665 msecs to suspend and 632.285 msecs to resume with default kernel. Please find below log for individual module timings, captured by appending initcall_debug to kernel bootargs.

root@arago:~# rtcwake -s 2 -d /dev/rtc0 -m mem wakeup from "mem" at Sat Jan 1 00:00:48 2000 PM: Syncing filesystems ... done.

Freezing user space processes ... (elapsed 0.01 seconds) done.

Freezing remaining freezable tasks ... (elapsed 0.01 seconds) done. Suspending console(s) (use no_console_suspend to debug) calling mmc0:e624+ @ 1298, parent: mmc0 call mmc0:e624+ returned 0 after 10 usecs

calling soc-audio.0+ @ 1298, parent: platform call soc-audio.0+ returned 0 after 1037 usecs calling snd-soc-dummy+ @ 1298, parent: platform call snd-soc-dummy+ returned 0 after 4 usecs calling rtc0+ @ 1298, parent: omap_rtc call rtc0+ returned 0 after 27 usecs calling input1+ @ 1298, parent: 1-0048 call input1+ returned 0 after 3 usecs

calling input0+ @ 1298, parent: gpio-keys-polled.1 call input0+ returned 0 after 3 usecs calling usb1+ @ 5, parent: ohci.0 call usb1+ returned 0 after 70 usecs

calling davinci_mdio-0:00+ @ 1298, parent: davinci_mdio.0 call davinci_mdio-0:00+ returned 0 after 108 usecs calling mtd5ro+ @ 1298, parent: spi1.0 call mtd5ro+ returned 0 after 3 usecs calling mtd5+ @ 1298, parent: spi1.0 call mtd5+ returned 0 after 2 usecs

calling mtd4ro+ @ 1298, parent: spi1.0 call mtd4ro+ returned 0 after 1 usecs calling mtd4+ @ 1298, parent: spi1.0 call mtd4+ returned 0 after 1 usecs

TI 达芬奇平台的PSP版本简介.

calling mtd3ro+ @ 1298, parent: spi1.0 call mtd3ro+ returned 0 after 1 usecs calling mtd3+ @ 1298, parent: spi1.0 call mtd3+ returned 0 after 1 usecs

calling mtd2ro+ @ 1298, parent: spi1.0 call mtd2ro+ returned 0 after 1 usecs calling mtd2+ @ 1298, parent: spi1.0 call mtd2+ returned 0 after 2 usecs

calling mtd1ro+ @ 1298, parent: spi1.0 call mtd1ro+ returned 0 after 1 usecs calling mtd1+ @ 1298, parent: spi1.0 call mtd1+ returned 0 after 1 usecs

calling mtd0ro+ @ 1298, parent: spi1.0 call mtd0ro+ returned 0 after 1 usecs calling mtd0+ @ 1298, parent: spi1.0 call mtd0+ returned 0 after 1 usecs calling spi1.0+ @ 1298, parent: spi1 call spi1.0+ returned 0 after 3 usecs calling host0+ @ 5, parent: ata1 call host0+ returned 0 after 5 usecs calling ata1+ @ 5, parent: ahci

call ata1+ returned 0 after 218 usecs

calling serial8250+ @ 1298, parent: platform call serial8250+ returned 0 after 6 usecs

calling alarmtimer+ @ 1298, parent: platform call alarmtimer+ returned 0 after 6 usecs

calling davinci_emac.1+ @ 1298, parent: platform call davinci_emac.1+ returned 0 after 1949 usecs calling davinci_mdio.0+ @ 1298, parent: platform call davinci_mdio.0+ returned 0 after 23 usecs

calling nop_usb_xceiv.0+ @ 1298, parent: platform call nop_usb_xceiv.0+ returned 0 after 2 usecs calling 1-0073+ @ 1298, parent: i2c-1 call 1-0073+ returned 0 after 3 usecs calling 1-0065+ @ 1298, parent: i2c-1 call 1-0065+ returned 0 after 2 usecs

calling leds-gpio+ @ 1298, parent: platform call leds-gpio+ returned 0 after 1 usecs

calling gpio-keys-polled.1+ @ 1298, parent: platform call gpio-keys-polled.1+ returned 0 after 2 usecs calling 1-0021+ @ 1298, parent: i2c-1 call 1-0021+ returned 0 after 2 usecs calling 1-0020+ @ 1298, parent: i2c-1 call 1-0020+ returned 0 after 1 usecs calling 1-0018+ @ 1298, parent: i2c-1 call 1-0018+ returned 0 after 2 usecs

calling tps6507x-ts+ @ 1298, parent: 1-0048 call tps6507x-ts+ returned 0 after 2 usecs

calling tps6507x-pmic+ @ 1298, parent: 1-0048 call tps6507x-pmic+ returned 0 after 2 usecs calling 1-0048+ @ 1298, parent: i2c-1 call 1-0048+ returned 0 after 3 usecs

calling i2c-1+ @ 1298, parent: i2c-gpio.1 call i2c-1+ returned 0 after 1 usecs

calling musb-hdrc+ @ 1298, parent: musb-da8xx call musb-hdrc+ returned 0 after 3 usecs calling ecap.2+ @ 1298, parent: platform call ecap.2+ returned 0 after 1 usecs

calling pwm-backlight+ @ 1298, parent: platform call pwm-backlight+ returned 0 after 1 usecs calling ohci.0+ @ 1298, parent: platform call ohci.0+ returned 0 after 13239 usecs

calling musb-da8xx+ @ 1298, parent: platform call musb-da8xx+ returned 0 after 15 usecs calling ahci+ @ 1298, parent: platform call ahci+ returned 0 after 5 usecs

calling spi_davinci.1+ @ 1298, parent: platform call spi_davinci.1+ returned 0 after 13 usecs calling pm-davinci+ @ 1298, parent: platform call pm-davinci+ returned 0 after 2 usecs

calling cpuidle-davinci.0+ @ 1298, parent: platform call cpuidle-davinci.0+ returned 0 after 2 usecs calling cpufreq-davinci+ @ 1298, parent: platform call cpufreq-davinci+ returned 0 after 2 usecs calling omap_rtc+ @ 1298, parent: platform call omap_rtc+ returned 0 after 12 usecs

calling da8xx_lcdc.0+ @ 1298, parent: platform call da8xx_lcdc.0+ returned 0 after 213239 usecs calling pruss_uio+ @ 1298, parent: platform call pruss_uio+ returned 0 after 2 usecs

calling davinci-mcasp.0+ @ 1298, parent: platform call davinci-mcasp.0+ returned 0 after 2 usecs

calling davinci-pcm-audio+ @ 1298, parent: platform

TI 达芬奇平台的PSP版本简介.

call davinci-pcm-audio+ returned 0 after 1 usecs calling serial8250.0+ @ 1298, parent: platform call serial8250.0+ returned 0 after 92 usecs

calling davinci_mmc.0+ @ 1298, parent: platform call davinci_mmc.0+ returned 0 after 1135 usecs calling watchdog+ @ 1298, parent: platform call watchdog+ returned 0 after 3 usecs

calling i2c-gpio.1+ @ 1298, parent: platform call i2c-gpio.1+ returned 0 after 2 usecs calling edma+ @ 1298, parent: platform call edma+ returned 0 after 1 usecs

calling reg-dummy+ @ 1298, parent: platform call reg-dummy+ returned 0 after 2 usecs

PM: suspend of devices complete after 242.665 msecs PM: late suspend of devices complete after 0.705 msecs PM: Calling irq_gc_suspend+0x0/0x50

PM: Calling timekeeping_suspend+0x0/0x150 PM: Calling leds_suspend+0x0/0x28

PM: Calling cpufreq_bp_suspend+0x0/0x64 PM: Calling cpu_pm_suspend+0x0/0x20 PM: Calling cpu_pm_resume+0x0/0x18

PM: Calling cpufreq_bp_resume+0x0/0x68 PM: Calling leds_resume+0x0/0x24

PM: Calling timekeeping_resume+0x0/0x138 PM: Calling irq_gc_resume+0x0/0x4c

PM: Calling irq_pm_syscore_resume+0x0/0x18

calling musb-hdrc+ @ 1298, parent: musb-da8xx call musb-hdrc+ returned 0 after 3 usecs

PM: early resume of devices complete after 0.620 msecs calling reg-dummy+ @ 1298, parent: platform call reg-dummy+ returned 0 after 5 usecs calling edma+ @ 1298, parent: platform call edma+ returned 0 after 2 usecs

calling i2c-gpio.1+ @ 1298, parent: platform call i2c-gpio.1+ returned 0 after 2 usecs calling watchdog+ @ 1298, parent: platform call watchdog+ returned 0 after 2 usecs

calling davinci_mmc.0+ @ 1298, parent: platform call davinci_mmc.0+ returned 0 after 58973 usecs calling serial8250.0+ @ 1298, parent: platform call serial8250.0+ returned 0 after 232 usecs

calling davinci-pcm-audio+ @ 1298, parent: platform call davinci-pcm-audio+ returned 0 after 3 usecs calling davinci-mcasp.0+ @ 1298, parent: platform call davinci-mcasp.0+ returned 0 after 2 usecs calling pruss_uio+ @ 1298, parent: platform call pruss_uio+ returned 0 after 1 usecs

calling da8xx_lcdc.0+ @ 1298, parent: platform call da8xx_lcdc.0+ returned 0 after 223391 usecs calling omap_rtc+ @ 1298, parent: platform call omap_rtc+ returned 0 after 14 usecs

calling cpufreq-davinci+ @ 1298, parent: platform call cpufreq-davinci+ returned 0 after 2 usecs

calling cpuidle-davinci.0+ @ 1298, parent: platform call cpuidle-davinci.0+ returned 0 after 2 usecs calling pm-davinci+ @ 1298, parent: platform call pm-davinci+ returned 0 after 1 usecs

calling spi_davinci.1+ @ 1298, parent: platform call spi_davinci.1+ returned 0 after 23 usecs calling ahci+ @ 1298, parent: platform call ahci+ returned 0 after 21 usecs calling ata1+ @ 5, parent: ahci

calling musb-da8xx+ @ 1298, parent: platform Waiting for USB PHY clock good...

call musb-da8xx+ returned 0 after 318 usecs calling ohci.0+ @ 1298, parent: platform Waiting for USB PHY clock good...

call ohci.0+ returned 0 after 33 usecs calling usb1+ @ 1299, parent: ohci.0

calling pwm-backlight+ @ 1298, parent: platform call pwm-backlight+ returned 0 after 3 usecs calling ecap.2+ @ 1298, parent: platform call ecap.2+ returned 0 after 1 usecs

calling musb-hdrc+ @ 1298, parent: musb-da8xx call musb-hdrc+ returned 0 after 2 usecs calling i2c-1+ @ 1298, parent: i2c-gpio.1 call i2c-1+ returned 0 after 2 usecs calling 1-0048+ @ 1298, parent: i2c-1 call 1-0048+ returned 0 after 2 usecs

calling tps6507x-pmic+ @ 1298, parent: 1-0048 call tps6507x-pmic+ returned 0 after 1 usecs calling tps6507x-ts+ @ 1298, parent: 1-0048 call tps6507x-ts+ returned 0 after 2 usecs

TI 达芬奇平台的PSP版本简介.

calling 1-0018+ @ 1298, parent: i2c-1 call 1-0018+ returned 0 after 2 usecs calling 1-0020+ @ 1298, parent: i2c-1 call 1-0020+ returned 0 after 1 usecs calling 1-0021+ @ 1298, parent: i2c-1 call 1-0021+ returned 0 after 2 usecs

calling gpio-keys-polled.1+ @ 1298, parent: platform call gpio-keys-polled.1+ returned 0 after 1 usecs calling leds-gpio+ @ 1298, parent: platform call leds-gpio+ returned 0 after 1 usecs calling 1-0065+ @ 1298, parent: i2c-1 call 1-0065+ returned 0 after 1 usecs calling 1-0073+ @ 1298, parent: i2c-1 call 1-0073+ returned 0 after 1 usecs

calling nop_usb_xceiv.0+ @ 1298, parent: platform call nop_usb_xceiv.0+ returned 0 after 1 usecs calling davinci_mdio.0+ @ 1298, parent: platform call davinci_mdio.0+ returned 0 after 19 usecs calling davinci_emac.1+ @ 1298, parent: platform

davinci_mdio davinci_mdio.0: resetting idled controller

net eth0: attached PHY driver [SMSC LAN8710/LAN8720] (mii_bus:phy_addr=davinci_mdio-0:00, id=7c0f1) call davinci_emac.1+ returned 0 after 2916 usecs calling alarmtimer+ @ 1298, parent: platform call alarmtimer+ returned 0 after 3 usecs

calling serial8250+ @ 1298, parent: platform call serial8250+ returned 0 after 5 usecs call usb1+ returned 0 after 99428 usecs

ata1: SATA link down (SStatus 0 SControl 300) call ata1+ returned 0 after 334731 usecs calling host0+ @ 7, parent: ata1 call host0+ returned 0 after 4 usecs calling spi1.0+ @ 1298, parent: spi1 call spi1.0+ returned 0 after 5 usecs calling mtd0+ @ 1298, parent: spi1.0 call mtd0+ returned 0 after 3 usecs

calling mtd0ro+ @ 1298, parent: spi1.0 call mtd0ro+ returned 0 after 2 usecs calling mtd1+ @ 1298, parent: spi1.0 call mtd1+ returned 0 after 2 usecs

calling mtd1ro+ @ 1298, parent: spi1.0 call mtd1ro+ returned 0 after 1 usecs calling mtd2+ @ 1298, parent: spi1.0 call mtd2+ returned 0 after 2 usecs

calling mtd2ro+ @ 1298, parent: spi1.0 call mtd2ro+ returned 0 after 1 usecs calling mtd3+ @ 1298, parent: spi1.0 call mtd3+ returned 0 after 1 usecs

calling mtd3ro+ @ 1298, parent: spi1.0 call mtd3ro+ returned 0 after 1 usecs calling mtd4+ @ 1298, parent: spi1.0 call mtd4+ returned 0 after 1 usecs

calling mtd4ro+ @ 1298, parent: spi1.0 call mtd4ro+ returned 0 after 1 usecs calling mtd5+ @ 1298, parent: spi1.0 call mtd5+ returned 0 after 1 usecs

calling mtd5ro+ @ 1298, parent: spi1.0 call mtd5ro+ returned 0 after 1 usecs

calling davinci_mdio-0:00+ @ 1298, parent: davinci_mdio.0 call davinci_mdio-0:00+ returned 0 after 132 usecs calling input0+ @ 1298, parent: gpio-keys-polled.1 call input0+ returned 0 after 204 usecs calling input1+ @ 1298, parent: 1-0048 call input1+ returned 0 after 4 usecs calling rtc0+ @ 1298, parent: omap_rtc call rtc0+ returned 0 after 61 usecs

calling snd-soc-dummy+ @ 1298, parent: platform call snd-soc-dummy+ returned 0 after 3 usecs calling soc-audio.0+ @ 1298, parent: platform call soc-audio.0+ returned 0 after 16 usecs calling mmc0:e624+ @ 1298, parent: mmc0 call mmc0:e624+ returned 0 after 100 usecs

PM: resume of devices complete after 636.285 msecs Restarting tasks ... done.

root@arago:~# PHY: davinci_mdio-0:00 - Link is Up - 100/Full

ALSA SoC Audio Driver

Abstract

TI 达芬奇平台的PSP版本简介.

This chapter provides details on ALSA SoC audio driver along with CPU load numbers.

Introduction

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

1.The driver supports the following features:

2.Supports AIC3106 audio codec in ALSA SoC framework.

TI 达芬奇平台的PSP版本简介.

3.Multiple sample rate support (8 KHz, 44.1 KHz and 48 KHz commonly used) for both capture and playback.

4.Supports audio in stereo mode.

5.Supports simultaneous playback and record (full-duplex mode). 6.Start, stop, pause and resume feature.

7.Supports mixer interface for audio codecs.

Features Not Supported

1.Does NOT support OSS based applications using OSS emulation layer. 2.Driver will not work if built as module.

Constraints

■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

Refer ALSA project - the C library reference [1] (http://www.77cn.com.cn/alsa-doc/alsa-lib/) for API calls.

Performance and Benchmarks

The performance numbers were captured using the following: ■Word length in bits = 16

■Number of channels per sample = 2

Audio Write Performance Sampling Rate

(in Hz)

CPU Load (in %) 300 MHz

456 MHz

Audio Read Performance Sampling Rate

(in Hz)

CPU Load (in %) 300 MHz

456 MHz

TI 达芬奇平台的PSP版本简介.

Ethernet Driver

Abstract

This chapter provides details on Ethernet driver along with throughput and CPU load numbers.

Introduction

The Ethernet driver supports the Linux netdev interface.

Driver Features

The driver supports the following features: 1.2.3.4.5.6.

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

TI 达芬奇平台的PSP版本简介.

7.Support for MII and RMII interfaces to PHY

Supported System Calls

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

Performance and Benchmarks

Ethernet 100Mbps Mode Performance TCP

Interval

Window

(in

Size(in

Seconds)

KBytes) 300 456 300 456

MHz MHz MHz MHz 32 64 128

NOTE

RMII PHY support is available only on DA850/OMAPL138/AM18x. CPU load during the performance test is 88%

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". This starts bi-directional traffic to the server for a duration of 60 seconds.

■Iperf tool is run on the DUT1 in server mode and on DUT2 in client mode. Version 2.0.4 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

60 60 60

Transfer Rate MII PHY (in Mbps)

Transfer Rate RMII PHY (in Mbps)

Graphical LCD (GLCD) Driver (DA850/OMAP-L138/AM18x)

Abstract

This chapter describes the GLCD driver architecture, driver features and performance numbers (throughput and CPU load).

TI 达芬奇平台的PSP版本简介.

GLCD driver is based on Fbdev framework.

Driver Features

1.2.3.4.

Supports QVGA display through Fbdev framework.Supports display of RGB565 images.

Supports getting andsetting the variable screen information. Supports retrieving the fixed screen information.

Features Not Supported

1.Brightness and color control ioctls not supported.

Supported System Calls

open(), close(), read(), mmap(), ioctl()

NAND Driver

Abstract

This chapter describes the NAND flash driver architecture, driver features and performance numbers (throughput and CPU load).

TI 达芬奇平台的PSP版本简介.

The NAND driver is implemented as a character and block driver, compliant with the Linux MTD subsystem interface. It supports various NAND Flash chips (see file drivers/mtd/nand/nand_ids.h in Linux kernel sources) The NAND driver creates the device nodes for user space access (/dev/mtdblock0, /dev/mtdblock1, /dev/mtd0,/dev/mtd1 and so on.).

This figure illustrates the stack diagram of NAND flash driver in Linux.

Driver Features

The driver supports the following features: 1.2.3.4.5.

JFFS2 and UBIFS file system support 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

1.flash_eraseall with -j option fails. Please use without -j option

Supported System Calls

Supports the system call support proivided by Linux MTD interface viz. open(), close(), read(), write(), ioctl()

Performance Benchmarks

NAND Write performance values

本文来源:https://www.bwwdw.com/article/krum.html

Top