Results 1 to 2 of 2

Thread: Qtopia to flash after compiling???

  1. #1
    Join Date
    Nov 2008
    Posts
    7
    Thanks
    1
    Qt products
    Qt/Embedded
    Platforms
    Unix/X11

    Wink Qtopia to flash after compiling???

    After cross compiling, how do i put it into the ARM board??? I've got the bootloader and kernel. I try to directly mkyaffsimage to img but when i download to the flash, it doesn't work.

  2. #2
    Join Date
    Jul 2008
    Posts
    139
    Thanks
    9
    Thanked 18 Times in 15 Posts
    Qt products
    Qt/Embedded
    Platforms
    Unix/X11

    Default Re: Qtopia to flash after compiling???

    Hi,
    This could be any number of reasons. You need to provide more details.
    I just did this for my application using yaffs2 and it works.

    1) Did you first try to use a Network filesystem (rootfs)? You should always test outside the flash first, once Qt is working then you put it into the flash part.
    2) Are you using Static or Shared libs? If using shared libs it is more difficult because you have to make sure your LIBRARY_PATH is set correctly to where the libs are. When you run your app you may get an error like 'libQtCore/libQtGui is missing.." Check your library paths. Also if you compiled in shared mode, and your library path is not the same as when you compiled put a Qt.conf in the app directory. This file has the location of the library paths. (google qt.conf for more details).
    3)Did you confirm the flash image is in the flash part? Are all the libs/directories present that you need?

    In my project, I always used a network filesystem to develop and test, once I confirmed it worked I then just copied (cp -dpR path/to/networkfilesystem /mnt/flash.) I did not use a yaffsimg. I just copied directly. Although later I will create a yaffsimg and use that.

    Hope this helps.

Similar Threads

  1. Qtopia 4.2.4 opensource won't configure
    By MarkoSan in forum Qt for Embedded and Mobile
    Replies: 1
    Last Post: 28th November 2007, 13:54
  2. Replies: 3
    Last Post: 6th March 2007, 18:24
  3. Replies: 1
    Last Post: 19th January 2007, 11:27
  4. error in compiling qtopia.....
    By sar_van81 in forum Qt for Embedded and Mobile
    Replies: 3
    Last Post: 11th January 2007, 09:10
  5. compiling inputmethods in qtopia
    By sar_van81 in forum Qt for Embedded and Mobile
    Replies: 2
    Last Post: 11th January 2007, 06:16

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.