Alvis Product Introduction - Digital Media Processor Platform
description
Transcript of Alvis Product Introduction - Digital Media Processor Platform
AlvisProduct
Introduction
Open Telecom for Open Minds
1222-1-HCA-1018-2-1.0
Copyright ©Odin TeleSystems Inc.
2008
Alvis Product Introduction
- Digital Media Processor Platform
Odin TeleSystems is a Texas Instruments’ Third Party Member.DaVinci is a trademark of Texas Instruments.
Certain portions of this presentation are provided by Texas Instruments.
AlvisProduct
Introduction
Open Telecom for Open Minds
1222-1-HCA-1018-2-1.0
Copyright ©Odin TeleSystems Inc.
2008
Glossary -A bunch of letter combinations?
• OTX – Odin Telecom FrameworkX• DSP – Digital Signal Processor• DMP – Digital Media Processor
(ARM + DSP) • DMM – Digital Media Module• Li – Line Interface (e.g. T1/E1)• NIC – Network Interface Card (e.g.
Thor-8-PCI-Plus)• CE – Codec Engine
AlvisProduct
Introduction
Open Telecom for Open Minds
1222-1-HCA-1018-2-1.0
Copyright ©Odin TeleSystems Inc.
2008
Alvis -What is it?
• OTX Daughter board with up to 4 DaVinci (Texas Instruments) Digital Media Processors (DMP)
• Each processor has two cores: ARM9 and C64x+• 4752 DSP MIPS and 400 MHz ARM processing
power• Gb Ethernet port (internal Ethernet switch)• MontaVista Linux Operating System (Windows CE
option [future])• TDM interface to host NIC card (e.g. Thor-8-PCI-
Plus-2.0)• 3 versions available (1, 2 and 4 DMPs)
AlvisProduct
Introduction
Open Telecom for Open Minds
1222-1-HCA-1018-2-1.0
Copyright ©Odin TeleSystems Inc.
2008
Alvis -What is it?
• OTX Daughter board with up to 4 DaVinci (Texas Instruments) Digital Media Processors (DMP)
• Each processor has two cores: ARM9 and C64x+• 4752 DSP MIPS and 400 MHz ARM processing
power• Gb Ethernet port (internal Ethernet switch)• MontaVista Linux Operating System (Windows CE
option [future])• TDM interface to host NIC card (e.g. Thor-8-PCI-
Plus-2.0)• 3 versions available (1, 2 and 4 DMPs)
AlvisProduct
Introduction
Open Telecom for Open Minds
1222-1-HCA-1018-2-1.0
Copyright ©Odin TeleSystems Inc.
2008
Alvis -What can it be used for?
Suitable for virtually any processor-intensive voice or video application, for example:
• RTP to E1/T1streaming and transcoding• VoIP Gateway (SIP and E1/T1 solutions)• Soft-switch• Data compression and decompression of a
vast amount of timeslots• 3G Codec transcoding applications• Traditional TDM telephony algorithms like
DTMF, MF, VAD, Echo Cancellation, etc.
AlvisProduct
Introduction
Open Telecom for Open Minds
1222-1-HCA-1018-2-1.0
Copyright ©Odin TeleSystems Inc.
2008
Alvis-ASM -Benefits?
• MIPS - One of the most powerful processor platform per occupied space in the industry.
• Multi-thread - Dual core device provides for multi-threading applications in a very a small footprint.
• Linux - Open development platform using industry standard operating systems and tools (Linux and U-boot) provides for rapid project development, ease of use and expandability.
• Redundancy – Internal Ethernet switch can be configured for port mirroring between processors
• OTX – Standard OTX API functions can be used to interface to the Alvis-ASM board as well to develop internal embedded applications to be executed on the Alvis processors (DMPs).
AlvisProduct
Introduction
Open Telecom for Open Minds
1222-1-HCA-1018-2-1.0
Copyright ©Odin TeleSystems Inc.
2008
Alvis-ASM -What SW package are included?
• MontaVista Linux Board Support Package from Texas Instruments (DVEVM)
• OTX HW SDK (host application SDK)• Selected Codecs:
– G.711 Codec (a-law/u-law)
– G.723.1 decoder
– G.729AB decoder
• OTX Standard SPMs (tone generators and detectors, HDLC encoder/decoder).
AlvisProduct
Introduction
Open Telecom for Open Minds
1222-1-HCA-1018-2-1.0
Copyright ©Odin TeleSystems Inc.
2008
Alvis-ASM -What SW package can be added?
• Video/ImagingDecoders: MPEG-4 SP, H.263 p0, H.264 BP,
H.264 MP, MPEG-2 MP, WMV9 MP/AP, VC1, JPEG
Encoders: MPEG-4 SP, H.264 BP, JPEG
• Voice/SpeechWireline Voice Codecs: G.722, G.726Wireless Voice Codecs: GSM-AMR, GSM-FR,
GSM-EFR, EVRC, WB-AMR - G/722.2
• AudioDecoders: MP3, WMA9, AAC LC, AAC HE, AC3Encoders: WMA8, AAC LC, AAC HE
AlvisProduct
Introduction
Open Telecom for Open Minds
1222-1-HCA-1018-2-1.0
Copyright ©Odin TeleSystems Inc.
2008
Alvis-ASM -what does it look like?
AlvisProduct
Introduction
Open Telecom for Open Minds
1222-1-HCA-1018-2-1.0
Copyright ©Odin TeleSystems Inc.
2008
TDM Data Path -How do the highways connect?
Alvis-2-ASM
EthernetL2 Switch10/100/1000
Ethernet Phy
TDM
FPGA
OTX NIC Base Card
TDM
TDM
ARM
DSP
Digital Media Processor
ARM
DSP
Digital Media Processor
Ethernet
Ethernet
Ethernet
Ethernet
TSS
H.100 bus
TDMTransceivers TDMTDM
Ethernet
ASM interface
Ethernet
OtxDrvHost
Driver(PC)
PC
I Bu
s
AlvisProduct
Introduction
Open Telecom for Open Minds
1222-1-HCA-1018-2-1.0
Copyright ©Odin TeleSystems Inc.
2008
TDM Data Path -More details, please…
Alvis-2-ASMTSS TDM Highway Numbers
1x8M
FPGA
Thor-8-PCI-Plus NIC Card
1x8M
TSS[8-11]4x8M
ARM
DSP
Digital Media Processor
#1
TSS
H.100 busTSS[0]1x8M
Quad T1E1#0
TSS[16-47]32x8M
4 E1/T1 spans
ASM interface
Quad T1E1#1 TSS[1]
1x8M
4 E1/T1 spans
TSS[8]
TSS[9]Digital Media Processor
#0
ARM
DSP
AlvisProduct
Introduction
Open Telecom for Open Minds
1222-1-HCA-1018-2-1.0
Copyright ©Odin TeleSystems Inc.
2008
Processor Subsystem
256 MbyteDDR2
Memory
128MBNAND Flash
ARM9core
DSPC64x+core
TMS320DM6443Digital Media Processor
32-bit
8-bit
Processor Subsystem -What resources does each processor have?
AlvisProduct
Introduction
Open Telecom for Open Minds
1222-1-HCA-1018-2-1.0
Copyright ©Odin TeleSystems Inc.
2008
Packet Switching Subsystem -How are packets routed?
Alvis-2-ASM Packet Switching Subsystem
EthernetL2 Switch
10/100/1000 Ethernet PHY
FPGA(expansion)
ARM
DSP
Digital Media Processor
ARM
DSP
Digital Media Processor
LAN/WAN/Internet
OtxDrvHost
Driver(PC)
AlvisProduct
Introduction
Open Telecom for Open Minds
1222-1-HCA-1018-2-1.0
Copyright ©Odin TeleSystems Inc.
2008
Debugging Subsystem -UART ports?
DMP0Serial Port Connector
Alvis-ASM board
J3
3.87
5"
4.5"
2x70
pin
boa
rd s
tack
con
nect
or
2x70
pin
boa
rd s
tack
con
nect
or
DMP1Serial Port Connector
DMP2Serial Port Connector
DMP3Serial Port Connector
USB Connector
J4
J5
J6
J7
AlvisProduct
Introduction
Open Telecom for Open Minds
1222-1-HCA-1018-2-1.0
Copyright ©Odin TeleSystems Inc.
2008
Software Subsystem -What runs where?
• U-Boot (customized for Alvis)• Flash environment variables• IP and MAC address settings• NFS or Flash boot• Linux kernel• JFFS2• USB
AlvisProduct
Introduction
Open Telecom for Open Minds
1222-1-HCA-1018-2-1.0
Copyright ©Odin TeleSystems Inc.
2008
ARM vs DSP partitioning
ARM acts as a master processor:
• User Controls• File System• Peripheral
drivers• TCP/IP stack• Can also run
lower-MIPS algorithms
DSP abstracted as “black box”:
• Runs processing-intensive algorithms such as voice codecs with hard real-time deadlines
• Defined ways of interfacing with the black box, optimized for multi-media algorithms
AlvisProduct
Introduction
Open Telecom for Open Minds
1222-1-HCA-1018-2-1.0
Copyright ©Odin TeleSystems Inc.
2008
Software Subsystem -Software Stack
AlvisProduct
Introduction
Open Telecom for Open Minds
1222-1-HCA-1018-2-1.0
Copyright ©Odin TeleSystems Inc.
2008
Boot Process (U-boot)• Boot selection from OTX Host Application (UART/Flash)• ARM executes U-Boot (typically from Flash)
– UBoot configures DMP peripherals– Displays prompt on UART– Allows user to change / save parameter settings
• U-Boot interprets settings and loads Linux into DDR2• Linux consists of 2 (fairly independent) components:
• Kernel• File system
• Several options how these two components can be provided (see table below):
• U-Boot starts Linux• Outputs can be observed on UART• Can log-in to ARM Linux from host PC via
• UART• Telnet
• Linux can be configured to auto-run programs afterstart-up (e.g. an OTX DMP application)
AlvisProduct
Introduction
Open Telecom for Open Minds
1222-1-HCA-1018-2-1.0
Copyright ©Odin TeleSystems Inc.
2008
Alvis Target Development
• ARM project files are edited and compiled on the host PC– Cross-compiler/linker generate ARM executable– Run either on native or virtual Linux PC (VMWare)
• ARM executable is placed into a host directory (e.g. ~/targetdir), which is NFS-mounted into ARM Linux (e.g. as /mnt/host)
• ARM Linux can execute the program even though it is located on the remote network drive
• For debugging, the target program is invoked on the ARM indirectly by a debug server, which IDEs like ddd or DevRocket can connect to via Ethernet
/mnt/host> gdbserver <host IP address>:1000 hello.out
• IDEs can set breakpoints / watch variables / step / run the program via TCP/IP commands to the gdbserver program
AlvisProduct
Introduction
Open Telecom for Open Minds
1222-1-HCA-1018-2-1.0
Copyright ©Odin TeleSystems Inc.
2008
Software Subsystem -Accessing peripheral drivers
• User space programs can not access any peripheral directly
• Peripheral access is exclusively done in drivers (from kernel space)Serial – UARTStorage – NAND FlashNetwork – EthernetUSB – Mass storageHost - OtxDaVinci driver
• Drivers can be accessed from user programs through logical “files” in the /dev directory, e.g./dev/mtd2 is the gate to the JFFS2
driver/dev/mtd0 is the gate to the u-
boot environment variables
AlvisProduct
Introduction
Open Telecom for Open Minds
1222-1-HCA-1018-2-1.0
Copyright ©Odin TeleSystems Inc.
2008
Software Subsystem -Accessing multi-media codecs
• Low-MIPS (e.g. audio) multi-media algorithms can be configured to run on the ARM core itself.
• Similar to peripherals, they can’t be called directly, but only through the Codec Engine (CE) API
• Every CE algorithm provides four APIs:
– create– control– process– delete
• There are eight algorithm classes:
– Video encode / decode– Imaging encode / decode– Speech encode / decode– Audio encode / decode
with corresponding API prefixes:
e.g. SPHDEC_ or AUDENC_
AlvisProduct
Introduction
Open Telecom for Open Minds
1222-1-HCA-1018-2-1.0
Copyright ©Odin TeleSystems Inc.
2008
RTP Demo
• Demonstrates how to receive RTP packets via Ethernet
• Demonstrates how to decode G.729 encoded voice data stream
• Demonstrates how to encode the data stream to G.711 (a-law/u-law)
• Demonstrates how to route the a-law/u-law data to a timeslot on one of the E1 spans of Thor-8-PCI-Plus
AlvisProduct
Introduction
Open Telecom for Open Minds
1222-1-HCA-1018-2-1.0
Copyright ©Odin TeleSystems Inc.
2008
RTP demo -RTP Packet to TDM transcoding application
AlvisProduct
Introduction
Open Telecom for Open Minds
1222-1-HCA-1018-2-1.0
Copyright ©Odin TeleSystems Inc.
2008
Questions & Answers
AlvisProduct
Introduction
Open Telecom for Open Minds
1222-1-HCA-1018-2-1.0
Copyright ©Odin TeleSystems Inc.
2008
Alvis-ASM Product Overview
The End