|
wince 6下在eboot中把flash分成了两个分区,一个给bin镜像:
BP_OpenPartition(NEXT_FREE_LOC, ( g_burnSize + sector_size) / sector_size, PART_BINFS, TRUE, PART_CREATE_NEW);
一个分成fat供用户使用:
BP_OpenPartition(NEXT_FREE_LOC, USE_REMAINING_SPACE, PART_DOS32, TRUE, PART_OPEN_ALWAYS);
系统启动后可以在存储管理器看到两个分区:*part00,和*part01
但是在“我的设备”里只能看到binfs的文件夹,请问如何能看到第二个fat分区的盘符?谢谢!!!
相关注册表如下:
//存储管理器相关注册表[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\MSFlash]
"DriverPath"="Drivers\\BuiltIn\\MSFlash"
"LoadFlags"=dword:1
"BootPhase"=dword:0
"Order"=dword:4
"AutoMount"=dword:1
"AutoPart"=dword:1
"AutoFormat"=dword:1
"Name"="MSFLASH for NAND FLASH"
"Folder"="Storage"
"MountAsROM"=dword:1
"MountHidden"=dword:0
;"MountAsRoot"=dword:0
;"MountSystem"=dword:0
"DefaultFileSystem"="FATFS"
"PartitionDriver"="mspart.dll"
[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\MSFlash\BINFS]
"Name"="My NAND FLASH1"
"Folder"="C" ;我的设备里看到就是这个C盘盘符 ;"MountHidden"=dword:1
;"MountAsROM"=dword:1
"XIP"=dword:0
[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\MSFlash\FATFS]
"MountAsBootable"=dword:1
"Name"="My NAND FLASH2"
"Folder"="D" ;想看到,但是完全没有踪影
"MountAsRoot"=dword:1
"MountAsNetwork"=dword:1
"Flags"=dword:00000014
"FormatTFAT"=dword:1
"EnableWriteBack"=dword:1
"CheckForFormat"=dword:1
"Util"="fatutil.dll"
//flash驱动相关注册表
; +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
; NAND Flash Driver
; +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
; @CESYSGEN IF CE_MODULES_FATUTIL
; @CESYSGEN IF CE_MODULES_FSDMGR
IF BSP_NONAND !
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\MSFlash]
"Prefix"="DSK"
"Dll"="$(_TGTPLAT_PFX)_nandflsh.dll"
"Index"=dword:1
"Order"=dword:4 ; Must follow the MFP
"IClass"="{A4E7EDDA-E575-4252-9D6B-4195D48BB865}"
"Profile"="MSFlash"
ENDIF BSP_NONAND !
; @CESYSGEN ENDIF CE_MODULES_FSDMGR
; @CESYSGEN ENDIF CE_MODULES_FATUTIL
|
|