Windows CE: Adding a File to Runtime Image

There are number of steps needed to add a file or application to the operating  system. You need to modify .dat, .bib and .reg fi les of your operating system.

A file system (.dat) fi le defi nes the directory and file locations for the initial settings on a target device.

When you cold boot your run-time image on the target device, Filesys.exe uses these .dat fi les to create the directories, links, and files in the root file system on the target device.

The commands, or fi le parameters, in DAT files are:


  1.   root, which designates the root folder.
  2.  Directory("<Directory Name>"), which is used to both designate a folder and to create a new folder
  3. Permdir("<Directory Name>"), which is used to create a new folder that cannot be deleted by the user.
  4. File("<destination file name>","<source path and fi le name>"), which is used to copy a file.

References:

1. http://geekswithblogs.net/BruceEitman/archive/2008/06/17/platform-builder-using-dat-files-to-initialize-the-file-system.aspx

2. http://blogs.msdn.com/b/mikehall/archive/2004/07/26/197337.aspx

Comments

Popular posts from this blog

bb.utils.contains yocto

make config vs oldconfig vs defconfig vs menuconfig vs savedefconfig

PR, PN and PV Variable in Yocto