Porting QT Application on Mini6410

blueshift
Dear all,
Good morning.
I have a Mini6410 board with LCD. I have also a QT application ready
compiled and already running on Ubuntu system on PC.
Now I want to port this application on the Mini6410 board.
Now since this board already has Ubuntu support, will I be able to directly
run this application? or do I do some changes in it?
Kindly guide or provide some tutorials.
I am looking onto putting Ubuntu OS on this board. Later I will put the
application. Kindly guide accordingly.

Regards,
blueshift

holger
Hello,
the Ubuntu is very fat and slow on the Mini. I tried it and get back to the
qtopia. I do not need the qtopia environment because I only run a
standalone qt application.

You must recompile your application for the ARM CPU on the mini. For this
you have to install the (Friendlyarm-) toolchain on your host pc.

I develop my application with the Qtcreator and it works very well. The
same code for pc or the mini. 

Hope that helps:-)

blueshift
Dear holger,
thanks for the reply. I will try it.
What my requirement is I have to run a QT application on Tini6410/Mini6410.
You mean after compiling the QT application using the toolchain, I will be
able to run the application on the default Friendly ARM OS?

holger
No, you need the toolchain to compile the application for the mini. The
toolchain is the gcc, linker and so on to get an executable for the ARM
processor on the mini. If you compile it with the standard compiler for
example on and amd64 pc you get an executable for this cpu. This does not
run on the mini.

You can see this with the "file" command on Linux. An application compiled
for the amd64 (my pc) looks like this:

TestExe: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically
linked (uses shared libs), for GNU/Linux 2.6.9, not stripped

The same code compiled with the toolchain for the ARM cpu on the mini:

TestExe: ELF 32-bit LSB executable, ARM, version 1 (SYSV), dynamically
linked (uses shared libs), for GNU/Linux 2.6.27, not stripped

For QT you may need to compile QT for host and target that the application
runs on the mini.
I installed the latest QT on host and mini.
But first of all, you need a working toolchain on your host pc.

blueshift
Dear holger,
I have QT SDK with QT Creator(2.4.1) with QT 4.7.4 32-bit installed on my
Windows XP.

I have a Tiny6410 board with DVD.
DVD has 1) arm-linux-gcc-4.5.1-v6-vfp-20101103.tgz
        2) S3C6410X Tool Chain 4.2.2 - EABI V0.0 - cross-4.2.2-eabi.tar

I believe 1st file is for the Linux environment and not Windows.
File 2 is corrupted.

After searching, I learned there is this Sourcery G++ Toolchain.

Holger, isn't it that QT applications can run on multi-platform. Our QT
application is already running on Ubuntu Minimal version on PC platform.

Could you kindly guide regarding your complete development environment? You
said your application developed using QT Creator runs on PC and Mini too.
Are you running the default Friendly ARM OS on Mini?

Please guide me accordingly.

holger
I am using Linux. I am not able to help you developing under Windows. I
think it's easier on Linux to get all running:-) .. But not a
"one-click-and-run-setup"! I think I need two weeks to get all runing:-(
Someone should write a step my step howto:-) 

I downloaded all 3 dvd images from the FriendlyARM ftp server (the 2. I
never use:-) ) :
Mini6410A-20111022.iso
Mini6410B-20110326.iso
Mini6410B-20111022.iso

From the first dvd I use the toolchain:
arm-linux-gcc-4.5.1-v6-vfp-20101103.tgz
Copy it to /usr (as root) and extract it (tar -xvzf arm-linux......)

From the 3. dvd I installed the mini described in the docu (User's Guide to
Mini6410 System Installation_040211.pdf) with the following system:
rootfs_qtopia_qt4-slc.ubi

From the Nokia website I get the latest Qt: 
qt-everywhere-opensource-src-4.8.1.tar.gz

Also I get tslib 1.0.0

First you must compile tslib:
./configure --host=arm-none-linux-gnueabi --prefix=/usr/local/tslib
--enable-static --enable-shared

make
make install

Copy the folder /usr/local/tslib to the same folder on the mini.

