Broadcom97425: Difference between revisions

From Qt Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 39: Line 39:
== Device Information / Hardware ==
== Device Information / Hardware ==


The Broadcom 97425 is a powerful dual core MIPS set-top-box reference design. The<br />hardware is capable of running QtQuick2/SceneGraph. Broadcom provides an optimized<br />version of DirectFB for 2D graphics, input and image decoding. The multimedia architecture<br />is based on GStreamer. Broadcom provides pipeline elements to access their hardware.
The Broadcom 97425 is a powerful dual core MIPS set-top-box reference design. The
hardware is capable of running QtQuick2/SceneGraph. Broadcom provides an optimized
version of DirectFB for 2D graphics, input and image decoding. The multimedia architecture
is based on GStreamer. Broadcom provides pipeline elements to access their hardware.


== Software provided by Broadcom ==
== Software provided by Broadcom ==


Broadcom provides customers with the AppLibs and RefSW. The last tested version is '''20111222'''<br />for the RefSW '''20111222'''. The rockford 3D library needs to link to DirectFB to avoid<br />missing symbols when loading the DirectFB/QPA plugin. The patch was provided to Broadcom and<br />should be included in future versions.
Broadcom provides customers with the AppLibs and RefSW. The last tested version is '''20111222'''
for the RefSW '''20111222'''. The rockford 3D library needs to link to DirectFB to avoid
missing symbols when loading the DirectFB/QPA plugin. The patch was provided to Broadcom and
should be included in future versions.


== Building AppLibs/RefSW for Qt ==
== Building AppLibs/RefSW for Qt ==
Line 51: Line 57:
=== Building Qt ===
=== Building Qt ===


<code><br /># This assumes that DirectFB was built in multi application mode<br />$ export PKG_CONFIG_PATH=BCtree/AppLibs/opensource/directfb/bin/DirectFB-1.4.15_multi_release_build.97425B1/usr/local/lib/pkgconfig/<br />$ mkdir build-qtbase<br />$ cd build-qtbase<br />$ ../build-qtbase/configure -release  -device linux-mipsel-broadcom-97425-g++  -no-xcb -no-eglfs  -device-option B_REFSW_DEBUG=n  -device-option BRCM_ROCKFORD_PATH=BCtree/rockford  -device-option BRCM_APPLIBS_PATH=BCtree/AppLibs  -opengl es2  -no-mips_dsp -no-mips_dspr2  -directfb  -force-pkg-config<br />$ make install<br /></code>
<code>
# This assumes that DirectFB was built in multi application mode
$ export PKG_CONFIG_PATH=BCtree/AppLibs/opensource/directfb/bin/DirectFB-1.4.15_multi_release_build.97425B1/usr/local/lib/pkgconfig/
$ mkdir build-qtbase
$ cd build-qtbase
$ ../build-qtbase/configure -release  -device linux-mipsel-broadcom-97425-g++  -no-xcb -no-eglfs  -device-option B_REFSW_DEBUG=n  -device-option BRCM_ROCKFORD_PATH=BCtree/rockford  -device-option BRCM_APPLIBS_PATH=BCtree/AppLibs  -opengl es2  -no-mips_dsp -no-mips_dspr2  -directfb  -force-pkg-config
$ make install
</code>


=== Running Qt<br /><code><br />$ export QT_QPA_PLATFORM=directfbegl<br />$ ./wiggly ===
=== Running Qt
<code>
$ export QT_QPA_PLATFORM=directfbegl
$ ./wiggly ===

Revision as of 09:51, 25 February 2015


Qt on the Broadcom 97425

Hardware Specs

Architecture MIPS
RAM 2GB
OpenGL OpenGL ES 2.0
Hardware acceleration DirectFB, JPEG decoding
Video GStreamer Elements
[[Devices/Broadcom97425/BCM7425-Qt4dot8-DFB-QWS Qt 4.8 (DirectFB/QWS)]]
[[Devices/Broadcom97425/BCM7425-Qt4dot8-eglnullws-QWS Qt 4.8 (eglnullws/QWS)]]
[[Devices/Broadcom97425/BCM7425-Qt4dot8-eglfs-QPA Qt 4.8 (eglfs/QPA)]]
[[Devices/Broadcom97425/BCM7425-Qt5-eglfs Qt 5.0 (eglfs/QPA)]]
Qt 5.0 (DirectFB/QPA) Supported, with OpenGL

Device Information / Hardware

The Broadcom 97425 is a powerful dual core MIPS set-top-box reference design. The hardware is capable of running QtQuick2/SceneGraph. Broadcom provides an optimized version of DirectFB for 2D graphics, input and image decoding. The multimedia architecture is based on GStreamer. Broadcom provides pipeline elements to access their hardware.

Software provided by Broadcom

Broadcom provides customers with the AppLibs and RefSW. The last tested version is 20111222 for the RefSW 20111222. The rockford 3D library needs to link to DirectFB to avoid missing symbols when loading the DirectFB/QPA plugin. The patch was provided to Broadcom and should be included in future versions.

Building AppLibs/RefSW for Qt

Qt5 DirectFB/QPA

Building Qt

# This assumes that DirectFB was built in multi application mode
$ export PKG_CONFIG_PATH=BCtree/AppLibs/opensource/directfb/bin/DirectFB-1.4.15_multi_release_build.97425B1/usr/local/lib/pkgconfig/
$ mkdir build-qtbase
$ cd build-qtbase
$ ../build-qtbase/configure -release  -device linux-mipsel-broadcom-97425-g++  -no-xcb -no-eglfs  -device-option B_REFSW_DEBUG=n  -device-option BRCM_ROCKFORD_PATH=BCtree/rockford  -device-option BRCM_APPLIBS_PATH=BCtree/AppLibs  -opengl es2  -no-mips_dsp -no-mips_dspr2  -directfb  -force-pkg-config
$ make install

=== Running Qt $ export QT_QPA_PLATFORM=directfbegl $ ./wiggly ===