Hello,
In a post by Steve Maillet he wrote the following:
>>>
1) All files listed on the BIB files are in the ROM file system (and thus
always read only)
2) dlls and exes listed in the bib file MODULES section are linked and
located for execute in place and cannot be copied because they are no longer
actual files in the exe file format.
3) the root of the file system can be either the ram filesytem (if battery
backed ram is available) or can be an external file system such as a Compact
Flash card or hard drive.
4) you can place a file into the \windows folder and it will be placed into
the root file system (RAM or external device) and override any file with the
same name in the ROM FS. You can use that to provide updates to any
individual file. Deleting the updated file reverts to the one in ROM
5) it is possible to use the binfs support provided in Windows CE to split
up the os image into different regions. (e.g one section of ROM for all the
MS stuff and another for all of your custom stuff) You can then update only
the region required.
<<<
I've managed to persist any changed registry settings to my hard disk so
that they are not lost upon hard resets. Now i'm trying to mount my external
file system (i.e. my Disk On Module) as the root as well as Shadowing the
Windows directory. This would allow me to update applications (i.e. the
associated files) which i built into the OS image without having to re-build
the image all over again (this would be implementing Steve's point 4 above).
Below are my registry settings:
[HKEY_LOCAL_MACHINE\init\BootVars]
"SYSTEMHIVE"="Documents and Settings\\system.hv"
"PROFILEDIR"="Documents and Settings"
"Start DevMgr"=dword:1 ; 1 will use HD for persistent registry....
"RegistryFlags"=dword:1 ; Aggressive registry flushing.
[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\HDProfile]
"MountFlags"=dword:E ; Ready to accept the hive....
; Set this file system as root
; To force this root fs to shadow Windows directory
I then copied a file over to my \Windows directory and restarted the device.
I browse to the \Windows folder only to discover the file isn't there -
shadowing did not take place. Are my registry settings correct? The
MountFlags value was obtained by OR'ing 2 (to specify this is where the
registry goes), 4 (to set the FS as the root), and 8 (to enable shadowing of
the windows directory). I then tried to add the following registry settings
but still no luck:
[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\HDProfile\FATFS]
"MountFlags"=dword:E
Can anyone bring any light into this? Steve?
Thanks.