Then compile Qt twice. First for your host and second for the mini. You
need both versions on your host to compile for the mini (and for your pc,
to test the application on the pc).
I have my exact configure options not here but you need the --host like
above for the mini. For you pc you can omit this option, than the configure
script takes the correct one for your cpu. Than you need the --prefix.
Different for host and mini. The option with-tslib and what else you need.
Try ./configure --help to get all options.

After both versions are installed on your pc, copy the ARM-version also to
the mini. For example to:
/usr/local/Trolltech/QtEmbedded-4.8.1-arm

On the mini edit the file:
/etc/init.d/rcS

I have added:

LD_LIBRARY_PATH=/usr/local/Trolltech/QtEmbedded-4.8.1-arm/lib:/usr/local/lib:
QPEDIR=/usr/local/Trolltech/QtEmbedded-4.8.1-arm
QTDIR=/usr/local/Trolltech/QtEmbedded-4.8.1-arm

export PATH runlevel prevlevel LD_LIBRARY_PATH QPEDIR QTDIR

> Holger, isn't it that QT applications can run on multi-platform. Our QT
> application is already running on Ubuntu Minimal version on PC platform.

You have to compile the application with the qt-libs for pc to run it on pc
and you have to compile it with the qt-libs for the mini to run it on the
mini. It's both the same sourcecode that you wrote, but build with
different compiler and therefor with the according libs for the compiler.

Greetings

blueshift
Dear holger,
You are so much helpful.
since the default OS preloaded with Mini/Tiny6410 has QT installed as
default sample QT applications are running. 
I have the ARM-Linux GCC v4.5.1 installed in /opt/FriendlyARM/toolschain
folder of Ubuntu Desktop PC(v11.10)
I downloaded the qt_everywhere_src file from QT website and compiled. I
have also downloaded ARM-Qtopia-2.2.0 file from the FriendlyARM Downloads
website.
I am following this tutorial:
http://www.youtube.com/watch?v=ghzRuwEAWdo&feature=related

I updated the path in the BASHRC file for the toolchain. I checked the
ARM-GCC-Linux version for confirmation and it was ok.

At one point, I did all this installation of toolchain and Qtopia on my
Ubuntu Desktop machine.

While building a sample 'Hello World' QT application, I got make:
arm-linux-g++ not found error. I also got error 127:Permission Denied after
that.

May be I was close to compiling a simple application but may be some
mismatch in the PATH or permission problems. I cant seem to resolve this as
i followed exactly in tutorial.

Your valuable help required.

PS: I did followed the System Installation method as described for
installation of OS using SD-Card. But somehow this is also not working. So
I want to compile the application for default preloaded OS in the board as
QT applications are already running in the same.

holger
For the "arm-linux-g++ not found error":
Go to  /opt/FriendlyARM/toolschain/4.5.1/bin

> ls -l

I think there you will NOT find the arm-linux-g++ instead you will find the
arm-none-linux-gnueabi-g++.

make for EACH entry in this directory a symbolic link. For example:
> ln -s arm-none-linux-gnueabi-g++ arm-linux-g++

After you did it like this for all in this directory you should have some
like this:

arm-linux-addr2line -> arm-none-linux-gnueabi-addr2line
arm-linux-ar -> arm-none-linux-gnueabi-ar
arm-linux-as -> arm-none-linux-gnueabi-as
.
.
.

In your PATH should be:
/opt/FriendlyARM/toolschain/4.5.1/bin
AND:
/opt/FriendlyARM/toolschain/4.5.1/libexec/gcc/arm-none-gnueabi/4.5.1

For testing if the toolchain is working compile first a pure C or C++
application like (hello.cpp): 

#include <iostream>

using namespace std;

int main()
{
    cout << "Hello World!" << endl;
    return 0;
}

Compile it with:
> arm-linux-g++ -o hello hello.cpp

and you should get the "hello" file. With the command:

> file hello
hello:  ELF 32-bit LSB executable, ARM, version 1 (SYSV), dynamically
linked (uses shared libs), for GNU/Linux 2.6.27, not stripped

You can see, that this is an executable for the ARM cpu. Upload this file
to the mini (maybe chmod +x hello) and it should work. (On your pc this
executable will not work:-) )


