Re: How to copy Hive based registry into CF?



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



.



Relevant Pages

  • Re: How to copy Hive based registry into CF?
    ... By mistakenly that entries are came there. ... board SD/MMC card as well as Compact Flash is working well. ... hive based registry into SD/MMC or into CF card. ... ; END HIVE BOOT SECTION ...
    (microsoft.public.windowsce.platbuilder)
  • Re: mounting of the hive registry on sd card
    ... Even though i am unable to mounting the hive on Sd card. ... The actual error that you're seeing with the loading of the client driver ... It's trying to load the BusPrefix registry value from the ... ; END HIVE BOOT SECTION ...
    (microsoft.public.windowsce.platbuilder)
  • Re: How to copy Hive based registry into CF?
    ... Also, I guess you want to build up a HIVE-based registry OS image on PXA270, ... not just want to copy the hive registry file to CF card, ... ; HIVE BOOT SECTION ... "Luca Calligaris" wrote: ...
    (microsoft.public.windowsce.platbuilder)
  • Re: Hive based registry on sdcard..
    ... This is the final working registry settings for hive based registry on ... SDHC Memory Storage class driver ... ; END HIVE BOOT SECTION ... I am trying to have hive based registry on the sdcard. ...
    (microsoft.public.windowsce.platbuilder)
  • Re: Hive-Based Registry Settings
    ... I want to store registry hives on compact flash. ... ; HIVE BOOT SECTION ... ; @CESYSGEN ENDIF FILESYS_FSREGHIVE ... Timeout period for a flush (flush occurs if there have been some ...
    (microsoft.public.windowsce.platbuilder)