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.![]()
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.![]()
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.
Bookmarks