Is all of the above working? Then go to the next and test the qt
installation.

I use QT Creator (2.4.1).
Make a new QT Console application ("qttest").
Source:
#include <QtCore/QCoreApplication>
#include <iostream>

using namespace std;

int main(int argc, char *argv[])
{
    QCoreApplication a(argc, argv);
    cout << "Hello QT" << endl;
    return a.exec();
}

Press run in the Creator and it should work (if you have the correct target
selected. It will only work if you have selected the QT for pc). If this
works, select the QT version for the mini and build it again (make project,
the icon with the hammer).

In the directory of the projekt (for example "qtprogrammieng") there are
now 3 subdirectorys:
qttest
qttest-build-desktop-Qt_4_8_1__Qt-4_8_1__Release
qttest-build-desktop-Qt_4_8_1__QtEmbedded-4_8_1-arm__Release

(The names could be different)
In the first directory you will find the sourcecode and all projectfile
from the Creator.
In the other two directories you will find the file for building for the
individual targets and the executables. So in the third directory is the
executable for the mini. After uploading (maybe chmod) it should work on
the mini.

Then you should test a simple qt gui application.

Don't forget to run the gui applications with the "qws" parameter on the
mini:

> ./mygui -qws


Your install problem:
"But somehow this is also not working." Is not very helpful:-)
Do you connect a serial cable to the mini? If yes, you should get some
error messages there. Post this here:-) If no, do so! :-) And post then the
errors here. Do you prepare the SD card properly?

Rick
what does it mean ?

===
Then compile Qt twice. First for your host and second for the mini
====

Rick
I can read from ./build-all at :
x86-qte-4.6.1-20100201.tar.gz

so I have installed qt-everywhere-opensource-src-4.6.1.tar.gz in PC,
I need to install it too in tiny6410 ?

Thanks
=====

#/bin/bash


rm -fr /opt/qtsdk-2010.01* 
rm -fr qt-everywhere-opensource-src-4.6.1
rm -fr /usr/local/Trolltech/QtEmbedded-4.6.1-x86

./qt-sdk-linux-x86-opensource-2010.01.bin 
cd /opt/qtsdk-2010.01/qt/tools/qvfb/
/opt/qtsdk-2010.01/qt/bin/qmake "QT_SOURCE_TREE=/opt/qtsdk-2010.01/qt"
make
cd -


tar xfvz qt-everywhere-opensource-src-4.6.1.tar.gz
cd qt-everywhere-opensource-src-4.6.1
echo yes | ./configure -opensource -embedded x86 -xplatform
qws/linux-generic-g++  -qt-libtiff -qt-libmng -qvfb

make && make install

cd /usr/local/Trolltech/QtEmbedded-4.6.1-i386

Rick
it's for touchscreen, isn't it ?
I downloaded tslib-1.0.tar.bz2, can not do configure, 
where did you get your tslib ?

thanks
=============
Also I get tslib 1.0.0

First you must compile tslib:
./configure --host=arm-none-linux-gnueabi --prefix=/usr/local/tslib
--enable-static --enable-shared

Rick
I have at /usr/local/Trolltech :

/QtEmbedded-4.7.0-arm

and
/QtEmbedded-4.6.1-i386

I don't have to compile again then ?

I need to copy QtEmbedded-4.7.0-arm to tiny6410 board ? Let me check, may
be already there...

Rick
I use :
/usr/local/Trolltech/QtEmbedded-4.7.0-arm/bin/qmake

for tiny6410 and

/usr/local/Trolltech/QtEmbedded-4.6.1-i386/bin/qmake

for PC on
Qt Creator 1.4.1
Tools->Option->Qt4....

am I right ?

thanks

Rick
Application output on Qt Creator :

Starting /root/Documents/qttest/qttest...
Hello QT

Rick
I used this code :

#include <QtCore/QCoreApplication>
#include <iostream>

using namespace std;

int main(int argc, char *argv[])
{
    QCoreApplication a(argc, argv);
    cout << "Hello QT" << endl;
    return a.exec();
}


I got error when I copy qttest to tiny6410 board :
./qttest: line1: syntax error: unexpected "("

