Stand-Alone Application for mini6410

Swami
Hi i recently bought mini6410, and i am trying to run stand-alone
application on it.
I have already created normal qt application using qt creator, which runs
perfectly.
Now i want to make it stand-alone for mini6410.

I have read this forum, http://www.friendlyarm.net/forum/topic/4260
but i dint got a thing, i am a beginner, so please just tell me how to do
it step by step.

Thank you in advance.

redeagle
What do you mean with stand-alone applications?

If you mean an Application running completely without an OS or even an
kernel you have to call the compiler with the following parameters:

-nostdlib -fno-builtin -fno-exceptions -fno-zero-initialized-in-bss
(this is for a x86-kernel, this may differ a bit in your case)

And you need a link-script which tells the linker how your memory looks
like and to which your firmware has to be linked to.
Of cause you cannot use the libc from/for a linux system. You have to
corss-compile a separate one (also with the flags above) to be independent
from a Linux-kernel.

I think it is a good idea to build a completely different and independent
cross-compiler instead of using the one to build arm-linux-software.
This script: https://github.com/esden/summon-arm-toolchain may be helpful
but you have to modify it because it's just for cortex-m3-cores


If you just want to build a Qt-App for a GNU/Linux-OS running on your
mini6410 you need a cross-compiler for building applications for this
specific operatingsystem. I created a cross-compiler for the Linux on the
parrot AR.Drone some weeks ago. So my logfile: My logfile may help you:
http://reos.re.funpic.de/doku.php?id=ot:ardronexc may help you.
But there are also some points you may have to change:
 - the floating-point handling method
 - the abi
 - the kernel-source and patch
before you start building the crosscompiler you should check the following
link to get some theory:
http://cross-lfs.org/view/clfs-embedded/arm/cross-tools/chapter.html

holger
Hi,

check the thread you posted. You have to compile QT for the mini and build
your application with this libs to run it on the mini.

Then you go an the mini to the Folder /etc/init.d and edit the script rcS.
Delete or commenting the line which starts qtopia and insert a line to
start your application. For example:
/path/to/your/app/NameOfApp -qws &

That's all:-)

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.