2007年7月2日 星期一

Reset registry to default in Hive Base

Intro:

When use HIVE Base in Wince , the system will keep the registry in the flash forever till format flash.

If we want to do the clean boot which to reset the registry to factory default , what should we do ?
1. only format HIVE registry block in flash
2. use OEMIoCtl and IOCTL_HAL_GET_HIVE_CLEAN
OALIoCtlGetHiveCleanFlag() function
2.1 Use HW button to dectect if clean HIVE registry
2.2 Use AP to set flag in reserve memory between bootloader and Ap




Ref:

http://www.vczx.com/article/show.php?id=1948

http://blog.csdn.net/slyzhang/archive/2006/08/10/1046951.aspx
http://www.yuanma.org/data/2006/0823/article_1393.htm

沒有留言: