Changes

User:Pau pajuelo

202 bytes added, 19:46, 25 July 2012
no edit summary
For example, assuming the SD card device takes "/dev/sdf" and you have and IGEPv2 board (igep0020), type:
<pre>./igep-media-create --mmc /dev/sdf --machine igep0020 --image /home/jdoe/Desktop/qt4e-demo-image-igep00x0.tar.bz2</pre>
This should give you a bootable SD-card<br>
== Prepare Qt demo image ==
=== ARM Platform<br> ===
==== Build Programs <br> ====
To compile to ARM for IGEP go to Project use the following configuration at Projects field -&gt; Build:
| [[Image:Qtrunarmv2.jpg|496x373px]]
|}
 
'''NOTE:''' You cannot use igep-remote-x program because qt-demo image doesn't have X installed.<br>
==== Debug Programs ====
Now use the followings steps to debug program:
At Start Debugger window use the following configuration:
Debugger:<br>/opt/poky/1.2/sysroots/i686-pokysdk-linux/usr/bin/armv7a-vfp-neon-poky-linux-gnueabi/arm-poky-linux-gnueabi-gdb<br>Local executable:<br>/home/jdoe/Desktop/calculator/calculator<br>Host and port:<br>192.168.5.1:1000<br>Architecture:<br>arm<br>GNU target:<br>arm-none-linux-gnueabi<br>Sysroot:<br>/opt/poky/1.2/sysroots/armv7a-vfp-neon-poky-linux-gnueabi<br>Location of debugging information: (empty)<br>Override host GDB starrt script. (empty)
{| width="200" cellspacing="1" cellpadding="1" border="1"
<br>
'''NOTE:''' You cannot use igep-remote-x program because qt-demo image doesn't have X installed.<br>  
=== x86 Platform<br> ===
{| width="200" cellspacing="1" cellpadding="1" border="1"
|-
| [[Image:Qtdebugx861v2.png|331x249px]]
| [[Image:Qtdebugx862v2.png|331x249px]]
|}
4,199
edits