<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="de-AT">
	<id>https://becomwiki.live.md-websolutions.com/index.php?action=history&amp;feed=atom&amp;title=Qt_Embedded_on_i.MX53</id>
	<title>Qt Embedded on i.MX53 - Versionsgeschichte</title>
	<link rel="self" type="application/atom+xml" href="https://becomwiki.live.md-websolutions.com/index.php?action=history&amp;feed=atom&amp;title=Qt_Embedded_on_i.MX53"/>
	<link rel="alternate" type="text/html" href="https://becomwiki.live.md-websolutions.com/index.php?title=Qt_Embedded_on_i.MX53&amp;action=history"/>
	<updated>2026-05-13T14:59:47Z</updated>
	<subtitle>Versionsgeschichte dieser Seite in BECOM Systems Support</subtitle>
	<generator>MediaWiki 1.43.5</generator>
	<entry>
		<id>https://becomwiki.live.md-websolutions.com/index.php?title=Qt_Embedded_on_i.MX53&amp;diff=334&amp;oldid=prev</id>
		<title>Peter: 1 Version importiert</title>
		<link rel="alternate" type="text/html" href="https://becomwiki.live.md-websolutions.com/index.php?title=Qt_Embedded_on_i.MX53&amp;diff=334&amp;oldid=prev"/>
		<updated>2023-10-31T08:03:09Z</updated>

		<summary type="html">&lt;p&gt;1 Version importiert&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;de-AT&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Nächstältere Version&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Version vom 31. Oktober 2023, 10:03 Uhr&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;de-AT&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(kein Unterschied)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Peter</name></author>
	</entry>
	<entry>
		<id>https://becomwiki.live.md-websolutions.com/index.php?title=Qt_Embedded_on_i.MX53&amp;diff=333&amp;oldid=prev</id>
		<title>en&gt;Peter: 1 Version importiert</title>
		<link rel="alternate" type="text/html" href="https://becomwiki.live.md-websolutions.com/index.php?title=Qt_Embedded_on_i.MX53&amp;diff=333&amp;oldid=prev"/>
		<updated>2023-08-22T19:35:52Z</updated>

		<summary type="html">&lt;p&gt;1 Version importiert&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Neue Seite&lt;/b&gt;&lt;/p&gt;&lt;div&gt;[[Image:Qtlogo.png|right]] This page contains instructions how to set up&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Qt Embedded&amp;#039;&amp;#039;&amp;#039; (running natively on the Linux frame buffer, but without OpenGL support)&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Qt/X11&amp;#039;&amp;#039;&amp;#039; (running on X11 server, with OpenGL support)&lt;br /&gt;
for Bluetechnix i.MX53 modules.&lt;br /&gt;
&lt;br /&gt;
= Software versions =&lt;br /&gt;
&lt;br /&gt;
* Bluetechnix Linux BSP release 1.4&lt;br /&gt;
**based on Freescale Linux Board Support Package&lt;br /&gt;
* Qt Embedded 4.6.0&lt;br /&gt;
** LTIB will handle the download&lt;br /&gt;
&lt;br /&gt;
See the [[Software User Manual (CM-i.MX53)|Software User Manual]] how to install LTIB (i.e., Freescale and Bluetechnix Linux packages), if you have not done so yet.&lt;br /&gt;
&lt;br /&gt;
= Instructions =&lt;br /&gt;
&lt;br /&gt;
== Host packages ==&lt;br /&gt;
* We need to install some additional host packages.&lt;br /&gt;
 sudo apt-get -y install gettext libgtk2.0-dev rpm bison m4 libfreetype6-dev&lt;br /&gt;
 sudo apt-get -y install libdbus-glib-1-dev liborbit2-dev intltool&lt;br /&gt;
 sudo apt-get -y install ccache ncurses-dev zlib1g zlib1g-dev gcc g++ libtool&lt;br /&gt;
 sudo apt-get -y install uuid-dev liblzo2-dev&lt;br /&gt;
 sudo apt-get -y install tcl dpkg&lt;br /&gt;
 sudo apt-get -y install libx11-dev libpng-dev libjpeg-dev libxext-dev x11proto-xext-dev qt3-dev-tools-embedded libxtst-dev &lt;br /&gt;
 sudo apt-get -y install bison flex libqt4-dev libqt4-opengl-dev libphonon-dev libicu-dev libsqlite3-dev libxext-dev libxrender-dev gperf libfontconfig1-dev libphonon-dev g++&lt;br /&gt;
