I’m going to start implementing the update of VF61 module (bootloader, OS and whatever is necessary) using the UpdateLib contained in Toradex CE Libraries 2.1.
I looked to UpdateLib_Demo sample to see how to use the library itself.
I noticed that this sample seems to a be in a preliminary stage (a lot of mess in the comments and legacy names of some functions). I hope you can improve the sample in the future but I think it’s enough clear to understand how to use the library.
One thing that came to my eyes: function updateIMXBootloader() in UpdateLib_Demo sample searches for eboot.imx but (at least for VF61 and for WIN CE 1.5 release) the file has .img extension.
Could you confirm that the exact steps to complete a full module update are:
Would we like to know the purpose of the update? Is it for production programming or general development cycle update? It will help us to provide a better solution for you.
Generally,
Update OS
Update Eboot
Clear Registry
Reboot the module
Update master config block, registry, filesystem if you want.
Please let us in detail if you face any issue on this. Also, Could you please share which version is running on the module and which version you are trying to update?
Thank you for reporting the error. Very recently, we have updated the same in UpdateLib_Demo.c but not yet released.
Please use our update lib APIs to update the Colibri VFxx from your application. Very rarely, you might need to do erase the filesystem. We have implemented a VybFlashEraseFilesystem API for that but not yet released. It will be released in v2.2.
Final steps would be:
Update OS
Update Eboot
Clear Registry.
Optional: Erase the file system
Reboot the module
Update master config block, registry, filesystem if you want.
Let us know if you need further assistance on this.
I have updated steps little more for a better explanation.
Create production reference Vybrid module based on v1.5 image like .NET installed, registry and config block customized
Take the backup of production-ready ConfigBlock, Registry, Filesystem using updatetool_v7_5_0 from your production reference Vybrid module
Create Splashscreen
Update v1.5 OS (standard release image or custom build image)\
Update v1.5 Eboot (standard release)
Clear Registry( Please don’t forget)
Reboot
Using updatetool_v7_5_0.exe, update Filesystem, config block, and registry, which was taken as Backup from reference module and splash screen.
Reboot and verify
I modified some registry settings
after having installed the OS.
Does the following OS updates reset
the registry to their predefined
values? Or does it keep my changes?
The master registry backup is your customized registry for your product. After restoring master registry you can retain or maintain the same registry all your products. It may or may not reset the registry, so that we are recommending Clear Registry especially. After cleaing the registry, it will reset to standard release image registry.
Is the same for the master config
block?
I would say production reference or master config block is customized config block for your product.
Does “file system” refer to \FlashDisk
(i.e. the R/W file system)?
Yes
Let us know if you need further assistance on this