Re: How to copy Hive based registry into CF?
- From: "Bruce Eitman [eMVP]" <bruce.eitman.nospam@xxxxxxxxxxxxxxxxxxx>
- Date: Thu, 28 Aug 2008 13:03:57 -0400
This a PCI device, isn't it? You don't show the PCI bus driver in the boot
hive, except to set a flag, it will need the rest of the settings.
Note, that Luca answered the question that you asked. You didn't ask about
this in your original post.
--
Bruce Eitman (eMVP)
Senior Engineer
Bruce.Eitman AT EuroTech DOT com
My BLOG http://geekswithblogs.net/bruceeitman
EuroTech Inc.
www.EuroTech.com
"Nil" <Nil@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:846A7538-6077-45F7-B30F-FA632EF21A03@xxxxxxxxxxxxxxxx
Thanks for reply Luca,
This is an API but i want it by registry setting. I have set
the registry as:
; HIVE BOOT SECTION
[$(PCI_BUS_ROOT)\Template\GenericIDE]
"IClass"=multi_sz:"{CDDC3621-3512-4b3f-BB6F-B4DD5E061795}"
"Prefix"="IDE"
"Dll"="atapi.dll"
"Order"=dword:2
"Class"=dword:01
"SubClass"=dword:01
"ConfigEntry"="GenericConfig" ; PCI configuration entry point
"Legacy"=dword:01
"Irq"=dword:0E ; 14
"SysIntr"=dword:00
"DMAAlignment"=dword:04
"SoftResetTimeout"=dword:03
"StatusPollCycles"=dword:100
"StatusPollsPerCycle"=dword:20
"StatusPollCyclePause"=dword:05
"RegisterStride"=dword:01
[$(PCI_BUS_ROOT)\Template\GenericIDE\Device0]
"IClass"=multi_sz:"{A4E7EDDA-E575-4252-9D6B-4195D48BB865}"
"Prefix"="DSK"
"Dll"="atapi.dll"
"InterruptDriven"=dword:01 ; enable interrupt driven I/O
"DMA"=dword:00 ; disable DMA
"DoubleBufferSize"=dword:10000 ; 128 sector (65536 byte) double buffer
"DrqDataBlockSize"=dword:200 ; 1 sector (512 byte) DRQ data block
"WriteCache"=dword:01 ; enable on-disk write cache
"LookAhead"=dword:01 ; enable on-disk look-ahead
"DeviceId"=dword:00 ; device 0, i.e., primary master
"TransferMode"=dword:FF
IF PRJ_ENABLE_FSREGHIVE
; HIVE BOOT SECTION
[$(PCI_BUS_ROOT)\Template\GenericIDE]
"Flags"=dword:1000
[$(PCI_BUS_ROOT)\Template\GenericIDE\Device0]
"Flags"=dword:1000
; END HIVE BOOT SECTION
ENDIF PRJ_ENABLE_FSREGHIVE
; END HIVE BOOT SECTION
; HIVE BOOT SECTION
IF SYSGEN_FSREGHIVE
[HKEY_LOCAL_MACHINE\init\BootVars]
"SystemHive"="CFDisk\\System\\system.hv"
"ProfileDir"="CFDisk"
"Start DevMgr"=dword:1
ENDIF ;SYSGEN_FSREGHIVE
[HKEY_LOCAL_MACHINE\Drivers\Resources\IRQ]
"Flags"=dword:1000
[HKEY_LOCAL_MACHINE\Drivers\Resources\IO]
"Flags"=dword:1000
[$(PCI_BUS_ROOT)\Template\GenericIDE]
"Flags"=dword:1000
[$(PCI_BUS_ROOT)\Template\GenericIDE\Device0]
"Flags"=dword:1000
[HKEY_LOCAL_MACHINE\System\StorageManager\FATFS]
"Flags"=dword:1000
[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\HDProfile]
"MountFlags"=dword:2
; END HIVE BOOT SECTION
I have set SYSGEN_FSREGHIVE and
PRJ_ENABLE_FSREGHIVE
but it not showing WINCE main Screen it hangs some point. It downloads
nk.bin file.
Is any settings missing or is any extra setting
to
be require to copy Hive based Registry into CF or in SD card?
Best Regards,
Swapnil
"Luca Calligaris" wrote:
Take a look at this RegSaveKey API:
http://msdn.microsoft.com/en-us/library/ms891466.aspx
--
Luca Calligaris
www.eurotech.it
"Nil" <Nil@xxxxxxxxxxxxxxxxxxxxxxxxx> ha scritto nel messaggio
news:DECB0E02-0F24-44B9-BD8C-368447156C30@xxxxxxxxxxxxxxxx
Hi all,
I am working on PXA270 based board in WINCE 5.0. I want to copy
Hive based Registry into Compact Flash or in SD Card.
Is anybody know how to do it?
Thanks in advance
Swapnil
.
- References:
- How to copy Hive based registry into CF?
- From: Nil
- Re: How to copy Hive based registry into CF?
- From: Nil
- How to copy Hive based registry into CF?
- Prev by Date: Re: How to debug kernel ?
- Next by Date: Re: Installing an application into the Flash using cab file
- Previous by thread: Re: How to copy Hive based registry into CF?
- Next by thread: Re: How to copy Hive based registry into CF?
- Index(es):
Relevant Pages
|
Loading