TIBeagleBoard: Difference between revisions
No edit summary |
Henri Vikki (talk | contribs) No edit summary |
||
(4 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
[[Category:Devices]] | [[Category:Devices]] | ||
== Qt on the BeagleBoard / BeagleBoard-xM == | == Qt on the BeagleBoard / BeagleBoard-xM == | ||
{| class="wikitable" | |||
|+ Hardware Specs | |||
! | |||
! BeagleBoard | |||
! BeagleBoard-xM | |||
|- | |||
|Architecture | |||
! ARMv7 | |||
| | |||
|- | |||
|RAM | |||
|256MB | |||
|512MB | |||
|- | |||
|OpenGL | |||
|OpenGL ES 2.0 | |||
| | |||
|- | |||
|Qt 5.0 (eglfs/QPA) | |||
|with OpenGL ES 2.0 | |||
| | |||
|} | |||
== Device Information / Hardware == | == Device Information / Hardware == | ||
Line 13: | Line 36: | ||
Texas Instruments provides the Linux Digital Video Software Development Kit (DVSDK). You can download it from [http://www.ti.com/tool/linuxdvsdk-omap3530] (registration required). | Texas Instruments provides the Linux Digital Video Software Development Kit (DVSDK). You can download it from [http://www.ti.com/tool/linuxdvsdk-omap3530] (registration required). | ||
Or you can use | Or you can use [http://www.angstrom-distribution.org/ Ångström]. If you would like to build Ångström environment by yourself, you should build "<tt>libgles-omap3</tt>" package for OpenGL ES. If you would like to download the SDK from online builder ( [http://narcissus.angstrom-distribution.org Narcissus]), you should check "<tt>PowerVR SGX drivers for OMAP3</tt>". | ||
== Preparing environments for Qt == | == Preparing environments for Qt == | ||
Line 21: | Line 44: | ||
=== Building Ångström === | === Building Ångström === | ||
Please see also | Please see also [http://www.angstrom-distribution.org/building-angstrom Building Ångström]. | ||
<code> | <code> | ||
$ git clone git://github.com/Angstrom-distribution/setup-scripts.git | |||
$ cd setup-scripts | |||
$ MACHINEh1.beagleboard ./oebb.sh config beagleboard | |||
$ MACHINEh1.beagleboard ./oebb.sh update | |||
$ MACHINEh1.beagleboard ./oebb.sh bitbake virtual/kernel | |||
$ MACHINEh1.beagleboard ./oebb.sh bitbake console-image | |||
$ MACHINEh1.beagleboard ./oebb.sh bitbake libgles-omap3 | |||
</code> | |||
PATH of toolchain is build/tmp-angstrom_2010_x-eglibc/sysroots/i686-linux/usr/bin/armv7a-angstrom-linux-gnueabi | PATH of toolchain is build/tmp-angstrom_2010_x-eglibc/sysroots/i686-linux/usr/bin/armv7a-angstrom-linux-gnueabi | ||
Line 31: | Line 62: | ||
It's tested using below repositories. | It's tested using below repositories. | ||
{| class="wikitable" | |||
|+ Tested Repositories | |||
! Repository | |||
! Branch:Revision | |||
|- | |||
| setup-scripts | |||
| master:4ac1e500a77eeb418195d11a1d3740e21190c291 | |||
|- | |||
| meta-angstrom | |||
| master:51ba0dd081af1d7de56ffc9fb318044bc3c7c47e | |||
|- | |||
| meta-initramfs | |||
| master:5b3974ed483418b206678acca7414b81bcf749a7 | |||
|- | |||
| meta-opie | |||
| master:efa3892b20a4ef80274e56e5633ebd62c16f9731 | |||
|- | |||
| meta-java | |||
| master:e90110b85733f9cdda26861bc29588257173c11c | |||
|- | |||
| meta-ti | |||
| master:ed29286f2b16b48206ba788f790c1082c7724bb0 | |||
|- | |||
| meta-efikamx | |||
| master:2c09a3a780b23448e8a6ca964256ff7f5ccba65d | |||
|- | |||
| meta-nslu2 | |||
| master:3d9fc951b05b4df476374b6fc3085ebac7f293ee | |||
|- | |||
| meta-palm | |||
| master:947bcbbb3214fdc5f51962a84587600933a75be6 | |||
|- | |||
| meta-handheld | |||
| master:fa1e6dcb524eb7ed29a6cd971a150d35c31e96e7 | |||
|- | |||
| meta-n450 | |||
| master:d9132cc66316be45f44beeea6eba734bb3ab337d | |||
|- | |||
| meta | |||
| master:d7b8c247227f3cc82f92292407f548927e9fde78 | |||
|} | |||
=== Using Narcissus(Online Builder) === | === Using Narcissus(Online Builder) === | ||
* Visit to http://narcissus.angstrom-distribution.org. | * Visit to http://narcissus.angstrom-distribution.org. | ||
* Select Options. (ex.) | |||
'''Base settings: | |||
'''; Select the machine you want to build your rootfs image for : "beagleboard" | |||
''''''; Choose the complexity of the options below. : "advanced" | |||
'''Advanced settings: | |||
'''; Select the release you want to base your rootfs image on. : "2011.03" | |||
'''; SDK type: "full SDK for generated filesystem" | |||
'''; User environment selection: "Console only" | |||
'''Additional packages selection: | |||
'''; Texas Instruments OMAP3x/AM3x family: | |||
'''* Bootloader Files (x-load/u-boot/scripts) | |||
'''* PowerVR SGX drivers for OMAP3 | |||
* Click "Build me!" | |||
* Download the SDK and rootfs archives. | |||
* extract SDK archive to / | |||
<code> | <code> | ||
$ tar zxvf Angstrom-2012.03-narcissus-beagleboard-i686-random-f386277f-image-sdk.tar.gz -C / | |||
</code> | |||
PATH of toolchain is /usr/local/angstrom/arm/bin/ | PATH of toolchain is /usr/local/angstrom/arm/bin/ | ||
Line 47: | Line 136: | ||
=== Preparing mkspecs === | === Preparing mkspecs === | ||
<code> | <code> | ||
$ git clone git://gitorious.org/qt-platform-mkspecs/qt-platform-mkspecs.git | |||
$ cp -r qt-platform-mkspecs/5.0/linux-omap3430-g++/ <qtbase>/mkspecs/ | |||
</code> | |||
Adjust the '''qmake.conf''' of the *linux-omap3430-g* mkspec to fit your crosscompiler toolchain and sysroot. | |||
=== Building Qt === | |||
This will build everything in-source, if you want to build out-of-source execute '''configure''' and '''qmake''' for additional modules from within a separate empty folder. | |||
==== qtbase ==== | |||
<code> | |||
$ cd <qtbase> | |||
$ ./configure -prefix <your prefix> -release -make libs -xplatform linux-omap3430-g''+ -opengl es2 -no-xcb | |||
$ make install | |||
$ make install -C src/plugins/platforms/eglfs | |||
</code> | |||
==== qtjsbackend ==== | ==== qtjsbackend ==== | ||
<code>< | <code> | ||
$ <your prefix>/bin/qmake | |||
$ make | |||
$ make install | |||
</code> | |||
==== qtdeclarative ==== | ==== qtdeclarative ==== | ||
<code>< | <code> | ||
$ <your prefix>/bin/qmake | |||
$ make | |||
$ make install | |||
</code> |
Latest revision as of 08:12, 15 April 2015
Qt on the BeagleBoard / BeagleBoard-xM
BeagleBoard | BeagleBoard-xM | |
---|---|---|
Architecture | ARMv7 | |
RAM | 256MB | 512MB |
OpenGL | OpenGL ES 2.0 | |
Qt 5.0 (eglfs/QPA) | with OpenGL ES 2.0 |
Device Information / Hardware
The BeagleBoard is an OMAP3530 platform for Open Source Community.
Software provided by Texas Instruments
Texas Instruments provides the Linux Digital Video Software Development Kit (DVSDK). You can download it from [1] (registration required).
Or you can use Ångström. If you would like to build Ångström environment by yourself, you should build "libgles-omap3" package for OpenGL ES. If you would like to download the SDK from online builder ( Narcissus), you should check "PowerVR SGX drivers for OMAP3".
Preparing environments for Qt
Both of Building Ångström and Using Narcissus are tested on March 20, 2012 on Ubuntu 10.04.
Building Ångström
Please see also Building Ångström.
$ git clone git://github.com/Angstrom-distribution/setup-scripts.git
$ cd setup-scripts
$ MACHINEh1.beagleboard ./oebb.sh config beagleboard
$ MACHINEh1.beagleboard ./oebb.sh update
$ MACHINEh1.beagleboard ./oebb.sh bitbake virtual/kernel
$ MACHINEh1.beagleboard ./oebb.sh bitbake console-image
$ MACHINEh1.beagleboard ./oebb.sh bitbake libgles-omap3
PATH of toolchain is build/tmp-angstrom_2010_x-eglibc/sysroots/i686-linux/usr/bin/armv7a-angstrom-linux-gnueabi
PATH of sysroot is build/tmp-angstrom_2010_x-eglibc/sysroots/beagleboard/
It's tested using below repositories.
Repository | Branch:Revision |
---|---|
setup-scripts | master:4ac1e500a77eeb418195d11a1d3740e21190c291 |
meta-angstrom | master:51ba0dd081af1d7de56ffc9fb318044bc3c7c47e |
meta-initramfs | master:5b3974ed483418b206678acca7414b81bcf749a7 |
meta-opie | master:efa3892b20a4ef80274e56e5633ebd62c16f9731 |
meta-java | master:e90110b85733f9cdda26861bc29588257173c11c |
meta-ti | master:ed29286f2b16b48206ba788f790c1082c7724bb0 |
meta-efikamx | master:2c09a3a780b23448e8a6ca964256ff7f5ccba65d |
meta-nslu2 | master:3d9fc951b05b4df476374b6fc3085ebac7f293ee |
meta-palm | master:947bcbbb3214fdc5f51962a84587600933a75be6 |
meta-handheld | master:fa1e6dcb524eb7ed29a6cd971a150d35c31e96e7 |
meta-n450 | master:d9132cc66316be45f44beeea6eba734bb3ab337d |
meta | master:d7b8c247227f3cc82f92292407f548927e9fde78 |
Using Narcissus(Online Builder)
- Visit to http://narcissus.angstrom-distribution.org.
- Select Options. (ex.)
Base settings: ; Select the machine you want to build your rootfs image for : "beagleboard" '; Choose the complexity of the options below. : "advanced" Advanced settings: ; Select the release you want to base your rootfs image on. : "2011.03" ; SDK type: "full SDK for generated filesystem" ; User environment selection: "Console only" Additional packages selection: ; Texas Instruments OMAP3x/AM3x family: * Bootloader Files (x-load/u-boot/scripts) * PowerVR SGX drivers for OMAP3
- Click "Build me!"
- Download the SDK and rootfs archives.
- extract SDK archive to /
$ tar zxvf Angstrom-2012.03-narcissus-beagleboard-i686-random-f386277f-image-sdk.tar.gz -C /
PATH of toolchain is /usr/local/angstrom/arm/bin/
PATH of sysroot is /usr/local/angstrom/arm/
Qt5 eglfs/QPA
Preparing mkspecs
$ git clone git://gitorious.org/qt-platform-mkspecs/qt-platform-mkspecs.git
$ cp -r qt-platform-mkspecs/5.0/linux-omap3430-g++/ <qtbase>/mkspecs/
Adjust the qmake.conf of the *linux-omap3430-g* mkspec to fit your crosscompiler toolchain and sysroot.
Building Qt
This will build everything in-source, if you want to build out-of-source execute configure and qmake for additional modules from within a separate empty folder.
qtbase
$ cd <qtbase>
$ ./configure -prefix <your prefix> -release -make libs -xplatform linux-omap3430-g''+ -opengl es2 -no-xcb
$ make install
$ make install -C src/plugins/platforms/eglfs
qtjsbackend
$ <your prefix>/bin/qmake
$ make
$ make install
qtdeclarative
$ <your prefix>/bin/qmake
$ make
$ make install