Android2.3 dvsdk

Source: Internet
Author: User

1. Download http://code.google.com/p/rowboat/dedicated android2.3. The difference between this download and official download is:
Added two directories
/Hardware/Ti/OMX
/External/Ti-DSP
2. dvsdk: Digital Video software development kit
It contains dsplink, DSP/bios, codec-enginer, dedicated codec-omap3530 codecs, dvtb, demo, Linux Kernel
3. Install dvsdk to Android
Under the Ti-DSP/directory
Fake-toolchain get_tidsp.sh install_dvsdk4.exp makefile md5sum. List Patches
The installation script is included to facilitate installation of the dvsdk, including environment configuration. The script file first checks whether the installed directory is installed.
Check whether the installation package is installed. patch the installation package.
When running the script, you need to install reverse CT.
Tcl8.5.12-src.tar.gz tk8.5.12-src.tar.gz expect5.45.tar.gz
./Configure
Make
Make install
The default installation path is/usr/local/
Therefore, you need to change the script in Ti-DSP.
Install_dvsdk4.exp
#! /Usr/local/bin/CT-F
Install Android during compilation
Android/build/CORE/rowboat. mk
Dsp_path: = $ (wildcard external/Ti-DSP)
To compile OMX and Ti-DSP, OMX needs to use the library in the dvsdk OF Ti-DSP before compiling
Make-C external/Ti-DSP combo_target = $ (combo_target) tools_prefix) host_prebuilt_tag = $ (host_prebuilt_tag)
Make-C Hardware/Ti/OMX combo_target = $ (combo_target) tools_prefix) host_prebuilt_tag = $ (host_prebuilt_tag)
4. After compilation, the generated library will be automatically copied to the file system.
CP/hardware/Ti/OMX/Video/libomx_dsp_video_sharedlibrary.so
Out/target/product/myboard/system/lib
CP/hardware/Ti/OMX/Audio/libomx_dsp_audio_sharedlibrary.so
Out/target/product/myboard/system/lib
CP/hardware/Ti/OMX/interface/libdspengineiface. So
Out/target/product/myboard/system/lib
5. Generate Ko
Out/target/product/myboard/system/Ti-DSP/
Cmemk. Ko CS. x64p dsplinkk. Ko lpm_omap3530.ko sdmak. Ko
Modify init. RC
# Load DSP modules
Insmod/system/Ti-DSP/cmemk. Ko "phys_start = 0x84f00000 phys_end = 0x85900000 allowoverlap = 1 useheaplfpooiunavailable = 1"
Insmod/system/Ti-DSP/dsplinkk. Ko
Insmod/system/Ti-DSP/lpm_omap3530.ko
Insmod/system/Ti-DSP/sdmak. Ko

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.