Save registry on WCE7 2.0

Colibri T30, WCE7, BSP 2.0

Hello,

I want to save registry values in WinCE7 Image 2.0.

Unfortunately this does not work with the update tool.

What I noticed is: I have 2 FlashDisk folders (FlashDisk + Flashdisk2)

Can it be related to the 2nd folder that I can not save my registry?

How do I remove the second folder. In the 2.0Beta4 image was not available.

Many thanks for your help.

Best regards

Saphymo

Could it be you upgraded your image without using the .cfg file?

If you upgrade from 1.4 or older to V2.0 image you either have to upgrade by using the .cfg with the Update Tool or update with NVFlash / Recovery mode. This is due to the fact, that the registry now is stored in its own flash region, completely independent from the user accessible storage. Please check once if this is the case or not.

This feature was added with roadmap 15458. Please also make sure you are using V2.0 final and not 2.0 beta 4 as we fixed several issues with this release.

Dear Samuel.tx,

I using .cfg file.

[device]
type=default
instance=0

[partition]
name=BCT
id=2
type=boot_config_table
allocation_policy=sequential
filesystem_type=basic
size=3145728
file_system_attribute=0
partition_attribute=0
allocation_attribute=8
percent_reserved=0

[partition]
name=PT
id=3
type=partition_table
allocation_policy=sequential
filesystem_type=basic
size=4096
file_system_attribute=0
partition_attribute=0
allocation_attribute=8
percent_reserved=0

[partition]
name=EBT
id=4
type=bootloader
allocation_policy=sequential
filesystem_type=basic
size=4194304
file_system_attribute=0
partition_attribute=0
allocation_attribute=8
percent_reserved=0
filename=EBOOT.NB0

[partition]
name=BMP
id=5
type=data
allocation_policy=sequential
filesystem_type=basic
size=262144
file_system_attribute=0
filename=Splashscreen.bmz
allocation_attribute=8
percent_reserved=0

[partition]
name=CE6
id=7
type=data
allocation_policy=sequential
filesystem_type=basic
size=104857600
file_system_attribute=0
partition_attribute=0
allocation_attribute=8
percent_reserved=3
filename=NK_CE7.NB0

[partition]
name=ARG
id=8
type=data
allocation_policy=sequential
filesystem_type=basic
size=2048
file_system_attribute=0
allocation_attribute=8
percent_reserved=5
start_location=0

[partition]
name=USR
id=13
type=data
allocation_policy=sequential
filesystem_type=basic
size=0xFFFFFFFFFFFFFFFF
file_system_attribute=0
partition_attribute=0
allocation_attribute=0
percent_reserved=5

Maybe here is a mistake?

Best regards

Saphymo

Dear Samuel.tx,

thank you for your answer.

I currently using .cfg file:

[device]
type=default
instance=0

[partition]
name=BCT
id=2
type=boot_config_table
allocation_policy=sequential
filesystem_type=basic
size=3145728
file_system_attribute=0
partition_attribute=0
allocation_attribute=8
percent_reserved=0

[partition]
name=PT
id=3
type=partition_table
allocation_policy=sequential
filesystem_type=basic
size=4096
file_system_attribute=0
partition_attribute=0
allocation_attribute=8
percent_reserved=0

[partition]
name=EBT
id=4
type=bootloader
allocation_policy=sequential
filesystem_type=basic
size=4194304
file_system_attribute=0
partition_attribute=0
allocation_attribute=8
percent_reserved=0
filename=EBOOT.NB0

[partition]
name=BMP
id=5
type=data
allocation_policy=sequential
filesystem_type=basic
size=262144
file_system_attribute=0
filename=Splashscreen.bmz
allocation_attribute=8
percent_reserved=0

[partition]
name=CE6
id=7
type=data
allocation_policy=sequential
filesystem_type=basic
size=104857600
file_system_attribute=0
partition_attribute=0
allocation_attribute=8
percent_reserved=3
filename=NK_CE7.NB0

[partition]
name=ARG
id=8
type=data
allocation_policy=sequential
filesystem_type=basic
size=2048
file_system_attribute=0
allocation_attribute=8
percent_reserved=5
start_location=0

[partition]
name=USR
id=13
type=data
allocation_policy=sequential
filesystem_type=basic
size=0xFFFFFFFFFFFFFFFF
file_system_attribute=0
partition_attribute=0
allocation_attribute=0
percent_reserved=5

Is there a mistake?

Thank you very much.

Best regards

Saphymo

Dear Samuel.tx,

thank you for your answer.

I currently using .cfg file:

[device]
type=default
instance=0

[partition]
name=BCT
id=2
type=boot_config_table
allocation_policy=sequential
filesystem_type=basic
size=3145728
file_system_attribute=0
partition_attribute=0
allocation_attribute=8
percent_reserved=0

[partition]
name=PT
id=3
type=partition_table
allocation_policy=sequential
filesystem_type=basic
size=4096
file_system_attribute=0
partition_attribute=0
allocation_attribute=8
percent_reserved=0

[partition]
name=EBT
id=4
type=bootloader
allocation_policy=sequential
filesystem_type=basic
size=4194304
file_system_attribute=0
partition_attribute=0
allocation_attribute=8
percent_reserved=0
filename=EBOOT.NB0

[partition]
name=BMP
id=5
type=data
allocation_policy=sequential
filesystem_type=basic
size=262144
file_system_attribute=0
filename=Splashscreen.bmz
allocation_attribute=8
percent_reserved=0

[partition]
name=CE6
id=7
type=data
allocation_policy=sequential
filesystem_type=basic
size=104857600
file_system_attribute=0
partition_attribute=0
allocation_attribute=8
percent_reserved=3
filename=NK_CE7.NB0

[partition]
name=ARG
id=8
type=data
allocation_policy=sequential
filesystem_type=basic
size=2048
file_system_attribute=0
allocation_attribute=8
percent_reserved=5
start_location=0

[partition]
name=USR
id=13
type=data
allocation_policy=sequential
filesystem_type=basic
size=0xFFFFFFFFFFFFFFFF
file_system_attribute=0
partition_attribute=0
allocation_attribute=0
percent_reserved=5

Is there a mistake?

Thank you very much.

Best regards

Saphymo

Hello Samuel.tx,
thanks for answer.
I used .cfg File and Image 2.0 WCE7. The Update Tool shows that the registry is saved but after reboot, the Registry is on an old status.
Thanks for Help.
Best regards
Saphymo

Now I try to flash the image with recovery Mode and with Update Tool. The effect is the same. The only different is, if I flash with Update tool I dont be asked about the Version of board and Serial Number.

@Saphymo: I think you already contacted us in the mail support and shared the *CFG file. Please let us know if using the standard file solved the issue.

Hello Samuel.tx,
thanks for answer. To use the default .CFG dont solve the problem because then the Image dont start. It hang because of no valid Registry.
I send you a picture of my System.
A defect PCB I can suspend, because with an other .cfg it works.
What is the problem?
Thanky very much.
Best regards
Saphymo

One thing has occurred to me.
I extend the registry in the image with its own entries.
Does this have an influence on the .cfg file?

I saw the new comment but this is old, because Forum didnt work.

acutally the REG section of new Image didnt work with my self created Image.

I think there can be a problem with new registry entry by myself? Have I change the size in the .cfg file? How can I do it?

Thanks for help.

Best regards

Saphymo

I will close this issue and handle that in this issue.