(Lab Port) OMAP/DaVinci/Sitara System Integration using Linux Workshop

From Texas Instruments Embedded Processors Wiki

Jump to: navigation, search
Translate this page to   


Contents

Under Construction

Please note that this page is currently under construction.

Purpose

The "OMAP/DaVinci/Sitara System Integration using Linux" workshop is currently under the process of having its lab exercises updated to run on the Mistral OMAP3530 EVM and the LogicPD AM3517 EVM. (Currently the lab exercises run on the DM6446 EVM, the original platform they were developed for.)

At this time, the final lab solution has been ported to both platforms and a VMware image created from which to run the lab solution. While further work will be required before the full set of lab exercises and instructions have been integrated into the "OMAP/DaVinci/Sitara System Integration using Linux" workshop, customers may find this final lab solution valuable as an example program. Additionally, the VMware image may be valuable as a development platform.

The full DM6446 four-day workshop with student guide (workshop slides) and lab instructions can be accessed from the following page:

Online Materials and Labs

For those people interested in a live workshop, please access the locations and schedule at

OMAP™/DaVinci™ System Integration using Linux Workshop agenda, locations, and schedule


Description

The lab solution contained in this VMware image implements Audio and Video loopthrough threads. In the video thread, audio input is sampled via the Linux ALSA driver, encoded via the Codec Engine AUDENC_process call, decoded via the Codec Engine AUDDEC_process call and then output via the Linux ALSA driver. These steps are implemented via the Texas Instruments DMAI software layer. Please note that the audio encoder and decoder in question are actually the "copy codec" examples from the Codec Engine installation.

The video thread samples NTSC or PAL Composite video input via the Linux V4L2 driver. The vidio is then encoded via VIDENC_process, decoded via VIDDEC_process and dsplayed on the board's LCD via the Linux V4L2 driver. Additionally, a simple on-screen display with a scrolling 24-bit RGB bitmapped banner is implemented via the Linux FBDEV driver and overlayed ontop of the moving video on the LCD. OSD transparency is also demonstrated via a circular semi-transparent frame. As with the audio thread, the codecs used are the "copy codec" examples from the Codec Engine Installation, and as with the audio thread, these steps are implemented via the Texas Instruments DMAI software layer.

Audio, video and osd are each implemented in seperate Linux POSIX threads (pthreads). Audio and Video I/O are implemented on the ARM Cortex-A8 core via Linux drivers. For the OMAP3530 platform, encoding and decoding via the Codec Engine are performed on the C64x DSP core using an example DSP server from the Codec Engine installation. For the AM3517, encoding and decoding via the Codec Engine are performed on the ARM Cortex-A8 core. For both platforms the V4L2 and FBDEV rotation features are demonstrated with 90-degree rotations. (Both labs have a rotated and a non-rotated version.)

There is currently a known issue in the AM3517 rotation example wherein the lab will execute correctly once upon Linux reset, but will fail upon subsequent execution (behaving correctly again after a reset of the board.)

Hardware Requirements


Software Requirements & Setup

Lab Setup and Execution Instructions

The followin .zip archive contains the lab setup and execution instructions as well as script files referenced by the lab setup instructions (07 September 2010):

MD5 checksum for AM3517_OMAP3530_lab_setup.zip: 418AB7FCB419058F1371E41572D166FD

http://software-dl.ti.com/trainingTTO/trainingTTO_public_sw/OMAPAM3517labport/AM3517_OMAP3530_lab_setup.zip creative writing services

E2e.jpg For technical support on OMAP please post your questions on The OMAP Forum. Please post only comments about the article (Lab Port) OMAP/DaVinci/Sitara System Integration using Linux Workshop here.
Hyperlink blue.png Links
ARM Microcontroller MCU ARM Processor Digital Media Processor Digital Signal Processing Microcontroller MCU Multi Core Processor
Ultra Low Power DSP 8 bit Microcontroller MCU 16 bit Microcontroller MCU 32 bit Microcontroller MCU

Leave a Comment
Personal tools
Namespaces
Variants
Actions
Navigation
Print/export
Toolbox