Why is that ?
thanks

blueshift
Dear holger,
I gone through your last post and did exactly as instructed.
I am able to compile a simple CPP code using arm-linux-g++ and able to run
a QT console application on PC.(tested using Qt Creator 2.4.1).

While running in Qt Creator, it gives me following window.
'Cannot connect creator comm socket /tmp/qt_temp.Jw3622/stub-socket: No
such file or directory
Press <RETURN> to close this window...'
I can, however, run the application directly through the terminal.

All the compiled QT files are in '/usr/local/Qt/' folder.

I dont understand how you select QT version for mini. I guess it has
something to do with the Toolchain setting in QT Creator; however i am
unsure what needs to be put in those.

I am seeing the 'linux-arm-g++' folder under Qt/mkspecs/qws/ location.

Help me proceed further.

blueshift
Holger,
See the attached screenshot for QT version setting in QT Creator. Its
pointing to x86 PC based version. Has it something to do with this?
My bashrc has this path: PATH=$PATH:/opt/FriendlyARM/toolschain/4.4.3/bin
After this I make and make install the QT source and it got installed in
/usr/local/Qt folder.
Do I need to configure the Qt Versions in Tools>Options of Qt Creator?

Help.

blueshift
Dear holger,
I have set the Toolchains and Qt versions in Qt Creator under
Tools>Options.

Under Qt Version, I added the path to my Qt 'qmake': qmake
location:/usr/local/Qt/bin/qmake          ABI: arm-linux-generic-elf
Under Toolchains, I added with GCC Compiler path:
/opt/FriendlyARM/toolschain/4.4.3/arm-none-linux-gnueabi/bin/g++
With this setting, I open an example Qt project but while building it gives
me error that arm-linux-g++: Command not found.

In your previous post, there is arm-linux-g++ link script file in the bin
folder. It points to arm-none-linux-gnueabi-g++ script file in the same
location.
Also you mentioned:In your PATH should be:
/opt/FriendlyARM/toolschain/4.5.1/bin
AND:
/opt/FriendlyARM/toolschain/4.5.1/libexec/gcc/arm-none-gnueabi/4.5.1

Are you talking about the PATH in .bashrc file?

blueshift
Dear holger,
I am following the instructions from another thread to compile QT app for
Tiny6410 board.
I could compile it successfully. Just a simple hello word QT application
you gave.

But when i run in the board in terminal (./testQT -qws), it gives me
following error:
testQT: Error while loading shared libraries: libQtGui.so.4: cannot open
shared object file: No such file or directory

How do i proceed with resolving this error?

Regards,
Girish Thavai

xyz
Double posting just creates noise.

blueshift
Dear all,
I was able to compile Qt application for ARM under Qt Creator in Ubuntu.

I installed Xubuntu image on FriendlyARM board. Qt application was running
but no touchscreen interface is working. Also when I move the mouse, the
screen gets transparent meaning the background screen gets visible in the
moving areas.
seems I have to build tslib first and then compile Qt against the tslib. I
am also trying to build application for Qtopia interface.

Regards,
blueshift

davef
> seems I have to build tslib first
Correct.

Swami
hey holger, thanks for these notes. they are really helpful
i am stuck at point.
i was compiling tslib but i this error got error

--host=arm-none-linux-gnueabi: invalid command-line switch

please tell me what should i do..

thanks in advance.

blueshift
Swami, which GCC compiler you have installed? What is the PATH set?

holger
I configured tslib with the following command line:

$ ./configure --host=arm-none-linux-gnueabi --prefix=/usr/local/tslib
--enable-static --enable-shared

I use the FriendlyARM toolchain (gcc-4.5.1).

Swami
I have the same compiler (gcc4.5.1), I have ommited
--host=arm-none-linux-gnueabi and it started compiling tslib without any
error. what does the parameter  --host=arm-none-linux-gnueabi stands for?

Swami
Dear Holger!

I want to create photo frame type application which should be standalone,
which can change its picture by sending any command via UART from any PC.
Can you tell me what things I need to do? I want to demonstrate it by this
Friday.

