wince改rom-only文件系统,结果发现explorer.exe起不来
wince改rom-only文件系统,结果发现explorer.exe起不来,其他正常。希望大家指导下。谢谢
我点电脑刚才死机了
请问这是为什么
————————————————————————
多么似曾相识的感觉
引用: 引用 1 楼 veabol 的回复:
有什么出错信息吗?
是不是改了开机启动项?
不是的
[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\NANDFLASH\FATFS]
"MountAsRoot"=dword:1
"MountAsBootable"=dword:1
"MountPermanent"=dword:1
加上上面的注册表项就行了,帮助文档里面说的很清楚
引用: 引用 4 楼 xunjingzhpu 的回复:
[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\NANDFLASH\FATFS]
"MountAsRoot"=dword:1
"MountAsBootable"=dword:1
"MountPermanent"=dword:1
加上上面的注册表项就行了,帮助文档里面说的很清楚
我就是这样搞的,还加了rom-only file system
请查看镜像文件目录下的reginit.ini下看是否可以找到上面的注册表项,如果加了就可以了,没加就会出现没有shell的情况
引用: 引用 6 楼 xunjingzhpu 的回复:
请查看镜像文件目录下的reginit.ini下看是否可以找到上面的注册表项,如果加了就可以了,没加就会出现没有shell的情况
有的
把flash格式化试试,肯定就是上面两个步骤就行,不行把工程rebuild一下
引用: 引用 8 楼 xunjingzhpu 的回复:
把flash格式化试试,肯定就是上面两个步骤就行,不行把工程rebuild一下
呵呵,这样的是我已经试过了
IF BSP_POCKETMORY
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\FlashDisk]
"Prefix"="DSK"
"Dll"="ONDisk.dll"
"Order"=dword:1
; "Index"=dword:2
"IClass"=multi_sz:"{A4E7EDDA-E575-4252-9D6B-4195D48BB865}"
"Profile"="FlashDisk"
"BmlVolumeId"=dword:0 ; BML volume ID = 0
"BmlPartitionId"=dword:8 ; BML parition ID = PARTITION_ID_FILESYSTEM
"WMRStartSector"=dword:0
"WMRNumOfSector"=dword:40000 ;ffffffff;10000 ; 32MByte
; "Flags"=dword:1000 ;HIVE
; "Flags"=dword:11000 ; do not load again in boot phase 2 ;
[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\FlashDisk]
"DefaultFileSystem"="FATFS"
"PartitionDriver"="mspart.dll"
"Name"="PocketMory MLC Disk"
"Folder"="DISK1"
"AutoMount"=dword:1
"AutoPart"=dword:1
"AutoFormat"=dword:1
"MountFlags"=dword:0 ;0:RAM 11:HIVE
; "MountFlags"=dword:11 ;0:RAM 11:HIVE
; "Ioctl"=dword:4
"MountHidden" = dword:1 ;;增加这个选项可以隐藏ResidentFlash
"MountPermanent" = dword:1
[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\FlashDisk\FATFS]
"FriendlyName"="PocketMory FAT FileSystem"
"Dll"="fatfsd.dll"
"Flags"=dword:00000014 ; FATFS_ENABLE_BACKUP_FAT | FATFS_DISABLE_AUTOSCAN
"FormatTfat"=dword:1
"EnableCacheWarm"=dword:0
; "MountFlags"=dword:2 ;HIVE
; mounts the first FATFS partition on a storage device
"MountAsRoot"=dword:1
"MountAsBootable"=dword:1
"MountPermanent"=dword:1
;;----------------------------------------------------------------------------
;; 2nd FAT Area
;;----------------------------------------------------------------------------
;
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\FlashDisk1]
"Prefix"="DSK"
"Dll"="ONDisk.dll"
"Order"=dword:1
; "Index"=dword:1
"IClass"=multi_sz:"{A4E7EDDA-E575-4252-9D6B-4195D48BB865}"
"Profile"="FlashDisk1"
"BmlVolumeId"=dword:0 ; BML volume ID = 0
"BmlPartitionId"=dword:9 ; BML parition ID = PARTITION_ID_FILESYSTEM1
"WMRStartSector"=dword:40001
"WMRNumOfSector"=dword:ffffffff ; last location
; "Flags"=dword:1000 ;HIVE
; "Flags"=dword:11000 ; do not load again in boot phase 2 ;
[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\FlashDisk1]
"DefaultFileSystem"="FATFS"
"PartitionDriver"="mspart.dll"
"Name"="PocketMory MLC Disk1"
"Folder"="Local Diskc";"DISKC"
"AutoMount"=dword:1
"AutoPart"=dword:1
"AutoFormat"=dword:1
; "MountFlags"=dword:0 ;0:RAM 11:HIVE
; "MountFlags"=dword:11 ;0:RAM 11:HIVE
; "Ioctl"=dword:4
[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\FlashDisk1\FATFS]
"FriendlyName"="PocketMory FAT FileSystem1"
"Dll"="fatfsd.dll"
"Flags"=dword:00000014 ; FATFS_ENABLE_BACKUP_FAT | FATFS_DISABLE_AUTOSCAN
"FormatTfat"=dword:1
"EnableCacheWarm"=dword:0
; "MountFlags"=dword:2 ;HIVE
; mounts the first FATFS partition on a storage device
; "MountAsRoot"=dword:1
; "MountAsBootable"=dword:1
; "MountPermanent"=dword:1
ENDIF ;BSP_POCKETMORY
原来你用的pm版本,我的是fmd,pm版本没试过哦
引用: 引用 12 楼 xunjingzhpu 的回复:
原来你用的pm版本,我的是fmd,pm版本没试过哦
不就是NAND FLASH 物理层不一样吗
IF BSP_POCKETMORY !
IF BSP_NONANDFS !
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\NANDFLASH]
"Prefix"="DSK"
"Dll"="nandflash.dll"
"Index"=dword:1
"Order"=dword:0
"Profile"="NANDFLASH"
"IClass"="{A4E7EDDA-E575-4252-9D6B-4195D48BB865}"
IF IMGHIVEREG
"Flags"=dword:1000
ENDIF IMGHIVEREG
[HKEY_LOCAL_MACHINE\System\StorageManager\AutoLoad\NANDFLASH]
"DriverPath"="Drivers\\BuiltIn\\NANDFLASH"
"LoadFlags"=dword:1 ; load synchronously
"BootPhase"=dword:0
IF IMGHIVEREG
"MountAsBootable"=dword:1 ; for Hive-based registry
ENDIF IMGHIVEREG
[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\NANDFLASH]
"DefaultFileSystem"="BINFS"
"PartitionDriver"="mspart.dll"
"Name"="Microsoft Flash Disk"
[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\NANDFLASH\BINFS]
"MountHidden"=dword:1
"MountAsROM"=dword:1
[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\NANDFLASH\FATFS]
"FormatExfat"=dword:1
"Flags"=dword:14 ; deprecated in CE6.0 (0x4 : FATFS_DISABLE_AUTOSCAN, 0x10 : FATFS_ENABLE_BACKUP_FAT)
"DisableAutoScan"=dword:1
"CheckForFormat"=dword:1
"EnableWriteBack"=dword:1
"Folder"="NandFlash"
"MountAsRoot"=dword:1 ; for ROM-only file system
IF IMGHIVEREG
"MountAsBootable"=dword:1 ; for Hive-based registry
ENDIF IMGHIVEREG
[HKEY_LOCAL_MACHINE\System\StorageManager\AutoLoad\NANDFLASH\Filters\CacheFilt]
"Dll"="cachefilt.dll"
"LockIOBuffers"=dword:1
[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\NANDFLASH\FATFS\Filters\CacheFilt]
"Dll"="cachefilt.dll"
"LockIOBuffers"=dword:1
ENDIF BSP_NONANDFS !
ENDIF BSP_POCKETMORY !
6410 PM reg你可以参考下,具体的pm上没改过