ST7105: Difference between revisions

From Qt Wiki
Jump to navigation Jump to search
No edit summary
 
No edit summary
Line 1: Line 1:
{| class="infotable line"
[[Category:Devices]]
! Architecture
 
! '''SH4'''
{|
!Architecture
!'''SH4'''
|-
|-
| <span class="caps">CPU</span>
|CPU
| SH430
|SH430
|-
|-
| <span class="caps">RAM</span>
|RAM
| ???MB
|???MB
|-
|-
| Hardware acceleration
|Hardware acceleration
| DirectFB
|DirectFB
|-
|-
| Qt 4.8 (DirectFB/QWS)
|Qt 4.8 (DirectFB/QWS)
| Supported, no OpenGL
|Supported, no OpenGL
|}
|}


==Device Information==
== Device Information ==


The ST7105 is made by [http://www.st.com/internet/imag_video/product/216978.jsp <span class="caps">STM</span>icroelectronics] ''[st.com]''.
The ST7105 is made by &quot;STMicroelectronics&amp;quot;:http://www.st.com/internet/imag_video/product/216978.jsp.


* “The STi7105 is targeted at the latest Operator and CE manufacturer requirements for <span class="caps">STB</span>s which utilize advanced HD decoding (H264/VC- 1/MPEG2), and which conform to <span class="caps">DVB</span>, <span class="caps">ISMA</span>, <span class="caps">ATIS</span>-<span class="caps">IIF</span>, <span class="caps">SCTE</span>, DirecTV, <span class="caps">ATSC</span>, <span class="caps">ARIB</span>, <span class="caps">CEA</span>, <span class="caps">ITU</span>, OpenCable and <span class="caps">MSTV</span> specifications.
* &quot;The STi7105 is targeted at the latest Operator and CE manufacturer requirements for STBs which utilize advanced HD decoding (H264/VC- 1/MPEG2), and which conform to DVB, ISMA, ATIS-IIF, SCTE, DirecTV, ATSC, ARIB, CEA, ITU, OpenCable and MSTV specifications.&quot;


* [http://www.st.com/internet/imag_video/product/216978.jsp] STi7105 Low cost advanced HD decoding IC for <span class="caps">STB</span> and iDTV
* [http://www.st.com/internet/imag_video/product/216978.jsp] STi7105 Low cost advanced HD decoding IC for STB and iDTV


===Software===
=== Software ===


# <span class="caps">STM</span> <span class="caps">SDK</span> 3.6A
# STM SDK 3.6A
# [http://www.stlinux.com/install <span class="caps">STL</span>inux-2.4] ''[stlinux.com]''
# &quot;STLinux-2.4&amp;quot;:http://www.stlinux.com/install  
# sh4-linux crosstools from <span class="caps">STM</span>
# sh4-linux crosstools from STM


==Qt 4.8.0 DirectFB/QWS==
== Qt 4.8.0 DirectFB/QWS ==


===Assumptions===
=== Assumptions ===


# <span class="caps">STM</span> reference software <span class="caps">SDK</span> 3.6A is built on Host PC as conveyed in <span class="caps">STM</span>’s documentation given by <span class="caps">STM</span>’s Field Application Engineer.
# STM reference software SDK 3.6A is built on Host PC as conveyed in STM's documentation given by STM's Field Application Engineer.
# Can run <span class="caps">STM</span>’s “Test-Tool” on reference board to test DirectFB and media playback.
# Can run STM's &quot;Test-Tool&amp;quot; on reference board to test DirectFB and media playback.


===Getting Qt 4.8.0 with <span class="caps">STM</span> patches and mkspecs===
=== Getting Qt 4.8.0 with STM patches and mkspecs ===


# Download ftp://ftp.stlinux.com/pub/stlinux/2.4/updates/SRPMS/stlinux24-target-qt-embedded-4.8.0-5.src.rpm
# Download ftp://ftp.stlinux.com/pub/stlinux/2.4/updates/SRPMS/stlinux24-target-qt-embedded-4.8.0-5.src.rpm
Line 55: Line 57:
## qt-embedded-4.8.0-st231_disable_fno-stack-protector.patch
## qt-embedded-4.8.0-st231_disable_fno-stack-protector.patch
## qt-embedded-4.8.0-Accelerate_QtWebKit_animated_images.patch
## qt-embedded-4.8.0-Accelerate_QtWebKit_animated_images.patch
# Create folder named “linux-sh4-ST7105-g++” in “qt-everywhere-opensource-src-4.8.0/mkspecs/qws”
# Create folder named &quot;linux-sh4-ST7105-g+''&quot; in &quot;qt-everywhere-opensource-src-4.8.0/mkspecs/qws&amp;quot;<br /># Get following files in &quot;qt-everywhere-opensource-src-4.8.0/mkspecs/qws/linux-sh4-ST7105-g&quot;<br />## https://gitorious.org/qt-platform-mkspecs/qt-platform-mkspecs/blobs/master/4.8/qws/linux-sh4-ST7105-g/qmake.conf<br />## https://gitorious.org/qt-platform-mkspecs/qt-platform-mkspecs/blobs/master/4.8/qws/linux-sh4-ST7105-g/qplatformdefs.h
# Get following files in “qt-everywhere-opensource-src-4.8.0/mkspecs/qws/linux-sh4-ST7105-g++”
<br />h3. Compiling Qt 4.8.0
## https://gitorious.org/qt-platform-mkspecs/qt-platform-mkspecs/blobs/master/4.8/qws/linux-sh4-ST7105-g++/qmake.conf
<br />Set the development environment variables using following commands<br /> <code><br /> cd /path/to/STM_SDK_3.6A/bin/<br /> source /path/to/STM_SDK_3.6A/bin/setenv.sh IPTV7105_7105_LINUX<br /> </code><br />Configure, build and install Qt 4.8.0 as<br /> <code><br /> $ /path/to/qt-everywhere-opensource-src-4.8.0/configure -opensource -confirm-license -verbose -release -shared  -no-rpath -system-zlib -system-libjpeg -system-libpng -qt3support -qt-sql-sqlite -xmlpatterns -exceptions  -declarative -script -scripttools -webkit -no-javascript-jit -qt-gfx-linuxfb -qt-gfx-transformed -qt-gfx-vnc  -qt-gfx-multiscreen -qt-kbd-linuxinput -qt-mouse-linuxinput -make libs -make tools -make examples -make demos  -make docs -make translations -platform qws/linux-x86-g''+ —prefix=/path/to/installation/directory/qt-everywhere-opensource-src-4.8.0-qws/  -xplatform qws/linux-sh4-ST7105-g++ -embedded sh4 -little-endian -qt-gfx-directfb -no-dbus<br /> $ make<br /> $ make install<br /> </code><br />After the build succeeds set following environment variables before building any Qt Apps,
## https://gitorious.org/qt-platform-mkspecs/qt-platform-mkspecs/blobs/master/4.8/qws/linux-sh4-ST7105-g++/qplatformdefs.h
# QTDIR=/path/to/installation/directory/qt-everywhere-opensource-src-4.8.0-qws/
 
# PATH=/path/to/installation/directory/qt-everywhere-opensource-src-4.8.0-qws/bin/
===Compiling Qt 4.8.0===
 
Set the development environment variables using following commands Configure, build and install Qt 4.8.0 as After the build succeeds set following environment variables before building any Qt Apps,
 
# <span class="caps">QTDIR</span>=/path/to/installation/directory/qt-everywhere-opensource-src-4.8.0-qws/
# <span class="caps">PATH</span>=/path/to/installation/directory/qt-everywhere-opensource-src-4.8.0-qws/bin/
 
===Categories:===
 
* [[:Category:Devices|Devices]]

Revision as of 09:23, 24 February 2015


Architecture SH4
CPU SH430
RAM ???MB
Hardware acceleration DirectFB
Qt 4.8 (DirectFB/QWS) Supported, no OpenGL

Device Information

The ST7105 is made by "STMicroelectronics&quot;:http://www.st.com/internet/imag_video/product/216978.jsp.

  • "The STi7105 is targeted at the latest Operator and CE manufacturer requirements for STBs which utilize advanced HD decoding (H264/VC- 1/MPEG2), and which conform to DVB, ISMA, ATIS-IIF, SCTE, DirecTV, ATSC, ARIB, CEA, ITU, OpenCable and MSTV specifications."
  • [1] STi7105 Low cost advanced HD decoding IC for STB and iDTV

Software

  1. STM SDK 3.6A
  2. "STLinux-2.4&quot;:http://www.stlinux.com/install
  3. sh4-linux crosstools from STM

Qt 4.8.0 DirectFB/QWS

Assumptions

  1. STM reference software SDK 3.6A is built on Host PC as conveyed in STM's documentation given by STM's Field Application Engineer.
  2. Can run STM's "Test-Tool&quot; on reference board to test DirectFB and media playback.

Getting Qt 4.8.0 with STM patches and mkspecs

  1. Download ftp://ftp.stlinux.com/pub/stlinux/2.4/updates/SRPMS/stlinux24-target-qt-embedded-4.8.0-5.src.rpm
  2. Extract stlinux24-target-qt-embedded-4.8.0-5.src.rpm
  3. Extract qt-everywhere-opensource-src-4.8.0.tar.gz
  4. Apply following patches on extracted qt-everywhere-opensource-src-4.8.0 in given order
    1. qt-embedded-4.8.0-st200.patch
    2. qt-embedded-4.8.0-sh4.patch
    3. qt-embedded-4.8.0-armvX.patch
    4. qt-embedded-4.8.0-mmap.patch
    5. qt-embedded-4.8.0-add_SRC_OVER_rule.patch
    6. qt-embedded-4.8.0-add_window_console_message_from_javaScript.patch
    7. qt-embedded-4.8.0-reset_CacheLoadControlAttribute_to_default.patch
    8. qt-embedded-4.8.0-adds_for_webkit_jit.patch
    9. qt-embedded-4.8.0-directfb-enable-QT_NO_DIRECTFB_PREALLOCATED-QT_DIREC.patch
    10. qt-embedded-4.8.0-imagedecoderqt-Use-DirectFB-to-load-single-frame-ima.patch
    11. qt-embedded-4.8.0-st231_disable_fno-stack-protector.patch
    12. qt-embedded-4.8.0-Accelerate_QtWebKit_animated_images.patch
  5. Create folder named "linux-sh4-ST7105-g+" in "qt-everywhere-opensource-src-4.8.0/mkspecs/qws&quot;
    # Get following files in "qt-everywhere-opensource-src-4.8.0/mkspecs/qws/linux-sh4-ST7105-g"
    ## https://gitorious.org/qt-platform-mkspecs/qt-platform-mkspecs/blobs/master/4.8/qws/linux-sh4-ST7105-g/qmake.conf
    ## https://gitorious.org/qt-platform-mkspecs/qt-platform-mkspecs/blobs/master/4.8/qws/linux-sh4-ST7105-g/qplatformdefs.h


h3. Compiling Qt 4.8.0


Set the development environment variables using following commands

<br /> cd /path/to/STM_SDK_3.6A/bin/<br /> source /path/to/STM_SDK_3.6A/bin/setenv.sh IPTV7105_7105_LINUX<br />


Configure, build and install Qt 4.8.0 as

<br /> $ /path/to/qt-everywhere-opensource-src-4.8.0/configure -opensource -confirm-license -verbose -release -shared  -no-rpath -system-zlib -system-libjpeg -system-libpng -qt3support -qt-sql-sqlite -xmlpatterns -exceptions  -declarative -script -scripttools -webkit -no-javascript-jit -qt-gfx-linuxfb -qt-gfx-transformed -qt-gfx-vnc  -qt-gfx-multiscreen -qt-kbd-linuxinput -qt-mouse-linuxinput -make libs -make tools -make examples -make demos  -make docs -make translations -platform qws/linux-x86-g''+ prefix=/path/to/installation/directory/qt-everywhere-opensource-src-4.8.0-qws/  -xplatform qws/linux-sh4-ST7105-g++ -embedded sh4 -little-endian -qt-gfx-directfb -no-dbus<br /> $ make<br /> $ make install<br />


After the build succeeds set following environment variables before building any Qt Apps,

  1. QTDIR=/path/to/installation/directory/qt-everywhere-opensource-src-4.8.0-qws/
  2. PATH=/path/to/installation/directory/qt-everywhere-opensource-src-4.8.0-qws/bin/