making image of a user application using mkyaffs2image

Yayati Ekbote
Hi!!

Well i successfully created the image of root_qtopia by using mkyaffs2image
 . Now when i followed the same procedure for my application it gave
error...

#mkyaffs2image xyz.bin xyz.img

It gave some error which i don't remember right now...

Please, can somebody guide me?? I want to create an imgae of my own
application which i want to port on friendly arm device.

davef
We don't remember either!

Yayati Ekbote
ok!!!

but is it the right method  to create an image of user made application by
using mkyaffs2image???

davef
If you want to build your application into the rootfs then you make your
root image after you place it in, say /usr/bin or whatever.

Sounds like you are trying to make two separate images.

You could always add your application after you have make the root file
system by just copying the executable into the target.

HTH

Yayati Ekbote
Thanks buddy!!! But then my question is...don't i need to cross compile the
application using qmake of qtopia2.2.0 to make it run on friendly arm,
before porting it???

davef
You cross compile your application, place the executable in a directory in
root, cd to it and type in the filename.

If you want to be able to click on an icon on the Qtopia desktop see this
for an explanation:

http://equallybad.blogspot.com/2010/02/project-how-to-setup-default-dev-...