参考网站:
http://blog.chinaunix.net/uid-704367-id-2679751.html
Hive-based:
- 将 Catalog\Device Drivers\Storage Devices\Storage Devices\ATAPI PCI/IDE Storage Block Driver\ATAPI PCI/IDE Storage Block Driver 加入 Workspace;
- 将 Catalog\Core OS\Windows CE devices\File Systems and Data Store\Storage Manager\FAT File System 加入 Workspace;
- 将 Catalog\Core OS\Windows CE devices\File Systems and Data Store\Registry Storage\Hive-based Registry 加入 Workspace;
- 菜单 Platform->Settings,在“Platform Settings”对话框中选择“Environment”标签,通过设置环境变量:
SET PRJ_ENABLE_FSREGHIVE = 1
保证如下注册表键值即可:
[HKEY_LOCAL_MACHINE\init\BootVars]
"Flags"=dword:3 -
“RegistryFlags”=dword:1
[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\HDProfile]
"MountAsBootable"=dword:1