holger
Without the --host parameter, the tslib will be compiled for your PC and
not for the Mini. But you need the tslib on the mini to get a working
touchscreen. So if you don't want the touchscreen, you don't need the
tslib:-)

In other case.... is the arm-linux-gcc in your $PATH?
Check it:
$ echo $PATH

I think the application you want is not the big problem:-)

Swami
hello again,

i want to compile hello program
i am following this tutorial

http://www.youtube.com/watch?v=ghzRuwEAWdo&feature=related

and now i am at final point to create a .bin file
but i got the error at last stape
***************************************************************
swamiz@Virtual-Ubuntu:~/arm-qtopia/hello$ ./build
rm -f .obj/release-shared/moc_hello_base.o
rm -f .moc/release-shared/moc_hello_base.cpp
rm -f .ui/release-shared/hello_base.cpp .ui/release-shared/hello_base.h
rm -f .obj/release-shared/hello.o .obj/release-shared/main.o
.obj/release-shared/hello_base.o
rm -f *~ core *.core
/home/swamiz/arm-qtopia/qtopia-2.2.0-FriendlyARM/qt2/bin/uic hello_base.ui
-o .ui/release-shared/hello_base.h
arm--none-linux-gnueabi-g++ -c -pipe -DQWS -fno-exceptions -fno-rtti -Wall
-W -Os  -DQT_NO_QWS_VFB -DQTOPIA_DATA_LINKING -DQCONFIG=\"qconfig-qpe.h\"
-DQTOPIA_TARGET=\"hello\" -DQTOPIA_TRTARGET=\"hello\" -DQT_NO_DEBUG
-I/home/swamiz/arm-qtopia/qtopia-2.2.0-FriendlyARM/qtopia/mkspecs/qws/linux-arm-
g++
-I. -I../qtopia-2.2.0-FriendlyARM/qtopia/include
-I../qtopia-2.2.0-FriendlyARM/qt2/include -I.ui/release-shared/
-I.moc/release-shared/ -o .obj/release-shared/hello.o hello.cpp
make: arm--none-linux-gnueabi-g++: Command not found
make: *** [.obj/release-shared/hello.o] Error 127
****************************************************************

please tell me what should i do ?
thank you.

holger
There is a typo. Second last line you posted:

make: arm--none-linux-gnueabi-g++: Command not found

should be "arm-none-linux-gnueabi-g++" 

Greetings

Swami
I did the changes but still it gives error, this is my screen dump




