首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 嵌入开发 > WinCE >

Real6410开发板flash分区的有关问题,系统是WINCE6.0

2012-04-18 
Real6410开发板flash分区的问题,系统是WINCE6.0大家好,最近仔细看了Real6410开发板flash分区(所用的是MLC

Real6410开发板flash分区的问题,系统是WINCE6.0
大家好,最近仔细看了Real6410开发板flash分区(所用的是MLC类型的NAND FALSH,大小为1GB),有两个,一个大小为32MB,另一个为765.5MB,我定制的NK.bin大小为35MB,左右,这些加起来比1GB还差150MB,应该不太正常,但我试着在eboot中添加及修改分区,也修改了platform.reg中下面相关的注册表信息,但无法调整到有效的比较合理的接近1GB,麻烦大家看看,帮忙分析一下,先谢谢了。
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\FDSK]
  "Prefix"="DSK"
  "Dll"="ONDisk.dll"
  "Order"=dword:1
; "Index"=dword:1
  "IClass"=multi_sz:"{A4E7EDDA-E575-4252-9D6B-4195D48BB865}"
  "Profile"="FDSK"
  "BmlVolumeId"=dword:0; BML volume ID = 0
  "BmlPartitionId"=dword:8; BML parition ID = PARTITION_ID_FILESYSTEM
  "WMRStartSector"=dword:0
  "WMRNumOfSector"=dword:10000; 32MByte
  "ONDSectorShift"=dword:2 ; (512 << 2) : 2K Page

IF IMGHIVEREG
  "Flags"=dword:1000
ENDIF IMGHIVEREG

[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\FDSK]
  "DefaultFileSystem"="FATFS"
  "PartitionDriver"="mspart.dll"
  "Name"="PocketMory MLC Disk"
; "Folder"="PocketMory"
  "AutoMount"=dword:1
  "AutoPart"=dword:1
  "AutoFormat"=dword:1
; "MountFlags"=dword:0
; "Ioctl"=dword:4

[HKEY_LOCAL_MACHINE\System\StorageManager\AutoLoad\FDSK]
  "DriverPath"="Drivers\\BuiltIn\\FDSK"
  ; LoadFlags 0x01 == load synchronously
  "LoadFlags"=dword:1
  "BootPhase"=dword:0

[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\FDSK\FATFS]
  "FriendlyName"="PocketMory FAT FileSystem"
; "Dll"="fatfsd.dll"
  "Flags"=dword:00000014; FATFS_ENABLE_BACKUP_FAT | FATFS_DISABLE_AUTOSCAN
  "Folder"="PocketMory"
  "FormatExfat"=dword:1
; "EnableCacheWarm"=dword:0
  "CheckForFormat"=dword:1
  "EnableWriteBack"=dword:1

  "MountAsRoot"=dword:1; for ROM-only file system  
   
  "DisableAutoScan"=dword:1
   
IF IMGHIVEREG
  "MountAsBootable"=dword:1
ENDIF IMGHIVEREG

[HKEY_LOCAL_MACHINE\System\StorageManager\AutoLoad\FDSK\Filters\CacheFilt]
  "Dll"="cachefilt.dll"
  "LockIOBuffers"=dword:1

[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\FDSK\FATFS\Filters\CacheFilt]
  "Dll"="cachefilt.dll"
  "LockIOBuffers"=dword:1

;----------------------------------------
; 2nd FAT Area
;----------------------------------------

[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\FDSK1]
  "Prefix"="DSK"
  "Dll"="ONDisk.dll"
  "Order"=dword:1
; "Index"=dword:1
  "IClass"=multi_sz:"{A4E7EDDA-E575-4252-9D6B-4195D48BB865}"
  "Profile"="FDSK1"
  "BmlVolumeId"=dword:0; BML volume ID = 0
  "BmlPartitionId"=dword:9; BML parition ID = PARTITION_ID_FILESYSTEM1
  "WMRStartSector"=dword:10000
  "WMRNumOfSector"=dword:ffffffff; last location
  "ONDSectorShift"=dword:2 ; (512 << 2) : 2K Page
   

[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\FDSK1]


  "DefaultFileSystem"="FATFS"
  "PartitionDriver"="mspart.dll"
  "Name"="PocketMory MLC Disk1"
; "Folder"="PocketMory1"
  "AutoMount"=dword:1
  "AutoPart"=dword:1
  "AutoFormat"=dword:1
; "MountFlags"=dword:0
; "Ioctl"=dword:4

[HKEY_LOCAL_MACHINE\System\StorageManager\AutoLoad\FDSK1]
  "DriverPath"="Drivers\\BuiltIn\\FDSK1"
  ; LoadFlags 0x01 == load synchronously
  "LoadFlags"=dword:1
  "BootPhase"=dword:0


[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\FDSK1\FATFS]
  "FriendlyName"="PocketMory FAT FileSystem1"
; "Dll"="fatfsd.dll"
  "Flags"=dword:00000014; FATFS_ENABLE_BACKUP_FAT | FATFS_DISABLE_AUTOSCAN
  ;"Folder"="PocketMory1"
  "Folder"="SDMMC"
  "FormatExfat"=dword:1
; "EnableCacheWarm"=dword:0
  "CheckForFormat"=dword:1
  "EnableWriteBack"=dword:1


[HKEY_LOCAL_MACHINE\System\StorageManager\AutoLoad\FDSK1\Filters\CacheFilt]
  "Dll"="cachefilt.dll"
  "LockIOBuffers"=dword:1

[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\FDSK1\FATFS\Filters\CacheFilt]
  "Dll"="cachefilt.dll"
  "LockIOBuffers"=dword:1

[解决办法]
问下他们技术支持,快点
[解决办法]

探讨

这个问题,我相信用华天正的Real6410的朋友会遇到,只是大家有没有深究,希望大家一起讨论一下。

[解决办法]
我也有这现象,是给NK预留空间了吗?
[解决办法]
你的硬件是怎么连接的?贴图出来看一下。还有跟Startup.s里的flash初始化代码有关系。我现在碰到S5PV210不能识别512MB内存的问题。看我的博客。有空帮忙一下。谢了
[解决办法]
个人表示深切关注

热点排行