(Lab Port) OMAP/DaVinci/Sitara System Integration using Linux Workshop
From Texas Instruments Embedded Processors Wiki
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:
For those people interested in a live workshop, please access the locations and schedule at
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
- Laptop PC:
- Must have at least 40 GB harddrive
- 1 RJ-45 Ethernet port
- RS-232 port or USB to RS-232 adapter
- (Note: AM3517 EVM also supports UART over USB debugging without an adapter)
- Logic PD Zoom AM3517 EVM development kit :
- http://focus.ti.com/docs/toolsw/folders/print/tmdxevm3517.html?DCMP=dsps_arm_102109&HQS=Other+OT+sitara-prtools
- Model Number: TMDXEVM3517
- Require either Logic PD Zoom EVM or OMAP3530 EVM (next bullet), not both
- Mistral OMAP EVM (Rev. G tested) :
- http://focus.ti.com/docs/toolsw/folders/print/tmdsevm3530.html?DCMP=dsps_omap3530prf__090819&HQS=Other+OT+OMAP3530perf-increase-prtools
- Model Number: TMDSEVM3530
- Require either Logic PD Zoom EVM or OMAP3530 EVM (next bullet), not both
- Ethernet Crossover Cable:
- (Not included with Zoom EVM development kit)
- RS-232 null modem cable
- (Included with Zoom EVM development Kit)
- NTSC or PAL video source
- Composite video, standard definition
- (Not included with Zoom EVM development Kit)
- Composite Video cable
- Connects to development board via RCA jack
- Audio source
- Audio cable
- Connects to development board via headphone jack (3.5mm TRS)
- Speakers or Headphone
- Should be powered (uses Line-out not Headphone-out on Zoom EVM)
- Connects to board via 3.5mm TRS connector (standard headphone jack)
Software Requirements & Setup
- Windows XP operating system
- Other operating systems may work, but labs have been tested with Windows XP
- Terra Term Pro
- Download from workshop repository: http://software-dl.ti.com/trainingTTO/trainingTTO_public_sw/am3517_odw/ttermp23.zip
- Or from supllier: http://hp.vector.co.jp/authors/VA002416/ttermp23.zip
- VMWare Player version 3.0 or later
- Download from workshop repository: http://software-dl.ti.com/trainingTTO/trainingTTO_public_sw/am3517_odw/VMware-player-3.0.1-227600.exe
- Or from supplier: http://downloads.vmware.com/d/info/desktop_downloads/vmware_player/3_0
- (Note: this may be replaced with VMware Workstation 6.5.3 or later if available, although this requires a license)
- Lab Files:
- September 21, 2010 OMAP3530 lab solutions (lab ports for most lab exercises, virtual machine only has the final lab).
- Simply overinstall the following .tar.gz file (tar zxf solutions_omap_09_21_10.tar.gz) at /home/user/Desktop:
- MD5 checksum for solutions_omap_09_21_10.tar.gz: A06FB8259895BD9585A4000475A59A5B
- http://software-dl.ti.com/trainingTTO/trainingTTO_public_sw/OMAPAM3517labport/solutions_omap_09_21_10.tar.gz
- AM3517_OMAP3530 VMware virtual machine image (07 September 2010):
- (two part zip file. Download all three files to same folder and open .zip extension)
- (Your browser may attempt to rename the .z01, .zo2, .z03 extensions to zip, don't let it!!!)
- MD5 checksum for AM3517_OMAP3530_labport.zip: 6B0BFE39A42F64D3FF84B2772F63531C
- http://software-dl.ti.com/trainingTTO/trainingTTO_public_sw/OMAPAM3517labport/AM3517_OMAP3530_labport.zip
- MD5 checksum for AM3517_OMAP3530_labport.z01: F9B996AA7402487847E3B0D906277F41
- http://software-dl.ti.com/trainingTTO/trainingTTO_public_sw/OMAPAM3517labport/AM3517_OMAP3530_labport.z01 (See warning above)
- MD5 checksum for AM3517_OMAP3530_labport.z02: 2A032511FD50700494EC56A882EA7B31
- http://software-dl.ti.com/trainingTTO/trainingTTO_public_sw/OMAPAM3517labport/AM3517_OMAP3530_labport.z02 (See warning above)
- MD5 checksum for AM3517_OMAP3530_labport.z03: F354727E4420311A4F7FF7229F053D99
- http://software-dl.ti.com/trainingTTO/trainingTTO_public_sw/OMAPAM3517labport/AM3517_OMAP3530_labport.z03 (See warning above)
- September 21, 2010 OMAP3530 lab solutions (lab ports for most lab exercises, virtual machine only has the final lab).
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
Leave a Comment