swamiz@Virtual-Ubuntu:~/arm-qtopia/hello$ ./build
rm -f .obj/release-shared/moc_hello_base.o
rm -f .moc/release-shared/moc_hello_base.cpp
rm -f .ui/release-shared/hello_base.cpp .ui/release-shared/hello_base.h
rm -f .obj/release-shared/hello.o .obj/release-shared/main.o
.obj/release-shared/hello_base.o
rm -f *~ core *.core
/home/swamiz/arm-qtopia/qtopia-2.2.0-FriendlyARM/qt2/bin/uic hello_base.ui
-o .ui/release-shared/hello_base.h
arm-linux-g++ -c -pipe -DQWS -fno-exceptions -fno-rtti -Wall -W -Os 
-DQT_NO_QWS_VFB -DQTOPIA_DATA_LINKING -DQCONFIG=\"qconfig-qpe.h\"
-DQTOPIA_TARGET=\"hello\" -DQTOPIA_TRTARGET=\"hello\" -DQT_NO_DEBUG
-I/home/swamiz/arm-qtopia/qtopia-2.2.0-FriendlyARM/qtopia/mkspecs/qws/linux-arm-
g++
-I. -I../qtopia-2.2.0-FriendlyARM/qtopia/include
-I../qtopia-2.2.0-FriendlyARM/qt2/include -I.ui/release-shared/
-I.moc/release-shared/ -o .obj/release-shared/hello.o hello.cpp
arm-linux-g++ -c -pipe -DQWS -fno-exceptions -fno-rtti -Wall -W -Os 
-DQT_NO_QWS_VFB -DQTOPIA_DATA_LINKING -DQCONFIG=\"qconfig-qpe.h\"
-DQTOPIA_TARGET=\"hello\" -DQTOPIA_TRTARGET=\"hello\" -DQT_NO_DEBUG
-I/home/swamiz/arm-qtopia/qtopia-2.2.0-FriendlyARM/qtopia/mkspecs/qws/linux-arm-
g++
-I. -I../qtopia-2.2.0-FriendlyARM/qtopia/include
-I../qtopia-2.2.0-FriendlyARM/qt2/include -I.ui/release-shared/
-I.moc/release-shared/ -o .obj/release-shared/main.o main.cpp
/home/swamiz/arm-qtopia/qtopia-2.2.0-FriendlyARM/qt2/bin/uic hello_base.ui
-i hello_base.h -o .ui/release-shared/hello_base.cpp
arm-linux-g++ -c -pipe -DQWS -fno-exceptions -fno-rtti -Wall -W -Os 
-DQT_NO_QWS_VFB -DQTOPIA_DATA_LINKING -DQCONFIG=\"qconfig-qpe.h\"
-DQTOPIA_TARGET=\"hello\" -DQTOPIA_TRTARGET=\"hello\" -DQT_NO_DEBUG
-I/home/swamiz/arm-qtopia/qtopia-2.2.0-FriendlyARM/qtopia/mkspecs/qws/linux-arm-
g++
-I. -I../qtopia-2.2.0-FriendlyARM/qtopia/include
-I../qtopia-2.2.0-FriendlyARM/qt2/include -I.ui/release-shared/
-I.moc/release-shared/ -o .obj/release-shared/hello_base.o
.ui/release-shared/hello_base.cpp
/home/swamiz/arm-qtopia/qtopia-2.2.0-FriendlyARM/qt2/bin/moc
.ui/release-shared/hello_base.h -o .moc/release-shared/moc_hello_base.cpp
arm-linux-g++ -c -pipe -DQWS -fno-exceptions -fno-rtti -Wall -W -Os 
-DQT_NO_QWS_VFB -DQTOPIA_DATA_LINKING -DQCONFIG=\"qconfig-qpe.h\"
-DQTOPIA_TARGET=\"hello\" -DQTOPIA_TRTARGET=\"hello\" -DQT_NO_DEBUG
-I/home/swamiz/arm-qtopia/qtopia-2.2.0-FriendlyARM/qtopia/mkspecs/qws/linux-arm-
g++
-I. -I../qtopia-2.2.0-FriendlyARM/qtopia/include
-I../qtopia-2.2.0-FriendlyARM/qt2/include -I.ui/release-shared/
-I.moc/release-shared/ -o .obj/release-shared/moc_hello_base.o
.moc/release-shared/moc_hello_base.cpp
arm-linux-g++  -o hello .obj/release-shared/hello.o
.obj/release-shared/main.o .obj/release-shared/hello_base.o
.obj/release-shared/moc_hello_base.o   -luuid -lqtopia2 -lqtopia -lqpe
-L/home/swamiz/arm-qtopia/qtopia-2.2.0-FriendlyARM/qtopia/lib
-L/home/swamiz/arm-qtopia/qtopia-2.2.0-FriendlyARM/qt2/lib -lqte 
/opt/FriendlyARM/toolschain/4.5.1/lib/gcc/arm-none-linux-gnueabi/4.5.1/../../../
../arm-none-linux-gnueabi/bin/ld:
cannot find -lqtopia2
collect2: ld returned 1 exit status
make: *** [hello] Error 1

Swami
I was able to use "make" but when I try make install it gives error 

commandline:
swamiz@Virtual-Ubuntu:~/qt-everywhere-opensource-src-4.6.2$ make install

and some the last lines of the error:
g++ -Wl,-rpath-link,/home/swamiz/qt-everywhere-opensource-src-4.6.2/lib
-fno-exceptions -Wl,-O1 -Wl,-rpath,/usr/local/Qt/lib
-Wl,-rpath,/usr/local/Qt/lib -o ../../../bin/moc release-shared/moc.o
release-shared/preprocessor.o release-shared/generator.o
release-shared/parser.o release-shared/token.o release-shared/main.o    
-L/home/swamiz/qt-everywhere-opensource-src-4.6.2/src/tools/bootstrap
-lbootstrap -lz 
mkdir: cannot create directory `/usr/local/Qt': Permission denied
make[1]: *** [install_target] Error 1
make[1]: Leaving directory
`/home/swamiz/qt-everywhere-opensource-src-4.6.2/src/tools/moc'
make: *** [sub-moc-install_subtargets-ordered] Error 2

