Re: Flash for persistent storage and hive based registry

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: Dean Ramsier (dramsiernospam_at_accelentnospam.com)
Date: 03/03/04


Date: Wed, 3 Mar 2004 09:13:35 -0500

Since you're using BinFS and not attempting to XIP from strataflash (a
questionable decision in my opinion) you should be able to use the NOR flash
driver available in PB. In fact, since BinFS is already running, the block
driver is apparently already there. All you need to do is get the registry
settings correct to format/partition/mount the remaining part of the flash.
The hive registry can then be targeted to that file system. This can all
happen automatically.

Why are you choosing to use BinFS instead of executing directly from flash?
It's much more complicated, and comes with performance penalties over
executing directly in place. The only advantage is that SDRAM is faster
than J3 flash, but paging code in and out will negate much or all of that
advantage. It also costs you RAM space. BinFS is primarily intended for
devices where the image is stored on a media that doesn't support XIP, NAND
flash.

-- 
Dean Ramsier - eMVP
Accelent Systems
http://www.accelent.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Have an opinion on the effectiveness of Microsoft Embedded newsgroups? Tell
Microsoft!
https://www.windowsembeddedeval.com/community/newsgroups
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
"Fabio - ElettronicaGF" <fmelandri@elettronicagf.it> wrote in message
news:3ad3b9c6.0403030250.684fbadf@posting.google.com...
> Hi all,
> I'm a newbie in WCE.NET and Platform Builder 4.2 and i'm trying to
> understand how to use my on-board flash for the OS image and
> data/registry storaging.
> My platform is a pxa255 processor board with 32M strata flash (2 x
> 28f128j3a) and 64M sdram.
> My bootloader create a BINFS partition and an EXTENDED partition on
> the rest of the flash memory.
> The BINFS partition serves for the OS image (non-XIP mode).
> Is it possible to use the EXT partition for persistent storage and
> hive based registry ?
> Do I need for something like Intel IPSM or the NOR strata flash driver
> (from PB) and some registry settings (as I see in PB Help) are enough?
> Do I have to modify my bootloader to create a FAT partition instead of
> an EXTENDED?
> Now, when my platform boot, I can see (with stguil) only a BINFS
> partition.
> I would like to have the storage/registry partition automatically
> created at boot time, is it possible?
>
>
> Thanks in advance,
> best regards.
>
> Fabio Melandri
> ElettronicaGF


Relevant Pages

  • Re: WindowCE 5.0 + XIP Chain question!
    ... No matter what kind of Flash technology you are using, you could still use XIP Chain. ... Here is another thread discussing about BinFS and Multiple XIP you may want to take a look - ... partition, ...
    (microsoft.public.windowsce.platbuilder)
  • Re: Flash for persistent storage and hive based registry
    ... In fact, since BinFS is already running, the block ... > Why are you choosing to use BinFS instead of executing directly from flash? ... >> My bootloader create a BINFS partition and an EXTENDED partition on ... >> Fabio Melandri ...
    (microsoft.public.windowsce.platbuilder)
  • Re: How to implement TFAT file systems using FMD in windows ce5.0?
    ... I am trying the same thing for Intel strata NOR flash. ... I have added the Registry settings to Project.reg file like ... And one more thing i have added Fat file system and Partition driver to my ...
    (microsoft.public.windowsce.embedded)
  • Re: Using flash disk partition
    ... You have to have a driver for your flash. ... driver for the FAT filesystem, a driver for the partitions, the filesystem, ... OS to use my partition as drive... ...
    (microsoft.public.windowsce.embedded)
  • Re: Using flash disk partition
    ... The boot partition APIs are callable from the ... flash memory as a store. ... section of flash that you want to devote to filesystem? ... you want without conflicting with the code trying to execute ...
    (microsoft.public.windowsce.embedded)