Working with OMAP3530 Mega Codec Server
From Texas Instruments Embedded Processors Wiki
Translate this page to
^ Up to main OMAP35x DVEVM Getting Started Guide Table of Contents
This page guides the user on the build procedure for using the OMAP3525/3530 Mega Codec Server (ms1omap3530) with OMAP3x DVSDK 3.01 as well as modifications necessary to run the DVSDK demo executables with the mega codec server
Contents |
Building the Mega Codec Server with OMAP3x DVSDK 3.01
- The OMAP3x Mega Codec Server is available on the Linux OMAP3x DVSDK 3.01.<xx>.<yy> release page under collaterals as ms1omap3530_setupLinux_1_00_00-prebuilt-dvsdk3.01.<xx>.<yy>.bin. Download the linux executable to your linux machine.
- Install the mega codec server linux executable under the OMAP3525/3530 3.01.<xx>.<yy> DVSDK installation. While installing, it will prompt for license accepatance. Kindly read through the license before accepting and proceeding with the installation
- Edit the Rules.make file to modify the codec server install path as given below and save the file
Replace CODEC_INSTALL_DIR=$(DVSDK_INSTALL_DIR)/cs1omap3530_1_01_00 with CODEC_INSTALL_DIR=$(DVSDK_INSTALL_DIR)/ms1omap3530_1_00_00
- Perform clean build for the codecs as well as the DMAI, DVSDK demos and DVTB after modifying the Rules.make
host $ make codecs_clean host $ make codecs host $ make clean host $ make all
- Install the newly built codec server libraries as well the DVSDK demo executables in your target file system
host $ make install
Executing the DVSDK demos with Mega Codec Server executable
- The MEM variable in the bootargs needs to be modified to use 99M instead of 100M. This is because the OMAP3525/3530 Mega Codec Server code and data LPDDR memory requirements is 4MB as compared to the OMAP3530/3530 TSPA codec server's 3MB.
For example in case of boot from NFS,
setenv bootargs 'mem=99M console=ttyS0,115200n8 noinitrd ip=dhcp rw root=/dev/nfs
nfsroot=<nfsserver_ip>:/home/<useracct>/workdir/filesys,nolock
mpurate=600 omapfb.rotate=1 omapfb.vrfb=y'
[NOTE: Ensure that the above command is given in a single line]
- Edit the loadmodules.sh under <your_target_file_system>/opt/dvsdk/omap3530 to use the addresses given below and save the file
REPLACE insmod cmemk.ko phys_start=0x86400000 phys_end=0x87300000 pools=1x3000000,1x1429440,6x1048576,4x829440,1x327680,1x256000,7x131072,20x4096 allowOverlap=1 WITH insmod cmemk.ko phys_start=0x86300000 phys_end=0x87200000 pools=1x3000000,1x1429440,6x1048576,4x829440,1x327680,1x256000,7x131072,20x4096 allowOverlap=1
- Boot/Reboot the OMAP3525/3530 EVM
- Execute the DVSDK demos
