1. March 8, 2011 1:27 PM 2. 3 Day 3. MC75A BSP 37 4. 2333885 What is the best way to detect a cold boot? The clock on the device is not reset on cold boot, and that was previously the best way to detect a cold boot. Customer looking to do this programatically.
MC75A - Detect a Cold Boot |
6 Replies
Yes, manually merge then warm boot or put it in /application and clean boot.
Thanks John.
John, Thanks for the update. I looked in the BSP 37 update for MC75A and it does not seem the file to enabled cache disk persistence on warm boot is present. What is the best option to get it? Ken
Did you try this:
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\RAMDisk]
"RetainDataThroughWarmBoot"=dword:00000001
John, How does this take effect? Manually merge this and warm boot? Cold boot?
WM doesn't really know the difference between the two so there's no real way to request it from the OS. One thing that may work is writing an app that creates a file on the cache disk. On startup the app could check if the file exists. If not then a cold boot happened and it can re-create the file. They would have to enable the "persist cache disk on warm boot" feature for this to work.