Hi all,
I have a question about MSFlash StrataFlash NOR driver. I want to include
that flash driver in my platform. I'm using wince 6.0, MainstoneIII, PXA270,
64MB P33B flash, MCPII_MODULE.

My Image is stored in flash, but gets copied to ram and run from ram. My
goal is to save 2MB of flash in the area of 57-59 MB. That area is way after
the image end, and also not too close to flash end.

In the catalog I selected : Core OS\CEBASE\File Systems and Data Store\File
System-Internal\ROM-only File System, and from the same place: Registry
Storage\Hive-based Registry.

In the file platform.reg I have the following settings:

[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\StrataFMD]
"Dll"="stratad.dll"
"Prefix"="DSK"
"Profile"="MSFlash"
"IClass"="{A4E7EDDA-E575-4252-9D6B-4195D48BB865}"
"BlockSize"=dword:40000
"WriteBufferSize"=dword:40
"IsPairedFlash"=dword:1
"FriendlyName"="MSFLASH Driver"
"Order"=dword:1
"MemBase"=dword:BE300000
"MemLen"=dword:00200000


[HKEY_LOCAL_MACHINE\System\StorageManager\AutoLoad\MSFlash]
"DriverPath"="Drivers\\BuiltIn\\StrataFMD"
"LoadFlags"=dword:2
"Order"=dword:0
"BootPhase"=dword:2

[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\MSFlash]
"Name"="MSFLASH for STRATAFLASH"
"Folder"="NOR Flash"
"MountPermanent"=dword:0
"FileSystem"="fatfsd.dll"
"AutoMount"=dword:1
"AutoPart"=dword:1
"AutoFormat"=dword:1
"PartitionDriver"="mspart.dll"
"Util"="fatutil.dll"

[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\MSFlash\FATFS]
"MountAsRom"=dword:0
"MountAsHidden"=dword:0
"MountAsRoot"=dword:1
"MountAsBootable"=dword:1
"FormatTfat"=dword:1
"CheckForFormat"=dword:1
"Flags"=dword:00000024
"MountFlags"=dword:2

When trying to download the image, just before the end of download, I get a
message:
FILESYS: Waiting for bootable file system to be mounted.
That message continues forever, and the image downloading process doesn't end.

What is the problem, and what can I do fix it?
Thank you very much

Re: MSFlash StrataFlash by Silver

Silver
Thu Jul 12 13:46:11 CDT 2007

You have not provided a place for Hive based registry to be retrieved from,
either implement hive based reg correctly or don't use it. It wil be simple
to get started without hives, then experiment with that later.

Geoff
--


Re: MSFlash StrataFlash by gol

gol
Thu Jul 12 22:50:01 CDT 2007

Thank you very much,
Do you mean that I have to leave the registry settings as they are now, but
remove the catalog item Hive-based Registry? What does it mean to "provide a
place for Hive based registry to be retrieved from"?
Thanks



"Silver" wrote:

> You have not provided a place for Hive based registry to be retrieved from,
> either implement hive based reg correctly or don't use it. It wil be simple
> to get started without hives, then experiment with that later.
>
> Geoff
> --
>
>

Re: MSFlash StrataFlash by gol

gol
Mon Jul 16 08:20:01 CDT 2007

Hi,
I tried to check RAM-based registry instead of Hive-based registry. I still
don't succeed downloading the image.

This time I erased all registry settings that I described previously in the
platform.reg file, because I thought that the defaults for these settings are
included anyway as soon as I select the catalog item "Intel StrataFlash NOR
Driver". Is that true?

What happens now is that the download process goes further but still gets
stuck before the end. When it's stuck, I see an endless loop of the message:
IsAPIReady is being deprecated, use WaitForAPIReady instead!!

Please help me solve that problem.
Thanks a lot


"gol" wrote:

> Thank you very much,
> Do you mean that I have to leave the registry settings as they are now, but
> remove the catalog item Hive-based Registry? What does it mean to "provide a
> place for Hive based registry to be retrieved from"?
> Thanks
>
>
>
> "Silver" wrote:
>
> > You have not provided a place for Hive based registry to be retrieved from,
> > either implement hive based reg correctly or don't use it. It wil be simple
> > to get started without hives, then experiment with that later.
> >
> > Geoff
> > --
> >
> >