Hi Guys,

May I know if there is any documentation/guide on building a WinCE 5
system with persistent storage and hive registry?

I tried building the system by choosing hive registry and rom-only file
system, it built successfully but cannot run. With a rom-and-ram file it
run fine, but the hive registry does not seems to be working, as changes
to the system options are lost after power off.

Therefore, is selecting hive registry in the catalogue suffice for
hive-based registry system.
Similarly, is selecting a rom-only file system sufficient for a system
with persistent storage.

Thanks for your help.


Regards
Tey

Re: Qn - How to Build a system with persistent storage?? by Luc

Luc
Wed Sep 27 02:53:28 CDT 2006

Hi,

selecting the catalog items is not enough. For a CEPC platform, there is
buildin support in the registry, but you must set
the following environments to enable it:

PRJ_ENABLE_FSREGHIVE=1

enables hive based registry

PRJ_BOOTDEVICE_ATAPI=1

merges the first partition of the harddisk with the rom file system. So that
all files on that partition appear under the "my device" icon. (If you have
explorer running) According to the help, this will only work with a ROM only
file system.
The partition should be properly formatted.

The registry changes are only saved to disk when the registry is flushed.
This can be done periodical, but it also has to be enabled with a
environment setting. I can't remember which one right now.

The registry hive files are saved under "\Documents and Settings" and
"\Documents and Settings\default"
These locations can be changed. Look for the registry key
"HLM\init\Bootvars".
It is evident that the save location must be persistent, or the hive based
registry won't be persistent either.

hope this helps.

regards,

Luc


"Tey" <teyet@scinetic.com> wrote in message
news:O$ew2bf4GHA.3600@TK2MSFTNGP03.phx.gbl...
> Hi Guys,
>
> May I know if there is any documentation/guide on building a WinCE 5
> system with persistent storage and hive registry?
>
> I tried building the system by choosing hive registry and rom-only file
> system, it built successfully but cannot run. With a rom-and-ram file it
> run fine, but the hive registry does not seems to be working, as changes
> to the system options are lost after power off.
>
> Therefore, is selecting hive registry in the catalogue suffice for
> hive-based registry system.
> Similarly, is selecting a rom-only file system sufficient for a system
> with persistent storage.
>
> Thanks for your help.
>
>
> Regards
> Tey



Re: Qn - How to Build a system with persistent storage?? by Ratheesh

Ratheesh
Thu Sep 28 20:58:21 CDT 2006

The setting for automatic periodic registry flushing is:
PRJ_ENABLE_REGFLUSH_THREAD =1

--
Thanks,
Ratheesh Rajan [MSFT]

"This posting is provided "AS IS" with no warranties, and confers no
rights."

"Luc Cool" <Cooltje@pandora.be> wrote in message
news:Y5qSg.98631$LD5.1288229@phobos.telenet-ops.be...
> Hi,
>
> selecting the catalog items is not enough. For a CEPC platform, there is
> buildin support in the registry, but you must set
> the following environments to enable it:
>
> PRJ_ENABLE_FSREGHIVE=1
>
> enables hive based registry
>
> PRJ_BOOTDEVICE_ATAPI=1
>
> merges the first partition of the harddisk with the rom file system. So
> that
> all files on that partition appear under the "my device" icon. (If you
> have
> explorer running) According to the help, this will only work with a ROM
> only
> file system.
> The partition should be properly formatted.
>
> The registry changes are only saved to disk when the registry is flushed.
> This can be done periodical, but it also has to be enabled with a
> environment setting. I can't remember which one right now.
>
> The registry hive files are saved under "\Documents and Settings" and
> "\Documents and Settings\default"
> These locations can be changed. Look for the registry key
> "HLM\init\Bootvars".
> It is evident that the save location must be persistent, or the hive based
> registry won't be persistent either.
>
> hope this helps.
>
> regards,
>
> Luc
>
>
> "Tey" <teyet@scinetic.com> wrote in message
> news:O$ew2bf4GHA.3600@TK2MSFTNGP03.phx.gbl...
>> Hi Guys,
>>
>> May I know if there is any documentation/guide on building a WinCE 5
>> system with persistent storage and hive registry?
>>
>> I tried building the system by choosing hive registry and rom-only file
>> system, it built successfully but cannot run. With a rom-and-ram file it
>> run fine, but the hive registry does not seems to be working, as changes
>> to the system options are lost after power off.
>>
>> Therefore, is selecting hive registry in the catalogue suffice for
>> hive-based registry system.
>> Similarly, is selecting a rom-only file system sufficient for a system
>> with persistent storage.
>>
>> Thanks for your help.
>>
>>
>> Regards
>> Tey
>
>



Re: Qn - How to Build a system with persistent storage?? by Richi

Richi
Thu Sep 28 21:51:02 CDT 2006

Also the bootable ATAPI disk should be mounted as root:
PRJ_ENABLEFSMOUNTASROOT=1


"Ratheesh Rajan [MSFT]" wrote:

> The setting for automatic periodic registry flushing is:
> PRJ_ENABLE_REGFLUSH_THREAD =1
>
> --
> Thanks,
> Ratheesh Rajan [MSFT]
>
> "This posting is provided "AS IS" with no warranties, and confers no
> rights."
>
> "Luc Cool" <Cooltje@pandora.be> wrote in message
> news:Y5qSg.98631$LD5.1288229@phobos.telenet-ops.be...
> > Hi,
> >
> > selecting the catalog items is not enough. For a CEPC platform, there is
> > buildin support in the registry, but you must set
> > the following environments to enable it:
> >
> > PRJ_ENABLE_FSREGHIVE=1
> >
> > enables hive based registry
> >
> > PRJ_BOOTDEVICE_ATAPI=1
> >
> > merges the first partition of the harddisk with the rom file system. So
> > that
> > all files on that partition appear under the "my device" icon. (If you
> > have
> > explorer running) According to the help, this will only work with a ROM
> > only
> > file system.
> > The partition should be properly formatted.
> >
> > The registry changes are only saved to disk when the registry is flushed.
> > This can be done periodical, but it also has to be enabled with a
> > environment setting. I can't remember which one right now.
> >
> > The registry hive files are saved under "\Documents and Settings" and
> > "\Documents and Settings\default"
> > These locations can be changed. Look for the registry key
> > "HLM\init\Bootvars".
> > It is evident that the save location must be persistent, or the hive based
> > registry won't be persistent either.
> >
> > hope this helps.
> >
> > regards,
> >
> > Luc
> >
> >
> > "Tey" <teyet@scinetic.com> wrote in message
> > news:O$ew2bf4GHA.3600@TK2MSFTNGP03.phx.gbl...
> >> Hi Guys,
> >>
> >> May I know if there is any documentation/guide on building a WinCE 5
> >> system with persistent storage and hive registry?
> >>
> >> I tried building the system by choosing hive registry and rom-only file
> >> system, it built successfully but cannot run. With a rom-and-ram file it
> >> run fine, but the hive registry does not seems to be working, as changes
> >> to the system options are lost after power off.
> >>
> >> Therefore, is selecting hive registry in the catalogue suffice for
> >> hive-based registry system.
> >> Similarly, is selecting a rom-only file system sufficient for a system
> >> with persistent storage.
> >>
> >> Thanks for your help.
> >>
> >>
> >> Regards
> >> Tey
> >
> >
>
>
>