Re: mounting of the hive registry on sd card
- From: Gouri <Gouri@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Mon, 2 Jun 2008 02:42:04 -0700
Hi Paul,
Actually i used
[HKEY_LOCAL_MACHINE\init\BootVars]
"SystemHive"="\\Storage Card\\system.hv"
"StartDevMgr"=dword:1
"Flags"=dword:0
"DefaultUser"="WinCE User"
"RegistryFlags"=dword:2 ; disable aggressive flushing
Even though i am unable to mounting the hive on Sd card.
Regards,
Gouri
"Paul G. Tobey [eMVP]" wrote:
How is this for SD? It looks to me like you've set up the registry to mount.
the registry from some Intel PSM system. What is \PSM? Also, did you set
the boot flags to start the Device Manager and Storage Manager in the first
boot phase, before the hive gets loaded?
The actual error that you're seeing with the loading of the client driver
seems clear from the messages (although I don't have SD cards on any of my
current devices). It's trying to load the BusPrefix registry value from the
SDMemory_Class registry key and it's not there. It seems likely that this
is causing the driver to stop loading.
Paul T.
"Gouri" <Gouri@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:167A101A-E05D-4004-980C-C4F9100F9E93@xxxxxxxxxxxxxxxx
Hi All,
I was working on mounting of the hive registry on sd card from one day
still
i am not succeded. Can anybody help me. for this purpose i have changed
the
platform.reg please find the changes i did.
; HIVE BOOT SECTION
IF BSP_NOSDHCGUM !
[HKEY_LOCAL_MACHINE\init\BootVars]
"SystemHive"="\\PSM\\system.hv"
"StartDevMgr"=dword:1
"Flags"=dword:0
"DefaultUser"="WinCE User"
"RegistryFlags"=dword:2 ; disable aggressive flushing
[HKEY_LOCAL_MACHINE\System\StorageManager]
"Flags"=dword:1000
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\SDHC_GUM]
"Dll"="sdhc_gum.dll"
"Prefix"="SDH"
"Order"=dword:21
"DMAChannel"=dword:14 ;comment this out to disable DMA support
"DMAIsrDll"="giisr.dll"
"DMAIsrHandler"="ISRHandler"
"DMAIRQ"=dword:19
;"DMASysIntr"=dword:
"DMAISTPriority"=dword:63
"DMABufferSize"=dword:10000
"ControllerIRQ"=dword:17
"ControllerISTPriority"=dword:64
"ClockAlwaysOn"=dword:0
"ClockOnIfInterruptsEnabled"=dword:1
"MaximumClockFrequency"=dword:989680 ;1312D00
"Flags"=dword:1000 ; Added for loading in Boot phase, not twice
"BootPhase"=dword:1 ; block-driver based file system, must boot in
phase
1
[HKEY_LOCAL_MACHINE\Drivers\Builtin\SDBusDriver]
"Order"=dword:15
"Dll"="SDBus.dll"
"Prefix"="SDC"
"ThreadPriority"=dword:64 ; default thread priority for dispatch
thread
"RequestListDepth"=dword:30 ; pre-allocated requests
"Flags"=dword:1000 ; DEVFLAGS_TRUSTEDCALLERONLY
"IClass"=multi_sz:"{20FA98A8-B298-4b32-8D72-C716AEE2FA84}=%b","{6F40791D-300E-44E4-BC38-E0E63CA8375C}=%b"
"Flags"=dword:1000 ; Added for loading in Boot phase, not twice
"BootPhase"=dword:1 ; block-driver based file system, must boot in phase
1
[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\SDMemory]
"Name"="SD Memory Card"
"Folder"="Storage Card"
;"PartitionDriver"="" ; removable storage cannot have
partitions
"MountAsRoot"=dword:0 ;
"MountAsBootable"=dword:1 ; bootable, may contain hive
[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\MMC]
"Name"="MMC Card"
"Folder"="Storage Card"
;"PartitionDriver"="" ; removable storage cannot have
partitions
; SD Memory Storage class driver
[HKEY_LOCAL_MACHINE\Drivers\SDCARD\ClientDrivers\Class\SDMemory_Class]
"Dll"="SDMemory.dll"
"Prefix"="DSK"
"BlockTransferSize"=dword:40 ; send no more than 64 blocks of data per
bus transfer
"SingleBlockWrites"=dword:1 ; alternatively force the driver to use
single block access
;"IdleTimeout"=dword:7D0 ; 2000 milliseconds
;"IdlePowerState"=dword:2 ; 0 == D0, 1 == D1, etc.
;"DisablePowerManagement"="" ; if value present, then disable (remove
value to enable)
"Profile"="SDMemory"
"IClass"=multi_sz:"{A4E7EDDA-E575-4252-9D6B-4195D48BB865}",
"{A32942B7-920C-486b-B0E6-92A702A99B35}"
"Flags"=dword:1000 ; Added for loading in Boot phase, not twice
"BootPhase"=dword:1 ; block-driver based file system, must boot in phase
1
; MMC Storage Class Driver
[HKEY_LOCAL_MACHINE\Drivers\SDCARD\ClientDrivers\Class\MMC_Class]
"Dll"="SDMemory.dll"
"Prefix"="DSK"
"BlockTransferSize"=dword:40 ; send no more than 64 blocks of data per
bus transfer
;"SingleBlockWrites"=dword:1 ; alternatively force the driver to use
single block access
;"IdleTimeout"=dword:7D0 ; milliseconds
;"IdlePowerState"=dword:2 ; 0 == D0, 1 == D1, etc.
;"DisablePowerManagement"="" ; if value present, then disable (remove
value to enable)
"Profile"="MMC"
"IClass"=multi_sz:"{A4E7EDDA-E575-4252-9D6B-4195D48BB865}",
"{A32942B7-920C-486b-B0E6-92A702A99B35}"
ENDIF BSP_NOSDHCGUM !
; END HIVE BOOT SECTION
I am using GumstixIII bsp on Wince6.0. With this changes i can able to
load
sdbus.dll and host driver (sdhc_gum.dll) successfully. but while loading
the
sdmemory.dll (Client) i am getting these Debug messages.
OSAXST1: >>> Loading Module 'sdmemory.dll' (0x83EE6E04) at address
0xC0CC0000-0x
C0CD9000 in Process 'NK.EXE' (0x82016AA0)
DEVICE!RegReadActivationValues
RegQueryValueEx(\Drivers\SDCARD\ClientDrivers\Cla
ss\SDMemory_Class\BusPrefix) returned 2
DeviceFolder::LoadDevice(\Drivers\SDCARD\ClientDrivers\Class\SDMemory_Class)
las
t 9 TicksOSAXST1: <<< Unloading Module 'sdmemory.dll' (0x83EE6E04) at
address 0x
C0CC0000-0xC0CD9000 in Process 'NK.EXE' (0x82016AA0)
SDBusDriver: Failed to load driver with path:
\Drivers\SDCARD\ClientDrivers\Clas
s\SDMemory_Class
- Follow-Ups:
- Re: mounting of the hive registry on sd card
- From: Paul G. Tobey [eMVP]
- Re: mounting of the hive registry on sd card
- Prev by Date: RE: Serial communication problem..
- Next by Date: RE: Serial communication problem..
- Previous by thread: RE: Serial communication problem..
- Next by thread: Re: mounting of the hive registry on sd card
- Index(es):
Relevant Pages
|