I have also tried "make clean"
I even made the Qt directory in usr/local still I get the same error

can you help me out ...

Swami
Good morning holger!
I have succeeded doing make install. It ended without error but I can't
find hello executable in the folder. which files should I port in 2440 and
how?

EddieX
Can anyone help? I cannot make the Cross compiler working/

in the terminal, arm-linux-g++ -v 
showing the arm-linux-gcc is installed

but in qt4, (ubuntu environment)

When compile, it complains arm-linux-g++: command not found?

How do we choose the toolchain?

Because, the Qt Version i choose the Qt Embedded
but initially there is a problem saying there is no toolchain can provide
code.

After i use add GCCE path: /opt/FriendlyArm/.../g++
it just has a waraning says no xml installed.

But what is wrong with the toolchain then?

fresher
m using windows 7/ ubantu both 
i am created my program in both 


plz say me that 

"how to compile & run my tiny 6410"

thanx........

fatih
hi all, i have a problem (or problems :))
my mini6410 board's touch screen does't work with qt app.
It works with qtopia but it doesn't with qt app.
"cat /dev/touchscreen-1wire | hexdump" command best work.
please help me.
thank you.

sujith
Sir,

 I am trieng to port Qt 4.8.3 and run application in tiny6410. What i have
done is

 1. Cross compiled qt-everywhere-opensource-src-4.8.3.tar.gz
    a) Extracted
    b) ./configure -opensource -embedded arm -xplatform qws/linux-arm-g++ 
-no-webkit -qt-libtiff -qt-libmng  -qt-mouse-tslib -qt-mouse-pc
-no-mouse-linuxtp  -no-qt3support -nomake examples -prefix /usr/local

    c) make and make install
 2. Removed existing Qt in board (/usr/local/Troltech/Qt4-embedded)

 3. I copied the qt-4.8.3 (crosscompiled) lib file in tiny/mini6410
/usr/local/Troltech/Qt4-embedded

 4. Crosscompiled simple helloworld application in hostpc and copied to 
pendrive and insertd in Tiny6410.

5. I put board terminal server shutdown and run "./hello -qws" it is saying
libqtgui.so.4 not found:no permission to run shared library.

" I didnt understand one thing setting encironment variables as per

http://www.sereno-labs.com/Qt_4.8.3_installation_procedure_FriendlyARM_m...
 

(because it is written for mini2440)


 
environment variables on the mini2440 board:
 

export TSLIB_TSEVENTTYPE=INPUT
export TSLIB_CONSOLEDEVICE=none
export TSLIB_FBDEVICE=/dev/fb0
export TSLIB_TSDEVICE=/usr/input/ts
export TSLIB_CALIBFILE=/usr/etc/pointercal
export TSLIB_CONFFILE=/usr/etc/ts.conf
export TSLIB_PLUGINDIR=/usr/lib/ts
export LD_LIBRARY_PATH=/usr/local/Qt/lib
export QTDIR=/usr/local/Qt
export QWS_MOUSE_PROTO=tslib:/dev/input/event0
export QWS_DISPLAY=LinuxFB:mmWidth=310:mmHeight=190
 
The Qt library binary (and fonts subdir) shall be placed on a user defined
directory of the mini 6410 board and then it is necessary to set
LD_LIBRARY_PATH to this directory.


Kindly help me . please give a understandable document because i am a
beginner

setu gupta
hi every one
I have a solution for the problem arm-none-linux-gnu......... command not
found ..
if you are using qt creator just go in kits (found in option) then go in
environment variables in that u will find PATH......double click on that
and in last add":/....../..../"(ur path where u extracted ur
arm-none-linux...........   /bin/) 
recompiled it will I'll be solved for sure