&lt;br /&gt;
== Multimedia Codec Libraries ==&lt;br /&gt;
* Download the i.MX53 hardware codecs package from the [https://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=i.MX535&amp;amp;nodeId=018rH3ZrDR988D&amp;amp;fpsp=1&amp;amp;tab=Design_Tools_Tab Freescale website] (open the &amp;#039;&amp;#039;Codecs and other Algorithms&amp;#039;&amp;#039; menu).&lt;br /&gt;
 IMX_MMCODECS_11.05.tar.gz&lt;br /&gt;
* Unpack it and copy the following files to &amp;#039;&amp;#039;/opt/freescale/pkgs/&amp;#039;&amp;#039;:&lt;br /&gt;
 IMX_MMCODECS_11.05/Ltib Files/fsl-mm-codeclib-2.0.1.tar.gz&lt;br /&gt;
 IMX_MMCODECS_11.05/Ltib Files/gst-fsl-plugin-2.0.1.tar.gz&lt;br /&gt;
* Extract the file&lt;br /&gt;
 IMX_MMCODECS_11.05/Ltib Files/ltib_spec_patch_base_on_11.05.01.zip&lt;br /&gt;
* Copy the resulting files to &amp;lt;span style=&amp;quot;color:#cc0000&amp;quot;&amp;gt;(Important: If you are using BSP release 1.6 or newer, don&amp;#039;t copy the &amp;#039;&amp;#039;gst-fsl-plugin.spec&amp;#039;&amp;#039; file.)&amp;lt;/span&amp;gt;&lt;br /&gt;
 ltib/dist/lfs-5.1/fsl-mm&lt;br /&gt;
&lt;br /&gt;
== LTIB configuration (Qt Embedded) ==&lt;br /&gt;
* In &amp;#039;&amp;#039;ltib/&amp;#039;&amp;#039; folder, start LTIB&amp;#039;s configuration dialog:&lt;br /&gt;
 ./ltib -c&lt;br /&gt;
* Go to&lt;br /&gt;
 Package list  ---&amp;gt;&lt;br /&gt;
* Select the following packages:&lt;br /&gt;
 [*] amd-gpu-bin-mx51&lt;br /&gt;
 [*] libz160-bin&lt;br /&gt;
 Freescale Multimedia Plugins/Codecs  ---&amp;gt;&lt;br /&gt;
   [*] fsl-mm-codec-libs&lt;br /&gt;
   [*] gstreamer-fsl-plugins&lt;br /&gt;
 [*] fontconfig&lt;br /&gt;
 [*] freetype&lt;br /&gt;
 [*] gstreamer&lt;br /&gt;
 [*] gstreamer-plugins-base&lt;br /&gt;
 [*] gstreamer-plugins-good&lt;br /&gt;
 [*] gstreamer-plugins-bad&lt;br /&gt;
 [*] gstreamer-plugins-ugly&lt;br /&gt;
 [*] Liberation fonts&lt;br /&gt;
 [*] libjpeg&lt;br /&gt;
 [*] libpng&lt;br /&gt;
 [*] liboil&lt;br /&gt;
 [*] libxml2&lt;br /&gt;
 [*] mysql&lt;br /&gt;
 Qt ---&amp;gt;&lt;br /&gt;
   Qt (...) ---&amp;gt;&lt;br /&gt;
     (X) Qt Embedded&lt;br /&gt;
   [*] Phonon&lt;br /&gt;
 [*] zlib&lt;br /&gt;
* Exit from LTIB and save your new configuration (you will be asked).&lt;br /&gt;
* LTIB will build Qt Embedded now.&lt;br /&gt;
&lt;br /&gt;
== LTIB configuration (Qt X11) ==&lt;br /&gt;
NOTE: We have marked differences to &amp;#039;&amp;#039;Qt Embedded&amp;#039;&amp;#039; configuration in &amp;lt;span style=&amp;quot;color:#009900&amp;quot;&amp;gt;green&amp;lt;/span&amp;gt;.&lt;br /&gt;
* In &amp;#039;&amp;#039;ltib/&amp;#039;&amp;#039; folder, start LTIB&amp;#039;s configuration dialog:&lt;br /&gt;
 ./ltib -c&lt;br /&gt;
* Go to&lt;br /&gt;
 Package list  ---&amp;gt;&lt;br /&gt;
* Select the following packages:&lt;br /&gt;
 &amp;lt;span style=&amp;quot;color:#009900&amp;quot;&amp;gt;[*] amd-gpu-x11-bin-mx51&amp;lt;/span&amp;gt;&lt;br /&gt;
 [*] libz160-bin&lt;br /&gt;
 Freescale Multimedia Plugins/Codecs  ---&amp;gt;&lt;br /&gt;
   [*] fsl-mm-codec-libs&lt;br /&gt;
   [*] gstreamer-fsl-plugins&lt;br /&gt;
 [*] fontconfig&lt;br /&gt;
 [*] freetype&lt;br /&gt;
 [*] gstreamer&lt;br /&gt;
 [*] gstreamer-plugins-base&lt;br /&gt;
 [*] gstreamer-plugins-good&lt;br /&gt;
 [*] gstreamer-plugins-bad&lt;br /&gt;
 [*] gstreamer-plugins-ugly&lt;br /&gt;
 [*] Liberation fonts&lt;br /&gt;
 [*] libjpeg&lt;br /&gt;
 [*] libpng&lt;br /&gt;
 [*] liboil&lt;br /&gt;
 [*] libxml2&lt;br /&gt;
 [*] mysql&lt;br /&gt;
 &amp;lt;span style=&amp;quot;color:#009900&amp;quot;&amp;gt;X11  ---&amp;gt;&lt;br /&gt;
   Install X11 ---&amp;gt;&lt;br /&gt;
     (X) X.Org 7.5&lt;br /&gt;
   X11 libraries and packages  ---&amp;gt;&lt;br /&gt;
     [*] libICE&lt;br /&gt;
     [*] libSM&amp;lt;/span&amp;gt;&lt;br /&gt;
 [*] zlib&lt;br /&gt;
* Exit from LTIB and save your new configuration (you will be asked).&lt;br /&gt;
* LTIB will build Qt for X11 now.&lt;br /&gt;
&lt;br /&gt;
== Error handling ==&lt;br /&gt;
&lt;br /&gt;
The following errors were observed, here is how to handle them:&lt;br /&gt;
&lt;br /&gt;
;LTIB cannot download the &amp;#039;&amp;#039;qt&amp;#039;&amp;#039; package.&lt;br /&gt;
:Download the file from here: https://get.qt.nokia.com/qt/source/qt-everywhere-opensource-src-4.6.0.tar.gz&lt;br /&gt;
:and save it to &amp;#039;&amp;#039;/opt/freescale/pkgs/&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
;ubinize complains that there is not enough space in the UBIFS partition.&lt;br /&gt;
:If you do not plan to set up the NAND flash with Qt Embedded, you can ignore this error. But if you plan, edit the file&lt;br /&gt;
 bin/ubifs_ubinize_tmpl.ini&lt;br /&gt;
:Change the parameter&lt;br /&gt;
 vol_size&lt;br /&gt;
:You also have to change the NAND flash&amp;#039;s rootfs partition&amp;#039;s size in the Linux kernel code. Open the platform file for the module you have:&lt;br /&gt;
 rpm/BUILD/linux/arch/arm/mach-mx5/mx53_qseven.c&lt;br /&gt;
 rpm/BUILD/linux/arch/arm/mach-mx5/cmimx53.c&lt;br /&gt;
:and increase the size of the &amp;#039;&amp;#039;nand.rootfs&amp;#039;&amp;#039; partition (given in bytes):&lt;br /&gt;
 static struct mtd_partition nand_flash_partitions[] = {&lt;br /&gt;
 [...]&lt;br /&gt;
 	 .name = &amp;quot;nand.rootfs&amp;quot;,&lt;br /&gt;
 	 .offset = MTDPART_OFS_APPEND,&lt;br /&gt;
 	 &amp;lt;span style=&amp;quot;color:#FF0000&amp;quot;&amp;gt;.size = 256 * 1024 * 1024&amp;lt;/span&amp;gt;},&lt;br /&gt;
 [...]&lt;br /&gt;
 };&lt;br /&gt;
&lt;br /&gt;
== Start Qt Embedded ==&lt;br /&gt;
[[Image:Pathstroking.png|right|thumb|Path Stroking]]&lt;br /&gt;
[[Image:Fluidlauncher.png|right|thumb|Fluid Launcher]]&lt;br /&gt;
*Bring Qt Embedded to the target module&lt;br /&gt;
**by rebooting (if you mount the root file system via NFS from your host machine) or&lt;br /&gt;
**by setting up a new SD card (using the &amp;#039;&amp;#039;setup_sdcard.sh&amp;#039;&amp;#039; script).&lt;br /&gt;
&lt;br /&gt;
*After booting Linux on the MX53 module, set Qt&amp;#039;s font path:&lt;br /&gt;
 export QT_QWS_FONTDIR=/usr/lib/fonts/&lt;br /&gt;
&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;Pathstroke demo application&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 cd /usr/local/Trolltech/demos/pathstroke/&lt;br /&gt;
 ./pathstroke -qws&lt;br /&gt;
&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;Fluid Launcher demo&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 cd /usr/local/Trolltech/demos/embedded/fluidlauncher&lt;br /&gt;
 ./fluidlauncher -qws&lt;br /&gt;
&lt;br /&gt;
*LTIB installs a whole host of demos and examples which you may browse through:&lt;br /&gt;
 /usr/local/Trolltech&lt;br /&gt;
&lt;br /&gt;
== Start Qt/X11 ==&lt;br /&gt;
*Bring Qt/X11 to the target module&lt;br /&gt;
**by rebooting (if you mount the root file system via NFS from your host machine) or&lt;br /&gt;
**by setting up a new SD card (using the &amp;#039;&amp;#039;setup_sdcard.sh&amp;#039;&amp;#039; script).&lt;br /&gt;
&lt;br /&gt;
*After booting Linux on the MX53 module, start the X-server (assuming you have a keyboard connected as &amp;#039;&amp;#039;/dev/input/event2&amp;#039;&amp;#039;):&lt;br /&gt;
 export DISPLAY=:0.0&lt;br /&gt;
 Xfbdev -mouse mouse,,device=/dev/input/mice -keybd keyboard,,/dev/input/event2 &amp;amp;&lt;br /&gt;
&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;Pathstroke demo application&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 cd /usr/local/Trolltech/demos/pathstroke/&lt;br /&gt;
 ./pathstroke -qws&lt;br /&gt;
&lt;br /&gt;
*LTIB installs a whole host of demos and examples which you may browse through:&lt;br /&gt;
 /usr/local/Trolltech&lt;br /&gt;
&lt;br /&gt;
== OpenGL comparison ==&lt;br /&gt;
&lt;br /&gt;
The &amp;#039;&amp;#039;pathstroke&amp;#039;&amp;#039; demo application features the &amp;#039;&amp;#039;&amp;#039;Use OpenGL&amp;#039;&amp;#039;&amp;#039; button which lets us easily switch on/off using OpenGL from the MX53 internal GPU.&lt;br /&gt;
&lt;br /&gt;
Here is a short comparison we did with a CM-i.MX53-C-C-Q24S1024F4N2048 running in a DEV-i.MX53 development board, using default HDMI output of 1280x720 pixels, frame buffer color format RGB565.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;fbset output&amp;#039;&amp;#039;:&lt;br /&gt;
 mode &amp;quot;1280x720-60&amp;quot;&lt;br /&gt;
 	# D: 74.505 MHz, H: 44.774 kHz, V: 59.859 Hz&lt;br /&gt;
 	geometry 1280 720 1280 2160 16&lt;br /&gt;
 	timings 13422 192 64 3 20 128 5&lt;br /&gt;
 	accel false&lt;br /&gt;
 	rgba 5/11,6/5,5/0,0/0&lt;br /&gt;
 endmode&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;Data&amp;#039;&amp;#039;:&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! OpenGL !! DEV-i.MX53 power consumption @12V !! Total CPU usage !! Xfbdev (X-server) CPU usage !! Pathstroke CPU usage || FPS&lt;br /&gt;
|-&lt;br /&gt;
| disabled || 0.43A || 100% || 92% || 8% || 10-15&lt;br /&gt;
|-&lt;br /&gt;
| enabled || 0.42A || 58% || 17% || 41% || 25&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:i.MX53]]&lt;/div&gt;</summary>
		<author><name>en&gt;Peter</name></author>
	</entry>
</feed>