AML8726-M: Difference between revisions

From Qt Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 25: Line 25:
== Device Information ==
== Device Information ==


The AML8726-M is made by "Amlogic Inc":http://amlogic.com.
The AML8726-M is made by "Amlogic Inc":http://amlogic.com.


* &quot;AML8726-M device is designed for the tablet and MID applications. It integrates a power CPU, a 2D/3D graphics subsystem and a state-of-the arts video decoding engine with all major peripherals to form the ultimate multimedia SoC.&quot;<br /> &quot;1&amp;quot;:http://www.amlogic.com/product02.htm Amlogic product information
* "AML8726-M device is designed for the tablet and MID applications. It integrates a power CPU, a 2D/3D graphics subsystem and a state-of-the arts video decoding engine with all major peripherals to form the ultimate multimedia SoC."
"1":http://www.amlogic.com/product02.htm Amlogic product information


It's used in the Vivaldi tablet (based on zenithink c71) which uses Plasma Active as it's UI.
It's used in the Vivaldi tablet (based on zenithink c71) which uses Plasma Active as it's UI.
Line 33: Line 34:
=== Software ===
=== Software ===


Amlogic appears to be primarily focusing on Android support for this board. Much of the software stack is documented on their &quot;openlinux wiki&amp;quot;:http://openlinux.amlogic.com/wiki/index.php/Arm. You can download the rootfs from &quot;here&amp;quot;:http://openlinux.amlogic.com/download/linux/ARM/filesystem/ and the kernel from &quot;here&amp;quot;:http://openlinux.amlogic.com/download/linux/ARM/kernel/.
Amlogic appears to be primarily focusing on Android support for this board. Much of the software stack is documented on their "openlinux wiki":http://openlinux.amlogic.com/wiki/index.php/Arm. You can download the rootfs from "here":http://openlinux.amlogic.com/download/linux/ARM/filesystem/ and the kernel from "here":http://openlinux.amlogic.com/download/linux/ARM/kernel/.


== Qt5 eglfs/QPA ==
== Qt5 eglfs/QPA ==


If you have v-sync problem use this workaround<br />http://forum.qt.io/viewthread/17930/
If you have v-sync problem use this workaround
http://forum.qt.io/viewthread/17930/


=== Toolchain ===
=== Toolchain ===
Line 47: Line 49:
=== Compiling Qt5 ===
=== Compiling Qt5 ===


<code><br />$ mkdir build &amp;&amp; cd build<br />$ export QTSRCDIR=&lt;path_to_qt5&amp;gt; # top level qt5.git and not qtbase<br />$ export TOOLCHAIN_PATH=&lt;path_to_toolchain&amp;gt; # see section above<br />$ export SYSROOT=&lt;path_to_rootfs&amp;gt;<br />$ export PREFIX=&lt;install_path_on_target&amp;gt;<br />$ $QTSRCDIR/configure -device linux-arm-amlogic-8726M-g++ -force-pkg-config <s>device-option CROSS_COMPILE=$TOOLCHAIN_PATH/arm-2010q1/bin/arm-none-linux-gnueabi</s> -sysroot $SYSROOT -prefix $PREFIX -make libs -opensource -confirm-license<br />$ make module-qtbase module-qtdeclarative<br />$ make install # will install Qt into the $SYSROOT/$PREFIX
<code>
$ mkdir build &amp;&amp; cd build
$ export QTSRCDIR=<path_to_qt5> # top level qt5.git and not qtbase
$ export TOOLCHAIN_PATH=<path_to_toolchain> # see section above
$ export SYSROOT=<path_to_rootfs>
$ export PREFIX=<install_path_on_target>
$ $QTSRCDIR/configure -device linux-arm-amlogic-8726M-g++ -force-pkg-config -device-option CROSS_COMPILE=$TOOLCHAIN_PATH/arm-2010q1/bin/arm-none-linux-gnueabi- -sysroot $SYSROOT -prefix $PREFIX -make libs -opensource -confirm-license
$ make module-qtbase module-qtdeclarative
$ make install # will install Qt into the $SYSROOT/$PREFIX

Revision as of 09:47, 25 February 2015


AML8726-M

Architecture ARMv7
CPU ARM Cortex A-9 (1Ghz)
RAM 512MB
GPU Mali 400-M
OpenGL OpenGL ES 2.0
Qt 5.0 (eglfs/QPA) Supported, with OpenGL ES 2.0

Device Information

The AML8726-M is made by "Amlogic Inc":http://amlogic.com.

  • "AML8726-M device is designed for the tablet and MID applications. It integrates a power CPU, a 2D/3D graphics subsystem and a state-of-the arts video decoding engine with all major peripherals to form the ultimate multimedia SoC."
"1":http://www.amlogic.com/product02.htm Amlogic product information

It's used in the Vivaldi tablet (based on zenithink c71) which uses Plasma Active as it's UI.

Software

Amlogic appears to be primarily focusing on Android support for this board. Much of the software stack is documented on their "openlinux wiki":http://openlinux.amlogic.com/wiki/index.php/Arm. You can download the rootfs from "here":http://openlinux.amlogic.com/download/linux/ARM/filesystem/ and the kernel from "here":http://openlinux.amlogic.com/download/linux/ARM/kernel/.

Qt5 eglfs/QPA

If you have v-sync problem use this workaround http://forum.qt.io/viewthread/17930/

Toolchain

We are using the Code Soucery 2011.09 release, available here:

https://sourcery.mentor.com/sgpp/lite/arm/portal/release2029

Compiling Qt5

$ mkdir build && cd build $ export QTSRCDIR=<path_to_qt5> # top level qt5.git and not qtbase $ export TOOLCHAIN_PATH=<path_to_toolchain> # see section above $ export SYSROOT=<path_to_rootfs> $ export PREFIX=<install_path_on_target> $ $QTSRCDIR/configure -device linux-arm-amlogic-8726M-g++ -force-pkg-config -device-option CROSS_COMPILE=$TOOLCHAIN_PATH/arm-2010q1/bin/arm-none-linux-gnueabi- -sysroot $SYSROOT -prefix $PREFIX -make libs -opensource -confirm-license $ make module-qtbase module-qtdeclarative $ make install # will install Qt into the $SYSROOT/$PREFIX