This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Hive based registry on sdcard "2"

Dear Experts,

I am using OMAP35X and WinCE.

I can boot and save hive based registry on the "mmc sdcard 1".

but I want to do the same thing @ mmc sdcard 2 ~!

I can boot now, but how to modify platform.reg to save hive based registry into "mmc sdcard 2".

I saw "Storage Card" and "Storage Card2" in my WinCE environment, so I try to modify 

[HKEY_LOCAL_MACHINE\Init\BootVars]

"SystemHive"="Documents and Settings\\system.hv"  ==> "SystemHive"="\\Storage Card2\\Documents and Settings\\system.hv"

"ProfileDir"="Documents and Settings" ==> "ProfileDir"="\\Storage Card2\\Documents and Settings"

But WinCE only save hive to Storage Card\Storage Card2 folder...= ="...

Plz help ~ thx ~

 

attached file is my hive based platform.reg on sdcard

2451.platform.reg.txt

 

  • Dear all,

    I try to change    "MountAsBootable"=dword:1 to 0 @ MMC profile, but the image boot will stop at 

    ...

    SDHC slot 1 card insertion

    CSDIOController::-SDHCCardDetectIstThreadImpl()

    SDMEMORY: multi block reads enabled

     

    [HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\SDMemory]

        "Name"="SD Memory Card"

        "Folder"="Storage Card"

        "MountAsRoot"=dword:0

        "MountAsBootable"=dword:1

        "AutoMount"=dword:1

     

    ; 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

       "IdlePowerState"=dword:0     ; 0 == D0, 1 == D1, etc.

     

       "Profile"="SDMemory"

       "IClass"=multi_sz:"{A4E7EDDA-E575-4252-9D6B-4195D48BB865}",

                         "{8DD679CE-8AB4-43c8-A14A-EA4963FAA715}"

     

    [HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\MMC]

        "Name"="MMC Card"

        "Folder"="Storage Card"

        "MountAsRoot"=dword:0

        "MountAsBootable"=dword:1

        "AutoMount"=dword: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

       "IdlePowerState"=dword:0     ; 0 == D0, 1 == D1, etc.

       "Profile"="MMC"

       "IClass"=multi_sz:"{A4E7EDDA-E575-4252-9D6B-4195D48BB865}",

                         "{8DD679CE-8AB4-43c8-A14A-EA4963FAA715}"

     

  • can you remove the MMC profile from under HIVE_BOOT_SECTION and see if it helps?

    -Madhvi

  • Dear Madhvi~

    I remove Profiles\MMC and Class\MMC_Class ~ but image boot stop at

    ....

    SDHC slot 1 card insertion

    CSDIOController::-SDHCCardDetectIstThreadImpl()

    =====

    I will try just remove Profiles\MMC later ~

  • if you dont have a sd card inserted in slot 1, does it still stop at the same point?

    -Madhvi

  • Dear Madhvi,

    MY first sd card is MMC type on board flash ~

    so I can't remove it ~

  • Update my situation ~

    The SD card 2 (removable sd card) is the first order boot device ~ and the tracing vector is MMC/SD1

    The SD card 1 (on-board-flash) is the second order boot device ~ tracing vector is MMC/SD2

    They are all MMC type device ~

    My request is if I insert SD card (MMC/SD1) into platform, I hope the image in sd card 2 can save registry to sd card 2.

    If I boot from on-board-flash (MMC/SD2), image should save registry to on-board-flash.

    Of course, the images in SD card and on-board-flash are different~

    Only need to to is modify platform.reg to build the Wince Images ???

    Thx ~

  • Madhvi said:

    can you remove the MMC profile from under HIVE_BOOT_SECTION and see if it helps?

    -Madhvi

    If just remove the MMC profile from under HIVE_BOOT_SECTION, the boot step will still stop @

    ...

    SDHC slot 1 card insertion

    CSDIOController::-SDHCCardDetectIstThreadImpl()

    SDMEMORY: multi block reads enabled

     

  • I got solution ~

    1) I miss include SDHC1 driver between "; HIVE BOOT SECTION" and "; END HIVE BOOT SECTION" 

    2) Add SDHC1 driver flag " "Flags"=dword:1000 "

    3) change [..\Profiles\MMC] "MountAsBootable" from 1 to 0

     

    thx ~

  • attached file is modified version ~6303.platform_HIVE_SD.reg.txt

  • Hey, 

    Are you able to place hive on both the storage??

    Is it possible to have hive on MMC and SD at the same time, I mean in a single boot??

    Please share your idea...

    Seetharam