Hi,

I have PXA255 platform derived from Lubbock. Using V5.0.
I have setup my hive registry to be on MMC card. Registry settings
below. Everything works fine in a debug build, hives are mounted
on the MMC card. With a release build at the point the hives are
being mounted or around that time the system hangs. I changed to
RAM registry with Release and that cured the problem. I have checked
that the drivers for the SD card and the loader are included in the image.

Loaded symbols for
'C:\WINCE500\PBWORKSPACES\NET\RELDIR\TMA_ARMV4I_DEBUG\DISKCACHE.DLL'

The above is the last print i have with a Release build.

; HIVE BOOT SECTION
IF BSP_NOSDMMC!
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\sdmmcloader]
"Dll"="sdmmc_loader.dll"
"Prefix"="SML"
"Order"=dword:1
"Ioctl"=dword:4
"Flags"=dword:1000

[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\SDMMC]
"Name"="SD MMC device"
"Folder"="SDCard"
"MountAsBootable"=dword:1
"AutoFormat"=dword:1
"AutoPart"=dword:1
"AutoMount"=dword:1
"FileSystem"="fatfsd.dll"
"PartitionDriver"="mspart.dll"

[HKEY_LOCAL_MACHINE\init\BootVars]
"SystemHive"="system.hv"
"StartDevMgr"=dword:1
"Flags"=dword:3


ENDIF
; END HIVE BOOT SECTION

Re: Hive registry not working with Release build by Anthony

Anthony
Mon Mar 13 02:47:00 CST 2006

Does your SDCARD driver work fine in release mode, I mean can you see the
new folder, can you put files inside and so on?
Did you perform a clean build when rebuilding in release mode?

HTH

--
--
--
----------------------------------------------------------------
Anthony Pellerin
ADENEO (ADESET)
Windows Embedded Consultant
<apellerin AT adeneo DOT adetelgroup DOT com>
http://www.adeneo.adetelgroup.com
Tél : +33 (0)4.72.18.57.77
Fax : +33 (0)4.72.18.57.78
----------------------------------------------------------------
"avn" <avn@msdiscussions.com> a écrit dans le message de news:
%23M3mTgNRGHA.4956@TK2MSFTNGP09.phx.gbl...
> Hi,
>
> I have PXA255 platform derived from Lubbock. Using V5.0.
> I have setup my hive registry to be on MMC card. Registry settings
> below. Everything works fine in a debug build, hives are mounted
> on the MMC card. With a release build at the point the hives are
> being mounted or around that time the system hangs. I changed to
> RAM registry with Release and that cured the problem. I have checked
> that the drivers for the SD card and the loader are included in the image.
>
> Loaded symbols for
> 'C:\WINCE500\PBWORKSPACES\NET\RELDIR\TMA_ARMV4I_DEBUG\DISKCACHE.DLL'
>
> The above is the last print i have with a Release build.
>
> ; HIVE BOOT SECTION
> IF BSP_NOSDMMC!
> [HKEY_LOCAL_MACHINE\Drivers\BuiltIn\sdmmcloader]
> "Dll"="sdmmc_loader.dll"
> "Prefix"="SML"
> "Order"=dword:1
> "Ioctl"=dword:4
> "Flags"=dword:1000
>
> [HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\SDMMC]
> "Name"="SD MMC device"
> "Folder"="SDCard"
> "MountAsBootable"=dword:1
> "AutoFormat"=dword:1
> "AutoPart"=dword:1
> "AutoMount"=dword:1
> "FileSystem"="fatfsd.dll"
> "PartitionDriver"="mspart.dll"
>
> [HKEY_LOCAL_MACHINE\init\BootVars]
> "SystemHive"="system.hv"
> "StartDevMgr"=dword:1
> "Flags"=dword:3
>
>
> ENDIF
> ; END HIVE BOOT SECTION
>
>



Re: Hive registry not working with Release build by avn

avn
Mon Mar 13 06:28:40 CST 2006

Hi Anthony,

Yes the SDCard is fine in release mode if i don't use it for Hive. Say if i
use Intel
Flash with PSM to store Hive this is ok in Release and Debug.

Its just when i use Hive on SdCArd in release. Any known issues on Lubbock
with SDcard loader/driver?

"Anthony Pellerin" <apellerin@nospam_adeneo.adetelgroup.com> wrote in
message news:OM6eoqnRGHA.1572@tk2msftngp13.phx.gbl...
> Does your SDCARD driver work fine in release mode, I mean can you see the
> new folder, can you put files inside and so on?
> Did you perform a clean build when rebuilding in release mode?
>
> HTH
>
> --
> --
> --
> ----------------------------------------------------------------
> Anthony Pellerin
> ADENEO (ADESET)
> Windows Embedded Consultant
> <apellerin AT adeneo DOT adetelgroup DOT com>
> http://www.adeneo.adetelgroup.com
> Tél : +33 (0)4.72.18.57.77
> Fax : +33 (0)4.72.18.57.78
> ----------------------------------------------------------------
> "avn" <avn@msdiscussions.com> a écrit dans le message de news:
> %23M3mTgNRGHA.4956@TK2MSFTNGP09.phx.gbl...
>> Hi,
>>
>> I have PXA255 platform derived from Lubbock. Using V5.0.
>> I have setup my hive registry to be on MMC card. Registry settings
>> below. Everything works fine in a debug build, hives are mounted
>> on the MMC card. With a release build at the point the hives are
>> being mounted or around that time the system hangs. I changed to
>> RAM registry with Release and that cured the problem. I have checked
>> that the drivers for the SD card and the loader are included in the
>> image.
>>
>> Loaded symbols for
>> 'C:\WINCE500\PBWORKSPACES\NET\RELDIR\TMA_ARMV4I_DEBUG\DISKCACHE.DLL'
>>
>> The above is the last print i have with a Release build.
>>
>> ; HIVE BOOT SECTION
>> IF BSP_NOSDMMC!
>> [HKEY_LOCAL_MACHINE\Drivers\BuiltIn\sdmmcloader]
>> "Dll"="sdmmc_loader.dll"
>> "Prefix"="SML"
>> "Order"=dword:1
>> "Ioctl"=dword:4
>> "Flags"=dword:1000
>>
>> [HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\SDMMC]
>> "Name"="SD MMC device"
>> "Folder"="SDCard"
>> "MountAsBootable"=dword:1
>> "AutoFormat"=dword:1
>> "AutoPart"=dword:1
>> "AutoMount"=dword:1
>> "FileSystem"="fatfsd.dll"
>> "PartitionDriver"="mspart.dll"
>>
>> [HKEY_LOCAL_MACHINE\init\BootVars]
>> "SystemHive"="system.hv"
>> "StartDevMgr"=dword:1
>> "Flags"=dword:3
>>
>>
>> ENDIF
>> ; END HIVE BOOT SECTION
>>
>>
>
>